general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.15.145-syzkaller-00162-gea2937bdd12f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: netns cleanup_net
RIP: 0010:tipc_conn_close+0x54/0x140 net/tipc/topsrv.c:157
Code: d8 48 c1 e8 03 48 89 45 c8 42 80 3c 38 00 74 08 48 89 df e8 1e 9c 01 fd 48 89 5d d0 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 fd 9b 01 fd 4c 8b 2b 4d 8d b5 40
RSP: 0018:ffffc90000087ba0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000018 RCX: ffff8881002613c0
RDX: 0000000000000000 RSI: ffffffff85282180 RDI: ffff88812fd84e00
RBP: ffffc90000087bd8 R08: ffffffff82866862 R09: 0000000000000003
R10: fffff52000010f6c R11: dffffc0000000001 R12: ffff88812fd84e00
R13: ffff88812fd84618 R14: ffff88812fd8461c R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f41dbc64020 CR3: 000000012fc0d000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
tipc_topsrv_stop net/tipc/topsrv.c:703 [inline]
tipc_topsrv_exit_net+0x139/0x320 net/tipc/topsrv.c:725
ops_exit_list net/core/net_namespace.c:169 [inline]
cleanup_net+0x64b/0xc00 net/core/net_namespace.c:596
process_one_work+0x6bb/0xc10 kernel/workqueue.c:2317
worker_thread+0xad5/0x12a0 kernel/workqueue.c:2464
kthread+0x421/0x510 kernel/kthread.c:337
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
</TASK>
Modules linked in:
---[ end trace 3fbbb82dfdd0139e ]---
RIP: 0010:tipc_conn_close+0x54/0x140 net/tipc/topsrv.c:157
Code: d8 48 c1 e8 03 48 89 45 c8 42 80 3c 38 00 74 08 48 89 df e8 1e 9c 01 fd 48 89 5d d0 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 fd 9b 01 fd 4c 8b 2b 4d 8d b5 40
RSP: 0018:ffffc90000087ba0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000018 RCX: ffff8881002613c0
RDX: 0000000000000000 RSI: ffffffff85282180 RDI: ffff88812fd84e00
RBP: ffffc90000087bd8 R08: ffffffff82866862 R09: 0000000000000003
R10: fffff52000010f6c R11: dffffc0000000001 R12: ffff88812fd84e00
R13: ffff88812fd84618 R14: ffff88812fd8461c R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd59dd336cc CR3: 000000010c672000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: d8 48 c1 fmuls -0x3f(%rax)
3: e8 03 48 89 45 call 0x4589480b
8: c8 42 80 3c enter $0x8042,$0x3c
c: 38 00 cmp %al,(%rax)
e: 74 08 je 0x18
10: 48 89 df mov %rbx,%rdi
13: e8 1e 9c 01 fd call 0xfd019c36
18: 48 89 5d d0 mov %rbx,-0x30(%rbp)
1c: 48 8b 1b mov (%rbx),%rbx
1f: 48 83 c3 18 add $0x18,%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 fd 9b 01 fd call 0xfd019c36
39: 4c 8b 2b mov (%rbx),%r13
3c: 4d rex.WRB
3d: 8d .byte 0x8d
3e: b5 40 mov $0x40,%ch