CVE-2025-38341 eth: fbnic: avoid double free when failing to DMA-map FW msg

High 7.8 Published Updated

A double free vulnerability in the fbnic network driver allows attackers to cause a denial of service or potentially execute code via crafted firmware messages.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38341?

CVE-2025-38341 is a high-severity use after free vulnerability in Linux kernel, published on 10 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

eth: fbnic: avoid double free when failing to DMA-map FW msg

The semantics are that caller of fbnic_mbx_map_msg() retains the ownership of the message on error. All existing callers dutifully free the page.

Weakness: CWE-415

Which versions are affected by CVE-2025-38341?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38341?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-38341 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-38341, DEBIAN-CVE-2025-38341, GHSA-89fh-8vx8-h844, UBUNTU-CVE-2025-38341.

Is CVE-2025-38341 in your software?

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

Check your SBOMs for free