CVE-2025-38243

btrfs: fix invalid inode pointer dereferences during log replay

published July 9, 2025

CVSS
—
EPSS
0%
Percentile
5.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00164 · 5.3th percentile
Published
2025-07-09T10:42Z
EPSS history
Timeline
  • 09 JUL 10:42Z
    btrfs: fix invalid inode pointer dereferences during log replay
    cvelistv5