CVE-2025-38243 Information
Jul 10, 2025
cve
Description
In the Linux kernel the following vulnerability has been resolved:
btrfs: fix invalid inode pointer dereferences during log replay
In a few places where we call read_one_inode() if we get a NULL pointer we end up jumping into an error path or fallthrough in case of __add_inode_ref() where we then do something like this:
iput(&inode->vfs_inode);
which results in an invalid inode pointer that triggers an invalid memory access resulting in a crash.
Fix this by making sure we don’t do such dereferences.
Reference
https://git.kernel.org/stable/c/2dcf838cf5c2f0f4501edaa1680fcad03618d760 https://git.kernel.org/stable/c/ba8386d662cc51cc5382688bbf7a152b0b0b27cf
Related CNNVD
CNNVD-202507-1285 (Published: 2025-07-09)
Share on: