Vulnerability in Linux

CVE-2025-21648

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 12.5th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, 4.7, 0
  • Linux Kernel — versions 4.7, 6.13

Public exploits and proof-of-concept code

Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, oogasawa/Utility-security, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References