{"api_version":"1","generated_at":"2026-11-30T18:56:03+00:00","cve":"CVE-2026-139273","urls":{"html":"https://cve.report/CVE-2026-139273","api":"https://cve.report/api/cve/CVE-2026-139273.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139273","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139273"},"summary":{"title":"ALSA: aloop: Keep shared timer callbacks alive through close","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: aloop: Keep shared timer callbacks alive through close\n\nThe shared sound-timer callback must finish using the selected PCM\nruntimes before a close can detach them. loopback_snd_timer_period_elapsed()\nsaves the active substreams under cable->lock, then drops the lock before\ncalling snd_pcm_period_elapsed() or snd_pcm_stop_xrun(). The sound-timer\nbackend has no per-stream close drain, and free_cable() keeps the timer\nopen when the paired endpoint remains attached.\n\nWith both directions running on a shared sound timer, playback can be\ndropped and closed while a notification is pending. Capture keeps the\ntimer alive, allowing this order:\n\n  Timer callback                       Playback owner\n  --------------                       --------------\n  select playback under cable->lock\n  unlock; delay notification\n                                       DROP; HW_FREE -> OPEN\n                                       close: snd_pcm_drop(); unlock\n                                       free_cable(); peer stays alive\n  snd_pcm_period_elapsed()\n    lock stream; cache runtime\n                                       snd_pcm_detach_substream()\n                                         free runtime and its fasync\n    read runtime->fasync\n\nThe stream lock taken by snd_pcm_drop() cannot protect a notification\nthat starts after it returns, and detach does not take it. The callback\ncan therefore read runtime->fasync after the runtime has been freed, and\nan escaped notification can also reach a replacement runtime if the same\nsubstream slot is reopened before the notification resumes.\n\nTake the existing cable->stop_count reference under cable->lock when\nselecting the targets and release it after the PCM callbacks finish,\nincluding the XRUN path. free_cable() already removes the closing\nendpoint under that lock and waits for stop_count before returning, so\nruntime detach and slot reuse cannot overtake the notification.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:50","updated_at":"2026-11-30 14:18:50"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/b382c8b66c49070b8740e0b14923a1f8339c4555","name":"https://git.kernel.org/stable/c/b382c8b66c49070b8740e0b14923a1f8339c4555","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e","name":"https://git.kernel.org/stable/c/a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8a9c4702b52557f5ce1b98587df18bb0978bc36b","name":"https://git.kernel.org/stable/c/8a9c4702b52557f5ce1b98587df18bb0978bc36b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8","name":"https://git.kernel.org/stable/c/e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139273","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139273","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26c53379f98d22d6a3e50bb146651dc7824334d7 b382c8b66c49070b8740e0b14923a1f8339c4555 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26c53379f98d22d6a3e50bb146651dc7824334d7 e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26c53379f98d22d6a3e50bb146651dc7824334d7 8a9c4702b52557f5ce1b98587df18bb0978bc36b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 26c53379f98d22d6a3e50bb146651dc7824334d7 a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.5","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["sound/drivers/aloop.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b382c8b66c49070b8740e0b14923a1f8339c4555","status":"affected","version":"26c53379f98d22d6a3e50bb146651dc7824334d7","versionType":"git"},{"lessThan":"e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8","status":"affected","version":"26c53379f98d22d6a3e50bb146651dc7824334d7","versionType":"git"},{"lessThan":"8a9c4702b52557f5ce1b98587df18bb0978bc36b","status":"affected","version":"26c53379f98d22d6a3e50bb146651dc7824334d7","versionType":"git"},{"lessThan":"a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e","status":"affected","version":"26c53379f98d22d6a3e50bb146651dc7824334d7","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["sound/drivers/aloop.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.5"},{"lessThan":"5.5","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"5.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.5","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: aloop: Keep shared timer callbacks alive through close\n\nThe shared sound-timer callback must finish using the selected PCM\nruntimes before a close can detach them. loopback_snd_timer_period_elapsed()\nsaves the active substreams under cable->lock, then drops the lock before\ncalling snd_pcm_period_elapsed() or snd_pcm_stop_xrun(). The sound-timer\nbackend has no per-stream close drain, and free_cable() keeps the timer\nopen when the paired endpoint remains attached.\n\nWith both directions running on a shared sound timer, playback can be\ndropped and closed while a notification is pending. Capture keeps the\ntimer alive, allowing this order:\n\n  Timer callback                       Playback owner\n  --------------                       --------------\n  select playback under cable->lock\n  unlock; delay notification\n                                       DROP; HW_FREE -> OPEN\n                                       close: snd_pcm_drop(); unlock\n                                       free_cable(); peer stays alive\n  snd_pcm_period_elapsed()\n    lock stream; cache runtime\n                                       snd_pcm_detach_substream()\n                                         free runtime and its fasync\n    read runtime->fasync\n\nThe stream lock taken by snd_pcm_drop() cannot protect a notification\nthat starts after it returns, and detach does not take it. The callback\ncan therefore read runtime->fasync after the runtime has been freed, and\nan escaped notification can also reach a replacement runtime if the same\nsubstream slot is reopened before the notification resumes.\n\nTake the existing cable->stop_count reference under cable->lock when\nselecting the targets and release it after the PCM callbacks finish,\nincluding the XRUN path. free_cable() already removes the closing\nendpoint under that lock and waits for stop_count before returning, so\nruntime detach and slot reuse cannot overtake the notification."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:33:13.763Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b382c8b66c49070b8740e0b14923a1f8339c4555"},{"url":"https://git.kernel.org/stable/c/e38d004eae40bb2b0a18b2dc50a35a05cfdc17a8"},{"url":"https://git.kernel.org/stable/c/8a9c4702b52557f5ce1b98587df18bb0978bc36b"},{"url":"https://git.kernel.org/stable/c/a7d4d780f34b9e43eefab6a7e6c9f4101f2c144e"}],"title":"ALSA: aloop: Keep shared timer callbacks alive through close","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139273","datePublished":"2026-11-30T13:33:13.763Z","dateReserved":"2026-11-30T13:22:15.924Z","dateUpdated":"2026-11-30T13:33:13.763Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:50","lastModifiedDate":"2026-11-30 14:18:50","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139273","Ordinal":"1","Title":"ALSA: aloop: Keep shared timer callbacks alive through close","CVE":"CVE-2026-139273","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139273","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: aloop: Keep shared timer callbacks alive through close\n\nThe shared sound-timer callback must finish using the selected PCM\nruntimes before a close can detach them. loopback_snd_timer_period_elapsed()\nsaves the active substreams under cable->lock, then drops the lock before\ncalling snd_pcm_period_elapsed() or snd_pcm_stop_xrun(). The sound-timer\nbackend has no per-stream close drain, and free_cable() keeps the timer\nopen when the paired endpoint remains attached.\n\nWith both directions running on a shared sound timer, playback can be\ndropped and closed while a notification is pending. Capture keeps the\ntimer alive, allowing this order:\n\n  Timer callback                       Playback owner\n  --------------                       --------------\n  select playback under cable->lock\n  unlock; delay notification\n                                       DROP; HW_FREE -> OPEN\n                                       close: snd_pcm_drop(); unlock\n                                       free_cable(); peer stays alive\n  snd_pcm_period_elapsed()\n    lock stream; cache runtime\n                                       snd_pcm_detach_substream()\n                                         free runtime and its fasync\n    read runtime->fasync\n\nThe stream lock taken by snd_pcm_drop() cannot protect a notification\nthat starts after it returns, and detach does not take it. The callback\ncan therefore read runtime->fasync after the runtime has been freed, and\nan escaped notification can also reach a replacement runtime if the same\nsubstream slot is reopened before the notification resumes.\n\nTake the existing cable->stop_count reference under cable->lock when\nselecting the targets and release it after the PCM callbacks finish,\nincluding the XRUN path. free_cable() already removes the closing\nendpoint under that lock and waits for stop_count before returning, so\nruntime detach and slot reuse cannot overtake the notification.","Type":"Description","Title":"ALSA: aloop: Keep shared timer callbacks alive through close"}]}}}