CVE-2025-21676: Linux kernel · net: fec: handle page_pool_dev_alloc_pages error
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.5 High.
Data as of 10 Nov 2026, 14:04 UTC
Contested
Scorers differ by 2 or more points| CNA (Linux) | CVSS 3.1 | 7.5 |
|---|---|---|
| CISA-ADP | CVSS 3.1 | 5.5 |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 31 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to handle the memory allocation error properly by dropping the current packet instead of crashing. Users should update to the fixed kernel version once available. As a temporary workaround, increasing the /proc/sys/vm/min_free_kbytes value can reduce the likelihood of triggering the issue under memory pressure.
Description
CVE-2025-21676 is a high-severity vulnerability in the Linux kernel's fec network driver. The issue arises because the fec_enet_update_cbd function calls page_pool_dev_alloc_pages but does not properly handle the case when this function returns NULL, leading to a NULL pointer dereference and kernel crash. This can occur under memory pressure conditions. The problem has been addressed by modifying the driver to drop the current packet when memory allocation fails.
References
- git.kernel.org/stable/c/eacdcc14f3c8d4c1447565521e792ddb3a67e08d (opens in a new tab)
- git.kernel.org/stable/c/8a0097db0544b658c159ac787319737712063a23 (opens in a new tab)
- git.kernel.org/stable/c/1425cb829556398f594658512d49292f988a2ab0 (opens in a new tab)
- git.kernel.org/stable/c/001ba0902046cb6c352494df610718c0763e77a5 (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-082556.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-019113.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)