CVE-2025-38302 block: don't use submit_bio_noacct_nocheck in blk_zone_wplug_bio_work

Medium 5.5 Published Updated

A race condition in the Linux kernel block layer can cause deadlocks during queue freezing, leading to a denial of service.

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-38302?

CVE-2025-38302 is a medium-severity 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:

block: don't use submit_bio_noacct_nocheck in blk_zone_wplug_bio_work

Bios queued up in the zone write plug have already gone through all all preparation in the submit_bio path, including the freeze protection.

Submitting them through submit_bio_noacct_nocheck duplicates the work and can can cause deadlocks when freezing a queue with pending bio write plugs.

Go straight to ->submit_bio or blk_mq_submit_bio to bypass the superfluous extra freeze protection and checks.

Weakness: CWE-667

Which versions are affected by CVE-2025-38302?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-38302?

Apply the vendor's patch.

Is CVE-2025-38302 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-38302, DEBIAN-CVE-2025-38302, GHSA-mj8c-437f-7pqg, UBUNTU-CVE-2025-38302.

Is CVE-2025-38302 in your software?

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

Check your SBOMs for free