Skip to main content
← All vulnerabilities
CVE-2025-21648

netfilter: conntrack: clamp maximum hashtable size to INT_MAX

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.234, 5.15.177, 6.1.125, 6.6.72, 6.12.10
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 · fixed in a965f7f0ea3ae61b9165bed619d5d6da02c75f80; From 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 · fixed in b1b2353d768f1b80cd7fe045a70adee576b9b338; From 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 · fixed in 5552b4fd44be3393b930434a7845d8d95a2a3c33; From 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 · fixed in d5807dd1328bbc86e059c5de80d1bbee9d58ca3d; From 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 · fixed in f559357d035877b9d0dcd273e0ff83e18e1d46aa; From 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 · fixed in b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13

  • Linux Linux

    4.7

  • KernelLinux

    From 4.7.0 · fixed in 5.10.234; From 5.11.0 · fixed in 5.15.177; From 5.16.0 · fixed in 6.1.125; From 6.2.0 · fixed in 6.6.72; From 6.7.0 · fixed in 6.12.10

References 6

git.kernel.org