# CVE-2025-22019: bcachefs: bch2_ioctl_subvolume_destroy() fixes

- Severity: High 7.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-02)
- Published: 2025-04-16T10:20:36.342Z
- Modified: 2026-08-05T11:56:01.490Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a before 9e6e83e1e2d01b99e70cd7812d7f758a8def9fc8; from 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a before 82383abd39abd635511b8956284a5cc8134c4dc1; from 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a before 558317a5c61045d460a37372181e7b43c0c002bb; from 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a before 707549600c4a012ed71c0204a7992a679880bf33; 6.7 (not affected: before 6.7; from 6.12.22 up to 6.12.*; from 6.13.10 up to 6.13.*; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.7 before 6.12.22; from 6.13 before 6.13.10; from 6.14 before 6.14.2

## Every score

- Linux: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/9e6e83e1e2d01b99e70cd7812d7f758a8def9fc8> (patch)
- <https://git.kernel.org/stable/c/82383abd39abd635511b8956284a5cc8134c4dc1> (patch)
- <https://git.kernel.org/stable/c/558317a5c61045d460a37372181e7b43c0c002bb> (patch)
- <https://git.kernel.org/stable/c/707549600c4a012ed71c0204a7992a679880bf33> (patch)

## Sources

- CVE List: [CVE-2025-22019](https://www.cve.org/CVERecord?id=CVE-2025-22019), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-22019](https://nvd.nist.gov/vuln/detail/CVE-2025-22019), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-22019 · Whole record: https://cve.day/CVE-2025-22019.json · Rebuilt by cve.day 2026-11-25T22:58:56.544Z
