CVE-2026-23191

ALSA: aloop: Fix racy access at PCM trigger

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected b1c73fc8e697eb73e23603e465e9af2711ed4183 < f57467114f40c5aacebbea96fb4ff9e5cd2b7f18 ; affected b1c73fc8e697eb73e23603e465e9af2711ed4183 < c99be0d5af02adebe9cb6f9869d20397fa9935a3 ; affected b1c73fc8e697eb73e23603e465e9af2711ed4183 < f3ce8be893726899e3053cf8059ecc95d8410359 ; affected b1c73fc8e697eb73e23603e465e9af2711ed4183 < 0e6245b2424d126ac90018142d09f0707e12998b ; affected b1c73fc8e697eb73e23603e465e9af2711ed4183 < bad15420050db1803767e58756114800cce91ea4 ; affected b1c73fc8e697eb73e23603e465e9af2711ed4183 < 5727ccf9d19ca414cb76d9b647883822e2789c2e
Linux · Linuxaffected 2.6.37 ; unaffected 0 < 2.6.37 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD