Home
last modified time | relevance | path

Searched hist:"2 f80d502d627f30257ba7e3655e71c373b7d1a5a" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/x86/kvm/
H A Dmmu.hdiff 2f80d502d627f30257ba7e3655e71c373b7d1a5a Tue Dec 22 11:20:43 CET 2020 Paolo Bonzini <pbonzini@redhat.com> KVM: x86: fix shift out of bounds reported by UBSAN

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>