Junglewise Threat Intelligence

CVE-2026-64164: Linux Linux kernel sleep while atomic in Btrfs tracepoints

CVE-2026-64164 · Severity: info · CVSS 0 · Published 2026-07-19

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's Btrfs file system where certain diagnostic monitoring tools could cause the system to crash or behave unexpectedly. This occurs because the system attempts to perform a 'sleep' operation during a task that must be completed without interruption. An exploit could lead to a system hang or a kernel panic, impacting the availability of the server.

Technical details

A 'sleep while in atomic context' vulnerability exists in the btrfs_sync_file() tracepoint of the Linux kernel. Trace events execute in an atomic context where sleeping is prohibited; however, the implementation previously called dget_parent() and dput(), the latter of which can trigger a sleep. This mismatch results in a kernel splat (BUG: sleeping function called from invalid context). The fix involves replacing the reference-counted parent dentry access with direct access via dentry->d_parent to avoid the sleeping dput() call. Patches have been released across multiple stable kernel branches.

Affected products

  • Linux Linux kernel btrfs file system component

Timeline

  • 2026-04-28: patched: Initial fix authored
  • 2026-07-19: advisory: CVE published

References

Related threats