================================================================================ 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: 16428 Comm: syz-executor.5 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/0x1f net/netfilter/ipset/ip_set_hash_gen.h:1290 ip_set_create+0x70e/0x1380 net/netfilter/ipset/ip_set_core.c:940 nfnetlink_rcv_msg+0xeff/0x1210 net/netfilter/nfnetlink.c:233 audit: type=1804 audit(1603235069.480:64): pid=16425 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-testdir135884379/syzkaller.wOwk94/81/bus" dev="sda1" ino=16542 res=1 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 TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. __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:00007f12c20fec78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000029b40 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 audit: type=1804 audit(1603235069.510:65): pid=16433 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-testdir135884379/syzkaller.wOwk94/81/bus" dev="sda1" ino=16542 res=1 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007fff5fbbd2bf R14: 00007f12c20ff9c0 R15: 000000000118bf2c ================================================================================ Process accounting resumed mmap: syz-executor.2 (16454): VmData 37519360 exceed data ulimit 9. Update limits or use boot option ignore_rlimit_data. Process accounting resumed audit: type=1804 audit(1603235069.520:66): pid=16433 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-testdir135884379/syzkaller.wOwk94/81/bus" dev="sda1" ino=16542 res=1 tmpfs: Bad value 'bind:4:' for mount option 'mpol' netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 20 bytes leftover after parsing attributes in process `syz-executor.3'. tmpfs: Bad value 'bind:4:' for mount option 'mpol' netlink: 40 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 40 bytes leftover after parsing attributes in process `syz-executor.2'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.3'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=12 sclass=netlink_route_socket pid=16685 comm=syz-executor.3 audit: type=1400 audit(1603235071.700:67): avc: denied { ioctl } for pid=16680 comm="syz-executor.3" path="socket:[56459]" dev="sockfs" ino=56459 ioctlcmd=0x8933 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=dccp_socket permissive=1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=12 sclass=netlink_route_socket pid=16698 comm=syz-executor.3 audit: type=1804 audit(1603235071.930:68): pid=16619 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-testdir135884379/syzkaller.wOwk94/84/bus" dev="sda1" ino=16518 res=1 audit: type=1804 audit(1603235071.970:69): pid=16718 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-testdir135884379/syzkaller.wOwk94/84/bus" dev="sda1" ino=16518 res=1 VFS: Can't find a Minix filesystem V1 | V2 | V3 on device loop3. netlink: 'syz-executor.0': attribute type 7 has an invalid length. netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'. EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue hfsplus: creator requires a 4 character value hfsplus: unable to parse mount options FAT-fs (loop2): Directory bread(block 6) failed audit: type=1800 audit(1603235073.501:70): pid=16869 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=16582 res=0 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.5'. FAT-fs (loop2): Directory bread(block 6) failed FAT-fs (loop2): Directory bread(block 6) failed netlink: 8 bytes leftover after parsing attributes in process `syz-executor.5'. audit: type=1804 audit(1603235073.511:71): pid=16877 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-testdir245744686/syzkaller.uQctbP/301/file0" dev="sda1" ino=16582 res=1 PKCS7: Unknown OID: [5] (bad) PKCS7: Only support pkcs7_signedData type SELinux: unrecognized netlink message: protocol=4 nlmsg_type=2579 sclass=netlink_tcpdiag_socket pid=16953 comm=syz-executor.2 XFS (loop3): Invalid superblock magic number audit: type=1800 audit(1603235074.421:72): pid=16972 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="syz-executor.0" name="file0" dev="sda1" ino=16570 res=0 XFS (loop3): Invalid superblock magic number audit: type=1400 audit(1603235074.501:73): avc: denied { sys_nice } for pid=16990 comm="syz-executor.4" capability=23 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=cap_userns permissive=1 EXT4-fs (loop4): VFS: Found ext4 filesystem with unknown checksum algorithm. FAT-fs (loop5): Directory bread(block 6) failed EXT4-fs (loop4): VFS: Found ext4 filesystem with unknown checksum algorithm. FAT-fs (loop5): Directory bread(block 135) failed FAT-fs (loop5): Directory bread(block 136) failed FAT-fs (loop5): Directory bread(block 137) failed SELinux: unrecognized netlink message: protocol=4 nlmsg_type=2579 sclass=netlink_tcpdiag_socket pid=16953 comm=syz-executor.2 FAT-fs (loop5): Directory bread(block 138) failed FAT-fs (loop5): Directory bread(block 139) failed FAT-fs (loop5): Directory bread(block 140) failed FAT-fs (loop5): Directory bread(block 141) failed FAT-fs (loop5): Directory bread(block 142) failed FAT-fs (loop5): Directory bread(block 143) failed FAT-fs (loop5): error, corrupted directory (invalid entries) FAT-fs (loop5): Filesystem has been set read-only BTRFS: device fsid 569f0dc9-a0d3-42fc-a5fc-8a7bcbc8949c devid 1 transid 7 /dev/loop3 BTRFS error (device loop3): unsupported checksum algorithm 3 BTRFS error (device loop3): superblock checksum mismatch BTRFS error (device loop3): open_ctree failed REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 REISERFS warning (device loop4): sh-2021 reiserfs_fill_super: can not find reiserfs on loop4 kauditd_printk_skb: 1 callbacks suppressed audit: type=1804 audit(1603235075.691:75): pid=17151 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-testdir135884379/syzkaller.wOwk94/93/file0" dev="sda1" ino=16593 res=1 squashfs: SQUASHFS error: Can't find a SQUASHFS superblock on loop2 audit: type=1804 audit(1603235076.131:76): pid=17183 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-testdir245744686/syzkaller.uQctbP/306/cgroup.controllers" dev="sda1" ino=16601 res=1 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. 8021q: adding VLAN 0 to HW filter on device macvlan2 audit: type=1804 audit(1603235076.551:77): pid=17144 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-testdir135884379/syzkaller.wOwk94/93/file0" dev="sda1" ino=16593 res=1 audit: type=1804 audit(1603235076.581:78): pid=17207 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-testdir135884379/syzkaller.wOwk94/93/file0" dev="sda1" ino=16593 res=1 netlink: 8 bytes leftover after parsing attributes in process `syz-executor.2'. 8021q: adding VLAN 0 to HW filter on device macvlan2 EXT4-fs (loop4): Test dummy encryption mount option ignored EXT4-fs (loop4): mounted filesystem without journal. Opts: test_dummy_encryption,,errors=continue overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. overlayfs: filesystem on './file0' not supported as upperdir overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(3) vhci_hcd vhci_hcd.0: devid(0) speed(3) speed_str(high-speed) vhci_hcd: connection closed vhci_hcd: stop threads vhci_hcd: release socket vhci_hcd: disconnect device netlink: 'syz-executor.4': attribute type 1 has an invalid length. netlink: 'syz-executor.4': attribute type 1 has an invalid length. IPVS: ftp: loaded support on port[0] = 21