“7f261b5f0dccd53ed3a9a95b55c36e24a698a92a”上不存在“arch/m32r/include/asm/signal.h”
dm raid: fix address sanitizer warning in raid_resume
stable inclusion from stable-v5.10.137 commit c2d47bef93fb74aa97d90f9a40ca657b8f376083 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c2d47bef93fb74aa97d90f9a40ca657b8f376083 -------------------------------- commit 7dad24db upstream. There is a KASAN warning in raid_resume when running the lvm test lvconvert-raid.sh. The reason for the warning is that mddev->raid_disks is greater than rs->raid_disks, so the loop touches one entry beyond the allocated length. Cc: stable@vger.kernel.org Signed-off-by: NMikulas Patocka <mpatocka@redhat.com> Signed-off-by: NMike Snitzer <snitzer@kernel.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Reviewed-by: NWei Li <liwei391@huawei.com>
Showing
想要评论请 注册 或 登录