general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000078-0x000000000000007f] CPU: 1 PID: 28273 Comm: syz-executor.2 Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 RIP: 0010:metadata_dst_free+0x1f/0x80 net/core/dst.c:316 Code: 5c 41 5d e9 63 2c 49 fa 0f 1f 00 55 48 89 fd 53 e8 56 2c 49 fa 48 8d 7d 78 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 04 3c 03 7e 3f 8b 5d 78 31 ff 89 de e8 f9 28 RSP: 0018:ffffc9000ef5f5f8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888026740000 RCX: ffffc9000f0cc000 RDX: 000000000000000f RSI: ffffffff873367aa RDI: 0000000000000078 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: ffffc9000ef5f678 R13: ffffffff84d00bd0 R14: ffff8880267405b0 R15: ffffc9000ef5f678 FS: 00007f00ef587700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6f7c246820 CR3: 0000000075340000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: macsec_free_netdev+0x3a/0x150 drivers/net/macsec.c:3737 netdev_run_todo+0x6bb/0x1100 net/core/dev.c:10375 rtnl_unlock net/core/rtnetlink.c:147 [inline] rtnetlink_rcv_msg+0x447/0xca0 net/core/rtnetlink.c:6092 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2540 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x917/0xe10 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:734 ____sys_sendmsg+0x712/0x8c0 net/socket.c:2482 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2536 __sys_sendmsg+0xf3/0x1c0 net/socket.c:2565 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f00ee48b5a9 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f00ef587168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f00ee5abf80 RCX: 00007f00ee48b5a9 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003 RBP: 00007f00ee4e6580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcbf4a0cbf R14: 00007f00ef587300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:metadata_dst_free+0x1f/0x80 net/core/dst.c:316 Code: 5c 41 5d e9 63 2c 49 fa 0f 1f 00 55 48 89 fd 53 e8 56 2c 49 fa 48 8d 7d 78 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 04 3c 03 7e 3f 8b 5d 78 31 ff 89 de e8 f9 28 RSP: 0018:ffffc9000ef5f5f8 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888026740000 RCX: ffffc9000f0cc000 RDX: 000000000000000f RSI: ffffffff873367aa RDI: 0000000000000078 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000001 R12: ffffc9000ef5f678 R13: ffffffff84d00bd0 R14: ffff8880267405b0 R15: ffffc9000ef5f678 FS: 00007f00ef587700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200023c6 CR3: 0000000075340000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 5c pop %rsp 1: 41 5d pop %r13 3: e9 63 2c 49 fa jmpq 0xfa492c6b 8: 0f 1f 00 nopl (%rax) b: 55 push %rbp c: 48 89 fd mov %rdi,%rbp f: 53 push %rbx 10: e8 56 2c 49 fa callq 0xfa492c6b 15: 48 8d 7d 78 lea 0x78(%rbp),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 04 je 0x36 32: 3c 03 cmp $0x3,%al 34: 7e 3f jle 0x75 36: 8b 5d 78 mov 0x78(%rbp),%ebx 39: 31 ff xor %edi,%edi 3b: 89 de mov %ebx,%esi 3d: e8 .byte 0xe8 3e: f9 stc 3f: 28 .byte 0x28