syzbot


general protection fault in tipc_mon_reinit_self (2)

Status: moderation: reported on 2024/05/03 22:51
Subsystems: tipc
[Documentation on labels]
Reported-by: syzbot+41da39aef3cd2a9e3b58@syzkaller.appspotmail.com
First crash: 46d, last: 46d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in tipc_mon_reinit_self 1 22d 22d 0/3 upstream: reported on 2024/05/24 03:27
upstream general protection fault in tipc_mon_reinit_self tipc 1 1373d 1369d 0/27 auto-closed as invalid on 2021/01/08 19:28

Sample crash report:
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)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/29 22:44 upstream b947cc5bf6d7 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in tipc_mon_reinit_self
* Struck through repros no longer work on HEAD.