general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]
CPU: 0 PID: 15851 Comm: syz-executor.4 Not tainted 6.1.25-syzkaller-00010-g0a2e9dd65c6b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023
RIP: 0010:pcpu_get_page_chunk mm/percpu.c:266 [inline]
RIP: 0010:pcpu_chunk_addr_search mm/percpu.c:1622 [inline]
RIP: 0010:free_percpu+0x253/0x10f0 mm/percpu.c:2279
Code: e8 03 42 80 3c 38 00 74 08 48 89 df e8 86 34 10 00 48 8b 3b 4c 01 ef e8 eb a3 09 00 48 89 c3 48 83 c3 20 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 5e 34 10 00 4c 8b 23 4d 8d 74 24
RSP: 0018:ffffc9000a7a7220 EFLAGS: 00010002
RAX: 0000000000000004 RBX: 0000000000000020 RCX: 0000000000040000
RDX: ffffc90003161000 RSI: 000000000000c578 RDI: 000000000000c579
RBP: ffffc9000a7a7308 R08: ffffffff81b47374 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88823fed3b40
R13: ffffe8fffe600000 R14: ffff8881f703a7a8 R15: dffffc0000000000
FS: 00007f6669756700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020b64000 CR3: 0000000156710000 CR4: 00000000003506b0
Call Trace:
<TASK>
macsec_free_netdev+0x7a/0x140 drivers/net/macsec.c:3718
netdev_run_todo+0xb43/0xd00 net/core/dev.c:10372
rtnl_unlock net/core/rtnetlink.c:147 [inline]
rtnetlink_rcv_msg+0x9f4/0xca0 net/core/rtnetlink.c:6092
netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2553
rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:6109
netlink_unicast_kernel net/netlink/af_netlink.c:1328 [inline]
netlink_unicast+0x8ee/0xad0 net/netlink/af_netlink.c:1354
netlink_sendmsg+0xa15/0xd30 net/netlink/af_netlink.c:1931
sock_sendmsg_nosec net/socket.c:716 [inline]
sock_sendmsg net/socket.c:736 [inline]
____sys_sendmsg+0x5dc/0x9d0 net/socket.c:2482
___sys_sendmsg net/socket.c:2536 [inline]
__sys_sendmsg+0x2a9/0x390 net/socket.c:2565
__do_sys_sendmsg net/socket.c:2574 [inline]
__se_sys_sendmsg net/socket.c:2572 [inline]
__x64_sys_sendmsg+0x7f/0x90 net/socket.c:2572
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6668a8c389
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6669756168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f6668babf80 RCX: 00007f6668a8c389
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000004
RBP: 00007f6668ad7493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffe667da4f R14: 00007f6669756300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:pcpu_get_page_chunk mm/percpu.c:266 [inline]
RIP: 0010:pcpu_chunk_addr_search mm/percpu.c:1622 [inline]
RIP: 0010:free_percpu+0x253/0x10f0 mm/percpu.c:2279
Code: e8 03 42 80 3c 38 00 74 08 48 89 df e8 86 34 10 00 48 8b 3b 4c 01 ef e8 eb a3 09 00 48 89 c3 48 83 c3 20 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 5e 34 10 00 4c 8b 23 4d 8d 74 24
RSP: 0018:ffffc9000a7a7220 EFLAGS: 00010002
RAX: 0000000000000004 RBX: 0000000000000020 RCX: 0000000000040000
RDX: ffffc90003161000 RSI: 000000000000c578 RDI: 000000000000c579
RBP: ffffc9000a7a7308 R08: ffffffff81b47374 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88823fed3b40
R13: ffffe8fffe600000 R14: ffff8881f703a7a8 R15: dffffc0000000000
FS: 00007f6669756700(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020b64000 CR3: 0000000156710000 CR4: 00000000003506b0
----------------
Code disassembly (best guess):
0: e8 03 42 80 3c callq 0x3c804208
5: 38 00 cmp %al,(%rax)
7: 74 08 je 0x11
9: 48 89 df mov %rbx,%rdi
c: e8 86 34 10 00 callq 0x103497
11: 48 8b 3b mov (%rbx),%rdi
14: 4c 01 ef add %r13,%rdi
17: e8 eb a3 09 00 callq 0x9a407
1c: 48 89 c3 mov %rax,%rbx
1f: 48 83 c3 20 add $0x20,%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 48 89 df mov %rbx,%rdi
34: e8 5e 34 10 00 callq 0x103497
39: 4c 8b 23 mov (%rbx),%r12
3c: 4d rex.WRB
3d: 8d .byte 0x8d
3e: 74 24 je 0x64