[moderation] [tipc?] general protection fault in tipc_conn_close (3)

6 views
Skip to first unread message

syzbot

unread,
Oct 24, 2023, 5:08:52 AM10/24/23
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: ce55c22ec8b2 Merge tag 'net-6.6-rc7' of git://git.kernel.o..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=155a3dd9680000
kernel config: https://syzkaller.appspot.com/x/.config?x=e3bef7f900b4b3bd
dashboard link: https://syzkaller.appspot.com/bug?extid=a4d01fd13e0b3e20a436
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
CC: [da...@davemloft.net edum...@google.com jma...@redhat.com ku...@kernel.org linux-...@vger.kernel.org net...@vger.kernel.org pab...@redhat.com tipc-di...@lists.sourceforge.net ying...@windriver.com]

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/2bc0148722d4/disk-ce55c22e.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/3aac4095b196/vmlinux-ce55c22e.xz
kernel image: https://storage.googleapis.com/syzbot-assets/5db66ee0f016/bzImage-ce55c22e.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+a4d01f...@syzkaller.appspotmail.com

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: 12 Comm: kworker/u4:1 Not tainted 6.6.0-rc6-syzkaller-00182-gce55c22ec8b2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
Workqueue: netns cleanup_net
RIP: 0010:tipc_conn_close+0x48/0x1d0 net/tipc/topsrv.c:158
Code: 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 65 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b 08 48 8d 7d 18 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4f 01 00 00 4c 8b 6d 18 49 8d ad a0 03 00 00 48
RSP: 0018:ffffc90000117b88 EFLAGS: 00010216
RAX: dffffc0000000000 RBX: ffff8880442c8000 RCX: 0000000000000000
RDX: 0000000000000003 RSI: ffffffff89df41d0 RDI: 0000000000000018
RBP: 0000000000000000 R08: 0000000000000001 R09: fffffbfff2339bd1
R10: ffffffff919cde8f R11: 0000000000000000 R12: ffff888027f9e458
R13: ffffed1004ff3c93 R14: ffff8880442c8008 R15: ffff8880442c8000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f807d465000 CR3: 000000001f76c000 CR4: 0000000000350ee0
Call Trace:
<TASK>
tipc_topsrv_stop net/tipc/topsrv.c:708 [inline]
tipc_topsrv_exit_net+0x146/0x3b0 net/tipc/topsrv.c:730
ops_exit_list+0xb0/0x170 net/core/net_namespace.c:170
cleanup_net+0x505/0xb20 net/core/net_namespace.c:614
process_one_work+0x884/0x15c0 kernel/workqueue.c:2630
process_scheduled_works kernel/workqueue.c:2703 [inline]
worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784
kthread+0x33c/0x440 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:tipc_conn_close+0x48/0x1d0 net/tipc/topsrv.c:158
Code: 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 65 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 6b 08 48 8d 7d 18 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4f 01 00 00 4c 8b 6d 18 49 8d ad a0 03 00 00 48
RSP: 0018:ffffc90000117b88 EFLAGS: 00010216
RAX: dffffc0000000000 RBX: ffff8880442c8000 RCX: 0000000000000000
RDX: 0000000000000003 RSI: ffffffff89df41d0 RDI: 0000000000000018
RBP: 0000000000000000 R08: 0000000000000001 R09: fffffbfff2339bd1
R10: ffffffff919cde8f R11: 0000000000000000 R12: ffff888027f9e458
R13: ffffed1004ff3c93 R14: ffff8880442c8008 R15: ffff8880442c8000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5d946af440 CR3: 00000000250fa000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: 4c 89 f2 mov %r14,%rdx
3: 48 c1 ea 03 shr $0x3,%rdx
7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
b: 0f 85 65 01 00 00 jne 0x176
11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
18: fc ff df
1b: 48 8b 6b 08 mov 0x8(%rbx),%rbp
1f: 48 8d 7d 18 lea 0x18(%rbp),%rdi
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 4f 01 00 00 jne 0x183
34: 4c 8b 6d 18 mov 0x18(%rbp),%r13
38: 49 8d ad a0 03 00 00 lea 0x3a0(%r13),%rbp
3f: 48 rex.W


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jan 18, 2024, 4:00:18 AMJan 18
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages