syzbot


general protection fault in tipc_conn_close

Status: auto-obsoleted due to no activity on 2024/05/18 20:39
Reported-by: syzbot+5a409753ea4f83796e36@syzkaller.appspotmail.com
First crash: 513d, last: 286d
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 394d 469d 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 314d 430d 0/2 auto-obsoleted due to no activity on 2024/04/11 01:35
android-54 general protection fault in tipc_conn_close 9 612d 877d 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 433d 433d 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 2466d 2467d 5/28 fixed on 2018/05/08 18:30
linux-4.19 general protection fault in tipc_conn_close C error 3 792d 1299d 0/1 upstream: reported C repro on 2021/05/01 19:58
android-5-10 general protection fault in tipc_conn_close 1 922d 922d 0/2 auto-closed as invalid on 2022/08/12 11:37
android-5-10 general protection fault in tipc_conn_close (2) 6 707d 793d 0/2 auto-obsoleted due to no activity on 2023/04/11 05:56
upstream general protection fault in tipc_conn_close (3) tipc 1 398d 394d 0/28 auto-obsoleted due to no activity on 2024/01/18 09:00
upstream general protection fault in tipc_conn_close (2) tipc 21 511d 1083d 0/28 auto-obsoleted due to no activity on 2023/10/06 23:51
android-5-15 general protection fault in tipc_conn_close 4 540d 755d 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: 0 PID: 702 Comm: kworker/u4:6 Not tainted 6.1.68-syzkaller-00007-gdf2fe1add70e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: netns cleanup_net
RIP: 0010:tipc_conn_close+0x54/0x140 net/tipc/topsrv.c:157
Code: d8 48 c1 e8 03 48 89 45 c8 42 80 3c 38 00 74 08 48 89 df e8 2e ab df fc 48 89 5d d0 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 0d ab df fc 4c 8b 2b 4d 8d b5 28
RSP: 0018:ffffc90009e6fba0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000018 RCX: ffff888116ec8000
RDX: 0000000000000000 RSI: ffffffff854903e0 RDI: ffff888136a64600
RBP: ffffc90009e6fbd8 R08: ffffffff84f26a12 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888136a64600
R13: ffff88813a90c718 R14: ffff88813a90c71c R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31221000 CR3: 0000000165886000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 tipc_topsrv_stop net/tipc/topsrv.c:703 [inline]
 tipc_topsrv_exit_net+0x139/0x320 net/tipc/topsrv.c:725
 ops_exit_list net/core/net_namespace.c:169 [inline]
 cleanup_net+0x64b/0xbf0 net/core/net_namespace.c:601
 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
 kthread+0x26d/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:tipc_conn_close+0x54/0x140 net/tipc/topsrv.c:157
Code: d8 48 c1 e8 03 48 89 45 c8 42 80 3c 38 00 74 08 48 89 df e8 2e ab df fc 48 89 5d d0 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 0d ab df fc 4c 8b 2b 4d 8d b5 28
RSP: 0018:ffffc90009e6fba0 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000018 RCX: ffff888116ec8000
RDX: 0000000000000000 RSI: ffffffff854903e0 RDI: ffff888136a64600
RBP: ffffc90009e6fbd8 R08: ffffffff84f26a12 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff888136a64600
R13: ffff88813a90c718 R14: ffff88813a90c71c R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd2de75978 CR3: 000000014cea5000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	d8 48 c1             	fmuls  -0x3f(%rax)
   3:	e8 03 48 89 45       	call   0x4589480b
   8:	c8 42 80 3c          	enter  $0x8042,$0x3c
   c:	38 00                	cmp    %al,(%rax)
   e:	74 08                	je     0x18
  10:	48 89 df             	mov    %rbx,%rdi
  13:	e8 2e ab df fc       	call   0xfcdfab46
  18:	48 89 5d d0          	mov    %rbx,-0x30(%rbp)
  1c:	48 8b 1b             	mov    (%rbx),%rbx
  1f:	48 83 c3 18          	add    $0x18,%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 38 00       	cmpb   $0x0,(%rax,%r15,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 0d ab df fc       	call   0xfcdfab46
  39:	4c 8b 2b             	mov    (%rbx),%r13
  3c:	4d                   	rex.WRB
  3d:	8d                   	.byte 0x8d
  3e:	b5 28                	mov    $0x28,%ch

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/08 20:38 android14-6.1 df2fe1add70e 7f07e9b0 .config console log report info ci2-android-6-1 general protection fault in tipc_conn_close
2023/12/26 23:35 android14-6.1 401a2769d990 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in tipc_conn_close
2023/10/06 20:06 android14-6.1 7d42260e5cbf ea12a918 .config console log report info ci2-android-6-1 general protection fault in tipc_conn_close
2023/08/16 08:11 android14-6.1 683966ac69a0 39990d51 .config console log report info ci2-android-6-1 general protection fault in tipc_conn_close
2023/07/03 22:15 android14-6.1 e84e043a3cf1 6e553898 .config console log report info ci2-android-6-1 general protection fault in tipc_conn_close
2023/06/27 08:47 android14-6.1 51cb1e1cfd27 4cd5bb25 .config console log report info ci2-android-6-1 general protection fault in tipc_conn_close
* Struck through repros no longer work on HEAD.