ALSA: serial-u16550: Check card index validity at probe
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 93% of all CVEs
observed exploitation
nono source reports it
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
Linux · LinuxReferences
https://git.kernel.org/stable/c/1cb30691dc893aafcbc1e211e94764014c0f5d12https://git.kernel.org/stable/c/41a952304cc8a308748e3f58462c879f2a9c4340https://git.kernel.org/stable/c/487ede9b648fc0eb15866f408c41aac2c57f85d5https://git.kernel.org/stable/c/6d6fdb24fe2eaf6174fc502284c6e1dc5f7242bahttps://git.kernel.org/stable/c/7555e83d7738e65dc83921e3c85bbdc081f08f2fhttps://git.kernel.org/stable/c/cc0f757d017f4271f137c77e130314bb23792347https://git.kernel.org/stable/c/e0fb960b227fcdebe22e4f26c9486d60943c0424https://git.kernel.org/stable/c/fbf3fb097e66fc1874e54ecc46d600d9325480d6