syzbot


BUG: unable to handle kernel paging request in expire_timers (2)

Status: auto-obsoleted due to no activity on 2023/05/22 09:21
Reported-by: syzbot+ae973cb74675ac1f75b1@syzkaller.appspotmail.com
First crash: 711d, last: 460d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 BUG: unable to handle kernel paging request in expire_timers 3 1113d 1205d 0/2 auto-closed as invalid on 2021/08/07 04:23
upstream KASAN: slab-use-after-free Write in expire_timers mm acpi batman 7 357d 358d 0/26 auto-obsoleted due to no activity on 2023/08/23 09:02
upstream KASAN: use-after-free Write in expire_timers arm 1 522d 521d 0/26 auto-obsoleted due to no activity on 2023/03/20 12:09
upstream KMSAN: uninit-value in expire_timers (2) kernel 2 1125d 1161d 0/26 auto-closed as invalid on 2021/06/26 09:57
upstream KMSAN: uninit-value in expire_timers (3) ext4 1 1026d 1026d 0/26 auto-closed as invalid on 2021/10/02 12:28
upstream KMSAN: uninit-value in expire_timers (4) kernel 1 898d 898d 0/26 auto-closed as invalid on 2022/02/08 07:20
android-54 general protection fault in expire_timers 1 1120d 1120d 0/2 auto-closed as invalid on 2021/07/30 19:44

Sample crash report:
BUG: unable to handle page fault for address: ffffffff81b99493
#PF: supervisor write access in kernel mode
#PF: error_code(0x0003) - permissions violation
PGD 5c0f067 P4D 5c0f067 PUD 5c10063 PMD 1a001e1 
Oops: 0003 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3266 Comm: syz-executor.0 Not tainted 5.4.219-syzkaller-00002-ga0eae55f26a0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:__hlist_del include/linux/list.h:773 [inline]
RIP: 0010:detach_timer kernel/time/timer.c:824 [inline]
RIP: 0010:expire_timers+0x155/0x400 kernel/time/timer.c:1452
Code: 08 3e 00 4d 89 3e 4d 85 ff 74 2a e8 55 97 0f 00 49 83 c7 08 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 fb 07 3e 00 <4d> 89 37 eb 0b 66 0f 1f 44 00 00 e8 2b 97 0f 00 4d 89 ef 42 80 7c
RSP: 0018:ffff8881f6f09d08 EFLAGS: 00010046
RAX: 1ffffffff0373292 RBX: ffff8881e29f31c0 RCX: ffff8881ed079f80
RDX: 0000000000000101 RSI: 0000000000000004 RDI: ffff8881f6f09c80
RBP: 1ffff1103c53e639 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffed103ede1391 R11: 1ffff1103ede1390 R12: ffff8881e29f31c8
R13: dffffc0000000000 R14: ffff8881f6f09e20 R15: ffffffff81b99493
FS:  00007fdf3aaac700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff81b99493 CR3: 00000001e8741000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __run_timers+0x5e0/0x700 kernel/time/timer.c:1787
 run_timer_softirq+0x46/0x80 kernel/time/timer.c:1800
 __do_softirq+0x23e/0x643 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x195/0x1c0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:538 [inline]
 smp_apic_timer_interrupt+0x113/0x440 arch/x86/kernel/apic/apic.c:1150
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834
 </IRQ>
Modules linked in:
CR2: ffffffff81b99493
---[ end trace ff787c1089f40074 ]---
RIP: 0010:__hlist_del include/linux/list.h:773 [inline]
RIP: 0010:detach_timer kernel/time/timer.c:824 [inline]
RIP: 0010:expire_timers+0x155/0x400 kernel/time/timer.c:1452
Code: 08 3e 00 4d 89 3e 4d 85 ff 74 2a e8 55 97 0f 00 49 83 c7 08 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 fb 07 3e 00 <4d> 89 37 eb 0b 66 0f 1f 44 00 00 e8 2b 97 0f 00 4d 89 ef 42 80 7c
RSP: 0018:ffff8881f6f09d08 EFLAGS: 00010046
RAX: 1ffffffff0373292 RBX: ffff8881e29f31c0 RCX: ffff8881ed079f80
RDX: 0000000000000101 RSI: 0000000000000004 RDI: ffff8881f6f09c80
RBP: 1ffff1103c53e639 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffed103ede1391 R11: 1ffff1103ede1390 R12: ffff8881e29f31c8
R13: dffffc0000000000 R14: ffff8881f6f09e20 R15: ffffffff81b99493
FS:  00007fdf3aaac700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff81b99493 CR3: 00000001e8741000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	08 3e                	or     %bh,(%rsi)
   2:	00 4d 89             	add    %cl,-0x77(%rbp)
   5:	3e 4d 85 ff          	ds test %r15,%r15
   9:	74 2a                	je     0x35
   b:	e8 55 97 0f 00       	callq  0xf9765
  10:	49 83 c7 08          	add    $0x8,%r15
  14:	4c 89 f8             	mov    %r15,%rax
  17:	48 c1 e8 03          	shr    $0x3,%rax
  1b:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
  20:	74 08                	je     0x2a
  22:	4c 89 ff             	mov    %r15,%rdi
  25:	e8 fb 07 3e 00       	callq  0x3e0825
* 2a:	4d 89 37             	mov    %r14,(%r15) <-- trapping instruction
  2d:	eb 0b                	jmp    0x3a
  2f:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
  35:	e8 2b 97 0f 00       	callq  0xf9765
  3a:	4d 89 ef             	mov    %r13,%r15
  3d:	42                   	rex.X
  3e:	80                   	.byte 0x80
  3f:	7c                   	.byte 0x7c

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/22 09:20 android12-5.4 a0eae55f26a0 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-perf-kasan BUG: unable to handle kernel paging request in expire_timers
2022/08/16 22:52 android12-5.4 2bf0b614f0fb 9e4b39c2 .config console log report info ci2-android-5-4-perf-kasan BUG: unable to handle kernel paging request in expire_timers
2022/06/25 23:39 android12-5.4 9ce4508d6de9 a371c43c .config console log report info ci2-android-5-4-perf-kasan BUG: unable to handle kernel paging request in expire_timers
2022/05/16 06:02 android12-5.4 ee52e8cb3015 744a39e2 .config console log report info ci2-android-5-4-perf-kasan BUG: unable to handle kernel paging request in expire_timers
2022/12/09 06:44 android12-5.4 d7e5d5321233 1034e5fa .config console log report info ci2-android-5-4-perf-kasan KASAN: use-after-free Write in expire_timers
2022/08/04 04:24 android12-5.4 ea07addb2369 1c9013ac .config console log report info ci2-android-5-4-perf-kasan KASAN: use-after-free Write in expire_timers
* Struck through repros no longer work on HEAD.