CVE-2025-21868: Linux kernel · net: allow small head cache usage with large MAX_SKB_FRAGS values
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 16 Nov 2026, 01:28 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Mar 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 15 Nov 2026.
What to do
AI-suggested
No explicit patch or fixed versions are provided in the input data. Mitigation involves using a kernel build configuration that avoids the problematic combination of MAX_SKB_FRAGS and small head cache sizes or applying the vendor's fix once available. Until then, avoid using affected kernel configurations that trigger this issue.
Description
CVE-2025-21868 is a medium severity vulnerability in the Linux kernel related to network buffer allocation. It involves improper handling of small head cache usage when large MAX_SKB_FRAGS values are configured, which can cause a kernel crash (splat) during initialization. The issue arises when the kernel is built with MAX_SKB_FRAGS=45 and the SKB_WITH_OVERHEAD(1024) size is smaller than GRO_MAX_HEAD, leading to a failure in the network interface initialization code.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21868 (opens in a new tab)
- git.kernel.org/stable/c/14ad6ed30a10afbe91b0749d6378285f4225d482 (opens in a new tab)
- git.kernel.org/stable/c/648e440c98e260dec835e48a5d7a9993477b1f9d (opens in a new tab)
- git.kernel.org/stable/c/ed0ca7d2127c63991cfaf1932b827e3f4f8ee480 (opens in a new tab)
- git.kernel.org/stable/c/ed8a77fee4618facd2a539cad7b7366697b5a575 (opens in a new tab)