CVE-2025-68820
ext4: xattr: fix null pointer deref in ext4_raw_inode()
- State
- Published
- Severity
- Not scored
- Published
- Jan 13, 2026
- Updated
- Oct 19, 2026
- Reserved
- Dec 24, 2025
Description
In the Linux kernel, the following vulnerability has been resolved:
ext4: xattr: fix null pointer deref in ext4_raw_inode()
If ext4_get_inode_loc() fails (e.g. if it returns -EFSCORRUPTED), iloc.bh will remain set to NULL. Since ext4_xattr_inode_dec_ref_all() lacks error checking, this will lead to a null pointer dereference in ext4_raw_inode(), called right after ext4_get_inode_loc().
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Scores
The record has no CVSS score.
Weaknesses
- CWE-476 NULL Pointer Dereference
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/b72a3476f0c97d02f63a6e9fff127348d55436f6
- https://git.kernel.org/stable/c/3d8d22e75f7edfa0b30ff27330fd6a1285d594c3
- https://git.kernel.org/stable/c/190ad0f22ba49f1101182b80e3af50ca2ddfe72f
- https://git.kernel.org/stable/c/b5d942922182e82724b7152cb998f540132885ec
- https://git.kernel.org/stable/c/5b154e901fda2e98570b8f426a481f5740097dc2
- https://git.kernel.org/stable/c/ce5f54c065a4a7cbb92787f4f140917112350142
- https://git.kernel.org/stable/c/b97cb7d6a051aa6ebd57906df0e26e9e36c26d14
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.