general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077] CPU: 1 PID: 10834 Comm: syz-executor.0 Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nft_set_elem_expr_alloc+0x119/0x1e0 net/netfilter/nf_tables_api.c:4868 Code: c1 e9 03 80 3c 11 00 0f 85 ce 00 00 00 49 8b ac 24 c0 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d 7d 70 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 95 00 00 00 48 8b 55 70 48 85 d2 74 16 48 89 04 RSP: 0018:ffffc9000ab9f2e8 EFLAGS: 00010202 RAX: ffff8880a9edca00 RBX: ffffc9000ab9f490 RCX: 000000000000000e RDX: dffffc0000000000 RSI: 0000000000000008 RDI: 0000000000000070 RBP: 0000000000000000 R08: fffffbfff1853ff9 R09: fffffbfff1853ff9 R10: ffffffff8c29ffc7 R11: fffffbfff1853ff8 R12: ffff8880a12ac800 R13: 0000000000000007 R14: ffff8880b0c5d580 R15: ffffc9000ab9f6f0 FS: 00007f5f64210700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000052c570 CR3: 00000000af9d9000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_tables_newset+0x1322/0x2120 net/netfilter/nf_tables_api.c:4097 nfnetlink_rcv_batch+0x876/0x15e0 net/netfilter/nfnetlink.c:433 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:543 [inline] nfnetlink_rcv+0x2bc/0x340 net/netfilter/nfnetlink.c:561 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] netlink_unicast+0x434/0x630 net/netlink/af_netlink.c:1329 netlink_sendmsg+0x766/0xc10 net/netlink/af_netlink.c:1918 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:672 ____sys_sendmsg+0x57b/0x7a0 net/socket.c:2352 ___sys_sendmsg+0xe4/0x160 net/socket.c:2406 __sys_sendmsg+0xce/0x170 net/socket.c:2439 do_syscall_64+0x98/0x560 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5f64210188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffdbff4a2df R14: 00007f5f64210300 R15: 0000000000022000 Modules linked in: ---[ end trace 3c8fd73d212a95a2 ]--- RIP: 0010:nft_set_elem_expr_alloc+0x119/0x1e0 net/netfilter/nf_tables_api.c:4868 Code: c1 e9 03 80 3c 11 00 0f 85 ce 00 00 00 49 8b ac 24 c0 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 8d 7d 70 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 95 00 00 00 48 8b 55 70 48 85 d2 74 16 48 89 04 RSP: 0018:ffffc9000ab9f2e8 EFLAGS: 00010202 RAX: ffff8880a9edca00 RBX: ffffc9000ab9f490 RCX: 000000000000000e RDX: dffffc0000000000 RSI: 0000000000000008 RDI: 0000000000000070 RBP: 0000000000000000 R08: fffffbfff1853ff9 R09: fffffbfff1853ff9 R10: ffffffff8c29ffc7 R11: fffffbfff1853ff8 R12: ffff8880a12ac800 R13: 0000000000000007 R14: ffff8880b0c5d580 R15: ffffc9000ab9f6f0 FS: 00007f5f64210700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a9a65d0c37 CR3: 00000000af9d9000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400