syzbot


general protection fault in tipc_conn_close (3)

Status: auto-obsoleted due to no activity on 2024/01/18 09:00
Subsystems: tipc
[Documentation on labels]
Reported-by: syzbot+a4d01fd13e0b3e20a436@syzkaller.appspotmail.com
First crash: 195d, last: 195d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 general protection fault in tipc_conn_close (2) 2 190d 265d 0/2 auto-obsoleted due to no activity on 2024/01/22 16:54
android-5-15 general protection fault in tipc_conn_close (2) 4 111d 226d 0/2 auto-obsoleted due to no activity on 2024/04/11 01:35
android-54 general protection fault in tipc_conn_close 9 408d 674d 0/2 auto-obsoleted due to no activity on 2023/07/18 14:57
android-5-10 general protection fault in tipc_conn_close (3) 1 230d 230d 0/2 auto-obsoleted due to no activity on 2023/12/14 05:20
upstream general protection fault in tipc_conn_close tipc C 3 2263d 2264d 5/26 fixed on 2018/05/08 18:30
android-6-1 general protection fault in tipc_conn_close 6 83d 310d 0/2 upstream: reported on 2023/06/27 08:56
linux-4.19 general protection fault in tipc_conn_close C error 3 589d 1096d 0/1 upstream: reported C repro on 2021/05/01 19:58
android-5-10 general protection fault in tipc_conn_close 1 718d 718d 0/2 auto-closed as invalid on 2022/08/12 11:37
android-5-10 general protection fault in tipc_conn_close (2) 6 503d 590d 0/2 auto-obsoleted due to no activity on 2023/04/11 05:56
upstream general protection fault in tipc_conn_close (2) tipc 21 308d 879d 0/26 auto-obsoleted due to no activity on 2023/10/06 23:51
android-5-15 general protection fault in tipc_conn_close 4 337d 552d 0/2 auto-obsoleted due to no activity on 2023/08/28 21:57

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/20 09:00 upstream ce55c22ec8b2 a42250d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root general protection fault in tipc_conn_close
* Struck through repros no longer work on HEAD.