HarborGuard / CVE
Back to search
HIGHCVE-2026-23191Published Modified CNA Linux

CVE-2026-23191: ALSA: aloop: Fix racy access at PCM trigger

In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Fix racy access at PCM trigger The PCM trigger callback of aloop driver tries to check the PCM state and stop the stream of the tied substream in the corresponding cable. Since both check and stop operations are performed outside the cable lock, this may result in UAF when a program attempts to trigger frequently while opening/closing the tied stream, as spotted by fuzzers. For addressing the UAF, this patch changes two things: - It covers the most of code in loopback_check_format() with cable->lock spinlock, and add the proper NULL checks. This avoids already some racy accesses. - In addition, now we try to check the state of the capture PCM stream that may be stopped in this function, which was the major pain point leading to UAF.

Metrics

CVSS v3.1
7.8
Severity
HIGH
Fixed in
0
Affected Products
2

Fix available

05727ccf9d19ca414cb76d9b647883822e2789c2e6.12.706.18.106.19826af7fa62e347464b1b4e0ba2fe19a92438084fbad15420050db1803767e58756114800cce91ea4
Affected packages
  • Linux / Linux
    < bad15420050db1803767e58756114800cce91ea4 (from b1c73fc8e697eb73e23603e465e9af2711ed4183) · < 5727ccf9d19ca414cb76d9b647883822e2789c2e (from b1c73fc8e697eb73e23603e465e9af2711ed4183) · < 826af7fa62e347464b1b4e0ba2fe19a92438084f (from b1c73fc8e697eb73e23603e465e9af2711ed4183)
  • Linux / Linux
    2.6.37
    Fixed in 0, 6.12.70, 6.18.10, 6.19
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H