cbcvebase.
CVE-2025-71183
published 2026-01-31

CVE-2025-71183: In the Linux kernel, the following vulnerability has been resolved: btrfs: always detect conflicting inodes when logging inode refs After rename exchanging…

PriorityP423medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.36%
28.8th percentile
In the Linux kernel, the following vulnerability has been resolved: btrfs: always detect conflicting inodes when logging inode refs After rename exchanging (either with the rename exchange operation or regular renames in multiple non-atomic steps) two inodes and at least one of them is a directory, we can end up with a log tree that contains only of the inodes and after a power failure that can result in an attempt to delete the other inode when it should not because it was not deleted before the power failure. In some case that delete attempt fails when the target inode is a directory that contains a subvolume inside it, since the log replay code is not prepared to deal with directory entries that point to root items (only inode items). 1) We have directories "dir1" (inode A) and "dir2" (inode B) under the same parent directory; 2) We have a file (inode C) under directory "dir1" (inode A); 3) We have a subvolume inside directory "dir2" (inode B); 4) All these inodes were persisted in a past transaction and we are currently at transaction N; 5) We rename the file (inode C), so at btrfs_log_new_name() we update inode C's last_unlink_trans to N; 6) We get a rename exchange for "dir1" (inode A) and "dir2" (inode B), so after the exchange "dir1" is inode B and "dir2" is inode A. During the rename exchange we call btrfs_log_new_name() for inodes A and B, but because they are directories, we don't update their last_unlink_trans to N; 7) An fsync against the file (inode C) is done, and because its inode has a last_unlink_trans with a value of N we log its parent directory (inode A) (through btrfs_log_all_parents(), called from btrfs_log_inode_parent()). 8) So we end up with inode B not logged, which now has the old name of inode A. At copy_inode_items_to_log(), when logging inode A, we did not check if we had any conflicting inode to log because inode A has a generation lower than the current transaction (created in a past transaction); 9) After a power failure,

Affected

70 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.162-1 (bookworm)linux 6.1.162-1 (bookworm)
debianlinux-6.1< linux 6.1.162-1 (bookworm)linux 6.1.162-1 (bookworm)
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux>= 3.18.32 < 3.193.19
linuxlinux>= 4.1.23 < 4.24.2
linuxlinux>= 4.4.8 < 4.54.5
linuxlinux>= 4.5.2 < 4.64.6
linuxlinux>= 56f23fdbb600e6087db7b009775b95ce07cc3195 < c7f0207db68d5a1b4af23acbef1a8e8ddc431ebbc7f0207db68d5a1b4af23acbef1a8e8ddc431ebb
linuxlinux>= 56f23fdbb600e6087db7b009775b95ce07cc3195 < a63998cd6687c14b160dccb0bbcf281b2eb0dab3a63998cd6687c14b160dccb0bbcf281b2eb0dab3
linuxlinux>= 56f23fdbb600e6087db7b009775b95ce07cc3195 < 0c2413c69129f6ce60157f7b53d9ba880260400b0c2413c69129f6ce60157f7b53d9ba880260400b
linuxlinux>= 56f23fdbb600e6087db7b009775b95ce07cc3195 < d52af58dd463821c5c516aebb031a58934f696ead52af58dd463821c5c516aebb031a58934f696ea
linuxlinux>= 56f23fdbb600e6087db7b009775b95ce07cc3195 < 7ba0b6461bc4edb3005ea6e00cdae189bcf908a57ba0b6461bc4edb3005ea6e00cdae189bcf908a5
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel
linuxlinux_kernel

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_ubuntu7.8HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.