syzbot


upstream boot error: general protection fault in timerqueue_del

Status: upstream: reported on 2022/08/16 08:40
Reported-by: syzbot+621d4ae5dc548c7ac3f6@syzkaller.appspotmail.com
First crash: 51d, last: 51d

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffdffe0000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x00000fff00000000-0x00000fff00000007]
CPU: 0 PID: 1108 Comm: kworker/u4:3 Not tainted 5.19.0-syzkaller-14090-g4a9350597aff #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:timerqueue_del+0x26/0xf0 lib/timerqueue.c:55
Code: 0f 1f 40 00 55 41 57 41 56 41 55 41 54 53 49 89 f5 49 89 fe 48 bd 00 00 00 00 00 fc ff df e8 21 3a 20 fd 4d 89 ec 49 c1 ec 03 <41> 80 3c 2c 00 74 08 4c 89 ef e8 cb d8 73 fd 49 8b 5d 00 48 89 df
RSP: 0000:ffffc90004ebfc30 EFLAGS: 00010006

RAX: ffffffff846958af RBX: 00000fff00000000 RCX: ffff888020858000
RDX: 0000000000000000 RSI: 00000fff00000000 RDI: ffff8880207744d8
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffff520009d7f84
R10: fffff520009d7f85 R11: 1ffff920009d7f84 R12: 000001ffe0000000
R13: 00000fff00000000 R14: ffff8880207744d8 R15: ffff8880207744d8
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff88823ffff000 CR3: 000000000ca8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 cleanup_timerqueue kernel/time/posix-cpu-timers.c:519 [inline]
 cleanup_timers kernel/time/posix-cpu-timers.c:534 [inline]
 posix_cpu_timers_exit_group+0x7b/0x200 kernel/time/posix-cpu-timers.c:550
 __exit_signal kernel/exit.c:109 [inline]
 release_task+0x5b8/0x1890 kernel/exit.c:203
 exit_notify kernel/exit.c:708 [inline]
 do_exit+0x16ac/0x20a0 kernel/exit.c:815
 call_usermodehelper_exec_async+0x3a1/0x3b0 kernel/umh.c:125
 ret_from_fork+0x1f/0x30
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:timerqueue_del+0x26/0xf0 lib/timerqueue.c:55
Code: 0f 1f 40 00 55 41 57 41 56 41 55 41 54 53 49 89 f5 49 89 fe 48 bd 00 00 00 00 00 fc ff df e8 21 3a 20 fd 4d 89 ec 49 c1 ec 03 <41> 80 3c 2c 00 74 08 4c 89 ef e8 cb d8 73 fd 49 8b 5d 00 48 89 df
RSP: 0000:ffffc90004ebfc30 EFLAGS: 00010006

RAX: ffffffff846958af RBX: 00000fff00000000 RCX: ffff888020858000
RDX: 0000000000000000 RSI: 00000fff00000000 RDI: ffff8880207744d8
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffff520009d7f84
R10: fffff520009d7f85 R11: 1ffff920009d7f84 R12: 000001ffe0000000
R13: 00000fff00000000 R14: ffff8880207744d8 R15: ffff8880207744d8
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff88823ffff000 CR3: 000000000ca8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	0f 1f 40 00          	nopl   0x0(%rax)
   4:	55                   	push   %rbp
   5:	41 57                	push   %r15
   7:	41 56                	push   %r14
   9:	41 55                	push   %r13
   b:	41 54                	push   %r12
   d:	53                   	push   %rbx
   e:	49 89 f5             	mov    %rsi,%r13
  11:	49 89 fe             	mov    %rdi,%r14
  14:	48 bd 00 00 00 00 00 	movabs $0xdffffc0000000000,%rbp
  1b:	fc ff df
  1e:	e8 21 3a 20 fd       	callq  0xfd203a44
  23:	4d 89 ec             	mov    %r13,%r12
  26:	49 c1 ec 03          	shr    $0x3,%r12
* 2a:	41 80 3c 2c 00       	cmpb   $0x0,(%r12,%rbp,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ef             	mov    %r13,%rdi
  34:	e8 cb d8 73 fd       	callq  0xfd73d904
  39:	49 8b 5d 00          	mov    0x0(%r13),%rbx
  3d:	48 89 df             	mov    %rbx,%rdi

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2022/08/13 00:17 upstream 4a9350597aff 8dfcaa3d .config log report upstream boot error: general protection fault in timerqueue_del
* Struck through repros no longer work on HEAD.