{"api_version":"1","generated_at":"2026-11-30T18:38:11+00:00","cve":"CVE-2026-139283","urls":{"html":"https://cve.report/CVE-2026-139283","api":"https://cve.report/api/cve/CVE-2026-139283.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139283","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139283"},"summary":{"title":"ALSA: oss: Keep emulation modules loaded until object teardown","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: oss: Keep emulation modules loaded until object teardown\n\nOSS proc entries and notifier callbacks can remain in use without an\nopen OSS device file. Normal snd-pcm-oss removal can therefore delete\nan existing PCM's OSS proc entry while late HDA codec binding repeats\nsnd_card_register() on the same live card:\n\n  OSS PCM module unload                 Card registration\n  ---------------------                 -----------------\n  snd_info_free_entry(entry)\n    proc_remove(entry->p)\n    clear entry->p\n                                        snd_info_card_register()\n                                          republish linked entry\n    unlink and free entry\n\nThe new proc node retains a pointer to freed storage. Mixer OSS removal\ncan likewise release an adapter while a card notification still uses it.\n\nHold a snd-pcm-oss module reference for each PCM registered with its\nnotifier and a snd-mixer-oss reference for each card adapter. Release\nthem at final unregister or FREE, after proc and adapter cleanup. Normal\nmodule unload can no longer initiate removal while these objects exist.\n\nTrack PCM OSS registration with a separate bool registered. Unlike\noss.reg, this state also covers unmapped PCMs and remains set across\nDISCONNECT until final unregister. BUILD-state and creation-error cleanup\nmust not drop a reference when registration never acquired one. The PCM\nnotifier's register_mutex serialization keeps the final put ahead of\nnotifier removal and module teardown until dispatch has finished.\n\nFor mixer OSS, serialize callback publication, dispatch and withdrawal\nin the core so module exit waits for callbacks, including one dropping\nthe last reference, to return. Keep card enumeration in the OSS module,\nwith card references released after dispatch drops the mutex. Ignore\nduplicate REGISTER notifications so a delayed registration cannot\nreplace an adapter retained across DISCONNECT and leak its module pin.\n\nPartial HDA codec teardown can still remove an individual PCM while the\ncard remains registered; its object-lifetime handling is separate.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:51","updated_at":"2026-11-30 14:18:51"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ad4c1ae7aeca54fee1e16c824f364768dd222440","name":"https://git.kernel.org/stable/c/ad4c1ae7aeca54fee1e16c824f364768dd222440","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/35ff4b2e9cc375befb27dbde81845c3a81d44463","name":"https://git.kernel.org/stable/c/35ff4b2e9cc375befb27dbde81845c3a81d44463","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ee00f1fa2ecfee719f67f6242f9abc3facd4dbb3","name":"https://git.kernel.org/stable/c/ee00f1fa2ecfee719f67f6242f9abc3facd4dbb3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/956df0d9a1febeef7f7f6b3cae021a299313a245","name":"https://git.kernel.org/stable/c/956df0d9a1febeef7f7f6b3cae021a299313a245","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/59800843436438df4b422d6b4d1999490ca327a6","name":"https://git.kernel.org/stable/c/59800843436438df4b422d6b4d1999490ca327a6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5db63b577bcab14095a49ce3b11d4475efae785d","name":"https://git.kernel.org/stable/c/5db63b577bcab14095a49ce3b11d4475efae785d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5d69fbf3d38522b5e4ded8c8c0d889de28c8e74e","name":"https://git.kernel.org/stable/c/5d69fbf3d38522b5e4ded8c8c0d889de28c8e74e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f0780cfa6acf72576464dc3b40431db389f46ee8","name":"https://git.kernel.org/stable/c/f0780cfa6acf72576464dc3b40431db389f46ee8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139283","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139283","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2471b6c80a70e80de69f5ff4c37187c3912e5874 5db63b577bcab14095a49ce3b11d4475efae785d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2471b6c80a70e80de69f5ff4c37187c3912e5874 956df0d9a1febeef7f7f6b3cae021a299313a245 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2471b6c80a70e80de69f5ff4c37187c3912e5874 5d69fbf3d38522b5e4ded8c8c0d889de28c8e74e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2471b6c80a70e80de69f5ff4c37187c3912e5874 ee00f1fa2ecfee719f67f6242f9abc3facd4dbb3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2471b6c80a70e80de69f5ff4c37187c3912e5874 35ff4b2e9cc375befb27dbde81845c3a81d44463 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2471b6c80a70e80de69f5ff4c37187c3912e5874 ad4c1ae7aeca54fee1e16c824f364768dd222440 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2471b6c80a70e80de69f5ff4c37187c3912e5874 59800843436438df4b422d6b4d1999490ca327a6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2471b6c80a70e80de69f5ff4c37187c3912e5874 f0780cfa6acf72576464dc3b40431db389f46ee8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* 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":["include/sound/core.h","include/sound/pcm_oss.h","sound/core/init.c","sound/core/oss/mixer_oss.c","sound/core/oss/pcm_oss.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"5db63b577bcab14095a49ce3b11d4475efae785d","status":"affected","version":"2471b6c80a70e80de69f5ff4c37187c3912e5874","versionType":"git"},{"lessThan":"956df0d9a1febeef7f7f6b3cae021a299313a245","status":"affected","version":"2471b6c80a70e80de69f5ff4c37187c3912e5874","versionType":"git"},{"lessThan":"5d69fbf3d38522b5e4ded8c8c0d889de28c8e74e","status":"affected","version":"2471b6c80a70e80de69f5ff4c37187c3912e5874","versionType":"git"},{"lessThan":"ee00f1fa2ecfee719f67f6242f9abc3facd4dbb3","status":"affected","version":"2471b6c80a70e80de69f5ff4c37187c3912e5874","versionType":"git"},{"lessThan":"35ff4b2e9cc375befb27dbde81845c3a81d44463","status":"affected","version":"2471b6c80a70e80de69f5ff4c37187c3912e5874","versionType":"git"},{"lessThan":"ad4c1ae7aeca54fee1e16c824f364768dd222440","status":"affected","version":"2471b6c80a70e80de69f5ff4c37187c3912e5874","versionType":"git"},{"lessThan":"59800843436438df4b422d6b4d1999490ca327a6","status":"affected","version":"2471b6c80a70e80de69f5ff4c37187c3912e5874","versionType":"git"},{"lessThan":"f0780cfa6acf72576464dc3b40431db389f46ee8","status":"affected","version":"2471b6c80a70e80de69f5ff4c37187c3912e5874","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/sound/core.h","include/sound/pcm_oss.h","sound/core/init.c","sound/core/oss/mixer_oss.c","sound/core/oss/pcm_oss.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.2"},{"lessThan":"4.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","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.10.275","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: oss: Keep emulation modules loaded until object teardown\n\nOSS proc entries and notifier callbacks can remain in use without an\nopen OSS device file. Normal snd-pcm-oss removal can therefore delete\nan existing PCM's OSS proc entry while late HDA codec binding repeats\nsnd_card_register() on the same live card:\n\n  OSS PCM module unload                 Card registration\n  ---------------------                 -----------------\n  snd_info_free_entry(entry)\n    proc_remove(entry->p)\n    clear entry->p\n                                        snd_info_card_register()\n                                          republish linked entry\n    unlink and free entry\n\nThe new proc node retains a pointer to freed storage. Mixer OSS removal\ncan likewise release an adapter while a card notification still uses it.\n\nHold a snd-pcm-oss module reference for each PCM registered with its\nnotifier and a snd-mixer-oss reference for each card adapter. Release\nthem at final unregister or FREE, after proc and adapter cleanup. Normal\nmodule unload can no longer initiate removal while these objects exist.\n\nTrack PCM OSS registration with a separate bool registered. Unlike\noss.reg, this state also covers unmapped PCMs and remains set across\nDISCONNECT until final unregister. BUILD-state and creation-error cleanup\nmust not drop a reference when registration never acquired one. The PCM\nnotifier's register_mutex serialization keeps the final put ahead of\nnotifier removal and module teardown until dispatch has finished.\n\nFor mixer OSS, serialize callback publication, dispatch and withdrawal\nin the core so module exit waits for callbacks, including one dropping\nthe last reference, to return. Keep card enumeration in the OSS module,\nwith card references released after dispatch drops the mutex. Ignore\nduplicate REGISTER notifications so a delayed registration cannot\nreplace an adapter retained across DISCONNECT and leak its module pin.\n\nPartial HDA codec teardown can still remove an individual PCM while the\ncard remains registered; its object-lifetime handling is separate."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:33:19.309Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/5db63b577bcab14095a49ce3b11d4475efae785d"},{"url":"https://git.kernel.org/stable/c/956df0d9a1febeef7f7f6b3cae021a299313a245"},{"url":"https://git.kernel.org/stable/c/5d69fbf3d38522b5e4ded8c8c0d889de28c8e74e"},{"url":"https://git.kernel.org/stable/c/ee00f1fa2ecfee719f67f6242f9abc3facd4dbb3"},{"url":"https://git.kernel.org/stable/c/35ff4b2e9cc375befb27dbde81845c3a81d44463"},{"url":"https://git.kernel.org/stable/c/ad4c1ae7aeca54fee1e16c824f364768dd222440"},{"url":"https://git.kernel.org/stable/c/59800843436438df4b422d6b4d1999490ca327a6"},{"url":"https://git.kernel.org/stable/c/f0780cfa6acf72576464dc3b40431db389f46ee8"}],"title":"ALSA: oss: Keep emulation modules loaded until object teardown","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139283","datePublished":"2026-11-30T13:33:19.309Z","dateReserved":"2026-11-30T13:22:15.924Z","dateUpdated":"2026-11-30T13:33:19.309Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:51","lastModifiedDate":"2026-11-30 14:18:51","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139283","Ordinal":"1","Title":"ALSA: oss: Keep emulation modules loaded until object teardown","CVE":"CVE-2026-139283","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139283","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: oss: Keep emulation modules loaded until object teardown\n\nOSS proc entries and notifier callbacks can remain in use without an\nopen OSS device file. Normal snd-pcm-oss removal can therefore delete\nan existing PCM's OSS proc entry while late HDA codec binding repeats\nsnd_card_register() on the same live card:\n\n  OSS PCM module unload                 Card registration\n  ---------------------                 -----------------\n  snd_info_free_entry(entry)\n    proc_remove(entry->p)\n    clear entry->p\n                                        snd_info_card_register()\n                                          republish linked entry\n    unlink and free entry\n\nThe new proc node retains a pointer to freed storage. Mixer OSS removal\ncan likewise release an adapter while a card notification still uses it.\n\nHold a snd-pcm-oss module reference for each PCM registered with its\nnotifier and a snd-mixer-oss reference for each card adapter. Release\nthem at final unregister or FREE, after proc and adapter cleanup. Normal\nmodule unload can no longer initiate removal while these objects exist.\n\nTrack PCM OSS registration with a separate bool registered. Unlike\noss.reg, this state also covers unmapped PCMs and remains set across\nDISCONNECT until final unregister. BUILD-state and creation-error cleanup\nmust not drop a reference when registration never acquired one. The PCM\nnotifier's register_mutex serialization keeps the final put ahead of\nnotifier removal and module teardown until dispatch has finished.\n\nFor mixer OSS, serialize callback publication, dispatch and withdrawal\nin the core so module exit waits for callbacks, including one dropping\nthe last reference, to return. Keep card enumeration in the OSS module,\nwith card references released after dispatch drops the mutex. Ignore\nduplicate REGISTER notifications so a delayed registration cannot\nreplace an adapter retained across DISCONNECT and leak its module pin.\n\nPartial HDA codec teardown can still remove an individual PCM while the\ncard remains registered; its object-lifetime handling is separate.","Type":"Description","Title":"ALSA: oss: Keep emulation modules loaded until object teardown"}]}}}