CVEvulnerability
CVE-2025-68820
- Status
- Deferred
- Published
- 2026-01-13
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Weaknesses
- CWE-476
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.
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/190ad0f22ba49f1101182b80e3af50ca2ddfe72f git.kernel.org
- https://git.kernel.org/stable/c/3d8d22e75f7edfa0b30ff27330fd6a1285d594c3 git.kernel.org
- https://git.kernel.org/stable/c/5b154e901fda2e98570b8f426a481f5740097dc2 git.kernel.org
- https://git.kernel.org/stable/c/b5d942922182e82724b7152cb998f540132885ec git.kernel.org
- https://git.kernel.org/stable/c/b72a3476f0c97d02f63a6e9fff127348d55436f6 git.kernel.org
- https://git.kernel.org/stable/c/b97cb7d6a051aa6ebd57906df0e26e9e36c26d14 git.kernel.org
- https://git.kernel.org/stable/c/ce5f54c065a4a7cbb92787f4f140917112350142 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com