{"api_version":"1","generated_at":"2026-12-01T14:53:26+00:00","cve":"CVE-2026-139272","urls":{"html":"https://cve.report/CVE-2026-139272","api":"https://cve.report/api/cve/CVE-2026-139272.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139272","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139272"},"summary":{"title":"ALSA: aloop: Keep the timer source alive until card release","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: aloop: Keep the timer source alive until card release\n\nThe timer_source string must remain valid while PCM opens can select\nand parse it. loopback_set_timer_source() allocates the string with\nparent-device devres, which can release it while the card is still\nregistered.\n\nA successful nonempty proc replacement after snd_card_register() adds\nthe string allocation after trigger_card_free. Unbinding the platform\ndevice while snd_aloop remains loaded releases devres in reverse order.\nAn open for an unused cable can run after the string is freed and before\nthe card-free action disconnects the card:\n\n  Device unbind                      PCM open\n  devres_release_all()\n    free replacement string\n                                     snd_pcm_open()\n                                       snd_card_file_add()\n                                       loopback_open()\n                                         loopback_snd_timer_open()\n                                           loopback_parse_timer_id()\n    trigger_card_free()\n      snd_card_free()\n        snd_card_disconnect()\n\nThe parser can then read freed memory. KASAN has reported a one-byte\nuse-after-free read in strchr() from loopback_snd_timer_open(). The\ncable_lock mutex serializes explicit replacements with opens, but\nimplicit devres release does not take it. The card and module references\nheld by PCM open do not retain this separate devres allocation.\n\nUse kstrdup() and release the current string from card->private_free.\nPCM admission already retains the card until each file is removed, and\ncard disconnect drains proc callbacks before final card release. This\nkeeps the string alive across admitted PCM opens and preserves the\ncable_lock serialization of replacements. Install the callback before\nthe initial allocation so probe failures also release the string.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:49","updated_at":"2026-11-30 14:18:49"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/8f57c5ab66c0f49e59d6f16faec8de0a26593703","name":"https://git.kernel.org/stable/c/8f57c5ab66c0f49e59d6f16faec8de0a26593703","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/50e96965800a02b8cc4c2e258d0fa567f8af9d9e","name":"https://git.kernel.org/stable/c/50e96965800a02b8cc4c2e258d0fa567f8af9d9e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1cd36f545a9195280662feb245b50f2f2bda9b76","name":"https://git.kernel.org/stable/c/1cd36f545a9195280662feb245b50f2f2bda9b76","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/197566fbd8aac63a8df8aa6d7b213471de05f57f","name":"https://git.kernel.org/stable/c/197566fbd8aac63a8df8aa6d7b213471de05f57f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d73a508a2b63d354c85b1dd6db9c24671486908d","name":"https://git.kernel.org/stable/c/d73a508a2b63d354c85b1dd6db9c24671486908d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/762ef425cf0ac9c4b9e9e61e0da0950e16e6fbea","name":"https://git.kernel.org/stable/c/762ef425cf0ac9c4b9e9e61e0da0950e16e6fbea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bd0ab355e4392b2e3b4a06d8fde9134a0d564ea0","name":"https://git.kernel.org/stable/c/bd0ab355e4392b2e3b4a06d8fde9134a0d564ea0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139272","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139272","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b072e65aadd683e75518150c609ae29b5d33fe0c 8f57c5ab66c0f49e59d6f16faec8de0a26593703 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b072e65aadd683e75518150c609ae29b5d33fe0c bd0ab355e4392b2e3b4a06d8fde9134a0d564ea0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b072e65aadd683e75518150c609ae29b5d33fe0c 50e96965800a02b8cc4c2e258d0fa567f8af9d9e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b072e65aadd683e75518150c609ae29b5d33fe0c d73a508a2b63d354c85b1dd6db9c24671486908d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b072e65aadd683e75518150c609ae29b5d33fe0c 197566fbd8aac63a8df8aa6d7b213471de05f57f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b072e65aadd683e75518150c609ae29b5d33fe0c 1cd36f545a9195280662feb245b50f2f2bda9b76 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b072e65aadd683e75518150c609ae29b5d33fe0c 762ef425cf0ac9c4b9e9e61e0da0950e16e6fbea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 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":"8f57c5ab66c0f49e59d6f16faec8de0a26593703","status":"affected","version":"b072e65aadd683e75518150c609ae29b5d33fe0c","versionType":"git"},{"lessThan":"bd0ab355e4392b2e3b4a06d8fde9134a0d564ea0","status":"affected","version":"b072e65aadd683e75518150c609ae29b5d33fe0c","versionType":"git"},{"lessThan":"50e96965800a02b8cc4c2e258d0fa567f8af9d9e","status":"affected","version":"b072e65aadd683e75518150c609ae29b5d33fe0c","versionType":"git"},{"lessThan":"d73a508a2b63d354c85b1dd6db9c24671486908d","status":"affected","version":"b072e65aadd683e75518150c609ae29b5d33fe0c","versionType":"git"},{"lessThan":"197566fbd8aac63a8df8aa6d7b213471de05f57f","status":"affected","version":"b072e65aadd683e75518150c609ae29b5d33fe0c","versionType":"git"},{"lessThan":"1cd36f545a9195280662feb245b50f2f2bda9b76","status":"affected","version":"b072e65aadd683e75518150c609ae29b5d33fe0c","versionType":"git"},{"lessThan":"762ef425cf0ac9c4b9e9e61e0da0950e16e6fbea","status":"affected","version":"b072e65aadd683e75518150c609ae29b5d33fe0c","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.15"},{"lessThan":"5.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","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":"5.15.226","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: aloop: Keep the timer source alive until card release\n\nThe timer_source string must remain valid while PCM opens can select\nand parse it. loopback_set_timer_source() allocates the string with\nparent-device devres, which can release it while the card is still\nregistered.\n\nA successful nonempty proc replacement after snd_card_register() adds\nthe string allocation after trigger_card_free. Unbinding the platform\ndevice while snd_aloop remains loaded releases devres in reverse order.\nAn open for an unused cable can run after the string is freed and before\nthe card-free action disconnects the card:\n\n  Device unbind                      PCM open\n  devres_release_all()\n    free replacement string\n                                     snd_pcm_open()\n                                       snd_card_file_add()\n                                       loopback_open()\n                                         loopback_snd_timer_open()\n                                           loopback_parse_timer_id()\n    trigger_card_free()\n      snd_card_free()\n        snd_card_disconnect()\n\nThe parser can then read freed memory. KASAN has reported a one-byte\nuse-after-free read in strchr() from loopback_snd_timer_open(). The\ncable_lock mutex serializes explicit replacements with opens, but\nimplicit devres release does not take it. The card and module references\nheld by PCM open do not retain this separate devres allocation.\n\nUse kstrdup() and release the current string from card->private_free.\nPCM admission already retains the card until each file is removed, and\ncard disconnect drains proc callbacks before final card release. This\nkeeps the string alive across admitted PCM opens and preserves the\ncable_lock serialization of replacements. Install the callback before\nthe initial allocation so probe failures also release the string."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:33:13.208Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/8f57c5ab66c0f49e59d6f16faec8de0a26593703"},{"url":"https://git.kernel.org/stable/c/bd0ab355e4392b2e3b4a06d8fde9134a0d564ea0"},{"url":"https://git.kernel.org/stable/c/50e96965800a02b8cc4c2e258d0fa567f8af9d9e"},{"url":"https://git.kernel.org/stable/c/d73a508a2b63d354c85b1dd6db9c24671486908d"},{"url":"https://git.kernel.org/stable/c/197566fbd8aac63a8df8aa6d7b213471de05f57f"},{"url":"https://git.kernel.org/stable/c/1cd36f545a9195280662feb245b50f2f2bda9b76"},{"url":"https://git.kernel.org/stable/c/762ef425cf0ac9c4b9e9e61e0da0950e16e6fbea"}],"title":"ALSA: aloop: Keep the timer source alive until card release","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139272","datePublished":"2026-11-30T13:33:13.208Z","dateReserved":"2026-11-30T13:22:15.924Z","dateUpdated":"2026-11-30T13:33:13.208Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:49","lastModifiedDate":"2026-11-30 14:18:49","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139272","Ordinal":"1","Title":"ALSA: aloop: Keep the timer source alive until card release","CVE":"CVE-2026-139272","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139272","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: aloop: Keep the timer source alive until card release\n\nThe timer_source string must remain valid while PCM opens can select\nand parse it. loopback_set_timer_source() allocates the string with\nparent-device devres, which can release it while the card is still\nregistered.\n\nA successful nonempty proc replacement after snd_card_register() adds\nthe string allocation after trigger_card_free. Unbinding the platform\ndevice while snd_aloop remains loaded releases devres in reverse order.\nAn open for an unused cable can run after the string is freed and before\nthe card-free action disconnects the card:\n\n  Device unbind                      PCM open\n  devres_release_all()\n    free replacement string\n                                     snd_pcm_open()\n                                       snd_card_file_add()\n                                       loopback_open()\n                                         loopback_snd_timer_open()\n                                           loopback_parse_timer_id()\n    trigger_card_free()\n      snd_card_free()\n        snd_card_disconnect()\n\nThe parser can then read freed memory. KASAN has reported a one-byte\nuse-after-free read in strchr() from loopback_snd_timer_open(). The\ncable_lock mutex serializes explicit replacements with opens, but\nimplicit devres release does not take it. The card and module references\nheld by PCM open do not retain this separate devres allocation.\n\nUse kstrdup() and release the current string from card->private_free.\nPCM admission already retains the card until each file is removed, and\ncard disconnect drains proc callbacks before final card release. This\nkeeps the string alive across admitted PCM opens and preserves the\ncable_lock serialization of replacements. Install the callback before\nthe initial allocation so probe failures also release the string.","Type":"Description","Title":"ALSA: aloop: Keep the timer source alive until card release"}]}}}