ext4: fix missing brelse() in ext4_xattr_inode_dec_ref_all()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c8e008b60492cf6fd31ef127aea6d02fd3d314cd · < 1e6b0a69bf2c9c819255c7566e4355536d81d9cf| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The ext4_xattr_inode_dec_ref_all() function fails to release a buffer obtained by ext4_get_inode_loc(), causing a reference leak when block_csum is false. The input does not specify how an attacker could trigger the issue or whether access or user interaction is required.
Engineers running Linux kernels with ext4 should check whether their kernel includes commit c8e008b60492; affected version numbers were not provided.