{"api_version":"1","generated_at":"2026-11-30T20:00:28+00:00","cve":"CVE-2026-139695","urls":{"html":"https://cve.report/CVE-2026-139695","api":"https://cve.report/api/cve/CVE-2026-139695.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139695","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139695"},"summary":{"title":"wifi: wfx: fix use-after-free of the cooling work on device removal","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wfx: fix use-after-free of the cooling work on device removal\n\nWhen the device reports that it is too hot, wfx_suspend_hot_dev() blocks\nthe Tx queues and arms cooling_timeout_work with a 10s delay. If the\ndevice recovers a normal temperature before the delay expires, the work\nis canceled. Else, the work declares the chip frozen and unblocks the Tx\nqueues.\n\nHowever, this work is never canceled when the device is removed.\ncooling_timeout_work is queued on the system workqueue, while struct\nwfx_dev is released by wfx_free_common() (through ieee80211_free_hw()).\nSo, if the device is unbound during this 10s window, the work fires\nafter struct wfx_dev has been freed and dereferences it.\n\nCancel the work during the teardown. It has to be done after\nwfx_bh_unregister(): the \"device too hot\" indication is processed by the\nbh, so canceling the work earlier would allow the bh to rearm it. On the\nother hand, the work calls wfx_tx_unlock(), which may in turn call\nwfx_bh_request_tx(). So it has to be canceled before bh_wq is destroyed.\n\nNote that the Tx queues are intentionally left blocked: the device is\ngoing away, so there is nothing to unblock.\n\nThe issue was reported by the Sashiko review bot and the fix has been\nwritten by Copilot (including the commit log). The use-case is difficult\nto reproduce, so this code has not been tested. However, I don't believe\nthis patch could cause any regression.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:59","updated_at":"2026-11-30 14:19:59"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d7b2899be9b8d0205f32d4982dcc862bf1a25c43","name":"https://git.kernel.org/stable/c/d7b2899be9b8d0205f32d4982dcc862bf1a25c43","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5435c507d45de6930e9754ce7b66a51b242741e7","name":"https://git.kernel.org/stable/c/5435c507d45de6930e9754ce7b66a51b242741e7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/17402a869778f6c17b88fd360d7a96378779f97c","name":"https://git.kernel.org/stable/c/17402a869778f6c17b88fd360d7a96378779f97c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7f707686e6c33085727efa3d06b1d032ced70c16","name":"https://git.kernel.org/stable/c/7f707686e6c33085727efa3d06b1d032ced70c16","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e7ed604396e274f0e88576cf570bb9428b25e002","name":"https://git.kernel.org/stable/c/e7ed604396e274f0e88576cf570bb9428b25e002","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2685883657ae157ceb6ef961da6075e8e21e9f8f","name":"https://git.kernel.org/stable/c/2685883657ae157ceb6ef961da6075e8e21e9f8f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139695","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139695","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1d52d29983e5daa18c441feed94259aaf03c582c e7ed604396e274f0e88576cf570bb9428b25e002 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1d52d29983e5daa18c441feed94259aaf03c582c d7b2899be9b8d0205f32d4982dcc862bf1a25c43 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1d52d29983e5daa18c441feed94259aaf03c582c 7f707686e6c33085727efa3d06b1d032ced70c16 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1d52d29983e5daa18c441feed94259aaf03c582c 2685883657ae157ceb6ef961da6075e8e21e9f8f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1d52d29983e5daa18c441feed94259aaf03c582c 5435c507d45de6930e9754ce7b66a51b242741e7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1d52d29983e5daa18c441feed94259aaf03c582c 17402a869778f6c17b88fd360d7a96378779f97c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.8 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":["drivers/net/wireless/silabs/wfx/main.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e7ed604396e274f0e88576cf570bb9428b25e002","status":"affected","version":"1d52d29983e5daa18c441feed94259aaf03c582c","versionType":"git"},{"lessThan":"d7b2899be9b8d0205f32d4982dcc862bf1a25c43","status":"affected","version":"1d52d29983e5daa18c441feed94259aaf03c582c","versionType":"git"},{"lessThan":"7f707686e6c33085727efa3d06b1d032ced70c16","status":"affected","version":"1d52d29983e5daa18c441feed94259aaf03c582c","versionType":"git"},{"lessThan":"2685883657ae157ceb6ef961da6075e8e21e9f8f","status":"affected","version":"1d52d29983e5daa18c441feed94259aaf03c582c","versionType":"git"},{"lessThan":"5435c507d45de6930e9754ce7b66a51b242741e7","status":"affected","version":"1d52d29983e5daa18c441feed94259aaf03c582c","versionType":"git"},{"lessThan":"17402a869778f6c17b88fd360d7a96378779f97c","status":"affected","version":"1d52d29983e5daa18c441feed94259aaf03c582c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/wireless/silabs/wfx/main.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.8"},{"lessThan":"5.8","status":"unaffected","version":"0","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":"6.1.193","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wfx: fix use-after-free of the cooling work on device removal\n\nWhen the device reports that it is too hot, wfx_suspend_hot_dev() blocks\nthe Tx queues and arms cooling_timeout_work with a 10s delay. If the\ndevice recovers a normal temperature before the delay expires, the work\nis canceled. Else, the work declares the chip frozen and unblocks the Tx\nqueues.\n\nHowever, this work is never canceled when the device is removed.\ncooling_timeout_work is queued on the system workqueue, while struct\nwfx_dev is released by wfx_free_common() (through ieee80211_free_hw()).\nSo, if the device is unbound during this 10s window, the work fires\nafter struct wfx_dev has been freed and dereferences it.\n\nCancel the work during the teardown. It has to be done after\nwfx_bh_unregister(): the \"device too hot\" indication is processed by the\nbh, so canceling the work earlier would allow the bh to rearm it. On the\nother hand, the work calls wfx_tx_unlock(), which may in turn call\nwfx_bh_request_tx(). So it has to be canceled before bh_wq is destroyed.\n\nNote that the Tx queues are intentionally left blocked: the device is\ngoing away, so there is nothing to unblock.\n\nThe issue was reported by the Sashiko review bot and the fix has been\nwritten by Copilot (including the commit log). The use-case is difficult\nto reproduce, so this code has not been tested. However, I don't believe\nthis patch could cause any regression."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:37:07.454Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e7ed604396e274f0e88576cf570bb9428b25e002"},{"url":"https://git.kernel.org/stable/c/d7b2899be9b8d0205f32d4982dcc862bf1a25c43"},{"url":"https://git.kernel.org/stable/c/7f707686e6c33085727efa3d06b1d032ced70c16"},{"url":"https://git.kernel.org/stable/c/2685883657ae157ceb6ef961da6075e8e21e9f8f"},{"url":"https://git.kernel.org/stable/c/5435c507d45de6930e9754ce7b66a51b242741e7"},{"url":"https://git.kernel.org/stable/c/17402a869778f6c17b88fd360d7a96378779f97c"}],"title":"wifi: wfx: fix use-after-free of the cooling work on device removal","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139695","datePublished":"2026-11-30T13:37:07.454Z","dateReserved":"2026-11-30T13:22:15.948Z","dateUpdated":"2026-11-30T13:37:07.454Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:59","lastModifiedDate":"2026-11-30 14:19:59","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139695","Ordinal":"1","Title":"wifi: wfx: fix use-after-free of the cooling work on device remo","CVE":"CVE-2026-139695","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139695","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wfx: fix use-after-free of the cooling work on device removal\n\nWhen the device reports that it is too hot, wfx_suspend_hot_dev() blocks\nthe Tx queues and arms cooling_timeout_work with a 10s delay. If the\ndevice recovers a normal temperature before the delay expires, the work\nis canceled. Else, the work declares the chip frozen and unblocks the Tx\nqueues.\n\nHowever, this work is never canceled when the device is removed.\ncooling_timeout_work is queued on the system workqueue, while struct\nwfx_dev is released by wfx_free_common() (through ieee80211_free_hw()).\nSo, if the device is unbound during this 10s window, the work fires\nafter struct wfx_dev has been freed and dereferences it.\n\nCancel the work during the teardown. It has to be done after\nwfx_bh_unregister(): the \"device too hot\" indication is processed by the\nbh, so canceling the work earlier would allow the bh to rearm it. On the\nother hand, the work calls wfx_tx_unlock(), which may in turn call\nwfx_bh_request_tx(). So it has to be canceled before bh_wq is destroyed.\n\nNote that the Tx queues are intentionally left blocked: the device is\ngoing away, so there is nothing to unblock.\n\nThe issue was reported by the Sashiko review bot and the fix has been\nwritten by Copilot (including the commit log). The use-case is difficult\nto reproduce, so this code has not been tested. However, I don't believe\nthis patch could cause any regression.","Type":"Description","Title":"wifi: wfx: fix use-after-free of the cooling work on device remo"}]}}}