Skip to contentSkip to conversation

CVE-2026-80966: ALSA: portman2x4: Check card index validity at probe

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 11

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

ALSA: portman2x4: Check card index validity at probe

Although portman2x4 driver has a check of the given devptr->id value, it doesn't check for a negative id, which is often given as "none" or such value when bound via sysfs. This may lead 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.

The Linux kernel CVE team has assigned CVE-2026-80966 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.12.109 with commit 0ce391090809d610647f424b9b1dc24aa2c546fd
	Fixed in 6.18.50 with commit d7ef7890e3e35b4ba09e76fc6b72047a1599a5e8
	Fixed in 7.2.4 with commit e1ce8ad1009b1736b3044b3324350dcfdd516f42
	Fixed in 7.3-rc1 with commit 3690ef20469d5959378260e2752f2314a2572913

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-80966

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
sound/drivers/portman2x4.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/0ce391090809d610647f424b9b1dc24aa2c546fd
	https://git.kernel.org/stable/c/d7ef7890e3e35b4ba09e76fc6b72047a1599a5e8
	https://git.kernel.org/stable/c/e1ce8ad1009b1736b3044b3324350dcfdd516f42
	https://git.kernel.org/stable/c/3690ef20469d5959378260e2752f2314a2572913