syzbot


general protection fault in io_queue_sqe_fallback

Status: auto-obsoleted due to no activity on 2023/04/15 05:00
Subsystems: io-uring
[Documentation on labels]
Reported-by: syzbot+5ad02341d77d51814554@syzkaller.appspotmail.com
First crash: 399d, last: 399d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 8440 Comm: syz-executor.5 Not tainted 6.2.0-rc7-next-20230208-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:io_queue_sqe_fallback+0xc1/0xb20 io_uring/io_uring.c:2110
Code: 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 01 09 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5d 58 4c 8d 6b 04 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 4c 89 ea 83 e2 07 38 d0 7f 08 84 c0 0f 85 6a 06 00 00
RSP: 0018:ffffc9000abc7c80 EFLAGS: 00010247
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000ef55000
RDX: 0000000000000000 RSI: ffffffff8410f659 RDI: 0000000000000005
RBP: ffff8880765b2780 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880765b27c4
R13: 0000000000000004 R14: ffff8880765b27d8 R15: 0000000000000003
FS:  00007f19d6363700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdc2a7a8000 CR3: 00000000202cb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 io_submit_state_end io_uring/io_uring.c:2352 [inline]
 io_submit_sqes+0x19ea/0x1f20 io_uring/io_uring.c:2465
 __do_sys_io_uring_enter+0x975/0x2810 io_uring/io_uring.c:3458
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f19d568c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f19d6363168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 00007f19d57ac050 RCX: 00007f19d568c0f9
RDX: 0000000000080000 RSI: 00000000000006cc RDI: 0000000000000003
RBP: 00007f19d56e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffceee462cf R14: 00007f19d6363300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:io_queue_sqe_fallback+0xc1/0xb20 io_uring/io_uring.c:2110
Code: 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 01 09 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5d 58 4c 8d 6b 04 4c 89 ea 48 c1 ea 03 <0f> b6 04 02 4c 89 ea 83 e2 07 38 d0 7f 08 84 c0 0f 85 6a 06 00 00
RSP: 0018:ffffc9000abc7c80 EFLAGS: 00010247
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000ef55000
RDX: 0000000000000000 RSI: ffffffff8410f659 RDI: 0000000000000005
RBP: ffff8880765b2780 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880765b27c4
R13: 0000000000000004 R14: ffff8880765b27d8 R15: 0000000000000003
FS:  00007f19d6363700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002011d030 CR3: 00000000202cb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
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 01 09 00 00    	jne    0x912
  11:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  18:	fc ff df
  1b:	48 8b 5d 58          	mov    0x58(%rbp),%rbx
  1f:	4c 8d 6b 04          	lea    0x4(%rbx),%r13
  23:	4c 89 ea             	mov    %r13,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	0f b6 04 02          	movzbl (%rdx,%rax,1),%eax <-- trapping instruction
  2e:	4c 89 ea             	mov    %r13,%rdx
  31:	83 e2 07             	and    $0x7,%edx
  34:	38 d0                	cmp    %dl,%al
  36:	7f 08                	jg     0x40
  38:	84 c0                	test   %al,%al
  3a:	0f 85 6a 06 00 00    	jne    0x6aa

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/14 04:59 linux-next 38d2b86a665b 93ae7e0a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in io_queue_sqe_fallback
* Struck through repros no longer work on HEAD.