Skip to content
Heist/ feed
Back to feed
HighFix available

ALSA: aloop: Fix racy access at PCM trigger

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.270, 5.15.221, 6.1.188, 6.12.70, 6.18.10, 6.6.157
CVEs
CVE-2026-23191
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 22:35 UTC · Revision 1

Source evidence

ALSA: aloop: Fix racy access at PCM trigger

core-osv · Original source

Published 14 Feb 2026, 16:27 UTC

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.

osv:CVE-2026-23191

Kernel

Fixed versions: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.70, 6.18.10

Complete source record
{
  "id": "8426c023bd87c21f15bc4fc9fdcdb0121031bc13fb209b788aa5a92767ac0734",
  "url": "https://osv.dev/vulnerability/CVE-2026-23191",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALSA: aloop: Fix racy access at PCM trigger",
    "summary": "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.",
    "evidence": "osv:CVE-2026-23191",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.70",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-23191",
      "aliases": [
        "CVE-2026-23191"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b1c73fc8e697eb73e23603e465e9af2711ed4183"
                },
                {
                  "fixed": "f57467114f40c5aacebbea96fb4ff9e5cd2b7f18"
                },
                {
                  "fixed": "c99be0d5af02adebe9cb6f9869d20397fa9935a3"
                },
                {
                  "fixed": "f3ce8be893726899e3053cf8059ecc95d8410359"
                },
                {
                  "fixed": "0e6245b2424d126ac90018142d09f0707e12998b"
                },
                {
                  "fixed": "bad15420050db1803767e58756114800cce91ea4"
                },
                {
                  "fixed": "5727ccf9d19ca414cb76d9b647883822e2789c2e"
                },
                {
                  "fixed": "826af7fa62e347464b1b4e0ba2fe19a92438084f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23191.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.37"
                },
                {
                  "fixed": "5.10.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.70"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23191.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.930674281Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0e6245b2424d126ac90018142d09f0707e12998b",
        "https://git.kernel.org/stable/c/5727ccf9d19ca414cb76d9b647883822e2789c2e",
        "https://git.kernel.org/stable/c/826af7fa62e347464b1b4e0ba2fe19a92438084f",
        "https://git.kernel.org/stable/c/bad15420050db1803767e58756114800cce91ea4",
        "https://git.kernel.org/stable/c/c99be0d5af02adebe9cb6f9869d20397fa9935a3",
        "https://git.kernel.org/stable/c/f3ce8be893726899e3053cf8059ecc95d8410359",
        "https://git.kernel.org/stable/c/f57467114f40c5aacebbea96fb4ff9e5cd2b7f18",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23191.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-23191",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23191.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-23191",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499158,
  "published_at": "2026-02-14T16:27:18.882+00:00"
}