CVE-2026-139333

Not scored yetLast modified Nov 30, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139334In the Linux kernel, the following vulnerability has been resolved: btrfs: drop the extent maps of the written part of a failed ordered extCVE-2026-139335In the Linux kernel, the following vulnerability has been resolved: platform: cznic: turris-omnia-mcu: stop button emulation producers TheCVE-2026-139336In the Linux kernel, the following vulnerability has been resolved: usbnet: fix smp_processor_id() use in preemptible context tx_complete(CVE-2026-139337In the Linux kernel, the following vulnerability has been resolved: ima: reject a kexec buffer whose declared size exceeds the buffer ima_CVE-2026-139338In the Linux kernel, the following vulnerability has been resolved: blk-iocost: account zone append completions in latency stats ioc_rqos_CVE-2026-1393397.0In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Fully disable the AS even if it's going to be re-assigned CVE-2026-139349.6Insufficient validation of untrusted input in Dawn in Google Chrome on Android prior to 150.0.7871.47 allowed a remote attacker who had compCVE-2026-139340In the Linux kernel, the following vulnerability has been resolved: fuse: fix NULL pointer dereference in fuse_request_find fuse_dev_instaCVE-2026-139341In the Linux kernel, the following vulnerability has been resolved: HID: magicmouse: fix null pointer dereference in magicmouse_event() AdCVE-2026-139342In the Linux kernel, the following vulnerability has been resolved: net: use the full socket in sk_mc_loop() sk_mc_loop() is called from iCVE-2026-1393437.8In the Linux kernel, the following vulnerability has been resolved: ipv4: use RCU protection in inet_netconf_get_devconf() inet_netconf_geCVE-2026-139344In the Linux kernel, the following vulnerability has been resolved: macsec: prevent AES-GCM nonce reuse after packet number wrap After all
CVE-2026-139333: Unscored | Vulnix