usb: gadget: core: Check for unset descriptor
- 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 4.19.320, 3.17, 4.5, 4.10, 4.15, and 7 more
- 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
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: core: Check for unset descriptor Make sure the descriptor has been set before looking at maxpacket. This fixes a null pointer panic in this case. This may happen if the gadget doesn't properly set up the endpoint for the current speed, or the gadget descriptors are malformed and the descriptor for the speed/endpoint are not found. No current gadget driver is known to have this problem, but this may cause a hard-to-find bug during development of new gadgets.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From d1c188d330ca33cc35d1590441ba276f31144299 · fixed in ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a; From 54f83b8c8ea9b22082a496deadf90447a326954e · fixed in df8e734ae5e605348aa0ca2498aedb73e815f244; From 54f83b8c8ea9b22082a496deadf90447a326954e · fixed in 7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e; From 54f83b8c8ea9b22082a496deadf90447a326954e · fixed in 50c5248b0ea8aae0529fdf28dac42a41312d3b62; From 54f83b8c8ea9b22082a496deadf90447a326954e · fixed in a0362cd6e503278add954123957fd47990e8d9bf; From 54f83b8c8ea9b22082a496deadf90447a326954e · fixed in 1a9df57d57452b104c46c918569143cf21d7ebf1; From 54f83b8c8ea9b22082a496deadf90447a326954e · fixed in 716cba46f73a92645cf13eded8d257ed48afc2a4; From 54f83b8c8ea9b22082a496deadf90447a326954e · fixed in 973a57891608a98e894db2887f278777f564de18; From 4.19.82 · fixed in 4.19.320; From 3.16.80 · fixed in 3.17; From 4.4.199 · fixed in 4.5; From 4.9.199 · fixed in 4.10; From 4.14.152 · fixed in 4.15; From 5.3.9 · fixed in 5.4
- Linux Linux
5.4
- KernelLinux
fixed in 4.19.320; From 4.20.0 · fixed in 5.4.282; From 5.4.0 · fixed in 5.10.224; From 5.5.0 · fixed in 5.15.165; From 5.11.0 · fixed in 6.1.105; From 5.16.0 · fixed in 6.6.46; From 6.2.0 · fixed in 6.10.5
References 8
git.kernel.org
- stable/c/ba15815dd24cc5ec0d23e2170dc58c7db1e03b4a
- stable/c/df8e734ae5e605348aa0ca2498aedb73e815f244
- stable/c/7cc9ebcfe58be22f18056ad8bc6272d120bdcb3e
- stable/c/50c5248b0ea8aae0529fdf28dac42a41312d3b62
- stable/c/a0362cd6e503278add954123957fd47990e8d9bf
- stable/c/1a9df57d57452b104c46c918569143cf21d7ebf1
- stable/c/716cba46f73a92645cf13eded8d257ed48afc2a4
- stable/c/973a57891608a98e894db2887f278777f564de18