# CVE-2024-44954: ALSA: line6: Fix racy access to midibuf

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-09-04T18:35:53.730Z
- Modified: 2026-08-05T11:37:18.083Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 2.6.30 (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.*; from 6.6.46 up to 6.6.*; from 6.10.5 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: before 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.11

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/643293b68fbb6c03f5e907736498da17d43f0d81> (patch)
- <https://git.kernel.org/stable/c/40f3d5cb0e0cbf7fa697913a27d5d361373bdcf5> (patch)
- <https://git.kernel.org/stable/c/e7e7d2b180d8f297cea6db43ea72402fd33e1a29> (patch)
- <https://git.kernel.org/stable/c/a54da4b787dcac60b598da69c9c0072812b8282d> (patch)
- <https://git.kernel.org/stable/c/c80f454a805443c274394b1db0d1ebf477abd94e> (patch)
- <https://git.kernel.org/stable/c/535df7f896a568a8a1564114eaea49d002cb1747> (patch)
- <https://git.kernel.org/stable/c/51d87f11dd199bbc6a85982b088ff27bde53b48a> (patch)
- <https://git.kernel.org/stable/c/15b7a03205b31bc5623378c190d22b7ff60026f1> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## Sources

- CVE List: [CVE-2024-44954](https://www.cve.org/CVERecord?id=CVE-2024-44954), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-44954](https://nvd.nist.gov/vuln/detail/CVE-2024-44954), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-44954 · Whole record: https://cve.day/CVE-2024-44954.json · Rebuilt by cve.day 2026-11-25T22:58:45.074Z
