
hulk inclusion category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IA6SH1 CVE: CVE-2024-38598 ---------------------------------------- This reverts commit fd9876bb0ad928b3b92321aaf792d5c6ce13c1e7. Revert hulk inclusion. Backport 5.10-lts version. Signed-off-by: Li Nan <linan122@huawei.com> --- drivers/md/md-bitmap.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/md/md-bitmap.c b/drivers/md/md-bitmap.c index 8649c7b5f2b8..0b006e777368 100644 --- a/drivers/md/md-bitmap.c +++ b/drivers/md/md-bitmap.c @@ -1408,9 +1408,6 @@ __acquires(bitmap->lock) sector_t csize; int err; - if (page >= bitmap->pages) - return NULL; - err = md_bitmap_checkpage(bitmap, page, create, 0); if (bitmap->bp[page].hijacked || -- 2.39.2