]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
jfs: don't walk off the end of ealist
authorlei lu <llfamsec@gmail.com>
Tue, 28 May 2024 18:30:40 +0000 (02:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Jul 2024 08:33:44 +0000 (10:33 +0200)
commit7f91bd0f2941fa36449ce1a15faaa64f840d9746
tree3f716aa283fc2c73705a894d32bb98005c24a77d
parent13d38c00df97289e6fba2e54193959293fd910d2
jfs: don't walk off the end of ealist

commit d0fa70aca54c8643248e89061da23752506ec0d4 upstream.

Add a check before visiting the members of ea to
make sure each ea stays within the ealist.

Signed-off-by: lei lu <llfamsec@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/jfs/xattr.c