Security mailing lists by PureSourceCode

CVE-2026-139333

not scored yet

btrfs: update the inode item when removing a free space inode

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 455757c322cc0a0f2a692c5625dd88aaf6a7b889, < 36bc2d3b07f8e0818ad5be80bfcb869b5d34e112; >= 455757c322cc0a0f2a692c5625dd88aaf6a7b889, < 53e6ca355cbce4fedb0f2cdd70efb7944e844562; >= 455757c322cc0a0f2a692c5625dd88aaf6a7b889, < b70c83b83cb651413f2215822c3e5def884d6b05; >= 455757c322cc0a0f2a692c5625dd88aaf6a7b889, < 4e89aff9ad6fcbec555c38169807c4023f93450f 36bc2d3b07f8e0818ad5be80bfcb869b5d34e112, 53e6ca355cbce4fedb0f2cdd70efb7944e844562, b70c83b83cb651413f2215822c3e5def884d6b05, 4e89aff9ad6fcbec555c38169807c4023f93450f
CVE List Linux Linux = 3.2

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.