Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139273

published high CVSS 3.1 · 7.0

ALSA: aloop: Keep shared timer callbacks alive through close

Published
30 Nov 2026, 13:33:13 UTC
Updated
01 Dec 2026, 05:42:05 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux26c53379f98d22d6a3e50bb146651dc7824334d7 to < b382c8b66c49070b8740e0b14923a1f8339c4555 · 26c53379f98d22d6a3e50bb146651dc7824334d7 to < e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8 · 26c53379f98d22d6a3e50bb146651dc7824334d7 to < 8a9c4702b52557f5ce1b98587df18bb0978bc36b · 26c53379f98d22d6a3e50bb146651dc7824334d7 to < a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.5 (affected) · 0 to < 5.5 (unaffected · semver) · 6.12.120 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Keep shared timer callbacks alive through close The shared sound-timer callback must finish using the selected PCM runtimes before a close can detach them. loopback_snd_timer_period_elapsed() saves the active substreams under cable->lock, then drops the lock before calling snd_pcm_period_elapsed() or snd_pcm_stop_xrun(). The sound-timer backend has no per-stream close drain, and free_cable() keeps the timer open when the paired endpoint remains attached. With both directions running on a shared sound timer, playback can be dropped and closed while a notification is pending. Capture keeps the timer alive, allowing this order: Timer callback Playback owner -------------- -------------- select playback under cable->lock unlock; delay notification DROP; HW_FREE -> OPEN close: snd_pcm_drop(); unlock free_cable(); peer stays alive snd_pcm_period_elapsed() lock stream; cache runtime snd_pcm_detach_substream() free runtime and its fasync read runtime->fasync The stream lock taken by snd_pcm_drop() cannot protect a notification that starts after it returns, and detach does not take it. The callback can therefore read runtime->fasync after the runtime has been freed, and an escaped notification can also reach a replacement runtime if the same substream slot is reopened before the notification resumes. Take the existing cable->stop_count reference under cable->lock when selecting the targets and release it after the PCM callbacks finish, including the XRUN path. free_cable() already removes the closing endpoint under that lock and waits for stop_count before returning, so runtime detach and slot reuse cannot overtake the notification.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Reached only through local ALSA nodes /dev/snd/pcmC*D*p and pcmC*D*c: the attacker runs both ends of a loopback cable, then DROP/HW_FREE/close() on playback runs loopback_close()->free_cable() and snd_pcm_detach_substream() while loopback_snd_timer_period_elapsed() is still running. Nothing in the trigger comes from a remote peer. AC:H - Needs the non-default snd_timer backend: __loopback_open() only selects loopback_snd_timer_ops when timer_source is set, and that is root-only (0444 module param or root-owned proc file). The race window, from cable->lock unlock to the runtime->fasync read, runs with IRQs off in snd_timer_work and the attacker cannot stretch it. PR:L - The attacker only needs to open loopback PCM substreams. /dev/snd nodes are GROUP=audio with uaccess ACLs for the seat user, so an ordinary local user can open a free cable's playback and capture ends; root is only needed for the admin configuration counted under AC. UI:N - The attacker opens, starts, drops and closes their own loopback substreams. No other user has to do anything. S:U - The freed snd_pcm_runtime and the code reading it are both in the same kernel; no VM, IOMMU or sandbox boundary is crossed. C:H - snd_pcm_period_elapsed_under_stream_lock() reads runtime->state and runtime->fasync from a kfree'd snd_pcm_runtime. If that memory is reused with forged contents, the attacker controls which pointers the kernel dereferences next. I:H - A forged runtime->fasync reaches snd_kill_fasync(), which writes ->signal/->poll and does a list_move with attacker-chosen pointers. A forged RUNNING state reaches snd_pcm_update_hw_ptr0(), which writes through runtime->status. Both are kernel write primitives. A:H - Dereferencing the freed runtime, or a freed snd_fasync, from the snd_timer kworker with IRQs off can oops or panic the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 26c53379f98d22d6a3e50bb146651dc7824334d7 to < b382c8b66c49070b8740e0b14923a1f8339c4555 (affected · git)26c53379f98d22d6a3e50bb146651dc7824334d7 to < e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8 (affected · git)26c53379f98d22d6a3e50bb146651dc7824334d7 to < 8a9c4702b52557f5ce1b98587df18bb0978bc36b (affected · git)26c53379f98d22d6a3e50bb146651dc7824334d7 to < a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e (affected · git)Default: unaffected Linux · cna
Linux Linux 5.5 (affected)0 to < 5.5 (unaffected · semver)6.12.120 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

ALSA: aloop: Keep shared timer callbacks alive through close

Provenance

Schema
5.2
Searchable
yes
Content hash
18511eeb0467e1fb085c2d3bf177f121cbd57d305c8cc39c99fa2c93a8c832ab
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected