Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-56774— btrfs: add a sanity check for btrfs root in btrfs_search_slot()

EPSS 0.01% · P2
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-56774

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
btrfs: add a sanity check for btrfs root in btrfs_search_slot()
Source: NVD (National Vulnerability Database)
Vulnerability Description
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().
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在代码问题漏洞,该漏洞源于Btrfs文件系统在btrfs_search_slot函数中未对btrfs根进行空指针检查,当使用rescue=ibadroots参数且extent树根损坏时,可能导致空指针解引用,影响文件系统的稳定性和可靠性。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 42437a6386ffeaaf200731e73d723ea491f3fe7d ~ c71d114ef68c95da5a82ec85a721ab31f5bd905b -
LinuxLinux 5.11 -

II. Public POCs for CVE-2024-56774

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-56774

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-01-08 · 16 CVEs total

CVE-2024-56770net/sched: netem: account for backlog updates from child qdisc
CVE-2024-56771mtd: spinand: winbond: Fix 512GW, 01GW, 01JW and 02JW ECC information
CVE-2024-56773kunit: Fix potential null dereference in kunit_device_driver_test()
CVE-2024-56772kunit: string-stream: Fix a UAF bug in kunit_init_suite()
CVE-2024-56775drm/amd/display: Fix handling of plane refcount
CVE-2024-56776drm/sti: avoid potential dereference of error pointers
CVE-2024-56777drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check
CVE-2024-56778drm/sti: avoid potential dereference of error pointers in sti_hqvdp_atomic_check
CVE-2024-56779nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur
CVE-2024-56780quota: flush quota_release_work upon quota writeback
CVE-2024-56782ACPI: x86: Add adev NULL check to acpi_quirk_skip_serdev_enumeration()
CVE-2024-56783netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level
CVE-2024-56785MIPS: Loongson64: DTS: Really fix PCIe port nodes for ls7a
CVE-2024-56784drm/amd/display: Adding array index check to prevent memory corruption
CVE-2024-56787soc: imx8m: Probe the SoC driver as platform driver

IV. Related Vulnerabilities

V. Comments for CVE-2024-56774

No comments yet


Leave a comment