CVE-2025-22019 bcachefs: bch2_ioctl_subvolume_destroy() fixes

High 7.3 Published Updated

Missing permission checks in bcachefs subvolume destruction allow unauthorized access and potential 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-22019?

CVE-2025-22019 is a high-severity missing authorization vulnerability in Linux kernel, published on 16 Apr 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:

bcachefs: bch2_ioctl_subvolume_destroy() fixes

bch2_evict_subvolume_inodes() was getting stuck - due to incorrectly pruning the dcache.

Also, fix missing permissions checks.

Which versions are affected by CVE-2025-22019?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-22019?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-22019 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-22019, DEBIAN-CVE-2025-22019, GHSA-733c-gpw4-q7pf, ROOT-OS-UBUNTU-2204-CVE-2025-22019, ROOT-OS-UBUNTU-2404-CVE-2025-22019, UBUNTU-CVE-2025-22019.

Is CVE-2025-22019 in your software?

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

Check your SBOMs for free