+1
−0
+33
−10
Loading
mainline inclusion from mainline-v5.8-rc1 commit 73c384c0 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAYR9L CVE: CVE-2024-49884 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=73c384c0cdaa8ea9ca9ef2d0cff6a25930f1648e -------------------------------- We can't fail in the truncate path without requiring an fsck. Add work around for this by using a combination of retry loops and the __GFP_NOFAIL flag. From: Theodore Ts'o <tytso@mit.edu> Signed-off-by:Theodore Ts'o <tytso@mit.edu> Signed-off-by:
Anna Pendleton <pendleton@google.com> Reviewed-by:
Harshad Shirwadkar <harshadshirwadkar@gmail.com> Link: https://lore.kernel.org/r/20200507175028.15061-1-pendleton@google.com Signed-off-by:
Theodore Ts'o <tytso@mit.edu> Conflicts: fs/ext4/extents.c [Context differences because there is no commit dd6683e6 ("ext4: remove ext4_{ind,ext}_calc_metadata_amount()") and commit 9c6e0719 ("ext4: check for inconsistent extents between index and leaf block").] Signed-off-by:
Baokun Li <libaokun1@huawei.com>