CVE-2024-56774
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2024
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
btrfs: add a sanity check for btrfs root in btrfs_search_slot()
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().
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 42437a6386ffeaaf200731e73d723ea491f3fe7d | affected | git | c71d114ef68c95da5a82ec85a721ab31f5bd905b | Unavailable | None listed |
| 42437a6386ffeaaf200731e73d723ea491f3fe7d | affected | git | db66fb87c21e8ae724886e6a464dcbac562a64c6 | Unavailable | None listed |
| 42437a6386ffeaaf200731e73d723ea491f3fe7d | affected | git | 757171d1369b3b47f36932d40a05a0715496dcab | Unavailable | None listed |
| 42437a6386ffeaaf200731e73d723ea491f3fe7d | affected | git | 93992c3d9629b02dccf6849238559d5c24f2dece | Unavailable | None listed |
| 42437a6386ffeaaf200731e73d723ea491f3fe7d | affected | git | 3ed51857a50f530ac7a1482e069dfbd1298558d4 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.11 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.11 | Unavailable | None listed |
| 5.15.174 | unaffected | semver | Unavailable | 5.15.* | None listed |
| 6.1.120 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.64 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.4 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.13 | unaffected | original_commit_for_fix | Unavailable | * | None listed |