{"id":"CVE-2024-56774","published":"2025-01-08T17:49:13Z","modified":"2026-05-11T20:58:48Z","title":"btrfs: add a sanity check for btrfs root in btrfs_search_slot()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: add a sanity check for btrfs root in btrfs_search_slot()\n\nSyzbot reports a null-ptr-deref in btrfs_search_slot().\n\nThe reproducer is using rescue=ibadroots, and the extent tree root is\ncorrupted thus the extent tree is NULL.\n\nWhen scrub tries to search the extent tree to gather the needed extent\ninfo, btrfs_search_slot() doesn't check if the target root is NULL or\nnot, resulting the null-ptr-deref.\n\nAdd sanity check for btrfs root before using it in btrfs_search_slot().","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00301,"percentile":0.15238,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/c71d114ef68c95da5a82ec85a721ab31f5bd905b","tags":[]},{"url":"https://git.kernel.org/stable/c/db66fb87c21e8ae724886e6a464dcbac562a64c6","tags":[]},{"url":"https://git.kernel.org/stable/c/757171d1369b3b47f36932d40a05a0715496dcab","tags":[]},{"url":"https://git.kernel.org/stable/c/93992c3d9629b02dccf6849238559d5c24f2dece","tags":[]},{"url":"https://git.kernel.org/stable/c/3ed51857a50f530ac7a1482e069dfbd1298558d4","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.05},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 42437a6386ffeaaf200731e73d723ea491f3fe7d, < c71d114ef68c95da5a82ec85a721ab31f5bd905b",">= 42437a6386ffeaaf200731e73d723ea491f3fe7d, < db66fb87c21e8ae724886e6a464dcbac562a64c6",">= 42437a6386ffeaaf200731e73d723ea491f3fe7d, < 757171d1369b3b47f36932d40a05a0715496dcab",">= 42437a6386ffeaaf200731e73d723ea491f3fe7d, < 93992c3d9629b02dccf6849238559d5c24f2dece",">= 42437a6386ffeaaf200731e73d723ea491f3fe7d, < 3ed51857a50f530ac7a1482e069dfbd1298558d4"]},{"vendor":"Linux","product":"Linux","versions":["5.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:56:45.422669Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-53417","exploited":false,"provenance":"source"}}