{"id":"DEBIAN-CVE-2024-35811","details":"In the Linux kernel, the following vulnerability has been resolved:  wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach  This is the candidate patch of CVE-2023-47233 : https://nvd.nist.gov/vuln/detail/CVE-2023-47233  In brcm80211 driver,it starts with the following invoking chain to start init a timeout worker:  -\u003ebrcmf_usb_probe   -\u003ebrcmf_usb_probe_cb     -\u003ebrcmf_attach       -\u003ebrcmf_bus_started         -\u003ebrcmf_cfg80211_attach           -\u003ewl_init_priv             -\u003ebrcmf_init_escan               -\u003eINIT_WORK(&cfg-\u003eescan_timeout_work, \t\t  brcmf_cfg80211_escan_timeout_worker);  If we disconnect the USB by hotplug, it will call brcmf_usb_disconnect to make cleanup. The invoking chain is :  brcmf_usb_disconnect   -\u003ebrcmf_usb_disconnect_cb     -\u003ebrcmf_detach       -\u003ebrcmf_cfg80211_detach         -\u003ekfree(cfg);  While the timeout woker may still be running. This will cause a use-after-free bug on cfg in brcmf_cfg80211_escan_timeout_worker.  Fix it by deleting the timer and canceling the worker in brcmf_cfg80211_detach.  [arend.vanspriel@broadcom.com: keep timer delete as is and cancel work just before free]","modified":"2026-09-15T09:03:07.658367370Z","published":"2024-05-17T14:15:15.177Z","upstream":["CVE-2024-35811"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-35811"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.85-1"}]}],"versions":["6.1.27-1","6.1.37-1","6.1.38-1","6.1.38-2","6.1.38-2~bpo11+1","6.1.38-3","6.1.38-4","6.1.38-4~bpo11+1","6.1.52-1","6.1.55-1","6.1.55-1~bpo11+1","6.1.64-1","6.1.66-1","6.1.67-1","6.1.69-1","6.1.69-1~bpo11+1","6.1.76-1","6.1.76-1~bpo11+1","6.1.82-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-35811.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.12-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-35811.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.12-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-35811.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}