---
id: CVE-2026-80964
title: |-
  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
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 O…
severity: medium
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 3564fbb880f9a62ddbb81b7440c32e0e6619c52d <
    3ee9cea821730805f232f1e4db0f95e7420477fc
  - >-
    Linux >= 3564fbb880f9a62ddbb81b7440c32e0e6619c52d <
    ffefee7daf2362f534097422bb7f8894e798adfd
  - >-
    Linux >= 3564fbb880f9a62ddbb81b7440c32e0e6619c52d <
    368c521503e38e9bcfcf04c053eb1f85d22391b2
  - >-
    Linux >= 3564fbb880f9a62ddbb81b7440c32e0e6619c52d <
    43f161c53279adac0517cf1c443e531e738b54ce
  - >-
    Linux >= 3564fbb880f9a62ddbb81b7440c32e0e6619c52d <
    40ee4224e2fe24c05b92e4d37476adb6e83f10e9
  - >-
    Linux >= 3564fbb880f9a62ddbb81b7440c32e0e6619c52d <
    f48c5f3b03afdb795e5f448a1d53d912d5b09f2e
  - >-
    Linux >= 3564fbb880f9a62ddbb81b7440c32e0e6619c52d <
    b65d5182ecd6b7a24a83d980a0d06e809ef876c5
  - Linux 2.6.16
published: '2026-09-11'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T13:18:51.003'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80964'
references:
  - url: 'https://git.kernel.org/stable/c/368c521503e38e9bcfcf04c053eb1f85d22391b2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3ee9cea821730805f232f1e4db0f95e7420477fc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/40ee4224e2fe24c05b92e4d37476adb6e83f10e9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/43f161c53279adac0517cf1c443e531e738b54ce'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b65d5182ecd6b7a24a83d980a0d06e809ef876c5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f48c5f3b03afdb795e5f448a1d53d912d5b09f2e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ffefee7daf2362f534097422bb7f8894e798adfd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80964.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-80964'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2532324'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-80964'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-80964'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-80964.mbox
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ingestedAt: '2026-09-14T15:12:20.273Z'
epss: 0.00172
epssPercentile: 0.06964
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe:
  - CWE-125
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, … · updated 2026-09-14 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80964.json)
