CVE-2025-22019
published high CVSS 3.1 · 7.3bcachefs: bch2_ioctl_subvolume_destroy() fixes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a to < 9e6e83e1e2d01b99e70cd7812d7f758a8def9fc8 · 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a to < 82383abd39abd635511b8956284a5cc8134c4dc1 · 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a to < 558317a5c61045d460a37372181e7b43c0c002bb · 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a to < 707549600c4a012ed71c0204a7992a679880bf33 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.12.22 through 6.12.* (unaffected · semver) · 6.13.10 through 6.13.* (unaffected · semver) · 6.14.2 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-101.33.4.3.el10uek | ELSA-2025-20480 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-102.36.5.2.el10uek | ELSA-2025-20530 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- Scenarios
- en: AV:L - The bug is reached through `ioctl(BCH_IOCTL_SUBVOLUME_DESTROY)` on any open file descriptor belonging to a mounted bcachefs filesystem, which requires local access to the system. There is no network-facing path into `bch2_fs_file_ioctl()`. AC:L - The attacker deterministically triggers both defects with a single ioctl call — no race, no memory-layout dependence, no timing window; the dcache state that wedges `bch2_evict_subvolume_inodes()` is created by the attacker simply by walking into the subvolume beforehand. No conditions lie outside the attacker's control. PR:L - `BCH_IOCTL_SUBVOLUME_DESTROY` has no `capable()` check and, before this fix, no `inode_permission()` check, so an ordinary unprivileged local user needs only an fd on the bcachefs mount plus search (`MAY_EXEC`) permission along the path to the victim subvolume. No CAP_SYS_ADMIN, no user-namespace trick, and no ownership of or write access to the target is required. UI:N - The attacker issues the ioctl directly with no action by any other user; the mounted bcachefs filesystem is an ambient system configuration, not a victim-performed step at exploit time. S:U - The vulnerable code and the impacted resources (kernel filesystem state, on-disk subvolume data) are managed by the same security authority — the kernel. This is a standard in-kernel DAC-bypass/DoS with no VM, IOMMU, or sandbox boundary crossed. C:L - There is no direct arbitrary-read primitive, but the DAC bypass has bounded disclosure consequences: after destroying a root- or other-user-owned subvolume in a directory the attacker can write to, the attacker can recreate the path and have a privileged process deposit sensitive data into attacker-controlled storage, and the non-invalidated dcache subtree leaves stale dentries/inodes referencing a freed subvolume ID that can be reused by another user's newly created subvolume. I:H - An unprivileged user can permanently destroy any subvolume they can merely traverse to — including root-owned subvolumes and other users' mode-0700 subvolumes — bypassing all ownership, write-permission, sticky-bit and non-empty-directory protections, which is unauthorized destruction of arbitrary data on the filesystem. The stale, still-hashed dentry subtree over a deleted subvolume additionally permits writes through inodes whose subvolume ID may be reused. A:H - The `d_delete()` bug leaves `bch2_evict_subvolume_inodes()` stuck in `TASK_UNINTERRUPTIBLE`, producing an unkillable D-state kworker that holds `BCH_WRITE_REF_snapshot_delete_pagecache` forever — unmount and read-only transitions hang, all further subvolume deletions stall, and recovery requires a reboot. Independently, arbitrary destruction of subvolumes (e.g. one holding `/home` or a database) is total loss of the affected data.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a to < 9e6e83e1e2d01b99e70cd7812d7f758a8def9fc8 (affected · git)1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a to < 82383abd39abd635511b8956284a5cc8134c4dc1 (affected · git)1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a to < 558317a5c61045d460a37372181e7b43c0c002bb (affected · git)1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a to < 707549600c4a012ed71c0204a7992a679880bf33 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.12.22 through 6.12.* (unaffected · semver)6.13.10 through 6.13.* (unaffected · semver)6.14.2 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
bcachefs: bch2_ioctl_subvolume_destroy() fixes
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c47a6fc9d0f771add73480163e74bfb24b06e060994ce5d710f6113edbf594a8
- Ingested
- 23 Sep 2026, 08:40:04 UTC
- Source record
- Official CVE record