Back

MEDIUM

ALSA: virmidi: Check card index validity at probe

Published Sep 11, 2026

Description

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 products

Remediation

No remediation recorded yet.

References (13)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published Sep 11, 2026
Updated Sep 14, 2026
Reserved Aug 26, 2026

CISA Vulnrichment

No data

NVD

Status Received
Modified Sep 14, 2026

Red Hat

Severity Moderate
Public date Sep 11, 2026
Bugzilla 2532324

ENISA EUVD

Assigner Linux
Published Sep 11, 2026
Updated Sep 14, 2026

GitHub

No data