[moderation] [tipc?] general protection fault in tipc_mon_reinit_self (2)

1 view
Skip to first unread message

syzbot

unread,
May 3, 2024, 6:51:42 PMMay 3
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: b947cc5bf6d7 Merge tag 'erofs-for-6.9-rc7-fixes' of git://..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=147780a7180000
kernel config: https://syzkaller.appspot.com/x/.config?x=3310e643b6ef5d69
dashboard link: https://syzkaller.appspot.com/bug?extid=41da39aef3cd2a9e3b58
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/e05b77341eca/disk-b947cc5b.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ad295493d850/vmlinux-b947cc5b.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e7c8f23427a9/bzImage-b947cc5b.xz

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

tipc: Node number set to 10005162
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 927 Comm: kworker/1:2 Not tainted 6.9.0-rc6-syzkaller-00005-gb947cc5bf6d7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events tipc_net_finalize_work
RIP: 0010:tipc_mon_reinit_self+0x112/0x1e0 net/tipc/monitor.c:719
Code: e4 ba ff ff 48 8d 78 10 48 89 f9 48 c1 e9 03 0f b6 0c 29 84 c9 74 09 80 f9 03 0f 8e a9 00 00 00 8b 48 10 4c 89 f0 48 c1 e8 03 <0f> b6 04 28 84 c0 74 04 3c 03 7e 7e 41 89 0e 4c 89 ff e8 67 55 6e
RSP: 0018:ffffc900045cfbd8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000098aaaa
RDX: 1ffff110041af159 RSI: ffffffff8b0cb100 RDI: ffff88801f92c010
RBP: dffffc0000000000 R08: 0000000000000000 R09: fffffbfff1f3e922
R10: ffffffff8f9f4917 R11: 0000000000000003 R12: 0000000000000007
R13: fffffbfff1f4293b R14: 0000000000000000 R15: ffff88802dc05010
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3133f000 CR3: 000000005e626000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
tipc_net_finalize+0x10c/0x180 net/tipc/net.c:140
process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3254
process_scheduled_works kernel/workqueue.c:3335 [inline]
worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:tipc_mon_reinit_self+0x112/0x1e0 net/tipc/monitor.c:719
Code: e4 ba ff ff 48 8d 78 10 48 89 f9 48 c1 e9 03 0f b6 0c 29 84 c9 74 09 80 f9 03 0f 8e a9 00 00 00 8b 48 10 4c 89 f0 48 c1 e8 03 <0f> b6 04 28 84 c0 74 04 3c 03 7e 7e 41 89 0e 4c 89 ff e8 67 55 6e
RSP: 0018:ffffc900045cfbd8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000098aaaa
RDX: 1ffff110041af159 RSI: ffffffff8b0cb100 RDI: ffff88801f92c010
RBP: dffffc0000000000 R08: 0000000000000000 R09: fffffbfff1f3e922
R10: ffffffff8f9f4917 R11: 0000000000000003 R12: 0000000000000007
R13: fffffbfff1f4293b R14: 0000000000000000 R15: ffff88802dc05010
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3133f000 CR3: 000000005e626000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: ba ff ff 48 8d mov $0x8d48ffff,%edx
5: 78 10 js 0x17
7: 48 89 f9 mov %rdi,%rcx
a: 48 c1 e9 03 shr $0x3,%rcx
e: 0f b6 0c 29 movzbl (%rcx,%rbp,1),%ecx
12: 84 c9 test %cl,%cl
14: 74 09 je 0x1f
16: 80 f9 03 cmp $0x3,%cl
19: 0f 8e a9 00 00 00 jle 0xc8
1f: 8b 48 10 mov 0x10(%rax),%ecx
22: 4c 89 f0 mov %r14,%rax
25: 48 c1 e8 03 shr $0x3,%rax
* 29: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax <-- trapping instruction
2d: 84 c0 test %al,%al
2f: 74 04 je 0x35
31: 3c 03 cmp $0x3,%al
33: 7e 7e jle 0xb3
35: 41 89 0e mov %ecx,(%r14)
38: 4c 89 ff mov %r15,%rdi
3b: e8 .byte 0xe8
3c: 67 55 addr32 push %rbp
3e: 6e outsb %ds:(%rsi),(%dx)


---
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 report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

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

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

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

syzbot

unread,
9:28 AM (3 hours ago) 9:28 AM
to syzkaller-upst...@googlegroups.com
For archival purposes, forwarding an incoming command email to
syzkaller-upst...@googlegroups.com.

***

Subject:
Author: nog...@google.com

#syz upstream
Reply all
Reply to author
Forward
0 new messages