CVE-2025-21648

netfilter: conntrack: clamp maximum hashtable size to INT_MAX

MEDIUM
5.5
CVSS Score
Published: January 19, 2025 at 10:18 AM UTC
Updated: October 15, 2026 at 02:17 AM UTC
5 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.7.1 ≤ v < 5.10.2345.11 ≤ v < 5.15.1775.16 ≤ v < 6.1.1256.2 ≤ v < 6.6.726.7 ≤ v < 6.12.104.76.136.13 rc16.13 rc26.13 rc36.13 rc46.13 rc56.13 rc69cc1c73ad66610bffc80b691136ffc1e9a3b1a58
Vendor states this is fixed in 5552b4fd44be3393b930434a7845d8d95a2a3c33 (fixed)
Vendor states this is fixed in a965f7f0ea3ae61b9165bed619d5d6da02c75f80 (fixed)
Vendor states this is fixed in b1b2353d768f1b80cd7fe045a70adee576b9b338 (fixed)
Vendor states this is fixed in b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13 (fixed)
Vendor states this is fixed in d5807dd1328bbc86e059c5de80d1bbee9d58ca3d (fixed)
Vendor states this is fixed in f559357d035877b9d0dcd273e0ff83e18e1d46aa (fixed)
Vendor states this is fixed in 4.7 (unaffected)
Vendor states this is fixed in 5.10.234 (unaffected)
Vendor states this is fixed in 5.15.177 (unaffected)
Vendor states this is fixed in 6.1.125 (unaffected)
Vendor states this is fixed in 6.12.10 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.72 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5552b4fd44be3393b930434a7845d8d95a2a3c33
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a965f7f0ea3ae61b9165bed619d5d6da02c75f80
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b1b2353d768f1b80cd7fe045a70adee576b9b338
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b541ba7d1f5a5b7b3e2e22dc9e40e18a7d6dbc13
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d5807dd1328bbc86e059c5de80d1bbee9d58ca3d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f559357d035877b9d0dcd273e0ff83e18e1d46aa
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card