Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API docsPage
  • MCP serverPage
  • AboutPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • How it's builtPage
  • Support the projectPage

14 results

Back

CVE-2025-38162netfilter: nft_set_pipapo: prevent overflow in lookup table allocation

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_pipapo: prevent overflow in lookup table allocation When calculating the lookup table size, ensure the following multiplication does not overflow: - desc->field_len[] maximum value is U8_MAX multiplied by NFT_PIPAPO_GROUPS_PER_BYTE(f) that can be 2, worst case. - NFT_PIPAPO_BUCKETS(f->bb) is 2^8, worst case. - sizeof(unsigned long), from sizeof(*f->lt), lt in struct nft_pipapo_field. Then, use check_mul_overflow() to multiply by bucket size and then use check_add_overflow() to the alignment for avx2 (if needed). Finally, add lt_size_check_overflow() helper and use it to consolidate this. While at it, replace leftover allocation using the GFP_KERNEL to GFP_KERNEL_ACCOUNT for consistency, in pipapo_resize().

Timeline

  1. ID reserved

    By Linux

  2. · 3 months later

    Published

  3. · 17 months later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2025-38162, by who scored it
Scored byCVSSScoreVector
LinuxCNA (assigner)3.1High7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVDNVD · Modified3.1Medium5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
0.19% · top 91% of all CVEs (15 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.

Affected products

  • Linux · Linux

    • affected 3c4287f62044a90e73a561aa05fc46e62da173da – < 91edc076439c9e2f34b176149f1c84a47a8ec32f
    • affected 3c4287f62044a90e73a561aa05fc46e62da173da – < a9e757473561da93c6a4136f0e59aba91ec777fc
    • affected 3c4287f62044a90e73a561aa05fc46e62da173da – < c1360ac8156c0a3f2385baef91d8d26fd9d39701
    • affected 3c4287f62044a90e73a561aa05fc46e62da173da – < 43fe1181f738295624696ae9ff611790edb65b5e
    • affected 3c4287f62044a90e73a561aa05fc46e62da173da – < 4c5c6aa9967dbe55bd017bb509885928d0f31206
  • Linux · Linux

    • affected 5.6
    • unaffected < 5.6
    • unaffected 6.1.167 – ≤ 6.1.*
    • unaffected 6.6.125 – ≤ 6.6.*
    • unaffected 6.12.34 – ≤ 6.12.*
    • unaffected 6.15.3 – ≤ 6.15.*
    • unaffected 6.16 – ≤ *

References

References9

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2025-38162 badge
[![CVE-2025-38162](https://cveledger.app/badge/CVE-2025-38162.svg)](https://cveledger.app/cve/CVE-2025-38162)

Record last updated .