linux/fs/ext4
Yang Erkun d250bdf531 ext4: fix iloc.bh leak in ext4_xattr_inode_update_ref
The error branch for ext4_xattr_inode_update_ref forget to release the
refcount for iloc.bh. Find this when review code.

Fixes: 57295e8354 ("ext4: guard against EA inode refcount underflow in xattr update")
Signed-off-by: Yang Erkun <yangerkun@huawei.com>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20251213055706.3417529-1-yangerkun@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
2026-01-18 11:23:10 -05:00
..
.kunitconfig
Kconfig ext4: remove obsolete EXT3 config options 2025-09-25 14:47:05 -04:00
Makefile
acl.c
acl.h
balloc.c fs/ext4: fix typo in comment 2025-11-26 17:13:34 -05:00
bitmap.c
block_validity.c
crypto.c ext4: move crypt info pointer to fs-specific part of inode 2025-08-21 13:58:07 +02:00
dir.c ext4: support large block size in ext4_readdir() 2025-11-28 22:35:26 -05:00
ext4.h ext4: add checks for large folio incompatibilities when BS > PS 2025-11-28 22:35:28 -05:00
ext4_extents.h
ext4_jbd2.c ext4: make data=journal support large block size 2025-11-28 22:35:28 -05:00
ext4_jbd2.h
extents.c ext4: add EXT4_LBLK_TO_B macro for logical block to bytes conversion 2025-11-28 22:35:27 -05:00
extents_status.c ext4: make ext4_es_lookup_extent() pass out the extent seq counter 2025-11-06 10:44:39 -05:00
extents_status.h ext4: make ext4_es_lookup_extent() pass out the extent seq counter 2025-11-06 10:44:39 -05:00
fast_commit.c ext4: increase IO priority of fastcommit 2025-09-25 14:56:31 -04:00
fast_commit.h
file.c ext4: fix checks for orphan inodes 2025-09-26 08:36:08 -04:00
fsmap.c ext4: correctly handle queries for metadata mappings 2025-09-25 23:04:48 -04:00
fsmap.h
fsync.c
hash.c ext4: make error code in __ext4fs_dirhash() consistent. 2025-11-06 10:32:33 -05:00
ialloc.c ext4: clear i_state_flags when alloc inode 2025-11-26 17:06:09 -05:00
indirect.c ext4: add ext4_sb_bread_nofail() helper function for ext4_free_branches() 2025-09-25 14:36:54 -04:00
inline.c ext4: add i_data_sem protection in ext4_destroy_inline_data_nolock() 2025-11-26 17:06:24 -05:00
inode-test.c
inode.c New features and improvements for the ext4 file system 2025-12-03 20:37:15 -08:00
ioctl.c ext4: check if mount_opts is NUL-terminated in ext4_ioctl_set_tune_sb() 2025-11-26 17:05:39 -05:00
mballoc-test.c
mballoc.c ext4: rename 'page' references to 'folio' in multi-block allocator 2025-11-28 22:35:27 -05:00
mballoc.h
migrate.c
mmp.c ext4: use super write guard in write_mmp_block() 2025-11-05 22:52:15 +01:00
move_extent.c ext4: add missing down_write_data_sem in mext_move_extent(). 2026-01-18 11:23:10 -05:00
namei.c ext4: add EXT4_LBLK_TO_B macro for logical block to bytes conversion 2025-11-28 22:35:27 -05:00
orphan.c New features and improvements for the ext4 file system 2025-12-03 20:37:15 -08:00
page-io.c ext4: remove redundant __GFP_NOWARN 2025-08-12 23:15:05 -04:00
readpage.c ext4: support large block size in ext4_mpage_readpages() 2025-11-28 22:35:27 -05:00
resize.c
super.c ext4: enable block size larger than page size 2025-11-28 22:35:28 -05:00
symlink.c
sysfs.c ext4: enable block size larger than page size 2025-11-28 22:35:28 -05:00
truncate.h
verity.c ext4: add EXT4_LBLK_TO_B macro for logical block to bytes conversion 2025-11-28 22:35:27 -05:00
xattr.c ext4: fix iloc.bh leak in ext4_xattr_inode_update_ref 2026-01-18 11:23:10 -05:00
xattr.h
xattr_hurd.c
xattr_security.c
xattr_trusted.c
xattr_user.c