================================================================================ UBSAN: Undefined behaviour in net/sunrpc/xprt.c:568:22 shift exponent 536871424 is too large for 64-bit type 'long unsigned int' CPU: 1 PID: 11012 Comm: syz-executor.4 Not tainted 4.19.152-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:00007f3b4df71c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000021740 RCX: 000000000045de59 RDX: 0000000020fb5ffc RSI: 0000000020343ff8 RDI: 0000000000000000 RBP: 000000000118bf70 R08: 000000002000a000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffd815f79af R14: 00007f3b4df729c0 R15: 000000000118bf2c ================================================================================ IPVS: ftp: loaded support on port[0] = 21 9pnet: Insufficient options for proto=fd overlayfs: overlapping lowerdir path 9pnet: Insufficient options for proto=fd overlayfs: overlapping lowerdir path audit: type=1400 audit(1603079298.826:60): avc: denied { write } for pid=11051 comm="syz-executor.1" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=socket permissive=1 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 SQUASHFS error: zlib decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x81 SQUASHFS error: Unable to read metadata cache entry [81] SQUASHFS error: Unable to read inode 0x11a SQUASHFS error: zlib decompression failed, data probably corrupt SQUASHFS error: squashfs_read_data failed to read block 0x81 SQUASHFS error: Unable to read metadata cache entry [81] SQUASHFS error: Unable to read inode 0x11a attempt to access beyond end of device loop0: rw=2049, want=64, limit=60 sp0: Synchronizing with TNC attempt to access beyond end of device loop0: rw=2049, want=66, limit=60 Buffer I/O error on dev loop0, logical block 32, lost async page write attempt to access beyond end of device audit: type=1804 audit(1603079300.446:61): pid=11166 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir764086776/syzkaller.GVFROD/53/file1/bus" dev="loop0" ino=7 res=1 loop0: rw=0, want=66, limit=60 Buffer I/O error on dev loop0, logical block 32, async page read attempt to access beyond end of device loop0: rw=2049, want=72, limit=60 sp0: Synchronizing with TNC attempt to access beyond end of device loop0: rw=2049, want=74, limit=60 audit: type=1800 audit(1603079300.446:62): pid=11166 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.0" name="bus" dev="loop0" ino=7 res=0 Buffer I/O error on dev loop0, logical block 36, lost async page write audit: type=1804 audit(1603079300.676:63): pid=11175 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir764086776/syzkaller.GVFROD/53/file1/bus" dev="loop0" ino=7 res=1 audit: type=1800 audit(1603079300.676:64): pid=11175 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.0" name="bus" dev="loop0" ino=7 res=0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. UDF-fs: bad mount option "fowner>00000000000000060928" or missing value netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603079302.176:65): pid=11214 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir185880102/syzkaller.FDswXs/48/bus" dev="sda1" ino=16041 res=1 UDF-fs: bad mount option "fowner>00000000000000060928" or missing value audit: type=1804 audit(1603079302.256:66): pid=11219 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-testdir185880102/syzkaller.FDswXs/48/bus" dev="sda1" ino=16041 res=1 netlink: 36 bytes leftover after parsing attributes in process `syz-executor.0'. audit: type=1804 audit(1603079302.456:67): pid=11202 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir185880102/syzkaller.FDswXs/48/bus" dev="sda1" ino=16041 res=1 audit: type=1804 audit(1603079302.486:68): pid=11202 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-testdir185880102/syzkaller.FDswXs/48/bus" dev="sda1" ino=16041 res=1 audit: type=1800 audit(1603079303.176:69): pid=11076 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.4" name="bus" dev="sda1" ino=16030 res=0 audit: type=1800 audit(1603079303.196:70): pid=11235 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.4" name="bus" dev="sda1" ino=16030 res=0 IPVS: ftp: loaded support on port[0] = 21 (syz-executor.3,11265,0):ocfs2_parse_options:1499 ERROR: Unrecognized mount option "P" or missing value (syz-executor.3,11265,0):ocfs2_fill_super:1225 ERROR: status = -22 IPVS: ftp: loaded support on port[0] = 21 (syz-executor.3,11265,0):ocfs2_parse_options:1499 ERROR: Unrecognized mount option "P" or missing value (syz-executor.3,11265,0):ocfs2_fill_super:1225 ERROR: status = -22 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. EXT4-fs (loop4): unsupported inode size: 0 EXT4-fs (loop4): blocksize: 4096 netlink: 4 bytes leftover after parsing attributes in process `syz-executor.3'. EXT4-fs (loop4): unsupported inode size: 0 EXT4-fs (loop4): blocksize: 4096 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. sd 0:0:1:0: PR command failed: 134217730 sd 0:0:1:0: Sense Key : Illegal Request [current] sd 0:0:1:0: Add. Sense: Invalid command operation code *** Guest State *** CR0: actual=0x0000000000000030, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002040, shadow=0x0000000000000000, gh_mask=ffffffffffffe871 CR3 = 0x0000000000000000 RSP = 0x0000000000000c61 RIP = 0x0000000000000000 RFLAGS=0x00008002 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0xf000, attr=0x0009b, limit=0x0000ffff, base=0x00000000ffff0000 DS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 SS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 ES: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 FS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 GS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 GDTR: limit=0x0000ffff, base=0x0000000000000000 LDTR: sel=0x0000, attr=0x00082, limit=0x0000ffff, base=0x0000000000000000 IDTR: limit=0x0000ffff, base=0x0000000000000000 TR: sel=0x0000, attr=0x0008b, limit=0x0000ffff, base=0x0000000000000000 EFER = 0x0000000000000000 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 Interruptibility = 00000000 ActivityState = 00000000 *** Host State *** RIP = 0xffffffff811ca2ea RSP = 0xffff888041c47878 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007f3b6f1ec700 GSBase=ffff8880ae200000 TRBase=fffffe0000034000 GDTBase=fffffe0000032000 IDTBase=fffffe0000000000 CR0=0000000080050033 CR3=00000000a0287000 CR4=00000000001426f0 Sysenter RSP=fffffe0000034000 CS:RIP=0010:ffffffff87c013e0 EFER = 0x0000000000000d01 PAT = 0x0407050600070106 *** Control State *** PinBased=0000003f CPUBased=b5986dfa SecondaryExec=000000e2 EntryControls=0000d1ff ExitControls=002fefff ExceptionBitmap=00060042 PFECmask=00000000 PFECmatch=00000000 VMEntry: intr_info=00000000 errcode=00000000 ilen=00000000 VMExit: intr_info=00000000 errcode=00000000 ilen=00000003 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffff5838646927 EPT pointer = 0x0000000097d6401e Virtual processor ID = 0x0001 *** Guest State *** CR0: actual=0x0000000000000030, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002040, shadow=0x0000000000000000, gh_mask=ffffffffffffe871 CR3 = 0x0000000000000000 RSP = 0x0000000000000c61 RIP = 0x0000000000000000 RFLAGS=0x00008002 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0xf000, attr=0x0009b, limit=0x0000ffff, base=0x00000000ffff0000 DS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 SS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 ES: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 FS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 GS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 GDTR: limit=0x0000ffff, base=0x0000000000000000 LDTR: sel=0x0000, attr=0x00082, limit=0x0000ffff, base=0x0000000000000000 IDTR: limit=0x0000ffff, base=0x0000000000000000 TR: sel=0x0000, attr=0x0008b, limit=0x0000ffff, base=0x0000000000000000 EFER = 0x0000000000000000 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 Interruptibility = 00000000 ActivityState = 00000000 *** Host State *** RIP = 0xffffffff811ca2ea RSP = 0xffff88803c5e7878 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007f3b6f1cb700 GSBase=ffff8880ae300000 TRBase=fffffe0000034000 GDTBase=fffffe0000032000 IDTBase=fffffe0000000000 CR0=0000000080050033 CR3=00000000a0287000 CR4=00000000001426e0 Sysenter RSP=fffffe0000003000 CS:RIP=0010:ffffffff87c013e0 EFER = 0x0000000000000d01 PAT = 0x0407050600070106 *** Control State *** PinBased=0000003f CPUBased=b5986dfa SecondaryExec=000000e2 EntryControls=0000d1ff ExitControls=002fefff ExceptionBitmap=00060042 PFECmask=00000000 PFECmatch=00000000 VMEntry: intr_info=00000000 errcode=00000000 ilen=00000000 VMExit: intr_info=00000000 errcode=00000000 ilen=00000006 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffff5838646927 EPT pointer = 0x0000000097d6401e Virtual processor ID = 0x0001 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'.