CVE-2025-21648

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 < a965f7f0ea3ae61b9165bed619d5d6da02c75f80affected
LinuxLinux9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 < b1b2353d768f1b80cd7fe045a70adee576b9b338affected
LinuxLinux9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 < 5552b4fd44be3393b930434a7845d8d95a2a3c33affected
LinuxLinux9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 < d5807dd1328bbc86e059c5de80d1bbee9d58ca3daffected
LinuxLinux9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 < f559357d035877b9d0dcd273e0ff83e18e1d46aaaffected
LinuxLinux9cc1c73ad66610bffc80b691136ffc1e9a3b1a58 < b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13affected
LinuxLinux4.7affected
LinuxLinux0 < 4.7unaffected
LinuxLinux5.10.234 <= 5.10.*unaffected
LinuxLinux5.15.177 <= 5.15.*unaffected
LinuxLinux6.1.125 <= 6.1.*unaffected
LinuxLinux6.6.72 <= 6.6.*unaffected
LinuxLinux6.12.10 <= 6.12.*unaffected
LinuxLinux6.13 <= *unaffected

Weaknesses

ADP Enrichment

CVE Program Container

Additional References

Additional References

References