{"id":"CVE-2025-38243","summary":"btrfs: fix invalid inode pointer dereferences during log replay","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix invalid inode pointer dereferences during log replay\n\nIn a few places where we call read_one_inode(), if we get a NULL pointer\nwe end up jumping into an error path, or fallthrough in case of\n__add_inode_ref(), where we then do something like this:\n\n   iput(&inode-\u003evfs_inode);\n\nwhich results in an invalid inode pointer that triggers an invalid memory\naccess, resulting in a crash.\n\nFix this by making sure we don't do such dereferences.","modified":"2026-04-02T12:47:52.955205Z","published":"2025-07-09T10:42:26.014Z","related":["SUSE-SU-2026:0447-1","SUSE-SU-2026:0471-1","SUSE-SU-2026:0472-1","SUSE-SU-2026:0587-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20555-1","SUSE-SU-2026:20599-1","SUSE-SU-2026:20615-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:20287-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38243.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2dcf838cf5c2f0f4501edaa1680fcad03618d760"},{"type":"WEB","url":"https://git.kernel.org/stable/c/401d098f92ea69d8a75f8b845daf343e511681ba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba8386d662cc51cc5382688bbf7a152b0b0b27cf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38243.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38243"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0502d1127436a69b8c2e7cf309ae0ebff3332668"},{"fixed":"401d098f92ea69d8a75f8b845daf343e511681ba"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b4c50cbb01a1b6901d2b94469636dd80fa93de81"},{"fixed":"ba8386d662cc51cc5382688bbf7a152b0b0b27cf"},{"fixed":"2dcf838cf5c2f0f4501edaa1680fcad03618d760"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38243.json"}}],"schema_version":"1.7.5"}