---
id: CVE-2025-38201
title: 'netfilter: nft_set_pipapo: clamp maximum map bucket size to INT_MAX'
summary: |-
  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 b…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da <
    1fe27f97944017a9d3c5af4d6d95282bff0f1147
  - >-
    Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da <
    4abccfb61f422300be014b8e734c63344306f009
  - >-
    Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da <
    80417057ac60dd80f4816eb426e4e4a5bf696534
  - >-
    Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da <
    df524a68d9021c1401965d610bb6e42ee5d9611e
  - >-
    Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da <
    0ab3de047808f375a36cd345225572eb3366f3c6
  - >-
    Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da <
    d2768016f091f8a5264076b433fd7c3fabb6eb97
  - >-
    Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da <
    b85e3367a5716ed3662a4fe266525190d2af76df
  - Linux 5.6
published: '2025-07-04'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T08:41:47.895Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-38201'
references:
  - url: 'https://git.kernel.org/stable/c/1fe27f97944017a9d3c5af4d6d95282bff0f1147'
  - url: 'https://git.kernel.org/stable/c/4abccfb61f422300be014b8e734c63344306f009'
  - url: 'https://git.kernel.org/stable/c/80417057ac60dd80f4816eb426e4e4a5bf696534'
  - url: 'https://git.kernel.org/stable/c/df524a68d9021c1401965d610bb6e42ee5d9611e'
  - url: 'https://git.kernel.org/stable/c/0ab3de047808f375a36cd345225572eb3366f3c6'
  - url: 'https://git.kernel.org/stable/c/d2768016f091f8a5264076b433fd7c3fabb6eb97'
  - url: 'https://git.kernel.org/stable/c/b85e3367a5716ed3662a4fe266525190d2af76df'
tags:
  - cve.org
epss: 0.00213
epssPercentile: 0.10286
ingestedAt: '2026-09-08T15:33:26.997Z'
---

## Overview

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

## Affected

- `Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da < 1fe27f97944017a9d3c5af4d6d95282bff0f1147`
- `Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da < 4abccfb61f422300be014b8e734c63344306f009`
- `Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da < 80417057ac60dd80f4816eb426e4e4a5bf696534`
- `Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da < df524a68d9021c1401965d610bb6e42ee5d9611e`
- `Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da < 0ab3de047808f375a36cd345225572eb3366f3c6`
- `Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da < d2768016f091f8a5264076b433fd7c3fabb6eb97`
- `Linux >= 3c4287f62044a90e73a561aa05fc46e62da173da < b85e3367a5716ed3662a4fe266525190d2af76df`
- `Linux 5.6`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
