VDB

CISA-2024-56774

CISA-2024-56774 PUBLISHED CVSS 5.5 MEDIUM

Reported by Linux · Published January 8, 2025

In the Linux kernel, the following vulnerability has been resolved: btrfs: add a sanity check for btrfs root in btrfs_search_slot() Syzbot reports a null-ptr-deref in btrfs_search_slot(). The reproducer is using rescue=ibadroots, and the extent tree root is corrupted thus the extent tree is NULL. When scrub tries to search the extent tree to gather the needed extent info, btrfs_search_slot() doesn't check if the target root is NULL or not, resulting the null-ptr-deref. Add sanity check for btrfs root before using it in btrfs_search_slot().

Risk Scores

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

Affected Products

VendorProductVersions
LinuxLinux42437a6386ffeaaf200731e73d723ea491f3fe7d, 42437a6386ffeaaf200731e73d723ea491f3fe7d, 42437a6386ffeaaf200731e73d723ea491f3fe7d
LinuxLinux5.11, 0, 5.15.174
linuxlinux_kernel5.11, 5.11, 5.11
LinuxLinux42437a6386ffeaaf200731e73d723ea491f3fe7d, 42437a6386ffeaaf200731e73d723ea491f3fe7d, 42437a6386ffeaaf200731e73d723ea491f3fe7d

Timeline

  • Jan 8, 2025 CVE Published
  • Oct 1, 2025 CVE Updated

References

Open in Interactive Console →
$ Console Community · 100/wk Open console ›