syzbot


general protection fault in tipc_crypto_rcv_complete

Status: auto-obsoleted due to no activity on 2024/06/06 17:13
Reported-by: syzbot+71eedbc09700789b6bfe@syzkaller.appspotmail.com
First crash: 104d, last: 104d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000002b: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000158-0x000000000000015f]
CPU: 0 PID: 15339 Comm: kworker/0:3 Not tainted 6.1.68-syzkaller-00044-g9219a44e003d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: cryptd cryptd_queue_worker
RIP: 0010:tipc_crypto_key_synch net/tipc/crypto.c:1395 [inline]
RIP: 0010:tipc_crypto_rcv_complete+0x90f/0x18b0 net/tipc/crypto.c:1973
Code: 27 9a 96 fc 84 db 75 39 e8 8e 97 96 fc 48 8b 44 24 30 48 8d 98 58 01 00 00 48 89 d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df <42> 0f b6 04 28 84 c0 4c 8b 7c 24 10 0f 85 79 0c 00 00 80 0b 04 eb
RSP: 0000:ffffc9000171fa60 EFLAGS: 00010206
RAX: 000000000000002b RBX: 0000000000000158 RCX: ffff88810fe88000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000171fb90 R08: ffffffff84ded979 R09: ffffed10307b9304
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1102dc47c12
R13: dffffc0000000000 R14: 1ffff1102dc47c12 R15: 00000000000040fa
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f5e843b058 CR3: 000000010f9c8000 CR4: 00000000003506b0
Call Trace:
 <TASK>
 tipc_aead_decrypt_done+0x1db/0x2d0 net/tipc/crypto.c:978
 cryptd_aead_crypt+0x106/0x1f0 crypto/cryptd.c:740
 cryptd_aead_decrypt+0xa5/0xb0 crypto/cryptd.c:764
 cryptd_queue_worker+0xd4/0x140 crypto/cryptd.c:181
 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_crypto_key_synch net/tipc/crypto.c:1395 [inline]
RIP: 0010:tipc_crypto_rcv_complete+0x90f/0x18b0 net/tipc/crypto.c:1973
Code: 27 9a 96 fc 84 db 75 39 e8 8e 97 96 fc 48 8b 44 24 30 48 8d 98 58 01 00 00 48 89 d8 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df <42> 0f b6 04 28 84 c0 4c 8b 7c 24 10 0f 85 79 0c 00 00 80 0b 04 eb
RSP: 0000:ffffc9000171fa60 EFLAGS: 00010206

RAX: 000000000000002b RBX: 0000000000000158 RCX: ffff88810fe88000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000171fb90 R08: ffffffff84ded979 R09: ffffed10307b9304
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1102dc47c12
R13: dffffc0000000000 R14: 1ffff1102dc47c12 R15: 00000000000040fa
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f5e843b058 CR3: 000000010f9c8000 CR4: 00000000003506b0
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	96                   	xchg   %eax,%esi
   1:	fc                   	cld
   2:	84 db                	test   %bl,%bl
   4:	75 39                	jne    0x3f
   6:	e8 8e 97 96 fc       	call   0xfc969799
   b:	48 8b 44 24 30       	mov    0x30(%rsp),%rax
  10:	48 8d 98 58 01 00 00 	lea    0x158(%rax),%rbx
  17:	48 89 d8             	mov    %rbx,%rax
  1a:	48 c1 e8 03          	shr    $0x3,%rax
  1e:	49 bd 00 00 00 00 00 	movabs $0xdffffc0000000000,%r13
  25:	fc ff df
* 28:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2d:	84 c0                	test   %al,%al
  2f:	4c 8b 7c 24 10       	mov    0x10(%rsp),%r15
  34:	0f 85 79 0c 00 00    	jne    0xcb3
  3a:	80 0b 04             	orb    $0x4,(%rbx)
  3d:	eb                   	.byte 0xeb

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/08 17:07 android14-6.1 9219a44e003d 8e75c913 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in tipc_crypto_rcv_complete
* Struck through repros no longer work on HEAD.