CVE-2025-38243 Details
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.
A vulnerability in the Linux kernel's Btrfs file system has been fixed, addressing invalid inode pointer dereferences that could occur during log replay. The issue arose in several instances where the function read_one_inode() returned a NULL pointer. This led to error handling paths that improperly managed inode references, causing invalid memory access and subsequent crashes. The vulnerability has been resolved by ensuring that such dereferences do not occur.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2dcf838cf5c2f0f4501edaa1680fcad03618d760 | kernel.org | Patch |
| https://git.kernel.org/stable/c/401d098f92ea69d8a75f8b845daf343e511681ba | kernel.org | Patch |
| https://git.kernel.org/stable/c/ba8386d662cc51cc5382688bbf7a152b0b0b27cf | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.15, < 6.15.5 6.16 rc1 6.16 rc2 6.16 rc3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 19, 2025 | Initial Analysis | [email protected] |
| Jul 10, 2025 | CVE Modified | kernel.org |
| Jul 9, 2025 | New CVE Received | kernel.org |