Bug 2378978 (CVE-2025-38243) - CVE-2025-38243 kernel: btrfs: fix invalid inode pointer dereferences during log replay
Summary: CVE-2025-38243 kernel: btrfs: fix invalid inode pointer dereferences during l...
Keywords:
Status: NEW
Alias: CVE-2025-38243
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-09 11:01 UTC by OSIDB Bzimport
Modified: 2025-07-09 17:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-09 11:01:22 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.