CVE-2025-21744
wifi: brcmfmac: fix NULL pointer dereference in brcmf_txfinalize()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 2326e19190e176fd72bb542b837a9d2b7fcb8693; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 59ff4fa653ff6db07c61152516ffba79c2a74bda; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 61541d9b5a23df33934fcc620a3a81f246b1b240; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 4e51d6d093e763348916e69d06d87e0a5593661b; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 3877fc67bd3d5566cc12763bce39710ceb74a97d; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < fbbfef2a5b858eab55741a58b2ac9a0cc8d53c58; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < a2beefc4fa49ebc22e664dc6b39dbd054f8488f9; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 68abd0c4ebf24cd499841a488b97a6873d5efabb; 6faa698c35a43b9e74ea24e90fe37471d08d00d0; 9119232cc92a269d7860b4aa51f07d3923a3cc10; …
- Anyone running Linux 4.9
Vulnerability facts
- Affected
- Linux >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 2326e19190e176fd72bb542b837a9d2b7fcb8693; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 59ff4fa653ff6db07c61152516ffba79c2a74bda; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 61541d9b5a23df33934fcc620a3a81f246b1b240; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 4e51d6d093e763348916e69d06d87e0a5593661b; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 3877fc67bd3d5566cc12763bce39710ceb74a97d; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < fbbfef2a5b858eab55741a58b2ac9a0cc8d53c58; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < a2beefc4fa49ebc22e664dc6b39dbd054f8488f9; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 68abd0c4ebf24cd499841a488b97a6873d5efabb; 6faa698c35a43b9e74ea24e90fe37471d08d00d0; 9119232cc92a269d7860b4aa51f07d3923a3cc10; …; Linux 4.9
- Fixed in
- Linux 2326e19190e176fd72bb542b837a9d2b7fcb8693, Linux 59ff4fa653ff6db07c61152516ffba79c2a74bda, Linux 61541d9b5a23df33934fcc620a3a81f246b1b240, Linux 4e51d6d093e763348916e69d06d87e0a5593661b, Linux 3877fc67bd3d5566cc12763bce39710ceb74a97d, Linux 68abd0c4ebf24cd499841a488b97a6873d5efabb
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-476
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 2326e19190e176fd72bb542b837a9d2b7fcb8693; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 59ff4fa653ff6db07c61152516ffba79c2a74bda; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 61541d9b5a23df33934fcc620a3a81f246b1b240; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 4e51d6d093e763348916e69d06d87e0a5593661b; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 3877fc67bd3d5566cc12763bce39710ceb74a97d; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < fbbfef2a5b858eab55741a58b2ac9a0cc8d53c58; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < a2beefc4fa49ebc22e664dc6b39dbd054f8488f9; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 68abd0c4ebf24cd499841a488b97a6873d5efabb; 6faa698c35a43b9e74ea24e90fe37471d08d00d0; 9119232cc92a269d7860b4aa51f07d3923a3cc10; … | — | cvelist |
| Linux | 4.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-21744. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-21744.md Affected: Linux >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 2326e19190e176fd72bb542b837a9d2b7fcb8693; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 59ff4fa653ff6db07c61152516ffba79c2a74bda; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 61541d9b5a23df33934fcc620a3a81f246b1b240; >= 7f00ee2bbc630900ba16fc2… Fixed in: Linux 2326e19190e176fd72bb542b837a9d2b7fcb8693, Linux 59ff4fa653ff6db07c61152516ffba79c2a74bda, Linux 61541d9b5a23df33934fcc620a3a81f246b1b240, Linux 4e51d6d093e763348916e69d06d87e0a5593661b, Linux 3877fc67bd3d5566cc12763bce39710ceb74a97d, Linux 68abd0c4ebf24cd499841a488b97a6873d5efabb Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/4e51d6d093e763348916e69d06d87e0a5593661b
- https://git.kernel.org/stable/c/3877fc67bd3d5566cc12763bce39710ceb74a97d
- https://git.kernel.org/stable/c/fbbfef2a5b858eab55741a58b2ac9a0cc8d53c58
- https://git.kernel.org/stable/c/a2beefc4fa49ebc22e664dc6b39dbd054f8488f9
- https://git.kernel.org/stable/c/68abd0c4ebf24cd499841a488b97a6873d5efabb
Other
- https://git.kernel.org/stable/c/2326e19190e176fd72bb542b837a9d2b7fcb8693
- https://git.kernel.org/stable/c/59ff4fa653ff6db07c61152516ffba79c2a74bda
- https://git.kernel.org/stable/c/61541d9b5a23df33934fcc620a3a81f246b1b240
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
FAQ
Is CVE-2025-21744 being exploited?
There is no confirmed exploitation: CVE-2025-21744 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-21744?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-21744?
Linux >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 2326e19190e176fd72bb542b837a9d2b7fcb8693; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 59ff4fa653ff6db07c61152516ffba79c2a74bda; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 61541d9b5a23df33934fcc620a3a81f246b1b240; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 4e51d6d093e763348916e69d06d87e0a5593661b; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 3877fc67bd3d5566cc12763bce39710ceb74a97d; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < fbbfef2a5b858eab55741a58b2ac9a0cc8d53c58; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < a2beefc4fa49ebc22e664dc6b39dbd054f8488f9; >= 7f00ee2bbc630900ba16fc2690473f3e2db0e264, < 68abd0c4ebf24cd499841a488b97a6873d5efabb; 6faa698c35a43b9e74ea24e90fe37471d08d00d0; 9119232cc92a269d7860b4aa51f07d3923a3cc10; …; Linux 4.9.
Is there a fix for CVE-2025-21744?
Yes. Fixed in Linux 2326e19190e176fd72bb542b837a9d2b7fcb8693, Linux 59ff4fa653ff6db07c61152516ffba79c2a74bda, Linux 61541d9b5a23df33934fcc620a3a81f246b1b240, Linux 4e51d6d093e763348916e69d06d87e0a5593661b, Linux 3877fc67bd3d5566cc12763bce39710ceb74a97d, Linux 68abd0c4ebf24cd499841a488b97a6873d5efabb. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-21744?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.