Skip to content
Commit f74999d4 authored by lei lu's avatar lei lu Committed by Zhao Wenhui
Browse files

jfs: don't walk off the end of ealist

stable inclusion
from stable-v4.19.319
commit 7f91bd0f2941fa36449ce1a15faaa64f840d9746
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAG918
CVE: CVE-2024-41017

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7f91bd0f2941fa36449ce1a15faaa64f840d9746



--------------------------------

commit d0fa70aca54c8643248e89061da23752506ec0d4 upstream.

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

Signed-off-by: default avatarlei lu <llfamsec@gmail.com>
Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZhao Wenhui <zhaowenhui8@huawei.com>
parent 6b2f1fc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment