CVE-2026-139333

In the Linux kernel, the following vulnerability has been resolved: btrfs: update the inode item when removing a free space inode btrfs_remove_free_space_inode() adds an orphan item for the free space inode and clears its link count in memory, but never writes the inode item. The item is only removed once the delayed iput evicts the inode, which happens in a later transaction, from the cleaner thread or a throttled transaction end. If we crash in between, or if evict can't reserve space for the truncation and leaves the orphan item for the next mount, the on-disk inode still has a link count of 1. btrfs_orphan_cleanup() then treats it as an inode with links and only deletes the orphan item. The free space header item is already gone at that point, so nothing ever finds the inode again, and its data extents are leaked. Write the zero link count to the inode item in the same transaction as the orphan item, so the orphan cleanup evicts the inode instead. Account for the extra tree root item update when removing a block group.

Package Linux Kernel
Published 2026-11-30
Last modified 2026-12-06
Patch available
Yes

Affected versions

Linux kernel versions 3.2 and later are affected. Fixed in 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 and their respective stable series.

Affected from
≥ 3.2
Fixed in
✓ 6.12.119 6.12.x ✓ 6.18.65 6.18.x ✓ 7.3.6 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-139333?

    CVE-2026-139333 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 3.2 onward and has been patched in 6.12.119, 6.18.65, 7.3.6 and others. CVE-2026-139333 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-139333?

    Yes. CVE-2026-139333 has been patched. Fixed versions include 6.12.119, 6.18.65, 7.3.6 and others. If you are running Linux kernel 3.2 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-139333 actively exploited?

    No. CVE-2026-139333 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.