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.
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 6.8 | 6.8.8 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu 24.04 LTS | linux-ibm +2 | 6.8.0-1008.8 | USN-6918-1, USN-6893-1 |
| Ubuntu 24.04 LTS | linux-intel | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu 24.04 LTS | linux-nvidia | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu 24.04 LTS | linux-riscv +1 | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu 22.04 LTS | linux-aws-6.8 | 6.8.0-1011.12~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-azure-6.8 | 6.8.0-1010.10~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-nvidia-6.8 | 6.8.0-1009.9~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-oracle-6.8 | 6.8.0-1008.8~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-riscv +22 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +26 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +13 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro Realtime 24.04 LTS | linux-raspi-realtime | 6.8.0-2006.6 | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime | 6.8.1-1004.4 | — |
Advisories 5
- USN-6893-1 linux, linux-azure, linux-gcp, linux-ibm, linux-intel, linux-lowlatency, linux-oem-6.8, linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- USN-6893-2 linux-gke, linux-nvidia vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- USN-6893-3 linux-aws vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- USN-6918-1 linux-oracle vulnerabilities Ubuntu Security Notices (USN) · Oct 23, 2026
- WID-SEC-2024-1259 Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service und unspezifischen Angriff BSI CERT-Bund (WID) · Oct 7, 2026