In the Linux kernel, the following vulnerability has been resolved: btrfs: tracepoints: fix sleep while in atomic context in btrfs_sync_file() The… (CVE-2026-64164)
A vulnerability in the Linux kernel's Btrfs filesystem tracepoint btrfs_sync_file() could cause a kernel crash due to sleeping in an atomic context. The issue arises because the function calls dput(), which can sleep, while running in an atomic context where sleeping is not allowed. This has been fixed by changing the code to access the parent dentry directly instead of using dget_parent() and dput().
AI Analysis
Technical Summary
The Linux kernel's Btrfs trace event btrfs_sync_file() is executed in an atomic context where sleeping is prohibited. However, it previously called dput(), which can sleep, leading to a kernel BUG and crash (kernel splat). This was reproducible by enabling the trace event and running specific filesystem tests. The fix involves removing the calls to dget_parent() and dput() and directly accessing the parent dentry via dentry->d_parent, aligning with the approach used in ext4's equivalent trace event.
Potential Impact
This vulnerability can cause a kernel crash (BUG) when the btrfs_sync_file() trace event is enabled and triggered, potentially leading to denial of service on affected systems running the vulnerable Linux kernel. There is no indication of code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code by modifying the btrfs_sync_file() trace event to avoid sleeping in atomic context. Users should update to a Linux kernel version that includes this fix. Since no specific patched versions are provided, check the vendor or kernel maintainers' advisories for the fixed kernel versions and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: btrfs: tracepoints: fix sleep while in atomic context in btrfs_sync_file() The… (CVE-2026-64164)
Description
A vulnerability in the Linux kernel's Btrfs filesystem tracepoint btrfs_sync_file() could cause a kernel crash due to sleeping in an atomic context. The issue arises because the function calls dput(), which can sleep, while running in an atomic context where sleeping is not allowed. This has been fixed by changing the code to access the parent dentry directly instead of using dget_parent() and dput().
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's Btrfs trace event btrfs_sync_file() is executed in an atomic context where sleeping is prohibited. However, it previously called dput(), which can sleep, leading to a kernel BUG and crash (kernel splat). This was reproducible by enabling the trace event and running specific filesystem tests. The fix involves removing the calls to dget_parent() and dput() and directly accessing the parent dentry via dentry->d_parent, aligning with the approach used in ext4's equivalent trace event.
Potential Impact
This vulnerability can cause a kernel crash (BUG) when the btrfs_sync_file() trace event is enabled and triggered, potentially leading to denial of service on affected systems running the vulnerable Linux kernel. There is no indication of code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code by modifying the btrfs_sync_file() trace event to avoid sleeping in atomic context. Users should update to a Linux kernel version that includes this fix. Since no specific patched versions are provided, check the vendor or kernel maintainers' advisories for the fixed kernel versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-w7p5-2w2w-6hjm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64164"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27a72a4a8d5989129daa
Added to database: 07/19/2026, 19:38:15 UTC
Last enriched: 07/19/2026, 19:38:52 UTC
Last updated: 07/20/2026, 17:26:47 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.