VDB

CVE-2025-21648

CVE-2025-21648 PUBLISHED

netfilter: conntrack: clamp maximum hashtable size to INT_MAX

Reported by linux · Published January 19, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux6.1.127-135.201.amzn2023
kernel-libbpf-develAmazon Linux6.1.127-135.201.amzn2023
kernel-develAmazon Linux6.1.127-135.201.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.127-135.201.amzn2023
kernelAmazon Linux6.1.127-135.201.amzn2023
kernel-livepatch-6.1.127-135.201Amazon Linux1.0-0.amzn2023
bpftoolAmazon Linux6.1.127-135.201.amzn2023
python3-perfAmazon Linux6.1.127-135.201.amzn2023
kernel-tools-develAmazon Linux6.1.127-135.201.amzn2023
kernel-libbpfAmazon Linux6.1.127-135.201.amzn2023
kernel-libbpf-staticAmazon Linux6.1.127-135.201.amzn2023
linux_kernellinux6.12.10, 6.6.72, 6.1.125, 5.15.177, 5.10.234

1 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58, 9cc1c73ad66610bffc80b691136ffc1e9a3b1a58
LinuxLinux4.7, 0, 5.10.234
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)3.1.6, 3.1.7
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.7, 3.1.6
amazon:2023perf0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)3.1.7, 3.1.6
amazon:2023kernel-libbpf-devel0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-devel0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.6, 3.1.7
amazon:2023kernel-modules-extra-common0
amazon:2023kernel0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.7, 3.1.6
amazon:2023kernel-livepatch-6.1.127-135.2010
amazon:2023bpftool0
amazon:2023python3-perf0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)3.1.7, 3.1.6
amazon:2023kernel-libbpf-static0

…and 7 more

Timeline

  • Jan 19, 2025 CVE Published
  • Jan 20, 2025 EPSS Score (30 in total, the first dated here)
  • Feb 7, 2025 Coalition ESS Score (14 in total, the first dated here)
  • Dec 17, 2025 PoC Published
  • Dec 22, 2025 Security Advisory (136 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (130 in total, the first dated here)
  • Nov 9, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21648
vulnetix vdb fixes CVE-2025-21648

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-21648/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›