ALSA: virmidi: Check card index validity at probe (Linux Linux)

CVE-2026-80964
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 3564fbb880f9a62ddbb81b7440c32e0e6619c52d < 3ee9cea821730805f232f1e4db0f95e7420477fc ; affected 3564fbb880f9a62ddbb81b7440c32e0e6619c52d < ffefee7daf2362f534097422bb7f8894e798adfd ; affected 3564fbb880f9a62ddbb81b7440c32e0e6619c52d < 368c521503e38e9bcfcf04c053eb1f85d22391b2 ; affected 3564fbb880f9a62ddbb81b7440c32e0e6619c52d < 43f161c53279adac0517cf1c443e531e738b54ce ; affected 3564fbb880f9a62ddbb81b7440c32e0e6619c52d < 40ee4224e2fe24c05b92e4d37476adb6e83f10e9 ; affected 3564fbb880f9a62ddbb81b7440c32e0e6619c52d < f48c5f3b03afdb795e5f448a1d53d912d5b09f2e
Linux · Linuxaffected 2.6.16 ; unaffected 0 < 2.6.16 ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD