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: 8425 Comm: syz-executor602 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nft_set_elem_expr_alloc+0x17e/0x280 net/netfilter/nf_tables_api.c:5303 Code: 48 c1 ea 03 80 3c 02 00 0f 85 09 01 00 00 49 8b 9d c0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 70 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d9 00 00 00 48 8b 5b 70 48 85 db 74 21 e8 0a 8c RSP: 0018:ffffc90000fff338 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 000000000000000e RSI: ffffffff875b5020 RDI: 0000000000000070 RBP: ffffc90000fff4a0 R08: fffffffffffff000 R09: 0000000000000000 R10: ffffffff875b5016 R11: 0000000000000000 R12: ffff8880201c3300 R13: ffff888017ff0000 R14: ffffffff8dca6720 R15: ffffffff8a714b20 FS: 0000000001805300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020003e00 CR3: 000000001c954000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_tables_newset+0x1b78/0x32a0 net/netfilter/nf_tables_api.c:4352 nfnetlink_rcv_batch+0x1788/0x25c0 net/netfilter/nfnetlink.c:510 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:631 [inline] nfnetlink_rcv+0x3af/0x420 net/netfilter/nfnetlink.c:649 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:674 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x43fff9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 00 00 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc3f067528 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000400488 RCX: 000000000043fff9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004 RBP: 0000000000000000 R08: 00007ffc3f0676c8 R09: 00007ffc3f0676c8 R10: 00007ffc3f0676c8 R11: 0000000000000246 R12: 0000000000403880 R13: 431bde82d7b634db R14: 00000000004ae018 R15: 0000000000400488 Modules linked in: ---[ end trace 5a1dba100ed67ba3 ]--- RIP: 0010:nft_set_elem_expr_alloc+0x17e/0x280 net/netfilter/nf_tables_api.c:5303 Code: 48 c1 ea 03 80 3c 02 00 0f 85 09 01 00 00 49 8b 9d c0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 70 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d9 00 00 00 48 8b 5b 70 48 85 db 74 21 e8 0a 8c RSP: 0018:ffffc90000fff338 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 000000000000000e RSI: ffffffff875b5020 RDI: 0000000000000070 RBP: ffffc90000fff4a0 R08: fffffffffffff000 R09: 0000000000000000 R10: ffffffff875b5016 R11: 0000000000000000 R12: ffff8880201c3300 R13: ffff888017ff0000 R14: ffffffff8dca6720 R15: ffffffff8a714b20 FS: 0000000001805300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f566af5c000 CR3: 000000001c954000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400