wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit() > ret = brcmf_proto_tx_queue_data(drvr, ifp->ifidx, skb); may be schedule, and then complete before the line > ndev->stats.tx_bytes += skb->len; [ 46.912801] ================================================================== [ 46.920552] BUG: KASAN: use-after-free in brcmf_netdev_start_xmit+0x718/0x8c8 [brcmfmac] [ 46.928673] Read of size 4 at addr ffffff803f5882e8 by task systemd-resolve/328 [ 46.935991] [ 46.937514] CPU: 1 PID: 328 Comm: systemd-resolve Tainted: G O 5.4.199-[REDACTED] #1 [ 46.947255] Hardware name: [REDACTED] [ 46.954568] Call trace: [ 46.957037] dump_backtrace+0x0/0x2b8 [ 46.960719] show_stack+0x24/0x30 [ 46.964052] dump_stack+0x128/0x194 [ 46.967557] print_address_description.isra.0+0x64/0x380 [ 46.972877] __kasan_report+0x1d4/0x240 [ 46.976723] kasan_report+0xc/0x18 [ 46.980138] __asan_report_load4_noabort+0x18/0x20 [ 46.985027] brcmf_netdev_start_xmit+0x718/0x8c8 [brcmfmac] [ 46.990613] dev_hard_start_xmit+0x1bc/0xda0 [ 46.994894] sch_direct_xmit+0x198/0xd08 [ 46.998827] __qdisc_run+0x37c/0x1dc0 [ 47.002500] __dev_queue_xmit+0x1528/0x21f8 [ 47.006692] dev_queue_xmit+0x24/0x30 [ 47.010366] neigh_resolve_output+0x37c/0x678 [ 47.014734] ip_finish_output2+0x598/0x2458 [ 47.018927] __ip_finish_output+0x300/0x730 [ 47.023118] ip_output+0x2e0/0x430 [ 47.026530] ip_local_out+0x90/0x140 [ 47.030117] igmpv3_sendpack+0x14c/0x228 [ 47.034049] igmpv3_send_cr+0x384/0x6b8 [ 47.037895] igmp_ifc_timer_expire+0x4c/0x118 [ 47.042262] call_timer_fn+0x1cc/0xbe8 [ 47.046021] __run_timers+0x4d8/0xb28 [ 47.049693] run_timer_softirq+0x24/0x40 [ 47.053626] __do_softirq+0x2c0/0x117c [ 47.057387] irq_exit+0x2dc/0x388 [ 47.060715] __handle_domain_irq+0xb4/0x158 [ 47.064908] gic_handle_irq+0x58/0xb0 [ 47.068581] el0_irq_naked+0x50/0x5c [ 47.072162] [ 47.073665] Allocated by task 328: [ 47.077083] save_stack+0x24/0xb0 [ 47.080410] __kasan_kmalloc.isra.0+0xc0/0xe0 [ 47.084776] kasan_slab_alloc+0x14/0x20 [ 47.088622] kmem_cache_alloc+0x15c/0x468 [ 47.092643] __alloc_skb+0xa4/0x498 [ 47.096142] igmpv3_newpack+0x158/0xd78 [ 47.099987] add_grhead+0x210/0x288 [ 47.103485] add_grec+0x6b0/0xb70 [ 47.106811] igmpv3_send_cr+0x2e0/0x6b8 [ 47.110657] igmp_ifc_timer_expire+0x4c/0x118 [ 47.115027] call_timer_fn+0x1cc/0xbe8 [ 47.118785] __run_timers+0x4d8/0xb28 [ 47.122457] run_timer_softirq+0x24/0x40 [ 47.126389] __do_softirq+0x2c0/0x117c [ 47.130142] [ 47.131643] Freed by task 180: [ 47.134712] save_stack+0x24/0xb0 [ 47.138041] __kasan_slab_free+0x108/0x180 [ 47.142146] kasan_slab_free+0x10/0x18 [ 47.145904] slab_free_freelist_hook+0xa4/0x1b0 [ 47.150444] kmem_cache_free+0x8c/0x528 [ 47.154292] kfree_skbmem+0x94/0x108 [ 47.157880] consume_skb+0x10c/0x5a8 [ 47.161466] __dev_kfree_skb_any+0x88/0xa0 [ 47.165598] brcmu_pkt_buf_free_skb+0x44/0x68 [brcmutil] [ 47.171023] brcmf_txfinalize+0xec/0x190 [brcmfmac] [ 47.176016] brcmf_proto_bcdc_txcomplete+0x1c0/0x210 [brcmfmac] [ 47.182056] brcmf_sdio_sendfromq+0x8dc/0x1e80 [brcmfmac] [ 47.187568] brcmf_sdio_dpc+0xb48/0x2108 [brcmfmac] [ 47.192529] brcmf_sdio_dataworker+0xc8/0x238 [brcmfmac] [ 47.197859] process_one_work+0x7fc/0x1a80 [ 47.201965] worker_thread+0x31c/0xc40 [ 47.205726] kthread+0x2d8/0x370 [ 47.208967] ret_from_fork+0x10/0x18 [ 47.212546] [ 47.214051] The buggy address belongs to the object at ffffff803f588280 [ 47.214051] which belongs to the cache skbuff_head_cache of size 208 [ 47.227086] The buggy address is located 104 bytes inside of [ 47.227086] 208-byte region [ffffff803f588280, ffffff803f588350) [ 47.238814] The buggy address belongs to the page: [ 47.243618] page:ffffffff00dd6200 refcount:1 mapcou ---truncated---
- Published
- Sep 18, 2025
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 4th percentile
- CWE
- CWE-416
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · Linux
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernelbefore 4.14.296
- linux linux kernel4.15 and later · before 4.19.262
- linux linux kernel4.20 and later · before 5.4.220
- linux linux kernel5.5 and later · before 5.10.150
- linux linux kernel5.11 and later · before 5.15.75
- linux linux kernel5.16 and later · before 5.19.17
- linux linux kernel6.0 and later · before 6.0.3
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.9affected
- b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4 and later · before 1613a7b24f1a7467cb727ba3ec77c9a808383560affected · git
- b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4 and later · before d79f4d903e14dde822c60b5fd3bedc5a289d25dfaffected · git
- b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4 and later · before 49c742afd60f552fce7799287080db02bffe1db2affected · git
- b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4 and later · before e01d96494a9de0f48b1167f0494f6d929fa773edaffected · git
- b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4 and later · before 232d59eca07f6ea27307022a33d226aff373bd02affected · git
- b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4 and later · before 27574a3f421c3a1694d0207f37c6bbf23d66978eaffected · git
- b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4 and later · before c369836cff98d3877f98c98e15c0151462812d96affected · git
- b1a2a41126fc582a3d5613aa2d3e632b2eb1a2c4 and later · before 3f42faf6db431e04bf942d2ebe3ae88975723478affected · git
- before 3.9not affected · semver
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.0.3-1 | 6.0.3-1 |
| Red Hat:rhel_aus:8.2::baseos | bpftool | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | bpftool-debuginfo | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-abi-whitelists | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-core | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug-core | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug-debuginfo | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug-devel | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug-modules | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug-modules-extra | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debuginfo | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debuginfo-common-x86_64 | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-devel | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-doc | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-modules | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-modules-extra | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-tools | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-tools-debuginfo | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-tools-libs | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | perf | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | perf-debuginfo | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | python3-perf | before 0:4.18.0-193.178.1.el8_2 | 0:4.18.0-193.178.1.el8_2 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- 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
- CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV83Now
- CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV77This week
- CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV77This week
- CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV77This week
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 | 1613a7b24f1a7467cb727ba3ec77c9a808383560 | Vendor (CNA) |
| Linux Linux | 232d59eca07f6ea27307022a33d226aff373bd02 | Vendor (CNA) |
| Linux Linux | 27574a3f421c3a1694d0207f37c6bbf23d66978e | Vendor (CNA) |
| Linux Linux | 3f42faf6db431e04bf942d2ebe3ae88975723478 | Vendor (CNA) |
| Linux Linux | 49c742afd60f552fce7799287080db02bffe1db2 | Vendor (CNA) |
| Linux Linux | c369836cff98d3877f98c98e15c0151462812d96 | Vendor (CNA) |
| Linux Linux | d79f4d903e14dde822c60b5fd3bedc5a289d25df | Vendor (CNA) |
| Linux Linux | e01d96494a9de0f48b1167f0494f6d929fa773ed | Vendor (CNA) |
| debian:linux | 6.0.3-1 · Debian:12 | Package registry (OSV) |
| red hat:bpftool | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:bpftool-debuginfo | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-abi-stablelists | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-core | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-core | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-modules | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debug-modules-extra | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:4.18.0-372.168.1.el8_6 · Red Hat:rhel_aus:8.6::baseos | 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
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- 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:H/I:H/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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- git.kernel.org/stable/c/1613a7b24f1a7467cb727ba3ec77c9a808383560
- git.kernel.org/stable/c/232d59eca07f6ea27307022a33d226aff373bd02
- git.kernel.org/stable/c/27574a3f421c3a1694d0207f37c6bbf23d66978e
- git.kernel.org/stable/c/3f42faf6db431e04bf942d2ebe3ae88975723478
- git.kernel.org/stable/c/49c742afd60f552fce7799287080db02bffe1db2
- git.kernel.org/stable/c/c369836cff98d3877f98c98e15c0151462812d96
- git.kernel.org/stable/c/d79f4d903e14dde822c60b5fd3bedc5a289d25df
- git.kernel.org/stable/c/e01d96494a9de0f48b1167f0494f6d929fa773ed
Vendor advisories and official records. Exploit/PoC links are deliberately left out.