CVE-2025-21744: wifi: brcmfmac: fix NULL pointer dereference in brcmf_txfinalize()
Vulnerability summary
CVE-2025-21744 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 52 · Related 51Timeline
- 27-02-2025PublishedVulnerability first disclosed.
- 05-11-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: fix NULL pointer dereference in brcmf_txfinalize() On removal of the device or unloading of the kernel module a potential NULL pointer dereference occurs. The following sequence deletes the interface: brcmf_detach() brcmf_remove_interface() brcmf_del_if() Inside the brcmf_del_if() function the drvr->if2bss[ifidx] is updated to BRCMF_BSSIDX_INVALID (-1) if the bsscfgidx matches. After brcmf_remove_interface() call the brcmf_proto_detach() function is called providing the following sequence: brcmf_detach() brcmf_proto_detach() brcmf_proto_msgbuf_detach() brcmf_flowring_detach() brcmf_msgbuf_delete_flowring() brcmf_msgbuf_remove_flowring() brcmf_flowring_delete() brcmf_get_ifp() brcmf_txfinalize() Since brcmf_get_ip() can and actually will return NULL in this case the call to brcmf_txfinalize() will result in a NULL pointer dereference inside brcmf_txfinalize() when trying to update ifp->ndev->stats.tx_errors. This will only happen if a flowring still has an skb. Although the NULL pointer dereference has only been seen when trying to update the tx statistic, all other uses of the ifp pointer have been guarded as well with an early return if ifp is NULL.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu138 products
- linuxAll versions (No fix recorded) | < 5.4.0-216.236 | < 5.15.0-140.150 | < 6.8.0-64.67
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1146.156 | < 5.15.0-1084.91 | < 6.8.0-1032.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 2326e19190e176fd72bb542b837a9d2b7fcb8693 | ≥ 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 59ff4fa653ff6db07c61152516ffba79c2a74bda | ≥ 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 61541d9b5a23df33934fcc620a3a81f246b1b240 | ≥ 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 4e51d6d093e763348916e69d06d87e0a5593661b | ≥ 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 3877fc67bd3d5566cc12763bce39710ceb74a97d | ≥ 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < fbbfef2a5b858eab55741a58b2ac9a0cc8d53c58 | ≥ 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < a2beefc4fa49ebc22e664dc6b39dbd054f8488f9 | ≥ 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 68abd0c4ebf24cd499841a488b97a6873d5efabb | 6faa698c35a43b9e74ea24e90fe37471d08d00d0 | 9119232cc92a269d7860b4aa51f07d3923a3cc10 | ≥ 4.7.10, < 4.8 | ≥ 4.8.4, < 4.9 | 4.9
- linux_kernel< 6.1.129 | ≥ 6.2, < 6.6.78 | ≥ 6.7, < 6.12.14 | ≥ 6.13, < 6.13.3
Debian1 product
- linux< 6.1.129-1 | < 6.12.15-1
3 vendors · 141 products