CVE-2025-38201Published Jul 4, 2025 · Jul 4Updated Nov 12
netfilter: nft_set_pipapo: clamp maximum map bucket size to INT_MAX
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3c4287f62044a90e73a561aa05fc46e62da173da · < d2768016f091f8a5264076b433fd7c3fabb6eb97| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_set_pipapo: clamp maximum map bucket size to INT_MAX
Otherwise, it is possible to hit WARN_ON_ONCE in __kvmalloc_node_noprof() when resizing hashtable because __GFP_NOWARN is unset.
Similar to:
b541ba7d1f5a ("netfilter: conntrack: clamp maximum hashtable size to INT_MAX")
From the CVE record · Linux
In the Linux kernel, an oversized nft_set_pipapo map bucket can trigger a WARN_ON_ONCE when the hashtable is resized. The input does not specify how an attacker could trigger this or whether access or user interaction is required.
Engineers running Linux kernels with netfilter nft_set_pipapo should check their kernel versions; affected versions are not specified.