================================================================================ 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: 22939 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 Bad inode number on dev loop0: 1 is out of range htable_bits net/netfilter/ipset/ip_set_hash_gen.h:125 [inline] hash_net_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:00007f67c9fcbc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000029b40 RCX: 000000000045de59 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffe07b5f2ef R14: 00007f67c9fcc9c0 R15: 000000000118bf2c ================================================================================ team0: Device ipvlan1 failed to register rx_handler team0: Device ipvlan1 failed to register rx_handler netlink: 6 bytes leftover after parsing attributes in process `syz-executor.5'. net_ratelimit: 3 callbacks suppressed A link change request failed with some changes committed already. Interface caif0 may have been left with an inconsistent configuration, please check. team0: Device ipvlan1 failed to register rx_handler netlink: 6 bytes leftover after parsing attributes in process `syz-executor.5'. A link change request failed with some changes committed already. Interface caif0 may have been left with an inconsistent configuration, please check. skbuff: skb_over_panic: text:000000004702a47c len:232 put:72 head:000000004c55e751 data:000000004c55e751 tail:0xe8 end:0xc0 dev: ------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:104! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 23055 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 RIP: 0010:skb_panic+0x158/0x1e0 net/core/skbuff.c:104 Code: 01 84 c0 74 04 3c 03 7e 33 8b 8b 80 00 00 00 41 56 45 89 e8 48 c7 c7 a0 60 b0 89 41 57 56 48 89 ee 52 4c 89 e2 e8 c7 a6 83 fa <0f> 0b 48 c7 c7 c0 ef 50 8c 48 83 c4 20 e8 96 1b e5 fc 4c 89 4c 24 RSP: 0018:ffff888056246fb0 EFLAGS: 00010286 RAX: 0000000000000086 RBX: ffff88806165da00 RCX: 0000000000000000 RDX: 0000000000034572 RSI: ffffffff8155c57f RDI: ffffed100ac48de8 RBP: ffffffff89b06ba0 R08: 0000000000000086 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff878fc5ad R13: 0000000000000048 R14: ffffffff89b06060 R15: 00000000000000c0 FS: 00007f16ed170700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f618b27f6f3 CR3: 00000000624fe000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_over_panic net/core/skbuff.c:109 [inline] skb_put+0x183/0x1c0 net/core/skbuff.c:1702 skb_put_zero include/linux/skbuff.h:2113 [inline] dump_ah_combs net/key/af_key.c:2968 [inline] pfkey_send_acquire+0x1cfd/0x2540 net/key/af_key.c:3231 km_query+0xe2/0x240 net/xfrm/xfrm_state.c:2022 xfrm_state_find+0x1c6b/0x2ca0 net/xfrm/xfrm_state.c:1043 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:1410 [inline] xfrm_tmpl_resolve+0x2f3/0xc50 net/xfrm/xfrm_policy.c:1455 xfrm_resolve_and_create_bundle+0xd8/0x3e0 net/xfrm/xfrm_policy.c:1753 xfrm_lookup_with_ifid+0x241/0x1f60 net/xfrm/xfrm_policy.c:2076 xfrm_lookup net/xfrm/xfrm_policy.c:2200 [inline] xfrm_lookup_route+0x36/0x200 net/xfrm/xfrm_policy.c:2211 ip_route_output_flow+0xa6/0xc0 net/ipv4/route.c:2638 udp_sendmsg+0x19fc/0x2590 net/ipv4/udp.c:1101 inet_sendmsg+0x174/0x640 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc7/0x130 net/socket.c:632 ___sys_sendmsg+0x3b3/0x8f0 net/socket.c:2115 __sys_sendmmsg+0x195/0x470 net/socket.c:2210 netlink: 6 bytes leftover after parsing attributes in process `syz-executor.5'. chnl_net:chnl_net_open(): err: Unable to register and open device, Err:-19 __do_sys_sendmmsg net/socket.c:2239 [inline] __se_sys_sendmmsg net/socket.c:2236 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2236 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:00007f16ed16fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 caif:caif_disconnect_client(): nothing to disconnect RAX: ffffffffffffffda RBX: 0000000000027f00 RCX: 000000000045de59 RDX: 000000000800001d RSI: 0000000020007fc0 RDI: 0000000000000003 RBP: 000000000118c010 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfd4 R13: 00007ffde3cb59cf R14: 00007f16ed1709c0 R15: 000000000118bfd4 Modules linked in: ---[ end trace ee8d89aa9af6ca78 ]--- RIP: 0010:skb_panic+0x158/0x1e0 net/core/skbuff.c:104 Code: 01 84 c0 74 04 3c 03 7e 33 8b 8b 80 00 00 00 41 56 45 89 e8 48 c7 c7 a0 60 b0 89 41 57 56 48 89 ee 52 4c 89 e2 e8 c7 a6 83 fa <0f> 0b 48 c7 c7 c0 ef 50 8c 48 83 c4 20 e8 96 1b e5 fc 4c 89 4c 24 RSP: 0018:ffff888056246fb0 EFLAGS: 00010286 RAX: 0000000000000086 RBX: ffff88806165da00 RCX: 0000000000000000 RDX: 0000000000034572 RSI: ffffffff8155c57f RDI: ffffed100ac48de8 RBP: ffffffff89b06ba0 R08: 0000000000000086 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff878fc5ad R13: 0000000000000048 R14: ffffffff89b06060 R15: 00000000000000c0 FS: 00007f16ed170700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe879c7f00 CR3: 00000000624fe000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400