5.5

CVE-2025-21744: wifi: brcmfmac: fix NULL pointer dereference in brcmf_txfinalize()

Modified
AliasesUBUNTU-CVE-2025-21744DEBIAN-CVE-2025-21744
Published 27-02-2025Last modified 05-11-2026

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.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.26%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 52 · Related 51

Timeline

  1. 27-02-2025
    PublishedVulnerability first disclosed.
  2. 05-11-2026
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

59 links
Show all 59 references