Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-36027

HIGH 7.1EPSS 13%

btrfs: zoned: do not flag ZEROOUT on non-dirty extent buffer

Mitigation

  • Upgrade Linux to 68879386180c0efd5a11e800b0525a01068c9457 or later.

Who should check

  • Anyone running Linux >= aa6313e6ff2bfbf736a2739047bba355d8241584, < f4b994fccbb6f294c4b31a6ca0114b09f7245043; >= aa6313e6ff2bfbf736a2739047bba355d8241584, < 68879386180c0efd5a11e800b0525a01068c9457
  • Anyone running Linux 6.8

Vulnerability facts

Affected
Linux >= aa6313e6ff2bfbf736a2739047bba355d8241584, < f4b994fccbb6f294c4b31a6ca0114b09f7245043; >= aa6313e6ff2bfbf736a2739047bba355d8241584, < 68879386180c0efd5a11e800b0525a01068c9457; Linux 6.8
Fixed in
Linux 68879386180c0efd5a11e800b0525a01068c9457
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: High
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= aa6313e6ff2bfbf736a2739047bba355d8241584, < f4b994fccbb6f294c4b31a6ca0114b09f7245043; >= aa6313e6ff2bfbf736a2739047bba355d8241584, < 68879386180c0efd5a11e800b0525a01068c9457—cvelist
Linux6.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-36027. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36027.md
Affected: Linux >= aa6313e6ff2bfbf736a2739047bba355d8241584, < f4b994fccbb6f294c4b31a6ca0114b09f7245043; >= aa6313e6ff2bfbf736a2739047bba355d8241584, < 68879386180c0efd5a11e800b0525a01068c9457; Linux 6.8
Fixed in: Linux 68879386180c0efd5a11e800b0525a01068c9457

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-36027 being exploited?

There is no confirmed exploitation: CVE-2024-36027 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-36027?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-36027?

Linux >= aa6313e6ff2bfbf736a2739047bba355d8241584, < f4b994fccbb6f294c4b31a6ca0114b09f7245043; >= aa6313e6ff2bfbf736a2739047bba355d8241584, < 68879386180c0efd5a11e800b0525a01068c9457; Linux 6.8.

Is there a fix for CVE-2024-36027?

Yes. Fixed in Linux 68879386180c0efd5a11e800b0525a01068c9457. Upgrade Linux to 68879386180c0efd5a11e800b0525a01068c9457 or later.

How do I check if I'm affected by CVE-2024-36027?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors