media: rc: igorplugusb: fix control request setup packet
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.143, 6.12.93, 6.18.35, 7.0.12
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
From 6.6.140 · fixed in 6.6.143; From 6.12.86 · fixed in 6.12.93; From 6.18.27 · fixed in 6.18.35; From 7.0.4 · fixed in 7.0.12
References 8
git.kernel.org
- stable/c/e823e4294511989f5962e7ad85bf4d179ba74f52
- stable/c/2243ad78ce64d344754260533ae7730c2174a34a
- stable/c/aa22590a16e51455c6db802c774b31aadc604a9a
- stable/c/060fca8e098387f949e4eedaf215d952e477ac12
- stable/c/0d880d2db9856e94127ab09331363bef59f98005
- stable/c/f33b5a61673bd220fdaaf4202cf1013d6d66c943
- stable/c/5cc3f6db72f77d1a8f7f1cf4ac01803927ffdf15
- stable/c/171022c7d594c133a45f92357a2a91475edabe20