Loading
parisc/unaligned: Fix emulate_ldw() breakage
mainline inclusion from mainline-v5.19-rc5 commit 96b80fcd category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9E2GP CVE: CVE-2024-26706 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=96b80fcd2705fc50ebe1f7f3ce204e861b3099ab -------------------------------- The commit e8aa7b17 broke the 32-bit load-word unalignment exception handler because it calculated the wrong amount of bits by which the value should be shifted. This patch fixes it. Signed-off-by:Helge Deller <deller@gmx.de> Fixes: e8aa7b17 ("parisc/unaligned: Rewrite inline assembly of emulate_ldw()") Cc: stable@vger.kernel.org # v5.18 Signed-off-by:
Cheng Yu <serein.chengyu@huawei.com> (cherry picked from commit 44f7674b)