CVE-2025-21648
netfilter: conntrack: clamp maximum hashtable size to INT_MAX
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < a965f7f0ea3ae61b9165bed619d5d6da02c75f80; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < b1b2353d768f1b80cd7fe045a70adee576b9b338; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < 5552b4fd44be3393b930434a7845d8d95a2a3c33; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < d5807dd1328bbc86e059c5de80d1bbee9d58ca3d; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < f559357d035877b9d0dcd273e0ff83e18e1d46aa; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13
- Anyone running Linux 4.7
Vulnerability facts
- Affected
- Linux >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < a965f7f0ea3ae61b9165bed619d5d6da02c75f80; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < b1b2353d768f1b80cd7fe045a70adee576b9b338; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < 5552b4fd44be3393b930434a7845d8d95a2a3c33; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < d5807dd1328bbc86e059c5de80d1bbee9d58ca3d; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < f559357d035877b9d0dcd273e0ff83e18e1d46aa; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13; Linux 4.7
- Fixed in
- Linux 5552b4fd44be3393b930434a7845d8d95a2a3c33
- 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.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: clamp maximum hashtable size to INT_MAX Use INT_MAX as maximum size for the conntrack hashtable. Otherwise, it is possible to hit WARN_ON_ONCE in __kvmalloc_node_noprof() when resizing hashtable because __GFP_NOWARN is unset. See: 0708a0afe291 ("mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls") Note: hashtable resize is only possible from init_netns.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < a965f7f0ea3ae61b9165bed619d5d6da02c75f80; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < b1b2353d768f1b80cd7fe045a70adee576b9b338; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < 5552b4fd44be3393b930434a7845d8d95a2a3c33; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < d5807dd1328bbc86e059c5de80d1bbee9d58ca3d; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < f559357d035877b9d0dcd273e0ff83e18e1d46aa; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13 | — | cvelist |
| Linux | 4.7 | — | 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-21648. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-21648.md Affected: Linux >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < a965f7f0ea3ae61b9165bed619d5d6da02c75f80; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < b1b2353d768f1b80cd7fe045a70adee576b9b338; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < 5552b4fd44be3393b930434a7845d8d95a2a3c33; >= 9cc1c73ad66610bffc80b69… Fixed in: Linux 5552b4fd44be3393b930434a7845d8d95a2a3c33 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/a965f7f0ea3ae61b9165bed619d5d6da02c75f80
- https://git.kernel.org/stable/c/b1b2353d768f1b80cd7fe045a70adee576b9b338
- https://git.kernel.org/stable/c/5552b4fd44be3393b930434a7845d8d95a2a3c33
- https://git.kernel.org/stable/c/d5807dd1328bbc86e059c5de80d1bbee9d58ca3d
- https://git.kernel.org/stable/c/f559357d035877b9d0dcd273e0ff83e18e1d46aa
- https://git.kernel.org/stable/c/b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13
Other
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
FAQ
Is CVE-2025-21648 being exploited?
There is no confirmed exploitation: CVE-2025-21648 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-21648?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-21648?
Linux >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < a965f7f0ea3ae61b9165bed619d5d6da02c75f80; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < b1b2353d768f1b80cd7fe045a70adee576b9b338; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < 5552b4fd44be3393b930434a7845d8d95a2a3c33; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < d5807dd1328bbc86e059c5de80d1bbee9d58ca3d; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < f559357d035877b9d0dcd273e0ff83e18e1d46aa; >= 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, < b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13; Linux 4.7.
Is there a fix for CVE-2025-21648?
Yes. Fixed in Linux 5552b4fd44be3393b930434a7845d8d95a2a3c33. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-21648?
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.