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.
CVE-2026-23191
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-23191
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "b1c73fc8e697eb73e23603e465e9af2711ed4183",
"lessThan": "f57467114f40c5aacebbea96fb4ff9e5cd2b7f18",
"versionType": "git"
},
{
"status": "affected",
"version": "b1c73fc8e697eb73e23603e465e9af2711ed4183",
"lessThan": "c99be0d5af02adebe9cb6f9869d20397fa9935a3",
"versionType": "git"
},
{
"status": "affected",
"version": "b1c73fc8e697eb73e23603e465e9af2711ed4183",
"lessThan": "f3ce8be893726899e3053cf8059ecc95d8410359",
"versionType": "git"
},
{
"status": "affected",
"version": "b1c73fc8e697eb73e23603e465e9af2711ed4183",
"lessThan": "0e6245b2424d126ac90018142d09f0707e12998b",
"versionType": "git"
},
{
"status": "affected",
"version": "b1c73fc8e697eb73e23603e465e9af2711ed4183",
"lessThan": "bad15420050db1803767e58756114800cce91ea4",
"versionType": "git"
},
{
"status": "affected",
"version": "b1c73fc8e697eb73e23603e465e9af2711ed4183",
"lessThan": "5727ccf9d19ca414cb76d9b647883822e2789c2e",
"versionType": "git"
},
{
"status": "affected",
"version": "b1c73fc8e697eb73e23603e465e9af2711ed4183",
"lessThan": "826af7fa62e347464b1b4e0ba2fe19a92438084f",
"versionType": "git"
}
],
"programFiles": [
"sound/drivers/aloop.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.37"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.37",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.270",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.221",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.188",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.70",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.10",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"sound/drivers/aloop.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-23191
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #39777 · Revision 1
- Added to Heist Feed
- Publisher date