================================================================================ UBSAN: Undefined behaviour in net/sunrpc/xprt.c:568:22 shift exponent 536870912 is too large for 64-bit type 'long unsigned int' CPU: 0 PID: 13005 Comm: syz-executor.2 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:00007ff7c6536c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000021740 RCX: 000000000045de59 RDX: 0000000020fb5ffc RSI: 0000000020000140 RDI: 0000000000000000 RBP: 000000000118bf70 R08: 000000002000a000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffca0e6524f R14: 00007ff7c65379c0 R15: 000000000118bf2c ================================================================================ FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=0000000049626213 [p=00000000b5305eb9 fl=222 nc=0 na=1] FS-Cache: O-cookie d=000000001625162b n=00000000fd77ef4e FS-Cache: O-key=[16] '02000000000000000200008005000000' FS-Cache: N-cookie c=000000002a81de1d [p=00000000b5305eb9 fl=2 nc=0 na=1] FS-Cache: N-cookie d=000000001625162b n=00000000e794559a FS-Cache: N-key=[16] '02000000000000000200008005000000' EXT4-fs (loop0): Unrecognized mount option "psjqu oW" or missing value netlink: 6 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 6 bytes leftover after parsing attributes in process `syz-executor.0'. FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=00000000de05d875 [p=00000000b5305eb9 fl=222 nc=0 na=1] FS-Cache: O-cookie d=000000001625162b n=0000000075dbba4e FS-Cache: O-key=[16] '0200000000000000020000807f000008' FS-Cache: N-cookie c=00000000d0ca2349 [p=00000000b5305eb9 fl=2 nc=0 na=1] FS-Cache: N-cookie d=000000001625162b n=000000004eb1b6a7 FS-Cache: N-key=[16] '0200000000000000020000807f000008' FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 0 PID: 13327 Comm: syz-executor.3 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 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0x2f lib/fault-inject.c:149 __should_failslab+0x153/0x1b6 mm/failslab.c:32 should_failslab+0x5/0xf mm/slab_common.c:1588 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc_track_caller+0x2d8/0x4e0 mm/slab.c:3742 memdup_user+0x22/0xb0 mm/util.c:160 strndup_user+0x70/0x120 mm/util.c:217 copy_mount_string fs/namespace.c:2703 [inline] ksys_mount+0x34/0x130 fs/namespace.c:3000 __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:00007f5344f2bc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000021740 RCX: 000000000045de59 RDX: 0000000020fb5ffc RSI: 0000000020000140 RDI: 0000000000000000 RBP: 00007f5344f2bca0 R08: 000000002000a000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff68a0c2cf R14: 00007f5344f2c9c0 R15: 000000000118bf2c Cannot find add_set index 0 as target Cannot find add_set index 0 as target FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=000000000c610432 [p=00000000b5305eb9 fl=222 nc=0 na=1] FS-Cache: O-cookie d= (null) n= (null) FS-Cache: O-key=[16] '0200000000000000020000807f000008' FS-Cache: N-cookie c=00000000e62cd66b [p=00000000b5305eb9 fl=2 nc=0 na=1] FS-Cache: N-cookie d=000000001625162b n=00000000c0c832ef FS-Cache: N-key=[16] '0200000000000000020000807f000008' FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=000000000c610432 [p=00000000b5305eb9 fl=212 nc=0 na=0] FS-Cache: O-cookie d= (null) n= (null) FS-Cache: O-key=[16] '0200000000000000020000807f000008' FS-Cache: N-cookie c=0000000072e50b4f [p=00000000b5305eb9 fl=2 nc=0 na=1] FS-Cache: N-cookie d=000000001625162b n=00000000655e4c36 FS-Cache: N-key=[16] '0200000000000000020000807f000008' FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=000000000c610432 [p=00000000b5305eb9 fl=212 nc=0 na=0] FS-Cache: O-cookie d= (null) n= (null) FS-Cache: O-key=[16] '0200000000000000020000807f000008' FS-Cache: N-cookie c=00000000408fe0e1 [p=00000000b5305eb9 fl=2 nc=0 na=1] FS-Cache: N-cookie d=000000001625162b n=00000000fa34bd06 FS-Cache: N-key=[16] '0200000000000000020000807f000008' netlink: 32 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 32 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1602871649.999:37): pid=13504 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.5" name="/root/syzkaller-testdir585852121/syzkaller.KP635j/276/bus" dev="sda1" ino=16481 res=1 device wlan1 entered promiscuous mode device wlan1 left promiscuous mode netlink: 40 bytes leftover after parsing attributes in process `syz-executor.1'. device wlan1 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready netlink: 40 bytes leftover after parsing attributes in process `syz-executor.1'. FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=00000000a79a95cb [p=00000000b5305eb9 fl=222 nc=0 na=1] FS-Cache: O-cookie d=000000001625162b n=000000008ca8ded4 FS-Cache: O-key=[16] '0200000000000000020000807f000008' FS-Cache: N-cookie c=00000000521c5104 [p=00000000b5305eb9 fl=2 nc=0 na=1] FS-Cache: N-cookie d=000000001625162b n=000000006fa1ce2d FS-Cache: N-key=[16] '0200000000000000020000807f000008' FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=00000000a79a95cb [p=00000000b5305eb9 fl=222 nc=0 na=1] FS-Cache: O-cookie d=000000001625162b n=000000008ca8ded4 FS-Cache: O-key=[16] '0200000000000000020000807f000008' FS-Cache: N-cookie c=0000000010c59d7a [p=00000000b5305eb9 fl=2 nc=0 na=1] FS-Cache: N-cookie d=000000001625162b n=000000002f9ec14c FS-Cache: N-key=[16] '0200000000000000020000807f000008' FS-Cache: Duplicate cookie detected FS-Cache: O-cookie c=00000000abfcf074 [p=00000000b5305eb9 fl=222 nc=0 na=1] FS-Cache: O-cookie d=000000001625162b n=00000000ccd40111 FS-Cache: O-key=[16] '0200000000000000020000807f000008' FS-Cache: N-cookie c=000000000ad9a010 [p=00000000b5305eb9 fl=2 nc=0 na=1] FS-Cache: N-cookie d=000000001625162b n=00000000e7389df5 FS-Cache: N-key=[16] '0200000000000000020000807f000008'