{"id":"AZL-117001","summary":"CVE-2026-139273 affecting package kernel 6.6.161.1-1","details":"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-\u003elock, 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-\u003elock\n  unlock; delay notification\n                                       DROP; HW_FREE -\u003e 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-\u003efasync\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-\u003efasync 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-\u003estop_count reference under cable-\u003elock 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.","modified":"2026-12-01T14:17:41.279985592Z","published":"2026-11-30T14:18:50Z","upstream":["CVE-2026-139273"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139273"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117001.json"}}],"schema_version":"1.9.2"}