CVE-2026-80964

Summary

In the Linux kernel, the following vulnerability has been resolved:

ALSA: virmidi: Check card index validity at probe

virmidi 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 Software

VendorProductVersion RangeStatus
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 43f161c53279adac0517cf1c443e531e738b54ceaffected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 40ee4224e2fe24c05b92e4d37476adb6e83f10e9affected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < f48c5f3b03afdb795e5f448a1d53d912d5b09f2eaffected
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < b65d5182ecd6b7a24a83d980a0d06e809ef876c5affected
LinuxLinux0 < 6.12.109affected
LinuxLinux0 < 6.18.50affected
LinuxLinux0 < 7.2.4affected
LinuxLinux6.12.109 <= 6.12.*unaffected
LinuxLinux6.18.50 <= 6.18.*unaffected
LinuxLinux7.2.4 <= 7.2.*unaffected
LinuxLinux7.3-rc1 <= *unaffected

Weaknesses

References