VDB

CVE-2026-23465

CVE-2026-23465 PUBLISHED

btrfs: log new dentries when logging parent dir of a conflicting inode

Reported by linux · Published April 3, 2026

In the Linux kernel, the following vulnerability has been resolved: btrfs: log new dentries when logging parent dir of a conflicting inode If we log the parent directory of a conflicting inode, we are not logging the new dentries of the directory, so when we finish we have the parent directory's inode marked as logged but we did not log its new dentries. As a consequence if the parent directory is explicitly fsynced later and it does not have any new changes since we logged it, the fsync is a no-op and after a power failure the new dentries are missing. Example scenario: $ mkdir foo $ sync $rmdir foo $ mkdir dir1 $ mkdir dir2 # A file with the same name and parent as the directory we just deleted # and was persisted in a past transaction. So the deleted directory's # inode is a conflicting inode of this new file's inode. $ touch foo $ ln foo dir2/link # The fsync on dir2 will log the parent directory (".") because the # conflicting inode (deleted directory) does not exists anymore, but it # it does not log its new dentries (dir1). $ xfs_io -c "fsync" dir2 # This fsync on the parent directory is no-op, since the previous fsync # logged it (but without logging its new dentries). $ xfs_io -c "fsync" . <power failure> # After log replay dir1 is missing. Fix this by ensuring we log new dir dentries whenever we log the parent directory of a no longer existing conflicting inode. A test case for fstests will follow soon.

EPSS 0.13% · 2.4th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.12.79-101.147Amazon Linux1:1.0-0.amzn2023
kernel6.12-develAmazon Linux1:6.12.79-101.147.amzn2023
kernel6.18-libbpfAmazon Linux1:6.18.20-20.229.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.20-20.229.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.20-20.229.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.79-101.147.amzn2023
perf6.18Amazon Linux1:6.18.20-20.229.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.20-20.229.amzn2023
kernel6.18-libbpf-staticAmazon Linux1:6.18.20-20.229.amzn2023

Risk scores

EPSS Score
0.13%
2.4th percentile

Affected products

VendorProductVersions
LinuxLinuxa3baaf0d786e22fc86295fda9c58ba0dee07599f, a3baaf0d786e22fc86295fda9c58ba0dee07599f, a3baaf0d786e22fc86295fda9c58ba0dee07599f
LinuxLinux5.1, 0, 6.1.191
amazon:2023kernel-livepatch-6.12.79-101.1470
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-libbpf0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-modules-extra0
amazon:2023perf6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-libbpf-static0
linuxlinux_kernel5.1, 5.1, 5.1
amazon:2023python3-perf6.120
amazon:2023bpftool6.120
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel6.18-devel0
amazon:2023perf6.120
amazon:2023bpftool6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.120

…and 12 more

Timeline

  • Apr 3, 2026 CVE Published
  • May 18, 2026 EPSS Score (23 in total, the first dated here)
  • May 20, 2026 CVE Updated
  • Jun 2, 2026 Security Advisory (100 in total, the first dated here)
  • Jun 13, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (93 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-23465
vulnetix vdb fixes CVE-2026-23465

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-23465/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›