CVE-2024-44954
JSON

7.8high

ALSA: line6: Fix racy access to midibuf

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: line6: Fix racy access to midibuf There can be concurrent accesses to line6 midibuf from both the URB completion callback and the rawmidi API access. This could be a cause of KMSAN warning triggered by syzkaller below (so put as reported-by here). This patch protects the midibuf call of the former code path with a spinlock for avoiding the possible races.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 705ececd1c60d0f5d6ef2a719008847883516970 before 643293b68fbb6c03f5e907736498da17d43f0d81, from 705ececd1c60d0f5d6ef2a719008847883516970 before 40f3d5cb0e0cbf7fa697913a27d5d361373bdcf5, from 705ececd1c60d0f5d6ef2a719008847883516970 before e7e7d2b180d8f297cea6db43ea72402fd33e1a29, from 705ececd1c60d0f5d6ef2a719008847883516970 before a54da4b787dcac60b598da69c9c0072812b8282d, from 705ececd1c60d0f5d6ef2a719008847883516970 before c80f454a805443c274394b1db0d1ebf477abd94e, from 705ececd1c60d0f5d6ef2a719008847883516970 before 535df7f896a568a8a1564114eaea49d002cb1747, from 705ececd1c60d0f5d6ef2a719008847883516970 before 51d87f11dd199bbc6a85982b088ff27bde53b48a, from 705ececd1c60d0f5d6ef2a719008847883516970 before 15b7a03205b31bc5623378c190d22b7ff60026f1 and 1 more
Not affected: before 2.6.30, from 4.19.320 up to 4.19.*, from 5.4.282 up to 5.4.*, from 5.10.224 up to 5.10.*, from 5.15.165 up to 5.15.*, from 6.1.105 up to 6.1.*
CVE List
linux linux_kernelbefore 4.19.320, from >4.20 before 5.4.282, from 5.5 before 5.10.224, from >5.11 before 5.15.165, from 5.16 before 6.1.105, from 6.2 before 6.6.46, from 6.7 before 6.10.5, 6.11NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ALSA: line6: Fix racy access to midibuf There can be concurrent accesses to line6 midibuf from both the URB completion callback and the rawmidi API access. This could be a cause of KMSAN warning triggered by syzkaller below (so put as reported-by here). This patch protects the midibuf call of the former code path with a spinlock for avoiding the possible races.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ALSA: line6: Fix racy access to midibuf Puede haber accesos concurrentes a midibuf de line6 tanto desde la devolución de llamada de finalización de URB como desde el acceso a la API rawmidi. Esto podría ser la causa de la advertencia KMSAN activada por syzkaller a continuación (así que se indica aquí). Este parche protege la llamada midibuf de la ruta de código anterior con un spinlock para evitar las posibles ejecuciones.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-44954 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-44954 changed 2026-08-04Public domain