bisecting fixing commit since 32ee7492f104d82b01a44fc4b4ae17d5d2bb237b building syzkaller on 93e5e33559b98e47f3743e6d907ca8444fbba5d4 testing commit 32ee7492f104d82b01a44fc4b4ae17d5d2bb237b with gcc (GCC) 8.1.0 kernel signature: c3ae02a6d53f64279671b8c9954810cf8aebcf2bf26496735fa7813c7adafe58 all runs: crashed: general protection fault in nft_rhash_insert testing current HEAD fdc072324f3c66190a20f57490b4842a391d8233 testing commit fdc072324f3c66190a20f57490b4842a391d8233 with gcc (GCC) 8.1.0 kernel signature: e98b91719fcf962e27d146fd828a71466a9f2df017bf2f537ed2d4a50384932b all runs: crashed: general protection fault in nft_rhash_insert revisions tested: 2, total time: 26m23.61073664s (build: 19m22.471520855s, test: 6m7.208161971s) the crash still happens on HEAD commit msg: Linux 4.19.120 crash: general protection fault in nft_rhash_insert IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7830 Comm: syz-executor.0 Not tainted 4.19.120-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nft_rhash_insert+0x87/0xe60 net/netfilter/nft_set_hash.c:166 Code: 4c 89 b5 60 ff ff ff c7 01 f1 f1 f1 f1 c7 41 04 00 00 00 f2 65 48 8b 0c 25 28 00 00 00 48 89 4d d0 31 c9 48 89 f9 48 c1 e9 03 <80> 3c 01 00 0f 85 96 0b 00 00 48 8b 42 40 49 8d bd c4 18 00 00 49 RSP: 0018:ffff88808fff7038 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffff88808fff7168 RCX: 03fffffffe248e57 RDX: 1ffffffff124727e RSI: ffff88808fff7168 RDI: 1ffffffff12472be RBP: ffff88808fff7120 R08: dffffc0000000000 R09: 0000000000000001 R10: ffffed1011ffee3e R11: ffff88808fff71f7 R12: ffff88808fff70f8 R13: ffff88808fff71c8 R14: 1ffff11011ffee13 R15: ffff88808fff7228 FS: 00007f9f6a9dc700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb2380bf740 CR3: 000000008b81a000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nfnetlink_parse_nat net/netfilter/nf_nat_core.c:847 [inline] nfnetlink_parse_nat_setup+0x1ee/0x340 net/netfilter/nf_nat_core.c:884 ctnetlink_parse_nat_setup+0x7c/0x430 net/netfilter/nf_conntrack_netlink.c:1521 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1596 [inline] ctnetlink_create_conntrack+0x3be/0xfa0 net/netfilter/nf_conntrack_netlink.c:1984 ctnetlink_new_conntrack+0x46c/0xe10 net/netfilter/nf_conntrack_netlink.c:2114 nfnetlink_rcv_msg+0x942/0xc05 net/netfilter/nfnetlink.c:228 netlink_rcv_skb+0x142/0x390 net/netlink/af_netlink.c:2455 nfnetlink_rcv+0x163/0x3b0 net/netfilter/nfnetlink.c:560 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x443/0x650 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x765/0xc40 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xb5/0xf0 net/socket.c:632 ___sys_sendmsg+0x647/0x950 net/socket.c:2115 __sys_sendmsg+0xd9/0x180 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x73/0xb0 net/socket.c:2160 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45b399 Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f9f6a9dbc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f9f6a9dc6d4 RCX: 000000000045b399 RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000942 R14: 00000000004caa57 R15: 000000000075bf2c Modules linked in: ---[ end trace 4e316b0445cbd75a ]--- RIP: 0010:nft_rhash_insert+0x87/0xe60 net/netfilter/nft_set_hash.c:166 Code: 4c 89 b5 60 ff ff ff c7 01 f1 f1 f1 f1 c7 41 04 00 00 00 f2 65 48 8b 0c 25 28 00 00 00 48 89 4d d0 31 c9 48 89 f9 48 c1 e9 03 <80> 3c 01 00 0f 85 96 0b 00 00 48 8b 42 40 49 8d bd c4 18 00 00 49 RSP: 0018:ffff88808fff7038 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: ffff88808fff7168 RCX: 03fffffffe248e57 RDX: 1ffffffff124727e RSI: ffff88808fff7168 RDI: 1ffffffff12472be RBP: ffff88808fff7120 R08: dffffc0000000000 R09: 0000000000000001 R10: ffffed1011ffee3e R11: ffff88808fff71f7 R12: ffff88808fff70f8 R13: ffff88808fff71c8 R14: 1ffff11011ffee13 R15: ffff88808fff7228 FS: 00007f9f6a9dc700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000758080 CR3: 000000008b81a000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400