ext4: xattr: fix null pointer deref in ext4_raw_inode()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, and 4 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3 · fixed in b72a3476f0c97d02f63a6e9fff127348d55436f6; From f737418b6de31c962c7192777ee4018906975383 · fixed in 3d8d22e75f7edfa0b30ff27330fd6a1285d594c3; From cf9291a3449b04688b81e32621e88de8f4314b54 · fixed in 190ad0f22ba49f1101182b80e3af50ca2ddfe72f; From 362a90cecd36e8a5c415966d0b75b04a0270e4dd · fixed in b5d942922182e82724b7152cb998f540132885ec; From eb59cc31b6ea076021d14b04e7faab1636b87d0e · fixed in 5b154e901fda2e98570b8f426a481f5740097dc2; From c8e008b60492cf6fd31ef127aea6d02fd3d314cd · fixed in ce5f54c065a4a7cbb92787f4f140917112350142; From c8e008b60492cf6fd31ef127aea6d02fd3d314cd · fixed in b97cb7d6a051aa6ebd57906df0e26e9e36c26d14; From 5.10.237 · fixed in 5.10.248; From 5.15.181 · fixed in 5.15.198; From 6.1.135 · fixed in 6.1.160; From 6.6.88 · fixed in 6.6.120; From 6.12.24 · fixed in 6.12.64; From 5.4.293 · fixed in 5.5; From 6.13.12 · fixed in 6.14; From 6.14.3 · fixed in 6.15
- Linux Linux
6.15
- KernelLinux
fixed in 5.10.248; From 5.11.0 · fixed in 5.15.198; From 5.16.0 · fixed in 6.1.160; From 6.2.0 · fixed in 6.6.120; From 6.7.0 · fixed in 6.12.64; From 6.13.0 · fixed in 6.18.3
References 7
git.kernel.org
- stable/c/b72a3476f0c97d02f63a6e9fff127348d55436f6
- stable/c/3d8d22e75f7edfa0b30ff27330fd6a1285d594c3
- stable/c/190ad0f22ba49f1101182b80e3af50ca2ddfe72f
- stable/c/b5d942922182e82724b7152cb998f540132885ec
- stable/c/5b154e901fda2e98570b8f426a481f5740097dc2
- stable/c/ce5f54c065a4a7cbb92787f4f140917112350142
- stable/c/b97cb7d6a051aa6ebd57906df0e26e9e36c26d14