# CVE-2025-38201: netfilter: nft_set_pipapo: clamp maximum map bucket size to INT_MAX

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-07-04T13:37:22.732Z
- Modified: 2026-11-10T13:17:46.430Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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")

(As written by CVE List.)

## Affected

- Linux Linux: from 3c4287f62044a90e73a561aa05fc46e62da173da before 1fe27f97944017a9d3c5af4d6d95282bff0f1147; from 3c4287f62044a90e73a561aa05fc46e62da173da before 4abccfb61f422300be014b8e734c63344306f009; from 3c4287f62044a90e73a561aa05fc46e62da173da before 80417057ac60dd80f4816eb426e4e4a5bf696534; from 3c4287f62044a90e73a561aa05fc46e62da173da before df524a68d9021c1401965d610bb6e42ee5d9611e; from 3c4287f62044a90e73a561aa05fc46e62da173da before 0ab3de047808f375a36cd345225572eb3366f3c6; from 3c4287f62044a90e73a561aa05fc46e62da173da before d2768016f091f8a5264076b433fd7c3fabb6eb97; from 3c4287f62044a90e73a561aa05fc46e62da173da before b85e3367a5716ed3662a4fe266525190d2af76df; 5.6 (not affected: before 5.6; from 5.10.250 up to 5.10.*; from 5.15.200 up to 5.15.*; from 6.1.163 up to 6.1.*; from 6.6.124 up to 6.6.*; from 6.12.35 up to 6.12.*; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.6 before 6.12.35; from 6.13 before 6.15.4

## References

- <https://git.kernel.org/stable/c/1fe27f97944017a9d3c5af4d6d95282bff0f1147> (patch)
- <https://git.kernel.org/stable/c/4abccfb61f422300be014b8e734c63344306f009> (patch)
- <https://git.kernel.org/stable/c/80417057ac60dd80f4816eb426e4e4a5bf696534> (patch)
- <https://git.kernel.org/stable/c/df524a68d9021c1401965d610bb6e42ee5d9611e> (patch)
- <https://git.kernel.org/stable/c/0ab3de047808f375a36cd345225572eb3366f3c6> (patch)
- <https://git.kernel.org/stable/c/d2768016f091f8a5264076b433fd7c3fabb6eb97> (patch)
- <https://git.kernel.org/stable/c/b85e3367a5716ed3662a4fe266525190d2af76df> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2025-38201](https://www.cve.org/CVERecord?id=CVE-2025-38201), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2025-38201](https://nvd.nist.gov/vuln/detail/CVE-2025-38201), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2025-38201 · Whole record: https://cve.day/CVE-2025-38201.json · Rebuilt by cve.day 2026-11-25T22:59:00.639Z
