{"id":"CVE-2025-38269","published":"2025-07-10T07:41:51Z","modified":"2026-05-11T21:24:36Z","title":"btrfs: exit after state insertion failure at btrfs_convert_extent_bit()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: exit after state insertion failure at btrfs_convert_extent_bit()\n\nIf insert_state() state failed it returns an error pointer and we call\nextent_io_tree_panic() which will trigger a BUG() call. However if\nCONFIG_BUG is disabled, which is an uncommon and exotic scenario, then\nwe fallthrough and call cache_state() which will dereference the error\npointer, resulting in an invalid memory access.\n\nSo jump to the 'out' label after calling extent_io_tree_panic(), it also\nmakes the code more clear besides dealing with the exotic scenario where\nCONFIG_BUG is disabled.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00264,"percentile":0.11329,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/58c50f45e1821a04d61b62514f9bd34afe67c622","tags":[]},{"url":"https://git.kernel.org/stable/c/8d9d32088e304e2bc444a3087cab0bbbd9951866","tags":[]},{"url":"https://git.kernel.org/stable/c/3bf179e36da917c5d9bec71c714573ed1649b7c1","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.27}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c91ea4bfa6dda549295ea7c15dfc990094d1fcd3, < 58c50f45e1821a04d61b62514f9bd34afe67c622",">= c91ea4bfa6dda549295ea7c15dfc990094d1fcd3, < 8d9d32088e304e2bc444a3087cab0bbbd9951866",">= c91ea4bfa6dda549295ea7c15dfc990094d1fcd3, < 3bf179e36da917c5d9bec71c714573ed1649b7c1"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"euvd":{"id":"EUVD-2025-20979","exploited":false,"provenance":"source"}}