ALSA: serial-u16550: Check card index validity at probe
- 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 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, and 2 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
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: serial-u16550: Check card index validity at probe serial-u16550 driver blindly trusts that the given devptr->id value is within the proper card index range at probe. It's OK for the devices the driver itself creates at the module probe time, but if the device is bound manually via sysfs interface, this could be -1 as "none", and this leads to OOB access for index[] and other parameters. Add a sanity check for the card index and warn/correct it if it's a value out of the range.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 9caf6b5908e1e3b10478e9201ca1be809145253f · fixed in 41a952304cc8a308748e3f58462c879f2a9c4340; From 9caf6b5908e1e3b10478e9201ca1be809145253f · fixed in cc0f757d017f4271f137c77e130314bb23792347; From 9caf6b5908e1e3b10478e9201ca1be809145253f · fixed in 1cb30691dc893aafcbc1e211e94764014c0f5d12; From 9caf6b5908e1e3b10478e9201ca1be809145253f · fixed in 487ede9b648fc0eb15866f408c41aac2c57f85d5; From 9caf6b5908e1e3b10478e9201ca1be809145253f · fixed in fbf3fb097e66fc1874e54ecc46d600d9325480d6; From 9caf6b5908e1e3b10478e9201ca1be809145253f · fixed in 7555e83d7738e65dc83921e3c85bbdc081f08f2f; From 9caf6b5908e1e3b10478e9201ca1be809145253f · fixed in 6d6fdb24fe2eaf6174fc502284c6e1dc5f7242ba; From 9caf6b5908e1e3b10478e9201ca1be809145253f · fixed in e0fb960b227fcdebe22e4f26c9486d60943c0424
- Linux Linux
2.6.16
- KernelLinux
From 2.6.16 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4
References 8
git.kernel.org
- stable/c/41a952304cc8a308748e3f58462c879f2a9c4340
- stable/c/cc0f757d017f4271f137c77e130314bb23792347
- stable/c/1cb30691dc893aafcbc1e211e94764014c0f5d12
- stable/c/487ede9b648fc0eb15866f408c41aac2c57f85d5
- stable/c/fbf3fb097e66fc1874e54ecc46d600d9325480d6
- stable/c/7555e83d7738e65dc83921e3c85bbdc081f08f2f
- stable/c/6d6fdb24fe2eaf6174fc502284c6e1dc5f7242ba
- stable/c/e0fb960b227fcdebe22e4f26c9486d60943c0424