7.8high
ALSA: aloop: Fix peer runtime UAF during format-change stop
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.14% (higher than 2% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Fix peer runtime UAF during format-change stop loopback_check_format() may stop the capture side when playback starts with parameters that no longer match a running capture stream. Commit 826af7fa62e3 ("ALSA: aloop: Fix racy access at PCM trigger") moved the peer lookup under cable->lock, but the actual snd_pcm_stop() still runs after dropping that lock. A concurrent close can clear the capture entry from cable->streams[] and detach or free its runtime while the playback trigger path still holds a stale peer substream pointer. Keep a per-cable count of in-flight peer stops before dropping cable->lock, and make free_cable() wait for those stops before detaching the runtime. This preserves the existing behavior while making the peer runtime lifetime explicit.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 597603d615d2b19a9e451d8cfac24372856a522d before 83bd62fa9620ac98d5d694bde14c50f98c8e7189, from 597603d615d2b19a9e451d8cfac24372856a522d before 345c24b2bcf0923dfae1ab41497351c68214ff76, from 597603d615d2b19a9e451d8cfac24372856a522d before 3727a3541788412c393eec236ad228d72efe19c7, from 597603d615d2b19a9e451d8cfac24372856a522d before d258cdce50ff3e02392917258e81a0ce9555c327, from 597603d615d2b19a9e451d8cfac24372856a522d before 03f52a9c170431e8f10e156b9dc0dae80b3e9198, from 597603d615d2b19a9e451d8cfac24372856a522d before bdd9503c3d222d2735b56c7a8b4422ccf3de6e5c, from 597603d615d2b19a9e451d8cfac24372856a522d before 5d45e34bf001344e2966dabca1897561bbc9e913, from 597603d615d2b19a9e451d8cfac24372856a522d before e5c33cdc6f402eab8abd36ecf436b22c9d3a8aff and 1 more Not affected: before 2.6.37, from 5.10.259 up to 5.10.*, from 5.15.210 up to 5.15.*, from 6.1.188 up to 6.1.*, from 6.6.157 up to 6.6.*, from 6.12.88 up to 6.12.* | CVE List |
| kernel | Not specified Not affected: from 0:6.12.0-211.29.1.el10_2 before *, from 0:6.12.0-55.84.1.el10_0 before *, from 0:3.10.0-1160.154.1.el7 before *, from 0:4.18.0-553.136.1.el8_10 before *, from 0:4.18.0-305.197.1.el8_4 before *, from 0:4.18.0-372.198.1.el8_6 before * | CVE List |
| kernel-rt | Not specified Not affected: from 0:3.10.0-1160.155.1.rt56.1307.el7 before *, from 0:4.18.0-553.136.1.rt7.477.el8_10 before *, from 0:5.14.0-284.178.1.rt14.463.el9_2 before * | CVE List |
| linux linux_kernel | from 2.6.37 before 5.10.259, from 5.11 before 5.15.210, from 5.16 before 6.12.88, from 6.13 before 6.18.27, from 6.19 before 7.0.4, 7.1 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| redhat-SADP | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-46090 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-46090 changed 2026-10-19 | Public domain |