Not scored
ext4: xattr: fix null pointer deref in ext4_raw_inode()
- Severity
- Not scored
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3 before b72a3476f0c97d02f63a6e9fff127348d55436f6, from f737418b6de31c962c7192777ee4018906975383 before 3d8d22e75f7edfa0b30ff27330fd6a1285d594c3, from cf9291a3449b04688b81e32621e88de8f4314b54 before 190ad0f22ba49f1101182b80e3af50ca2ddfe72f, from 362a90cecd36e8a5c415966d0b75b04a0270e4dd before b5d942922182e82724b7152cb998f540132885ec, from eb59cc31b6ea076021d14b04e7faab1636b87d0e before 5b154e901fda2e98570b8f426a481f5740097dc2, from c8e008b60492cf6fd31ef127aea6d02fd3d314cd before ce5f54c065a4a7cbb92787f4f140917112350142, from c8e008b60492cf6fd31ef127aea6d02fd3d314cd before b97cb7d6a051aa6ebd57906df0e26e9e36c26d14, 6aff941cb0f7d0c897c3698ad2e30672709135e3 and 11 more Not affected: before 6.15, from 5.10.248 up to 5.10.*, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.64 up to 6.12.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ext4: xattr: corregir desreferencia de puntero nulo en ext4_raw_inode() Si ext4_get_inode_loc() falla (p. ej., si devuelve -EFSCORRUPTED), iloc.bh permanecerá establecido en NULL. Dado que ext4_xattr_inode_dec_ref_all() carece de comprobación de errores, esto conducirá a una desreferencia de puntero nulo en ext4_raw_inode(), llamada justo después de ext4_get_inode_loc(). Encontrado por Linux Verification Center (linuxtesting.org) con SVACE.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-68820 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2025-68820 changed 2026-11-10 | Public domain |