7.8
HIGH CVSS 3.1
CVE-2026-74640
ALSA: FCP: fix OOB write in fcp_meter_ctl_get()
Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: FCP: fix OOB write in fcp_meter_ctl_get() fcp_ioctl_set_meter_map() bounds the user-supplied Level Meter map size by the driver's own limit of 255 if (map.map_size < 1 || map.map_size > 255 || map.meter_slots < 1 || map.meter_slots > 255) return -EINVAL; and passes it to fcp_add_new_ctl() as the control's channel count, where it is stored as elem->channels. Every control read writes into struct snd_ctl_elem_value, whose integer array is declared long value[128], so the limit is 128, not 255. fcp_meter_ctl_get() stores one 64-bit word per channel into that array with no bound of its own: for (i = 0; i < elem->channels; i++) { int idx = private->meter_level_map[i]; int value = idx < 0 ? 0 : le32_to_cpu(resp[idx]); ucontrol->value.integer.value[i] = value; } snd_ctl_elem_read_user() serves that object from memdup_user(_control, sizeof(*control)), 1224 bytes on LP64 out of kmalloc-2048. offsetof(struct snd_ctl_elem_value, value) is 72, so element i is written at byte 72 + 8 * i and element 144 already lands past the allocation. At map_size 255 the last store ends at byte 2112, 888 bytes past the object and 64 bytes into the adjacent slab object. The stored words come from the device and meter_level_map[] selects which word lands in which slot, so extent and contents are both controlled. The core does not catch this. snd_ctl_check_elem_info() is reached only from __snd_ctl_elem_info(), which snd_ctl_elem_read() calls under CONFIG_SND_CTL_DEBUG; without that option snd_ctl_skip_validation() is a compile-time true. __snd_ctl_add_replace() validates kcontrol->count and never inspects elem->channels. Installing an oversized map needs CAP_SYS_RAWIO, but the control outlives the hwdep descriptor that created it, so the out-of-bounds stores are issued by any process able to read controls on /dev/snd/controlC0. KASAN on 7.2.0-rc5 (arm64), triggered by an unprivileged control read: BUG: KASAN: slab-out-of-bounds in fcp_meter_ctl_get Write of size 8 at addr ffff000017af04c8 by task fcp_trigger/185 __asan_store8 fcp_meter_ctl_get snd_ctl_elem_read snd_ctl_ioctl Allocated by task 185: memdup_user snd_ctl_ioctl The buggy address is located 0 bytes to the right of allocated 1224-byte region [ffff000017af0000, ffff000017af04c8) Bound the map size by the ABI limit rather than by 255, and bound the store loop at the sink so it cannot run past the value array whatever elem->channels holds. Discovered by XBOW, triaged by Baul Lee <[email protected]>

INFO

Published Date :

Aug. 22, 2026, 4:16 p.m.

Last Modified :

Oct. 16, 2026, 8:17 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-74640 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Fix out-of-bounds write by bounding map size and loop iterations.
  • Bound map size by ABI limit, not 255.
  • Bound store loop to sink array.
  • Apply driver updates.
  • Update Linux kernel.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-74640.

URL Resource
https://git.kernel.org/stable/c/620f1e52a46f604635efd0fb78138afd6a513b5d
https://git.kernel.org/stable/c/bb30e35c36ed00f24fa39aded811f64230a913b0
https://git.kernel.org/stable/c/bb61dc2ae59026f76db26e1909746908bc5b6f31
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-74640 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-74640 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-74640 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-74640 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 16, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/620f1e52a46f604635efd0fb78138afd6a513b5d
    Added Reference https://git.kernel.org/stable/c/bb30e35c36ed00f24fa39aded811f64230a913b0
    Added Reference https://git.kernel.org/stable/c/bb61dc2ae59026f76db26e1909746908bc5b6f31
    Removed Reference https://git.kernel.org/stable/c/620f1e52a46f604635efd0fb78138afd6a513b5d
    Removed Reference https://git.kernel.org/stable/c/bb30e35c36ed00f24fa39aded811f64230a913b0
    Removed Reference https://git.kernel.org/stable/c/bb61dc2ae59026f76db26e1909746908bc5b6f31
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 16, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-74640', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T19:03:29.066751Z'}
  • CVE Translated by [email protected]

    Oct. 14, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ALSA: FCP: corrección de escritura fuera de límites en fcp_meter_ctl_get() fcp_ioctl_set_meter_map() limita el tamaño del mapa del medidor de nivel proporcionado por el usuario por el propio límite del controlador de 255 if (map.map_size < 1 || map.map_size > 255 || map.meter_slots < 1 || map.meter_slots > 255) return -EINVAL; y lo pasa a fcp_add_new_ctl() como el recuento de canales del control, donde se almacena como elem -> channels. Cada lectura de control escribe en struct snd_ctl_elem_value, cuyo array de enteros se declara long value[128], por lo que el límite es 128, no 255. fcp_meter_ctl_get() almacena una palabra de 64 bits por canal en ese array sin un límite propio: for (i = 0; i < elem -> channels; i++) { int idx = private -> meter_level_map[i]; int value = idx < 0 ? 0 : le32_to_cpu(resp[idx]); ucontrol -> value.integer.value[i] = value; } snd_ctl_elem_read_user() sirve ese objeto desde memdup_user(_control, sizeof(control)), 1224 bytes en LP64 de kmalloc-2048. offsetof(struct snd_ctl_elem_value, value) es 72, por lo que el elemento i se escribe en el byte 72 + 8 * i y el elemento 144 ya cae más allá de la asignación. Con map_size 255, el último almacenamiento termina en el byte 2112, 888 bytes más allá del objeto y 64 bytes dentro del objeto slab adyacente. Las palabras almacenadas provienen del dispositivo y meter_level_map[] selecciona qué palabra cae en qué ranura, por lo que tanto la extensión como el contenido están controlados. El núcleo no detecta esto. snd_ctl_check_elem_info() solo se alcanza desde __snd_ctl_elem_info(), que snd_ctl_elem_read() llama bajo CONFIG_SND_CTL_DEBUG; sin esa opción, snd_ctl_skip_validation() es un verdadero en tiempo de compilación. __snd_ctl_add_replace() valida kcontrol -> count y nunca inspecciona elem -> channels. Instalar un mapa de tamaño excesivo requiere CAP_SYS_RAWIO, pero el control sobrevive al descriptor hwdep que lo creó, por lo que los almacenamientos fuera de límites son emitidos por cualquier proceso capaz de leer controles en /dev/snd/controlC0. KASAN en 7.2.0-rc5 (arm64), activado por una lectura de control sin privilegios: BUG: KASAN: slab-out-of-bounds en fcp_meter_ctl_get Escritura de tamaño 8 en la dirección ffff000017af04c8 por la tarea fcp_trigger/185 __asan_store8 fcp_meter_ctl_get snd_ctl_elem_read snd_ctl_ioctl Asignado por la tarea 185: memdup_user snd_ctl_ioctl La dirección errónea se encuentra 0 bytes a la derecha de región asignada de 1224 bytes [ffff000017af0000, ffff000017af04c8) Limitar el tamaño del mapa por el límite ABI en lugar de por 255, y limitar el bucle de almacenamiento en el sumidero para que no pueda ir más allá del array de valores, independientemente de lo que contenga elem -> channels. Descubierto por XBOW, clasificado por Baul Lee <[email protected]>
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 25, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 22, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '46757a3e7d50dac923888e7fbe68377736f13c70', 'lessThan': 'bb30e35c36ed00f24fa39aded811f64230a913b0', 'versionType': 'git'}, {'status': 'affected', 'version': '46757a3e7d50dac923888e7fbe68377736f13c70', 'lessThan': 'bb61dc2ae59026f76db26e1909746908bc5b6f31', 'versionType': 'git'}, {'status': 'affected', 'version': '46757a3e7d50dac923888e7fbe68377736f13c70', 'lessThan': '620f1e52a46f604635efd0fb78138afd6a513b5d', 'versionType': 'git'}], 'programFiles': ['sound/usb/fcp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.14'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.14', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.45', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.9', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['sound/usb/fcp.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: ALSA: FCP: fix OOB write in fcp_meter_ctl_get() fcp_ioctl_set_meter_map() bounds the user-supplied Level Meter map size by the driver's own limit of 255 if (map.map_size < 1 || map.map_size > 255 || map.meter_slots < 1 || map.meter_slots > 255) return -EINVAL; and passes it to fcp_add_new_ctl() as the control's channel count, where it is stored as elem->channels. Every control read writes into struct snd_ctl_elem_value, whose integer array is declared long value[128], so the limit is 128, not 255. fcp_meter_ctl_get() stores one 64-bit word per channel into that array with no bound of its own: for (i = 0; i < elem->channels; i++) { int idx = private->meter_level_map[i]; int value = idx < 0 ? 0 : le32_to_cpu(resp[idx]); ucontrol->value.integer.value[i] = value; } snd_ctl_elem_read_user() serves that object from memdup_user(_control, sizeof(*control)), 1224 bytes on LP64 out of kmalloc-2048. offsetof(struct snd_ctl_elem_value, value) is 72, so element i is written at byte 72 + 8 * i and element 144 already lands past the allocation. At map_size 255 the last store ends at byte 2112, 888 bytes past the object and 64 bytes into the adjacent slab object. The stored words come from the device and meter_level_map[] selects which word lands in which slot, so extent and contents are both controlled. The core does not catch this. snd_ctl_check_elem_info() is reached only from __snd_ctl_elem_info(), which snd_ctl_elem_read() calls under CONFIG_SND_CTL_DEBUG; without that option snd_ctl_skip_validation() is a compile-time true. __snd_ctl_add_replace() validates kcontrol->count and never inspects elem->channels. Installing an oversized map needs CAP_SYS_RAWIO, but the control outlives the hwdep descriptor that created it, so the out-of-bounds stores are issued by any process able to read controls on /dev/snd/controlC0. KASAN on 7.2.0-rc5 (arm64), triggered by an unprivileged control read: BUG: KASAN: slab-out-of-bounds in fcp_meter_ctl_get Write of size 8 at addr ffff000017af04c8 by task fcp_trigger/185 __asan_store8 fcp_meter_ctl_get snd_ctl_elem_read snd_ctl_ioctl Allocated by task 185: memdup_user snd_ctl_ioctl The buggy address is located 0 bytes to the right of allocated 1224-byte region [ffff000017af0000, ffff000017af04c8) Bound the map size by the ABI limit rather than by 255, and bound the store loop at the sink so it cannot run past the value array whatever elem->channels holds. Discovered by XBOW, triaged by Baul Lee <[email protected]>
    Added Reference https://git.kernel.org/stable/c/620f1e52a46f604635efd0fb78138afd6a513b5d
    Added Reference https://git.kernel.org/stable/c/bb30e35c36ed00f24fa39aded811f64230a913b0
    Added Reference https://git.kernel.org/stable/c/bb61dc2ae59026f76db26e1909746908bc5b6f31
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.