CVE-2026-64240: media: rc: igorplugusb: fix control request setup packet

Greg Kroah-Hartman <[email protected]> Fri, 24 Jul 2026 17:27:47 +0200
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026072441-CVE-2026-64240-186a@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

media: rc: igorplugusb: fix control request setup packet

Commit eac69475b01f ("media: rc: igorplugusb: heed coherency
rules") changed the control request storage from an embedded struct to
an allocated pointer so it can obey DMA coherency rules.

However, the driver still passes &ir->request to usb_fill_control_urb().
That points the URB setup packet at the pointer field itself rather than
at the allocated struct usb_ctrlrequest.

USB core then interprets pointer bytes as the setup packet. This can
produce an invalid bRequestType and trigger the control direction warning
reported by syzbot:

  usb 2-1: BOGUS control dir, pipe 80003580 doesn't match bRequestType 0

Pass ir->request itself as the setup packet.

The Linux kernel CVE team has assigned CVE-2026-64240 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.6.140 with commit 18d6a7c9e4e63c57157e9a57dd9bf3cd38e4c45a and fixed in 6.6.143 with commit 060fca8e098387f949e4eedaf215d952e477ac12
	Issue introduced in 6.12.86 with commit 0be8fcd9005e3d3b5a61fe34b070a9663adbb4dc and fixed in 6.12.93 with commit 0d880d2db9856e94127ab09331363bef59f98005
	Issue introduced in 6.18.27 with commit 0adac0ee2c42027d80bac02ea9b576a88f8955d3 and fixed in 6.18.35 with commit f33b5a61673bd220fdaaf4202cf1013d6d66c943
	Issue introduced in 7.0.4 with commit a62ca67e3c72fb297dc7c86495ba8f7329d7f150 and fixed in 7.0.12 with commit 5cc3f6db72f77d1a8f7f1cf4ac01803927ffdf15

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-64240
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/media/rc/igorplugusb.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/e823e4294511989f5962e7ad85bf4d179ba74f52
	https://git.kernel.org/stable/c/2243ad78ce64d344754260533ae7730c2174a34a
	https://git.kernel.org/stable/c/aa22590a16e51455c6db802c774b31aadc604a9a
	https://git.kernel.org/stable/c/060fca8e098387f949e4eedaf215d952e477ac12
	https://git.kernel.org/stable/c/0d880d2db9856e94127ab09331363bef59f98005
	https://git.kernel.org/stable/c/f33b5a61673bd220fdaaf4202cf1013d6d66c943
	https://git.kernel.org/stable/c/5cc3f6db72f77d1a8f7f1cf4ac01803927ffdf15
	https://git.kernel.org/stable/c/171022c7d594c133a45f92357a2a91475edabe20