{"dataType":"CVE_RECORD","cveMetadata":{"cveId":"CVE-2024-27052","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-02-19T14:20:24.214Z","datePublished":"2024-05-01T12:54:42.547Z","dateUpdated":"2026-08-05T11:29:14.215Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:29:14.215Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work\n\nThe workqueue might still be running, when the driver is stopped. To\navoid a use-after-free, call cancel_work_sync() in rtl8xxxu_stop()."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The exploitable window is opened by a local action that stops the device (`ip link set down`, suspend, rfkill, driver unbind) — a remote or adjacent Wi-Fi attacker can queue `c2hcmd_work` but cannot cause `rtl8xxxu_stop()`/`ieee80211_free_hw()` to run. This matches the AV:L scoring of the directly analogous `rtl8187_stop()` teardown UAF (CVE-2025-38604).\nAC:L - The attacker controls both sides of the race: Wi-Fi/BT-coex activity keeps C2H events and RA reports flowing so `schedule_work(&priv->c2hcmd_work)` fires continuously, and the attacker chooses the exact moment to trigger the stop/unbind, so the window can be hit repeatedly until won.\nPR:L - An ordinary local user in a normal desktop/embedded session can reach the teardown path via logind-mediated suspend or rfkill, and no capability is needed to generate the Wi-Fi traffic that keeps the work queued; consistent with PR:L used across the driver-teardown UAF class.\nUI:N - The attacker performs both the traffic generation and the interface stop themselves; no separate victim has to open a file, mount anything, or take any action.\nS:U - The use-after-free corrupts kernel heap memory within the same kernel security authority; there is no crossing of a VM, IOMMU, or sandbox boundary.\nC:H - The freed `rtl8xxxu_priv` slab object can be reclaimed and groomed by the attacker, and the work callback reads through it (`priv->fops`, `priv->udev->dev`, `priv->c2hcmd_queue`), yielding a use-after-free read primitive that can disclose arbitrary kernel memory.\nI:H - The stale work item writes into the freed object (skb dequeue/list manipulation on `c2hcmd_queue`, updates to `priv->ra_report` and `priv->bt_coex`), and the workqueue core manipulates the freed embedded `work_struct`, giving a controlled-write primitive on reclaimed heap memory that is leverageable for control-flow hijack.\nA:H - Even unexploited, the use-after-free reliably produces a kernel oops or panic when the work runs against freed memory, and it can be retriggered on every device stop."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c"],"versions":[{"version":"e542e66b7c2ee2adeefdbb7f259f2f60cadf2819","lessThan":"dddedfa3b29a63c2ca4336663806a6128b8545b4","status":"affected","versionType":"git"},{"version":"e542e66b7c2ee2adeefdbb7f259f2f60cadf2819","lessThan":"ac512507ac89c01ed6cd4ca53032f52cdb23ea59","status":"affected","versionType":"git"},{"version":"e542e66b7c2ee2adeefdbb7f259f2f60cadf2819","lessThan":"3518cea837de4d106efa84ddac18a07b6de1384e","status":"affected","versionType":"git"},{"version":"e542e66b7c2ee2adeefdbb7f259f2f60cadf2819","lessThan":"156012667b85ca7305cb363790d3ae8519a6f41e","status":"affected","versionType":"git"},{"version":"e542e66b7c2ee2adeefdbb7f259f2f60cadf2819","lessThan":"7059cdb69f8e1a2707dd1e2f363348b507ed7707","status":"affected","versionType":"git"},{"version":"e542e66b7c2ee2adeefdbb7f259f2f60cadf2819","lessThan":"58fe3bbddfec10c6b216096d8c0e517cd8463e3a","status":"affected","versionType":"git"},{"version":"e542e66b7c2ee2adeefdbb7f259f2f60cadf2819","lessThan":"1213acb478a7181cd73eeaf00db430f1e45b1361","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c"],"versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"5.10.214","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.153","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.83","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.23","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.11","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8.2","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.214"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.15.153"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.1.83"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.6.23"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.7.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.8.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.9"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/dddedfa3b29a63c2ca4336663806a6128b8545b4"},{"url":"https://git.kernel.org/stable/c/ac512507ac89c01ed6cd4ca53032f52cdb23ea59"},{"url":"https://git.kernel.org/stable/c/3518cea837de4d106efa84ddac18a07b6de1384e"},{"url":"https://git.kernel.org/stable/c/156012667b85ca7305cb363790d3ae8519a6f41e"},{"url":"https://git.kernel.org/stable/c/7059cdb69f8e1a2707dd1e2f363348b507ed7707"},{"url":"https://git.kernel.org/stable/c/58fe3bbddfec10c6b216096d8c0e517cd8463e3a"},{"url":"https://git.kernel.org/stable/c/1213acb478a7181cd73eeaf00db430f1e45b1361"}],"title":"wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.4,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-27052","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-13T15:54:30.303932Z"}}}],"affected":[{"cpes":["cpe:2.3:o:linux:linux_kernel:5.5:*:*:*:*:*:*:*"],"vendor":"linux","product":"linux_kernel","versions":[{"status":"affected","version":"5.5"}],"defaultStatus":"unknown"},{"cpes":["cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*"],"vendor":"linux","product":"linux_kernel","versions":[{"status":"affected","version":"e542e66b7c2e","lessThan":"58fe3bbddfec","versionType":"custom"}],"defaultStatus":"unknown"}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-416","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:46:59.357Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T00:21:05.987Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/dddedfa3b29a63c2ca4336663806a6128b8545b4","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ac512507ac89c01ed6cd4ca53032f52cdb23ea59","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/3518cea837de4d106efa84ddac18a07b6de1384e","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/156012667b85ca7305cb363790d3ae8519a6f41e","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/7059cdb69f8e1a2707dd1e2f363348b507ed7707","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/58fe3bbddfec10c6b216096d8c0e517cd8463e3a","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/1213acb478a7181cd73eeaf00db430f1e45b1361","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]}]},{"x_adpType":"supplier","providerMetadata":{"orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP","dateUpdated":"2026-05-12T11:51:18.072Z"},"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","versions":[{"status":"affected","version":"0","lessThan":"*","versionType":"custom"}],"defaultStatus":"unknown"}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"}]}]},"dataVersion":"5.2"}