syzbot


general protection fault in tipc_mon_reinit_self (2)

Status: upstream: reported on 2024/06/26 13:29
Subsystems: tipc
[Documentation on labels]
Reported-by: syzbot+c13de708dc9a3bb8e9aa@syzkaller.appspotmail.com
First crash: 205d, last: 34d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [tipc?] general protection fault in tipc_mon_reinit_self (2) 0 (1) 2024/06/26 13:29
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 181d 181d 0/3 auto-obsoleted due to no activity on 2024/09/01 03:27
upstream general protection fault in tipc_mon_reinit_self tipc 1 1532d 1528d 0/28 auto-closed as invalid on 2021/01/08 19:28

Sample crash report:
tipc: Node number set to 2886997162
Oops: 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 UID: 0 PID: 5278 Comm: kworker/1:4 Not tainted 6.12.0-rc3-syzkaller-00183-g6efbea77b390 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 47 2d 6e
RSP: 0000:ffffc900041a7bd0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000ac1414aa
RDX: 0000000000000000 RSI: ffffffff8b6cd340 RDI: ffff888030598010
RBP: dffffc0000000000 R08: 0000000000000000 R09: fffffbfff20be951
R10: ffffffff905f4a8f R11: 0000000000000000 R12: 0000000000000007
R13: fffffbfff20c2ac3 R14: 0000000000000000 R15: ffff88802ff19010
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe16814af98 CR3: 000000000df7c000 CR4: 00000000003526f0
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+0x9c5/0x1ba0 kernel/workqueue.c:3229
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 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 47 2d 6e
RSP: 0000:ffffc900041a7bd0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000ac1414aa
RDX: 0000000000000000 RSI: ffffffff8b6cd340 RDI: ffff888030598010
RBP: dffffc0000000000 R08: 0000000000000000 R09: fffffbfff20be951
R10: ffffffff905f4a8f R11: 0000000000000000 R12: 0000000000000007
R13: fffffbfff20c2ac3 R14: 0000000000000000 R15: ffff88802ff19010
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe16814af98 CR3: 000000000df7c000 CR4: 00000000003526f0
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:	47                   	rex.RXB
  3d:	2d                   	.byte 0x2d
  3e:	6e                   	outsb  %ds:(%rsi),(%dx)

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/17 22:10 upstream 6efbea77b390 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root general protection fault in tipc_mon_reinit_self
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
2024/06/25 06:37 upstream 55027e689933 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in tipc_mon_reinit_self
2024/08/23 03:59 net 979b581e4c69 ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in tipc_mon_reinit_self
2024/08/01 12:50 net b9e7fc0aeda7 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in tipc_mon_reinit_self
2024/07/15 09:39 net 97d9fba9a812 c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce general protection fault in tipc_mon_reinit_self
* Struck through repros no longer work on HEAD.