CVE-2025-38570 eth: fbnic: unlink NAPIs from queues on error to open
A use-after-free vulnerability in the Linux kernel fbnic driver allows attackers to cause denial of service or potentially execute code via AF_XDP operations.
- 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-38570?
CVE-2025-38570 is a high-severity use after free vulnerability in Linux kernel, published on 19 Aug 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: unlink NAPIs from queues on error to open
CI hit a UaF in fbnic in the AF_XDP portion of the queues.py test. The UaF is in the __sk_mark_napi_id_once() call in xsk_bind(), NAPI has been freed. Looks like the device failed to open earlier, and we lack clearing the NAPI pointer from the queue.
Weakness: CWE-416
Which versions are affected by CVE-2025-38570?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38570?
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-38570 being exploited?
There is no known exploitation of CVE-2025-38570 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-38570, GHSA-vh65-g82c-qqrx, UBUNTU-CVE-2025-38570.