CVE-2025-38120 netfilter: nf_set_pipapo_avx2: fix initial map fill

Critical 9.4 Published Updated

A flaw in the Linux kernel netfilter AVX2 implementation leaks memory bits into subsequent match rounds, potentially exposing sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38120?

CVE-2025-38120 is a critical vulnerability in Debian Debian Linux, published on 3 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_set_pipapo_avx2: fix initial map fill

If the first field doesn't cover the entire start map, then we must zero out the remainder, else we leak those bits into the next match round map.

The early fix was incomplete and did only fix up the generic C implementation.

A followup patch adds a test case to nft_concat_range.sh.

Which versions are affected by CVE-2025-38120?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38120?

Apply the vendor's patch.

Is CVE-2025-38120 being exploited?

There is no known exploitation of CVE-2025-38120 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-38120, DEBIAN-CVE-2025-38120, GHSA-fpvw-x46c-p2qx, ROOT-OS-DEBIAN-12-CVE-2025-38120, ROOT-OS-UBUNTU-2204-CVE-2025-38120, ROOT-OS-UBUNTU-2404-CVE-2025-38120 and 1 more.

Is CVE-2025-38120 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free