CVE-2024-36027
published high CVSS 3.1 · 7.1btrfs: zoned: do not flag ZEROOUT on non-dirty extent buffer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxaa6313e6ff2bfbf736a2739047bba355d8241584 to < f4b994fccbb6f294c4b31a6ca0114b09f7245043 · aa6313e6ff2bfbf736a2739047bba355d8241584 to < 68879386180c0efd5a11e800b0525a01068c9457 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.8.8 through 6.8.* (unaffected · semver) · 6.9 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 |
| Ubuntu | noble | linux | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-aws-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-generic-64k | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-lowlatency-64k | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38 | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1006 | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1006 | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-headers-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-headers-6.8.0-38 | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-generic-64k | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-headers-6.8.0-38-lowlatency-64k | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-image-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-image-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-generic-64k | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-38-lowlatency-64k | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-intel-cloud-tools-6.8.0-1007 | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-intel-headers-6.8.0-1007 | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-intel-tools-6.8.0-1007 | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-lib-rust-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-38 | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-headers-6.8.0-38 | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-lib-rust-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-tools-6.8.0-38 | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-tools-common | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-lowlatency-tools-host | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-modules-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-modules-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-modules-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-modules-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: do not flag ZEROOUT on non-dirty extent buffer Btrfs clears the content of an extent buffer marked as EXTENT_BUFFER_ZONED_ZEROOUT before the bio submission. This mechanism is introduced to prevent a write hole of an extent buffer, which is once allocated, marked dirty, but turns out unnecessary and cleaned up within one transaction operation. Currently, btrfs_clear_buffer_dirty() marks the extent buffer as EXTENT_BUFFER_ZONED_ZEROOUT, and skips the entry function. If this call happens while the buffer is under IO (with the WRITEBACK flag set, without the DIRTY flag), we can add the ZEROOUT flag and clear the buffer's content just before a bio submission. As a result: 1) it can lead to adding faulty delayed reference item which leads to a FS corrupted (EUCLEAN) error, and 2) it writes out cleared tree node on disk The former issue is previously discussed in [1]. The corruption happens when it runs a delayed reference update. So, on-disk data is safe. [1] https://lore.kernel.org/linux-btrfs/3f4f2a0ff1a6c818050434288925bdcf3cd719e5.1709124777.git.naohiro.aota@wdc.com/ The latter one can reach on-disk data. But, as that node is already processed by btrfs_clear_buffer_dirty(), that will be invalidated in the next transaction commit anyway. So, the chance of hitting the corruption is relatively small. Anyway, we should skip flagging ZEROOUT on a non-DIRTY extent buffer, to keep the content under IO intact.
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.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable path is reached through ordinary filesystem syscalls (write, unlink, fsync) on a locally mounted btrfs, driving tree COW/free and metadata writeback. No network protocol handler is involved. AC:L - The attacker controls both sides of the race — metadata churn produces the btrfs_clear_buffer_dirty() calls while fsync()/dirty-metadata thresholds produce concurrent writeback — and lock_extent_buffer_for_io() drops the tree lock before bio submission, leaving the window completely unguarded; clean_log_buffer() hits it on every log commit, so it can be hammered continuously. PR:L - Any unprivileged local user with write access to the btrfs mount can drive tree-block frees and fsync-triggered metadata writeback; there is no capability check, root requirement, or ioctl gate anywhere on the path. UI:N - The attacker performs the entire sequence themselves with a self-driven write/delete/fsync workload; no other user or administrator has to take any action. S:U - The corruption is confined to the kernel's own filesystem metadata and the mounted volume, within a single security authority. No hypervisor, IOMMU, or sandbox boundary is crossed. C:N - The buffer is overwritten with zeros rather than exposed — there is no out-of-bounds read, no kernel pointer leak, and the zeroed block is written with an uncomputed checksum so a subsequent read fails verification with EIO instead of returning data. I:H - A zeroed tree node reaches persistent storage and faulty delayed reference items corrupt the extent tree, destroying shared btrfs metadata (including log-tree nodes holding fsync-promised data) that belongs to every file and user on the volume, not just the attacker. A:H - The faulty delayed ref triggers btrfs_abort_transaction(-EUCLEAN), which routes through __btrfs_handle_fs_error() to btrfs_set_sb_rdonly() and forces the filesystem read-only, while the BUG_ON sites in the backref update path can panic the kernel outright and on-disk metadata/log corruption can leave the volume unmountable.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | aa6313e6ff2bfbf736a2739047bba355d8241584 to < f4b994fccbb6f294c4b31a6ca0114b09f7245043 (affected · git)aa6313e6ff2bfbf736a2739047bba355d8241584 to < 68879386180c0efd5a11e800b0525a01068c9457 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.8.8 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
btrfs: zoned: do not flag ZEROOUT on non-dirty extent buffer
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 63b1191246dad9627ac9aaa0bb7688a87e681043fca155e4b8cfe7be85939b41
- Ingested
- 23 Sep 2026, 08:24:05 UTC
- Source record
- Official CVE record