syzbot


general protection fault in tipc_conn_close (2)

Status: premoderation: reported on 2025/06/02 08:19
Reported-by: syzbot+3d830a01f225d421262f@syzkaller.appspotmail.com
First crash: 2d04h, last: 2d04h
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 general protection fault in tipc_conn_close (2) 2 588d 663d 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 509d 625d 0/2 auto-obsoleted due to no activity on 2024/04/11 01:35
android-54 general protection fault in tipc_conn_close 9 806d 1072d 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 628d 628d 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 2661d 2662d 5/28 fixed on 2018/05/08 18:30
android-6-1 general protection fault in tipc_conn_close 6 481d 708d 0/2 auto-obsoleted due to no activity on 2024/05/18 20:39
linux-4.19 general protection fault in tipc_conn_close C error 3 987d 1494d 0/1 upstream: reported C repro on 2021/05/01 19:58
android-5-10 general protection fault in tipc_conn_close 1 1117d 1117d 0/2 auto-closed as invalid on 2022/08/12 11:37
android-5-10 general protection fault in tipc_conn_close (2) 6 902d 988d 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 593d 589d 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 706d 1278d 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 735d 950d 0/2 auto-obsoleted due to no activity on 2023/08/28 21:57
android-5-10 general protection fault in tipc_conn_close (4) 2 5d16h 72d 0/2 premoderation: reported on 2025/03/24 07:09

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: 10 Comm: kworker/u4:1 Not tainted 6.1.138-syzkaller-00046-gdb710ea87c32 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
RIP: 0010:tipc_conn_close+0x4c/0x130 net/tipc/topsrv.c:157
Code: 7b 08 4d 89 fe 49 c1 ee 03 43 80 3c 26 00 74 08 4c 89 ff e8 96 0f e9 fc 4c 89 7d d0 4d 8b 3f 49 83 c7 18 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 75 0f e9 fc 4d 8b 27 4d 8d bc 24
RSP: 0018:ffffc900000a7bc8 EFLAGS: 00010206
RAX: 0000000000000003 RBX: ffff88810cd60000 RCX: ffff888100395100
RDX: 0000000000000000 RSI: ffffffff8548ffc0 RDI: ffff88810cd60000
RBP: ffffc900000a7bf8 R08: 0000000000000004 R09: 0000000000000003
R10: fffff52000014f70 R11: 1ffff92000014f70 R12: dffffc0000000000
R13: 1ffff11021f0c803 R14: 1ffff110219ac001 R15: 0000000000000018
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555662694a8 CR3: 0000000142ac2000 CR4: 00000000003526a0
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+0x156/0x340 net/tipc/topsrv.c:725
 ops_exit_list net/core/net_namespace.c:172 [inline]
 cleanup_net+0x5ad/0xb00 net/core/net_namespace.c:604
 process_one_work+0x71f/0xc40 kernel/workqueue.c:2299
 worker_thread+0xa29/0x11f0 kernel/workqueue.c:2446
 kthread+0x281/0x320 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:tipc_conn_close+0x4c/0x130 net/tipc/topsrv.c:157
Code: 7b 08 4d 89 fe 49 c1 ee 03 43 80 3c 26 00 74 08 4c 89 ff e8 96 0f e9 fc 4c 89 7d d0 4d 8b 3f 49 83 c7 18 4c 89 f8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ff e8 75 0f e9 fc 4d 8b 27 4d 8d bc 24
RSP: 0018:ffffc900000a7bc8 EFLAGS: 00010206
RAX: 0000000000000003 RBX: ffff88810cd60000 RCX: ffff888100395100
RDX: 0000000000000000 RSI: ffffffff8548ffc0 RDI: ffff88810cd60000
RBP: ffffc900000a7bf8 R08: 0000000000000004 R09: 0000000000000003
R10: fffff52000014f70 R11: 1ffff92000014f70 R12: dffffc0000000000
R13: 1ffff11021f0c803 R14: 1ffff110219ac001 R15: 0000000000000018
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6a66a4ed58 CR3: 0000000125952000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	7b 08                	jnp    0xa
   2:	4d 89 fe             	mov    %r15,%r14
   5:	49 c1 ee 03          	shr    $0x3,%r14
   9:	43 80 3c 26 00       	cmpb   $0x0,(%r14,%r12,1)
   e:	74 08                	je     0x18
  10:	4c 89 ff             	mov    %r15,%rdi
  13:	e8 96 0f e9 fc       	call   0xfce90fae
  18:	4c 89 7d d0          	mov    %r15,-0x30(%rbp)
  1c:	4d 8b 3f             	mov    (%r15),%r15
  1f:	49 83 c7 18          	add    $0x18,%r15
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ff             	mov    %r15,%rdi
  34:	e8 75 0f e9 fc       	call   0xfce90fae
  39:	4d 8b 27             	mov    (%r15),%r12
  3c:	4d                   	rex.WRB
  3d:	8d                   	.byte 0x8d
  3e:	bc                   	.byte 0xbc
  3f:	24                   	.byte 0x24

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/02 08:18 android14-6.1 db710ea87c32 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in tipc_conn_close
* Struck through repros no longer work on HEAD.