Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9caf6b5908e1e3b10478e9201ca1be809145253f to < 41a952304cc8a308748e3f58462c879f2a9c4340affected9caf6b5908e1e3b10478e9201ca1be809145253f to < cc0f757d017f4271f137c77e130314bb23792347affected9caf6b5908e1e3b10478e9201ca1be809145253f to < 1cb30691dc893aafcbc1e211e94764014c0f5d12affected9caf6b5908e1e3b10478e9201ca1be809145253f to < 487ede9b648fc0eb15866f408c41aac2c57f85d5affected9caf6b5908e1e3b10478e9201ca1be809145253f to < fbf3fb097e66fc1874e54ecc46d600d9325480d6affected9caf6b5908e1e3b10478e9201ca1be809145253f to < 7555e83d7738e65dc83921e3c85bbdc081f08f2faffected9caf6b5908e1e3b10478e9201ca1be809145253f to < 6d6fdb24fe2eaf6174fc502284c6e1dc5f7242baaffected9caf6b5908e1e3b10478e9201ca1be809145253f to < e0fb960b227fcdebe22e4f26c9486d60943c0424affected
Linux Linux
Default version status: affected
2.6.16affected0 to < 2.6.16unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/41a952304cc8a308748e3f58462c879f2a9c4340 ↗
- https://git.kernel.org/stable/c/cc0f757d017f4271f137c77e130314bb23792347 ↗
- https://git.kernel.org/stable/c/1cb30691dc893aafcbc1e211e94764014c0f5d12 ↗
- https://git.kernel.org/stable/c/487ede9b648fc0eb15866f408c41aac2c57f85d5 ↗
- https://git.kernel.org/stable/c/fbf3fb097e66fc1874e54ecc46d600d9325480d6 ↗
- https://git.kernel.org/stable/c/7555e83d7738e65dc83921e3c85bbdc081f08f2f ↗
- https://git.kernel.org/stable/c/6d6fdb24fe2eaf6174fc502284c6e1dc5f7242ba ↗
- https://git.kernel.org/stable/c/e0fb960b227fcdebe22e4f26c9486d60943c0424 ↗