================================================================================ UBSAN: Undefined behaviour in net/sunrpc/xprt.c:568:22 shift exponent 4294967294 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 31903 Comm: syz-executor.0 Not tainted 4.19.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x22c/0x33e lib/dump_stack.c:118 ubsan_epilogue+0xe/0x3a lib/ubsan.c:161 __ubsan_handle_shift_out_of_bounds.cold+0x1c4/0x250 lib/ubsan.c:422 xprt_reset_majortimeo+0x2f8/0x3b0 net/sunrpc/xprt.c:568 xprt_request_init net/sunrpc/xprt.c:1290 [inline] xprt_do_reserve+0x438/0x530 net/sunrpc/xprt.c:1300 xprt_reserve+0x129/0x1f0 net/sunrpc/xprt.c:1322 __rpc_execute+0x1f7/0xb80 net/sunrpc/sched.c:783 rpc_execute+0x242/0x370 net/sunrpc/sched.c:851 rpc_run_task+0x4e3/0x6a0 net/sunrpc/clnt.c:1064 rpc_call_sync+0xb8/0x190 net/sunrpc/clnt.c:1093 rpc_ping+0xb5/0x110 net/sunrpc/clnt.c:2527 rpc_create_xprt+0x313/0x3c0 net/sunrpc/clnt.c:479 rpc_create+0x31e/0x540 net/sunrpc/clnt.c:587 nfs_create_rpc_client+0x36f/0x440 fs/nfs/client.c:529 nfs_init_client fs/nfs/client.c:640 [inline] nfs_init_client+0x6d/0x100 fs/nfs/client.c:627 nfs_get_client+0xf9f/0x13e0 fs/nfs/client.c:431 nfs_init_server+0x249/0xe10 fs/nfs/client.c:676 nfs_create_server+0x7a/0x4f0 fs/nfs/client.c:960 nfs_try_mount+0x172/0x940 fs/nfs/super.c:1884 nfs_fs_mount+0x171f/0x2e8e fs/nfs/super.c:2701 mount_fs+0xa3/0x318 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x51c/0x2f10 fs/namespace.c:2799 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fca28e6dc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000021740 RCX: 000000000045de59 RDX: 000000002015bffc RSI: 0000000020000240 RDI: 0000000000000000 RBP: 000000000118bf70 R08: 0000000020000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffd7619e7df R14: 00007fca28e6e9c0 R15: 000000000118bf2c ================================================================================ x_tables: duplicate underflow at hook 2 netlink: 'syz-executor.3': attribute type 1 has an invalid length. x_tables: duplicate underflow at hook 2 x_tables: duplicate underflow at hook 2 x_tables: duplicate underflow at hook 2 input: syz0 as /devices/virtual/input/input8 input: syz0 as /devices/virtual/input/input9 ================================================================================ UBSAN: Undefined behaviour in ./include/linux/log2.h:71:13 shift exponent 4294967295 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 32242 Comm: syz-executor.4 Not tainted 4.19.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x22c/0x33e lib/dump_stack.c:118 ubsan_epilogue+0xe/0x3a lib/ubsan.c:161 __ubsan_handle_shift_out_of_bounds.cold+0x1c4/0x250 lib/ubsan.c:422 __rounddown_pow_of_two include/linux/log2.h:71 [inline] snd_pcm_oss_period_size sound/core/oss/pcm_oss.c:711 [inline] snd_pcm_oss_change_params_locked.cold+0x115/0x11a sound/core/oss/pcm_oss.c:943 snd_pcm_oss_change_params sound/core/oss/pcm_oss.c:1102 [inline] snd_pcm_oss_make_ready+0xe6/0x2e0 sound/core/oss/pcm_oss.c:1161 snd_pcm_oss_set_trigger+0x350/0x770 sound/core/oss/pcm_oss.c:2061 snd_pcm_oss_poll+0x662/0xb10 sound/core/oss/pcm_oss.c:2842 vfs_poll include/linux/poll.h:90 [inline] do_pollfd fs/select.c:825 [inline] do_poll fs/select.c:873 [inline] do_sys_poll+0x504/0xde0 fs/select.c:967 __do_sys_poll fs/select.c:1025 [inline] __se_sys_poll fs/select.c:1013 [inline] __x64_sys_poll+0x189/0x440 fs/select.c:1013 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6e2ae66c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000007 RAX: ffffffffffffffda RBX: 0000000000025000 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020000100 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffe1d90edaf R14: 00007f6e2ae679c0 R15: 000000000118bf2c ================================================================================ ================================================================================ UBSAN: Undefined behaviour in ./include/linux/log2.h:61:13 shift exponent 64 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 32242 Comm: syz-executor.4 Not tainted 4.19.150-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x22c/0x33e lib/dump_stack.c:118 ubsan_epilogue+0xe/0x3a lib/ubsan.c:161 __ubsan_handle_shift_out_of_bounds.cold+0x1c4/0x250 lib/ubsan.c:422 __roundup_pow_of_two include/linux/log2.h:61 [inline] snd_pcm_oss_period_size sound/core/oss/pcm_oss.c:747 [inline] snd_pcm_oss_change_params_locked.cold+0x6d/0x11a sound/core/oss/pcm_oss.c:943 snd_pcm_oss_change_params sound/core/oss/pcm_oss.c:1102 [inline] snd_pcm_oss_make_ready+0xe6/0x2e0 sound/core/oss/pcm_oss.c:1161 snd_pcm_oss_set_trigger+0x350/0x770 sound/core/oss/pcm_oss.c:2061 snd_pcm_oss_poll+0x662/0xb10 sound/core/oss/pcm_oss.c:2842 vfs_poll include/linux/poll.h:90 [inline] do_pollfd fs/select.c:825 [inline] do_poll fs/select.c:873 [inline] do_sys_poll+0x504/0xde0 fs/select.c:967 __do_sys_poll fs/select.c:1025 [inline] __se_sys_poll fs/select.c:1013 [inline] __x64_sys_poll+0x189/0x440 fs/select.c:1013 do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45de59 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6e2ae66c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000007 RAX: ffffffffffffffda RBX: 0000000000025000 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000020000100 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffe1d90edaf R14: 00007f6e2ae679c0 R15: 000000000118bf2c ================================================================================ audit: type=1800 audit(1602824183.343:34): pid=32447 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.1" name="bus" dev="sda1" ino=17137 res=0