KernelScan.io

CRITICAL

btrfs Tracepoint Deref

CVE-2026-43117

CVSS 9.1 / 10.0 NVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

KernelScan AI5.5MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: btrfs: tracepoints: get correct superblock from dentry in event btrfs_sync_file() If overlay is used on top of btrfs, dentry->d_sb translates to overlay's super block and fsid assignment will lead to a crash. Use file_inode(file)->i_sb to always get btrfs_sb.

02

Engine v0.2.0

Risk summary

Systems using overlay filesystems on top of btrfs are at risk of kernel crashes when file sync operations trigger tracepoints. This affects container environments and systems using overlay mounts, causing complete system unavailability through kernel panic.

Affectedinclude/trace/events/btrfs.h (btrfs filesystem)

Vulnerability analysis

The btrfs_sync_file tracepoint incorrectly uses dentry->d_sb to access the superblock, but when overlay is mounted on btrfs, this returns overlay's superblock instead of btrfs superblock. Attempting to cast and access btrfs-specific fields causes a crash. The fix uses file_inode(file)->i_sb to always get the correct btrfs superblock. Attack surface is local filesystem access with ability to use overlay mounts on btrfs.

03

BranchFixed inPatch commit
5.105.10.2584a7bab35fad5
5.155.15.209520e8b4bcf87
6.16.1.175e252db8ca2a0
6.126.12.8332372781d664
6.186.18.242e4adfaec97e
6.196.19.14d110d7cdb045
6.66.6.136c09a7446aab5
mainline7.0a85b46db143f