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

CVE-2026-46160

MEDIUM 5.5EPSS 3%

btrfs: fix missing last_unlink_trans update when removing a directory

Mitigation

  • Upgrade Linux to 999757231c49376cd1a37308d2c8c4c9932571e1 or later.

Who should check

  • Anyone running Linux >= 12fcfd22fe5bf4fe74710232098bc101af497995, < af467162290f5fe79d6a361b7c84302e45b1fd9f; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 2525998ac956476bded26b9f34c4164dc890b87a; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 6acbb2f6dff23c9bb9761fb98b516525b9cf1ce9; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < cc3c0a0f965754ce230d93ba44ee5b34fbe6138a; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < aa9c3ecaf7337df3a689318584f879b5339ede0f; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < fb388eb58c1ba047ccabc33901839acfecadcf49; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 36fcc2c7517f8a86379154c9793f867592aa8b7e; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 999757231c49376cd1a37308d2c8c4c9932571e1
  • Anyone running Linux 2.6.30

Vulnerability facts

Affected
Linux >= 12fcfd22fe5bf4fe74710232098bc101af497995, < af467162290f5fe79d6a361b7c84302e45b1fd9f; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 2525998ac956476bded26b9f34c4164dc890b87a; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 6acbb2f6dff23c9bb9761fb98b516525b9cf1ce9; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < cc3c0a0f965754ce230d93ba44ee5b34fbe6138a; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < aa9c3ecaf7337df3a689318584f879b5339ede0f; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < fb388eb58c1ba047ccabc33901839acfecadcf49; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 36fcc2c7517f8a86379154c9793f867592aa8b7e; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 999757231c49376cd1a37308d2c8c4c9932571e1; Linux 2.6.30
Fixed in
Linux 2525998ac956476bded26b9f34c4164dc890b87a, Linux 6acbb2f6dff23c9bb9761fb98b516525b9cf1ce9, Linux 36fcc2c7517f8a86379154c9793f867592aa8b7e, Linux 999757231c49376cd1a37308d2c8c4c9932571e1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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: None
  • Availability impact: High
EPSS
0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix missing last_unlink_trans update when removing a directory When removing a directory we are not updating its last_unlink_trans field, which can result in incorrect fsync behaviour in case some one fsyncs the directory after it was removed because it's holding a file descriptor on it. Example scenario: mkdir /mnt/dir1 mkdir /mnt/dir1/dir2 mkdir /mnt/dir3 sync -f /mnt # Do some change to the directory and fsync it. chmod 700 /mnt/dir1 xfs_io -c fsync /mnt/dir1 # Move dir2 out of dir1 so that dir1 becomes empty. mv /mnt/dir1/dir2 /mnt/dir3/ open fd on /mnt/dir1 call rmdir(2) on path "/mnt/dir1" fsync fd <trigger power failure> When attempting to mount the filesystem, the log replay will fail with an -EIO error and dmesg/syslog has the following: [445771.626482] BTRFS info (device dm-0): first mount of filesystem 0368bbea-6c5e-44b5-b409-09abe496e650 [445771.626486] BTRFS info (device dm-0): using crc32c checksum algorithm [445771.627912] BTRFS info (device dm-0): start tree-log replay [445771.628335] page: refcount:2 mapcount:0 mapping:0000000061443ddc index:0x1d00 pfn:0x7072a5 [445771.629453] memcg:ffff89f400351b00 [445771.629892] aops:btree_aops [btrfs] ino:1 [445771.630737] flags: 0x17fffc00000402a(uptodate|lru|private|writeback|node=0|zone=2|lastcpupid=0x1ffff) [445771.632359] raw: 017fffc00000402a fffff47284d950c8 fffff472907b7c08 ffff89f458e412b8 [445771.633713] raw: 0000000000001d00 ffff89f6c51d1a90 00000002ffffffff ffff89f400351b00 [445771.635029] page dumped because: eb page dump [445771.635825] BTRFS critical (device dm-0): corrupt leaf: root=5 block=30408704 slot=10 ino=258, invalid nlink: has 2 expect no more than 1 for dir [445771.638088] BTRFS info (device dm-0): leaf 30408704 gen 10 total ptrs 17 free space 14878 owner 5 [445771.638091] BTRFS info (device dm-0): refs 4 lock_owner 0 current 3581087 [445771.638094] item 0 key (256 INODE_ITEM 0) itemoff 16123 itemsize 160 [445771.638097] inode generation 3 transid 9 size 16 nbytes 16384 [445771.638098] block group 0 mode 40755 links 1 uid 0 gid 0 [445771.638100] rdev 0 sequence 2 flags 0x0 [445771.638102] atime 1775744884.0 [445771.660056] ctime 1775744885.645502983 [445771.660058] mtime 1775744885.645502983 [445771.660060] otime 1775744884.0 [445771.660062] item 1 key (256 INODE_REF 256) itemoff 16111 itemsize 12 [445771.660064] index 0 name_len 2 [445771.660066] item 2 key (256 DIR_ITEM 1843588421) itemoff 16077 itemsize 34 [445771.660068] location key (259 1 0) type 2 [445771.660070] transid 9 data_len 0 name_len 4 [445771.660075] item 3 key (256 DIR_ITEM 2363071922) itemoff 16043 itemsize 34 [445771.660076] location key (257 1 0) type 2 [445771.660077] transid 9 data_len 0 name_len 4 [445771.660078] item 4 key (256 DIR_INDEX 2) itemoff 16009 itemsize 34 [445771.660079] location key (257 1 0) type 2 [445771.660080] transid 9 data_len 0 name_len 4 [445771.660081] item 5 key (256 DIR_INDEX 3) itemoff 15975 itemsize 34 [445771.660082] location key (259 1 0) type 2 [445771.660083] transid 9 data_len 0 name_len 4 [445771.660084] item 6 key (257 INODE_ITEM 0) itemoff 15815 itemsize 160 [445771.660086] inode generation 9 transid 9 size 8 nbytes 0 [445771.660087] block group 0 mode 40777 links 1 uid 0 gid 0 [445771.660088] rdev 0 sequence 2 flags 0x0 [445771.660089] atime 1775744885.641174097 [445771.660090] ctime 1775744885.645502983 [445771.660091] mtime 1775744885.645502983 [445771.660105] otime 1775744885.641174097 [445771.660106] item 7 key (257 INODE_REF 256) itemoff 15801 itemsize 14 [445771.660107] index 2 name_len 4 [445771.660108] item 8 key (257 DIR_ITEM 2676584006) itemoff 15767 itemsize 34 [445771.660109] location key (2 ---truncated---

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 12fcfd22fe5bf4fe74710232098bc101af497995, < af467162290f5fe79d6a361b7c84302e45b1fd9f; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 2525998ac956476bded26b9f34c4164dc890b87a; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 6acbb2f6dff23c9bb9761fb98b516525b9cf1ce9; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < cc3c0a0f965754ce230d93ba44ee5b34fbe6138a; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < aa9c3ecaf7337df3a689318584f879b5339ede0f; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < fb388eb58c1ba047ccabc33901839acfecadcf49; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 36fcc2c7517f8a86379154c9793f867592aa8b7e; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 999757231c49376cd1a37308d2c8c4c9932571e1—cvelist
Linux2.6.30—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-2026-46160. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46160.md
Affected: Linux >= 12fcfd22fe5bf4fe74710232098bc101af497995, < af467162290f5fe79d6a361b7c84302e45b1fd9f; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 2525998ac956476bded26b9f34c4164dc890b87a; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 6acbb2f6dff23c9bb9761fb98b516525b9cf1ce9; >= 12fcfd22fe5bf4fe7471023…
Fixed in: Linux 2525998ac956476bded26b9f34c4164dc890b87a, Linux 6acbb2f6dff23c9bb9761fb98b516525b9cf1ce9, Linux 36fcc2c7517f8a86379154c9793f867592aa8b7e, Linux 999757231c49376cd1a37308d2c8c4c9932571e1

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-2026-46160 being exploited?

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

How serious is CVE-2026-46160?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-46160?

Linux >= 12fcfd22fe5bf4fe74710232098bc101af497995, < af467162290f5fe79d6a361b7c84302e45b1fd9f; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 2525998ac956476bded26b9f34c4164dc890b87a; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 6acbb2f6dff23c9bb9761fb98b516525b9cf1ce9; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < cc3c0a0f965754ce230d93ba44ee5b34fbe6138a; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < aa9c3ecaf7337df3a689318584f879b5339ede0f; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < fb388eb58c1ba047ccabc33901839acfecadcf49; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 36fcc2c7517f8a86379154c9793f867592aa8b7e; >= 12fcfd22fe5bf4fe74710232098bc101af497995, < 999757231c49376cd1a37308d2c8c4c9932571e1; Linux 2.6.30.

Is there a fix for CVE-2026-46160?

Yes. Fixed in Linux 2525998ac956476bded26b9f34c4164dc890b87a, Linux 6acbb2f6dff23c9bb9761fb98b516525b9cf1ce9, Linux 36fcc2c7517f8a86379154c9793f867592aa8b7e, Linux 999757231c49376cd1a37308d2c8c4c9932571e1. Upgrade Linux to 999757231c49376cd1a37308d2c8c4c9932571e1 or later.

How do I check if I'm affected by CVE-2026-46160?

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