================================================================================ 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: 8698 Comm: syz-executor.0 Not tainted 4.19.148-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_ipmark_create.cold+0x19/0x27 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 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:0x45e179 Code: 3d b2 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 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ff567dd0c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000029b40 RCX: 000000000045e179 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffcbb4b797f R14: 00007ff567dd19c0 R15: 000000000118cf4c ================================================================================ device wlan1 entered promiscuous mode netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. team0: Device ipvlan1 is VLAN challenged and team device has VLAN set up team0: Device ipvlan1 is VLAN challenged and team device has VLAN set up device wlan1 left promiscuous mode device wlan1 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready netlink: 24 bytes leftover after parsing attributes in process `syz-executor.5'. audit: type=1800 audit(1601262551.422:19): pid=8755 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=15835 res=0 audit: type=1800 audit(1601262551.602:20): pid=8755 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=15814 res=0 team0: Device ipvlan1 is VLAN challenged and team device has VLAN set up netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor.4'. audit: type=1804 audit(1601262552.872:21): pid=8839 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-testdir830038287/syzkaller.4Qf1BA/28/bus" dev="sda1" ino=15853 res=1 team0: Device ipvlan1 is VLAN challenged and team device has VLAN set up audit: type=1804 audit(1601262552.932:22): pid=8842 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-testdir830038287/syzkaller.4Qf1BA/28/bus" dev="sda1" ino=15853 res=1 team0: Device ipvlan1 is VLAN challenged and team device has VLAN set up print_req_error: I/O error, dev loop0, sector 512 team0: Device ipvlan1 is VLAN challenged and team device has VLAN set up netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 28 bytes leftover after parsing attributes in process `syz-executor.0'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.0'. team0: Device ipvlan1 is VLAN challenged and team device has VLAN set up kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9030 Comm: syz-executor.4 Not tainted 4.19.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_del_entry_valid+0x83/0x14a lib/list_debug.c:51 Code: 0f 84 2b 01 00 00 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 fb 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 73 49 8b 14 24 48 39 f2 75 36 49 8d 7d 08 48 b8 00 RSP: 0018:ffff888044147500 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88809e099b40 RCX: ffffffff8158b4fb RDX: 0000000000000000 RSI: ffff88809e099e60 RDI: ffff88809e099e68 RBP: ffff88809dc82a80 R08: 0000000000000001 R09: fffffbfff15cebb8 R10: ffffffff8ae75dc3 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88809e099dc0 R15: ffff88809e099e68 FS: 00007f4958591700(0000) GS:ffff8880ae200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e3bb0 CR3: 00000000957d6000 CR4: 00000000001426f0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: __list_del_entry include/linux/list.h:117 [inline] list_del include/linux/list.h:125 [inline] cbs_destroy+0x81/0x280 net/sched/sch_cbs.c:448 qdisc_create+0xa24/0x1080 net/sched/sch_api.c:1203 tc_modify_qdisc+0x4c0/0x195b net/sched/sch_api.c:1571 rtnetlink_rcv_msg+0x498/0xc10 net/core/rtnetlink.c:4778 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2455 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:0x45e179 Code: 3d b2 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 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4958590c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000002d400 RCX: 000000000045e179 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007fff7cc7d97f R14: 00007f49585919c0 R15: 000000000118cf4c Modules linked in: ---[ end trace a98a22c529d0bf79 ]--- RIP: 0010:__list_del_entry_valid+0x83/0x14a lib/list_debug.c:51 Code: 0f 84 2b 01 00 00 48 b8 00 02 00 00 00 00 ad de 49 39 c4 0f 84 fb 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 73 49 8b 14 24 48 39 f2 75 36 49 8d 7d 08 48 b8 00 RSP: 0018:ffff888044147500 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88809e099b40 RCX: ffffffff8158b4fb RDX: 0000000000000000 RSI: ffff88809e099e60 RDI: ffff88809e099e68 RBP: ffff88809dc82a80 R08: 0000000000000001 R09: fffffbfff15cebb8 R10: ffffffff8ae75dc3 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff88809e099dc0 R15: ffff88809e099e68 FS: 00007f4958591700(0000) GS:ffff8880ae200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e3bb0 CR3: 00000000957d6000 CR4: 00000000001426f0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600