kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 12667 Comm: kworker/u4:2 Tainted: G W 5.4.225-syzkaller-00003-gf4e4be09c27c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: netns cleanup_net
RIP: 0010:tipc_conn_close+0x4a/0x140 net/tipc/topsrv.c:158
Code: 24 08 49 89 de 49 c1 ee 03 41 80 3c 2e 00 74 08 48 89 df e8 58 6f 69 fd 48 89 1c 24 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 38 6f 69 fd 48 8b 1b 4c 8d bb 38 02
RSP: 0018:ffff8881b88c7bf0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000018 RCX: ffff8881e3004ec0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8881ed224400
RBP: dffffc0000000000 R08: ffffffff8225ddc1 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881ed224400
R13: ffff8881e78b9118 R14: 1ffff1103da44881 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca25bfe058 CR3: 00000001e5161000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tipc_topsrv_stop net/tipc/topsrv.c:701 [inline]
tipc_topsrv_exit_net+0x141/0x320 net/tipc/topsrv.c:723
ops_exit_list net/core/net_namespace.c:179 [inline]
cleanup_net+0x665/0xc90 net/core/net_namespace.c:609
process_one_work+0x765/0xd20 kernel/workqueue.c:2287
worker_thread+0xaef/0x1470 kernel/workqueue.c:2433
kthread+0x2da/0x360 kernel/kthread.c:288
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354
Modules linked in:
---[ end trace a8de910b35f985a8 ]---
RIP: 0010:tipc_conn_close+0x4a/0x140 net/tipc/topsrv.c:158
Code: 24 08 49 89 de 49 c1 ee 03 41 80 3c 2e 00 74 08 48 89 df e8 58 6f 69 fd 48 89 1c 24 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <80> 3c 28 00 74 08 48 89 df e8 38 6f 69 fd 48 8b 1b 4c 8d bb 38 02
RSP: 0018:ffff8881b88c7bf0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000018 RCX: ffff8881e3004ec0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8881ed224400
RBP: dffffc0000000000 R08: ffffffff8225ddc1 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881ed224400
R13: ffff8881e78b9118 R14: 1ffff1103da44881 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca25bfe058 CR3: 00000001b8219000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 24 08 and $0x8,%al
2: 49 89 de mov %rbx,%r14
5: 49 c1 ee 03 shr $0x3,%r14
9: 41 80 3c 2e 00 cmpb $0x0,(%r14,%rbp,1)
e: 74 08 je 0x18
10: 48 89 df mov %rbx,%rdi
13: e8 58 6f 69 fd callq 0xfd696f70
18: 48 89 1c 24 mov %rbx,(%rsp)
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: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 48 89 df mov %rbx,%rdi
33: e8 38 6f 69 fd callq 0xfd696f70
38: 48 8b 1b mov (%rbx),%rbx
3b: 4c rex.WR
3c: 8d .byte 0x8d
3d: bb .byte 0xbb
3e: 38 02 cmp %al,(%rdx)