Re: [PATCH] net: sunrpc: xprt.c: fix shift-out-of-bounds in xprt_calc_majortimeo

2021-04-19 Thread Trond Myklebust
On Mon, 2021-04-19 at 16:36 +, Kurt Manucredo wrote: > Fix shift-out-of-bounds in xprt_calc_majortimeo(). > > UBSAN: shift-out-of-bounds in net/sunrpc/xprt.c:658:14 > shift exponent 536871232 is too large for 64-bit type 'long u > > Reported-by:

[PATCH] net: sunrpc: xprt.c: fix shift-out-of-bounds in xprt_calc_majortimeo

2021-04-19 Thread Kurt Manucredo
Fix shift-out-of-bounds in xprt_calc_majortimeo(). UBSAN: shift-out-of-bounds in net/sunrpc/xprt.c:658:14 shift exponent 536871232 is too large for 64-bit type 'long u Reported-by: syzbot+ba2e91df8f7480941...@syzkaller.appspotmail.com Signed-off-by: Kurt Manucredo --- net/sunrpc/xprt.c | 5