https://github.com/torvalds/linux
Revision 2f80d502d627f30257ba7e3655e71c373b7d1a5a authored by Paolo Bonzini on 22 December 2020, 10:20:43 UTC, committed by Paolo Bonzini on 07 January 2021, 23:07:32 UTC
Since we know that e >= s, we can reassociate the left shift,
changing the shifted number from 1 to 2 in exchange for
decreasing the right hand side by 1.

Reported-by: syzbot+e87846c48bf72bc85311@syzkaller.appspotmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent b268b6f
History
Tip revision: 2f80d502d627f30257ba7e3655e71c373b7d1a5a authored by Paolo Bonzini on 22 December 2020, 10:20:43 UTC
KVM: x86: fix shift out of bounds reported by UBSAN
Tip revision: 2f80d50
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 16.3 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 17.8 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 98.1 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 563.2 KB
Makefile -rw-r--r-- 62.9 KB
README -rw-r--r-- 727 bytes

README

back to top