ext4: fix missing brelse() in ext4_xattr_inode_dec_ref_all()
- 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.258, 5.15.209, 6.1.175, 6.6.140, 6.12.86, and 5 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
Summary
In the Linux kernel, the following vulnerability has been resolved: ext4: fix missing brelse() in ext4_xattr_inode_dec_ref_all() The commit c8e008b60492 ("ext4: ignore xattrs past end") introduced a refcount leak in when block_csum is false. ext4_xattr_inode_dec_ref_all() calls ext4_get_inode_loc() to get iloc.bh, but never releases it with brelse().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 76c365fa7e2a8bb85f0190cdb4b8cdc99b2fdce3 · fixed in dd98a5603a212ea9c96c6982ccdbcc748fdb9a56; From f737418b6de31c962c7192777ee4018906975383 · fixed in 153ab2c52355fbebcae622db8e7b506492c73a29; From cf9291a3449b04688b81e32621e88de8f4314b54 · fixed in b706d00206a9e82362a9633efbd8b5775650169b; From 362a90cecd36e8a5c415966d0b75b04a0270e4dd · fixed in 1bc1107a3a403a6d440673ed6666f7b07ef868a8; From eb59cc31b6ea076021d14b04e7faab1636b87d0e · fixed in 097227f1ffe1a85bc3c359f81c71e3d40e06e920; From c8e008b60492cf6fd31ef127aea6d02fd3d314cd · fixed in 1e6b0a69bf2c9c819255c7566e4355536d81d9cf; From c8e008b60492cf6fd31ef127aea6d02fd3d314cd · fixed in f072906688933bf47fabbaf63560be03357c8298; From c8e008b60492cf6fd31ef127aea6d02fd3d314cd · fixed in 77d059519382bd66283e6a4e83ee186e87e7708f; From 5.10.237 · fixed in 5.10.258; From 5.15.181 · fixed in 5.15.209; From 6.1.135 · fixed in 6.1.175; From 6.6.88 · fixed in 6.6.140; From 6.12.24 · fixed in 6.12.86; 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.258; From 5.11.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.140; From 6.7.0 · fixed in 6.12.86; From 6.13.0 · fixed in 6.18.27; From 6.15.0 · fixed in 7.0.4
References 8
git.kernel.org
- stable/c/dd98a5603a212ea9c96c6982ccdbcc748fdb9a56
- stable/c/153ab2c52355fbebcae622db8e7b506492c73a29
- stable/c/b706d00206a9e82362a9633efbd8b5775650169b
- stable/c/1bc1107a3a403a6d440673ed6666f7b07ef868a8
- stable/c/097227f1ffe1a85bc3c359f81c71e3d40e06e920
- stable/c/1e6b0a69bf2c9c819255c7566e4355536d81d9cf
- stable/c/f072906688933bf47fabbaf63560be03357c8298
- stable/c/77d059519382bd66283e6a4e83ee186e87e7708f