Linux kernel: btrfs: log new dentries when logging parent dir of a conflicting inode
Overview
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.
- Published
- 4/3/2026
- Last modified
- 10/30/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 5.1, < 6.6.130 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.12.78 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.18.20 | Verify advisory | Source |
linux kernel linux | ≥ 6.19, < 6.19.10 | Verify advisory | Source |
linux kernel linux | 7.0 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ a3baaf0d786e22fc86295fda9c58ba0dee07599f, < 6c23595c54cfeb878e3fbbb8eb08bc5061d0c2d4 | Verify advisory | Source |
Linux Linux | ≥ a3baaf0d786e22fc86295fda9c58ba0dee07599f, < 56e72c8b02d982be775d9df025357c152383ee84 | Verify advisory | Source |
Linux Linux | ≥ a3baaf0d786e22fc86295fda9c58ba0dee07599f, < f556b1e09d054e31f464c0fd37280c2b5a393fee | Verify advisory | Source |
Linux Linux | ≥ a3baaf0d786e22fc86295fda9c58ba0dee07599f, < 1cf30c73602c69d750c9345c47f2c0e9d0cfb578 | Verify advisory | Source |
Linux Linux | ≥ a3baaf0d786e22fc86295fda9c58ba0dee07599f, < 6f5a51969b1deb79aefd2194b48fe7e78e72ff7e | Verify advisory | Source |
Linux Linux | ≥ a3baaf0d786e22fc86295fda9c58ba0dee07599f, < 9573a365ff9ff45da9222d3fe63695ce562beb24 | Verify advisory | Source |
Linux Linux | 5.1 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.