{"id":"CVE-2026-139442","state":"PUBLISHED","title":"ALSA: control_led: Fix deadlock between sysfs writes and card disconnect","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: control_led: Fix deadlock between sysfs writes and card disconnect\n\nsnd_ctl_led_disconnect() removes the ctl-led sysfs files while\nholding card->controls_rwsem. device_unregister() waits for running\nsysfs callbacks which can deadlock when a concurrent write causes\nthe attach or detach callback to wait for controls_rwsem.\n\nBreak kernfs active protection in the attach, detach and list\ncallbacks and hold a module reference instead.","publishedAt":"2026-11-30T13:34:47.664Z","updatedAt":"2026-11-30T13:34:47.664Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a135dfb5de1501327895729b4f513370d2555b4d","status":"affected","lessThan":"3e1da5d7bef835477fc3d15d89893cebcc5c0eef","versionType":"git"},{"version":"a135dfb5de1501327895729b4f513370d2555b4d","status":"affected","lessThan":"c29206e976952edd82e266f6e49c2b0553f36d46","versionType":"git"},{"version":"a135dfb5de1501327895729b4f513370d2555b4d","status":"affected","lessThan":"be872c62298583595baa91506100af4a03013f8d","versionType":"git"},{"version":"a135dfb5de1501327895729b4f513370d2555b4d","status":"affected","lessThan":"682d6bb5f783adea7fa2a5b05166bff01b338081","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/control_led.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/control_led.c"]}],"references":["https://git.kernel.org/stable/c/3e1da5d7bef835477fc3d15d89893cebcc5c0eef","https://git.kernel.org/stable/c/c29206e976952edd82e266f6e49c2b0553f36d46","https://git.kernel.org/stable/c/be872c62298583595baa91506100af4a03013f8d","https://git.kernel.org/stable/c/682d6bb5f783adea7fa2a5b05166bff01b338081"],"weaknesses":[],"ingestedAt":"2026-11-30T13:50:04.417Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139442.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139442","state":"PUBLISHED","datePublished":"2026-11-30T13:34:47.664Z","dateUpdated":"2026-11-30T13:34:47.664Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.934Z"},"containers":{"cna":{"title":"ALSA: control_led: Fix deadlock between sysfs writes and card disconnect","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: control_led: Fix deadlock between sysfs writes and card disconnect\n\nsnd_ctl_led_disconnect() removes the ctl-led sysfs files while\nholding card->controls_rwsem. device_unregister() waits for running\nsysfs callbacks which can deadlock when a concurrent write causes\nthe attach or detach callback to wait for controls_rwsem.\n\nBreak kernfs active protection in the attach, detach and list\ncallbacks and hold a module reference instead."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a135dfb5de1501327895729b4f513370d2555b4d","status":"affected","lessThan":"3e1da5d7bef835477fc3d15d89893cebcc5c0eef","versionType":"git"},{"version":"a135dfb5de1501327895729b4f513370d2555b4d","status":"affected","lessThan":"c29206e976952edd82e266f6e49c2b0553f36d46","versionType":"git"},{"version":"a135dfb5de1501327895729b4f513370d2555b4d","status":"affected","lessThan":"be872c62298583595baa91506100af4a03013f8d","versionType":"git"},{"version":"a135dfb5de1501327895729b4f513370d2555b4d","status":"affected","lessThan":"682d6bb5f783adea7fa2a5b05166bff01b338081","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/control_led.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/core/control_led.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3e1da5d7bef835477fc3d15d89893cebcc5c0eef"},{"url":"https://git.kernel.org/stable/c/c29206e976952edd82e266f6e49c2b0553f36d46"},{"url":"https://git.kernel.org/stable/c/be872c62298583595baa91506100af4a03013f8d"},{"url":"https://git.kernel.org/stable/c/682d6bb5f783adea7fa2a5b05166bff01b338081"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:34:47.664Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}