CVE-2026-23465
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.12.79-101.147 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.79-101.147.amzn2023 |
| kernel6.18-libbpf | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.79-101.147.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
| kernel6.18-libbpf-static | Amazon Linux | 1:6.18.20-20.229.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a3baaf0d786e22fc86295fda9c58ba0dee07599f, a3baaf0d786e22fc86295fda9c58ba0dee07599f, a3baaf0d786e22fc86295fda9c58ba0dee07599f |
| Linux | Linux | 5.1, 0, 6.1.191 |
| amazon:2023 | kernel-livepatch-6.12.79-101.147 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-libbpf | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-libbpf-static | 0 |
| linux | linux_kernel | 5.1, 5.1, 5.1 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12 | 0 |
…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