CVE-2024-35811: wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.35% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 0a7591e14a8da794d0b93b5d1c6254ccb23adacb, 0b812f706fd7090be74812101114a0e165b36744, 0f7352557a35ab7888bc7831411ec8a3cbe20d78.
- Severity is disputed: the assigning authority (CNA) scores it 8.8, NVD 5.5.
Low priority for now. Upgrade to Linux Linux 0a7591e14a8da794d0b93b5d1c6254ccb23adacb, 0b812f706fd7090be74812101114a0e165b36744, 0f7352557a35ab7888bc7831411ec8a3cbe20d78 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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: ->brcmf_usb_probe ->brcmf_usb_probe_cb ->brcmf_attach ->brcmf_bus_started ->brcmf_cfg80211_attach ->wl_init_priv ->brcmf_init_escan ->INIT_WORK(&cfg->escan_timeout_work, 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 ->brcmf_usb_disconnect_cb ->brcmf_detach ->brcmf_cfg80211_detach ->kfree(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]
- Published
- May 17, 2024
- Updated
- Oct 15, 2026
- EPSS
- 0.3% · 28th percentile
- CWE
- CWE-416
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.5
- CNA · Linux
- 8.8
- 3.3 point gap
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- linux linux kernel4.20 and later · before 5.4.274
- linux linux kernel5.5 and later · before 5.10.215
- linux linux kernel5.11 and later · before 5.15.154
- linux linux kernel3.7 and later · before 4.19.312
- linux linux kernel6.2 and later · before 6.6.24
- linux linux kernel6.7 and later · before 6.7.12
- linux linux kernel6.8 and later · before 6.8.3
- linux linux kernel5.16 and later · before 6.1.84
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.7affected
- e756af5b30b008f6ffcfebf8ad0b477f6f225b62 and later · before 202c503935042272e2f9e1bb549d5f69a8681169affected · git
- e756af5b30b008f6ffcfebf8ad0b477f6f225b62 and later · before 8e3f03f4ef7c36091f46e7349096efb5a2cdb3a1affected · git
- e756af5b30b008f6ffcfebf8ad0b477f6f225b62 and later · before bacb8c3ab86dcd760c15903fcee58169bc3026aaaffected · git
- e756af5b30b008f6ffcfebf8ad0b477f6f225b62 and later · before 8c36205123dc57349b59b4f1a2301eb278cbc731affected · git
- e756af5b30b008f6ffcfebf8ad0b477f6f225b62 and later · before 0b812f706fd7090be74812101114a0e165b36744affected · git
- e756af5b30b008f6ffcfebf8ad0b477f6f225b62 and later · before 190794848e2b9d15de92d502b6ac652806904f5aaffected · git
- e756af5b30b008f6ffcfebf8ad0b477f6f225b62 and later · before 6678a1e7d896c00030b31491690e8ddc9a90767aaffected · git
- e756af5b30b008f6ffcfebf8ad0b477f6f225b62 and later · before 0a7591e14a8da794d0b93b5d1c6254ccb23adacbaffected · git
- e756af5b30b008f6ffcfebf8ad0b477f6f225b62 and later · before 0f7352557a35ab7888bc7831411ec8a3cbe20d78affected · git
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.85-1 | 6.1.85-1 |
| Debian:13 | linux | before 6.7.12-1 | 6.7.12-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-35807May 17, 2024 · ext4: fix corruption during on-line resize22Monitor
- ← EarlierCVE-2024-35809May 17, 2024 · PCI/PM: Drain runtime-idle callbacks before driver removal18Monitor
- Later →CVE-2024-35813May 17, 2024 · mmc: core: Avoid negative index with array access22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 0a7591e14a8da794d0b93b5d1c6254ccb23adacb | Vendor (CNA) |
| Linux Linux | 0b812f706fd7090be74812101114a0e165b36744 | Vendor (CNA) |
| Linux Linux | 0f7352557a35ab7888bc7831411ec8a3cbe20d78 | Vendor (CNA) |
| Linux Linux | 190794848e2b9d15de92d502b6ac652806904f5a | Vendor (CNA) |
| Linux Linux | 202c503935042272e2f9e1bb549d5f69a8681169 | Vendor (CNA) |
| Linux Linux | 6678a1e7d896c00030b31491690e8ddc9a90767a | Vendor (CNA) |
| Linux Linux | 8c36205123dc57349b59b4f1a2301eb278cbc731 | Vendor (CNA) |
| Linux Linux | 8e3f03f4ef7c36091f46e7349096efb5a2cdb3a1 | Vendor (CNA) |
| Linux Linux | bacb8c3ab86dcd760c15903fcee58169bc3026aa | Vendor (CNA) |
| debian:linux | 6.1.85-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);
/* ... another thread is still running ... */
process(dev->buf);Fixed
lock(&dev->lock);
free(dev->buf);
dev->buf = NULL;
unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (11 more)Show less
- git.kernel.org/stable/c/0b812f706fd7090be74812101114a0e165b36744
- git.kernel.org/stable/c/0f7352557a35ab7888bc7831411ec8a3cbe20d78
- git.kernel.org/stable/c/190794848e2b9d15de92d502b6ac652806904f5a
- git.kernel.org/stable/c/202c503935042272e2f9e1bb549d5f69a8681169
- git.kernel.org/stable/c/6678a1e7d896c00030b31491690e8ddc9a90767a
- git.kernel.org/stable/c/8c36205123dc57349b59b4f1a2301eb278cbc731
- git.kernel.org/stable/c/8e3f03f4ef7c36091f46e7349096efb5a2cdb3a1
- git.kernel.org/stable/c/bacb8c3ab86dcd760c15903fcee58169bc3026aa
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.