CVE-2025-21648

published 19 Jan 2025 · updated 12 Nov 2026

netfilter: conntrack: clamp maximum hashtable size to INT_MAX

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.234, Kernel 5.15.177, Kernel 6.1.125 and 8 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4.7.1 <5.10.234, >=5.11 <5.15.177, >=5.16 <6.1.125, >=6.2 <6.6.72, >=6.7 <6.12.10, =4.7, =6.13, >=9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 <a965f7f0ea3ae61b9165bed619d5d6da02c75f80, >=9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 <b1b2353d768f1b80cd7fe045a70adee576b9b338, >=9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 <b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13, >=9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 <d5807dd1328bbc86e059c5de80d1bbee9d58ca3d, >=9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 <f559357d035877b9d0dcd273e0ff83e18e1d46aa, >=9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 <5552b4fd44be3393b930434a7845d8d95a2a3c335.10.234, 5.15.177, 6.1.125, 6.6.72, 6.12.10, a965f7f0ea3ae61b9165bed619d5d6da02c75f80, b1b2353d768f1b80cd7fe045a70adee576b9b338, b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13, d5807dd1328bbc86e059c5de80d1bbee9d58ca3d, f559357d035877b9d0dcd273e0ff83e18e1d46aa, 5552b4fd44be3393b930434a7845d8d95a2a3c33
linux-kernel: Kernel>=4.7.0 <5.10.234, >=5.11.0 <5.15.177, >=5.16.0 <6.1.125, >=6.2.0 <6.6.72, >=6.7.0 <6.12.105.10.234, 5.15.177, 6.1.125, 6.6.72, 6.12.10

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21648 severity on Zeptric[![CVE-2025-21648](https://zeptric.io/badge/cve/CVE-2025-21648.svg)](https://zeptric.io/cve/CVE-2025-21648)