linux-yocto/fs/ext4
Jan Kara c6d254748b ext4: free orphan info with kvfree
commit 971843c511 upstream.

Orphan info is now getting allocated with kvmalloc_array(). Free it with
kvfree() instead of kfree() to avoid complaints from mm.

Reported-by: Chris Mason <clm@meta.com>
Fixes: 0a6ce20c15 ("ext4: verify orphan file size is not too big")
Cc: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Message-ID: <20251007134936.7291-2-jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-19 16:37:42 +02:00
..
.kunitconfig
acl.c
acl.h
balloc.c ext4: convert sbi->s_mb_free_pending to atomic_t 2025-07-25 09:14:17 -04:00
bitmap.c ext4: remove sbi argument from ext4_chksum() 2025-05-20 10:31:12 -04:00
block_validity.c ext4: make block validity check resistent to sb bh corruption 2025-04-12 22:01:37 -04:00
crypto.c
dir.c ext4: fix OOB read when checking dotdot dir 2025-03-21 01:33:11 -04:00
ext4_extents.h ext4: remove unused EXT_STATS macro from ext4_extents.h 2025-07-12 19:01:38 -04:00
ext4_jbd2.c ext4: enable large folio for regular file 2025-05-20 10:31:12 -04:00
ext4_jbd2.h ext4/jbd2: convert jbd2_journal_blocks_per_page() to support large folio 2025-05-20 10:31:12 -04:00
ext4.h ext4: add ext4_sb_bread_nofail() helper function for ext4_free_branches() 2025-10-19 16:37:40 +02:00
extents_status.c ext4: clairfy the rules for modifying extents 2025-05-15 13:14:56 -04:00
extents_status.h
extents.c Major ext4 changes for 6.17: 2025-07-31 10:02:44 -07:00
fast_commit.c ext4: remove sbi argument from ext4_chksum() 2025-05-20 10:31:12 -04:00
fast_commit.h
file.c ext4: fix checks for orphan inodes 2025-10-15 12:04:20 +02:00
fsmap.c ext4: correctly handle queries for metadata mappings 2025-10-19 16:37:41 +02:00
fsmap.h
fsync.c ext4: add ext4_emergency_state() helper function 2025-03-13 10:16:34 -04:00
hash.c ext4: hash: simplify kzalloc(n * 1, ...) to kzalloc(n, ...) 2025-03-21 01:10:10 -04:00
ialloc.c ext4: limit the maximum folio order 2025-07-14 23:48:15 -04:00
indirect.c ext4: add ext4_sb_bread_nofail() helper function for ext4_free_branches() 2025-10-19 16:37:40 +02:00
inline.c ext4: do not BUG when INLINE_DATA_FL lacks system.data xattr 2025-07-25 09:14:17 -04:00
inode-test.c
inode.c ext4: increase i_disksize to offset + len in ext4_update_disksize_before_punch() 2025-10-19 16:37:41 +02:00
ioctl.c tree-wide: s/struct fileattr/struct file_kattr/g 2025-07-04 16:14:39 +02:00
Kconfig
Makefile
mballoc-test.c ext4: convert free groups order lists to xarrays 2025-07-25 09:14:17 -04:00
mballoc.c ext4: fix potential null deref in ext4_mb_init() 2025-10-15 12:04:20 +02:00
mballoc.h ext4: refactor choose group to scan group 2025-07-25 09:14:17 -04:00
migrate.c
mmp.c ext4: remove sbi argument from ext4_chksum() 2025-05-20 10:31:12 -04:00
move_extent.c ext4: fix an off-by-one issue during moving extents 2025-10-19 16:37:41 +02:00
namei.c ext4: fix unused variable warning in ext4_init_new_dir 2025-08-12 23:15:05 -04:00
orphan.c ext4: free orphan info with kvfree 2025-10-19 16:37:42 +02:00
page-io.c ext4: remove redundant __GFP_NOWARN 2025-08-12 23:15:05 -04:00
readpage.c ext4: make ext4_mpage_readpages() support large folios 2025-05-20 10:31:11 -04:00
resize.c ext4: remove sb argument from ext4_superblock_csum() 2025-05-20 10:31:12 -04:00
super.c ext4: avoid potential buffer over-read in parse_apply_sb_mount_options() 2025-10-19 16:37:41 +02:00
symlink.c
sysfs.c ext4: Make sb update interval tunable 2025-03-21 01:12:33 -04:00
truncate.h
verity.c
xattr_hurd.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c ext4: validate ea_ino and size in check_xattrs 2025-10-19 16:37:41 +02:00
xattr.h ext4: fix out-of-bound read in ext4_xattr_inode_dec_ref_all() 2025-03-18 00:15:19 -04:00