Skip to content
Not rated

CVE-2025-21648 In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: clamp maximum hashtable size…

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 products and versions

Product Affected versions Fixed in
Linux 6.13 earliest → < 6.13 6.13
Linux 6.12 earliest → < 6.12.10 6.12.10
Linux 6.6 earliest → < 6.6.72 6.6.72
Linux 6.1 earliest → < 6.1.125 6.1.125
Linux 5.15 earliest → < 5.15.177 5.15.177
Linux 5.10 earliest → < 5.10.234 5.10.234
Linux 4.7 No fix stated
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Versions not published
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
Show the 2 other branches
Product Affected versions Fixed in
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.7 → latest No fix stated
The 18286 CVEs of Linux →
Track this CVE