================================================================================ UBSAN: Undefined behaviour in net/netfilter/ipset/ip_set_hash_gen.h:125:6 shift exponent 32 is too large for 32-bit type 'unsigned int' CPU: 1 PID: 11337 Comm: syz-executor.1 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 htable_bits net/netfilter/ipset/ip_set_hash_gen.h:125 [inline] hash_ipportnet_create.cold+0x1a/0x3e net/netfilter/ipset/ip_set_hash_gen.h:1290 ip_set_create+0x714/0x1430 net/netfilter/ipset/ip_set_core.c:940 nfnetlink_rcv_msg+0xeff/0x1210 net/netfilter/nfnetlink.c:233 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455 nfnetlink_rcv+0x1b2/0x41b net/netfilter/nfnetlink.c:565 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x717/0xcc0 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc7/0x130 net/socket.c:632 ___sys_sendmsg+0x7bb/0x8f0 net/socket.c:2115 __sys_sendmsg net/socket.c:2153 [inline] __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160 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:00007f795ac8bc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000029b40 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 000000000118c008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfd4 R13: 00007fffe2b8666f R14: 00007f795ac8c9c0 R15: 000000000118bfd4 ================================================================================ audit: type=1800 audit(1603304369.171:49): pid=11326 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.3" name="file1" dev="sda1" ino=15923 res=0 audit: type=1800 audit(1603304369.171:50): pid=11333 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.3" name="file1" dev="sda1" ino=15923 res=0 audit: type=1800 audit(1603304369.291:51): pid=11336 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed comm="syz-executor.1" name="file1" dev="sda1" ino=15925 res=0 FAT-fs (loop2): Directory bread(block 6) failed kvm: pic: non byte read kvm: pic: non byte read kvm: pic: non byte read kvm: pic: non byte read kvm: pic: non byte read kvm: pic: non byte read kvm: pic: non byte read netlink: 28 bytes leftover after parsing attributes in process `syz-executor.1'. kvm: pic: non byte read kvm: pic: non byte read kvm: pic: non byte read xt_CT: No such helper "snmp_trap" xt_CT: No such helper "snmp_trap" audit: type=1804 audit(1603304370.871:52): pid=11476 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir478793939/syzkaller.xNCRPH/47/bus" dev="sda1" ino=15937 res=1 audit: type=1804 audit(1603304370.921:53): pid=11476 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir478793939/syzkaller.xNCRPH/47/bus" dev="sda1" ino=15937 res=1 audit: type=1804 audit(1603304370.921:54): pid=11476 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir478793939/syzkaller.xNCRPH/47/bus" dev="sda1" ino=15937 res=1 audit: type=1804 audit(1603304370.921:55): pid=11476 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.4" name="/root/syzkaller-testdir478793939/syzkaller.xNCRPH/47/bus" dev="sda1" ino=15937 res=1 REISERFS (device loop4): found reiserfs format "3.6" with standard journal REISERFS (device loop4): using ordered data mode netlink: 'syz-executor.2': attribute type 27 has an invalid length. reiserfs: using flush barriers ptrace attach of "/root/syz-executor.0"[11505] was attempted by "/root/syz-executor.0"[11512] REISERFS (device loop4): journal params: device loop4, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 REISERFS (device loop4): checking transaction log (loop4) ptrace attach of "/root/syz-executor.0"[11522] was attempted by "/root/syz-executor.0"[11524] ptrace attach of "/root/syz-executor.0"[11532] was attempted by "/root/syz-executor.0"[11535] REISERFS (device loop4): Using r5 hash to sort names REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage. ufs: You didn't specify the type of your ufs filesystem mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ... >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old ufs: ufs_fill_super(): bad magic number ufs: You didn't specify the type of your ufs filesystem mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ... >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old ufs: ufs_fill_super(): bad magic number audit: type=1804 audit(1603304374.801:56): pid=11629 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir478793939/syzkaller.xNCRPH/50/bus" dev="sda1" ino=15969 res=1 audit: type=1804 audit(1603304374.941:57): pid=11638 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir478793939/syzkaller.xNCRPH/50/bus" dev="sda1" ino=15969 res=1 audit: type=1804 audit(1603304375.291:58): pid=11653 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir478793939/syzkaller.xNCRPH/51/bus" dev="sda1" ino=15957 res=1 netlink: 'syz-executor.0': attribute type 16 has an invalid length. audit: type=1804 audit(1603304375.761:59): pid=11681 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir556913717/syzkaller.qceSUi/47/bus" dev="sda1" ino=15961 res=1 TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. audit: type=1804 audit(1603304375.961:60): pid=11689 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir556913717/syzkaller.qceSUi/47/bus" dev="sda1" ino=15961 res=1 audit: type=1804 audit(1603304376.401:61): pid=11681 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir556913717/syzkaller.qceSUi/47/bus" dev="sda1" ino=15961 res=1 audit: type=1804 audit(1603304376.431:62): pid=11676 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir556913717/syzkaller.qceSUi/47/bus" dev="sda1" ino=15961 res=1 audit: type=1804 audit(1603304376.781:63): pid=11721 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir556913717/syzkaller.qceSUi/48/bus" dev="sda1" ino=15958 res=1 TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. audit: type=1804 audit(1603304376.951:64): pid=11723 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir556913717/syzkaller.qceSUi/48/bus" dev="sda1" ino=15958 res=1 TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. audit: type=1804 audit(1603304377.031:65): pid=11725 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.1" name="/root/syzkaller-testdir098248817/syzkaller.U2g596/43/bus" dev="sda1" ino=15966 res=1 new mount options do not match the existing superblock, will be ignored new mount options do not match the existing superblock, will be ignored EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue IPVS: ftp: loaded support on port[0] = 21 gfs2: not a GFS2 filesystem mkiss: ax0: crc mode is auto. mkiss: ax0: crc mode is auto. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.3'. TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.3'.