syzbot


general protection fault in __run_timers (2)

Status: closed as invalid on 2018/09/05 12:51
Subsystems: kernel
[Documentation on labels]
First crash: 2311d, last: 2296d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in __run_timers kernel 35 2635d 2657d 0/28 closed as invalid on 2017/10/22 12:45
upstream KMSAN: uninit-value in __run_timers (3) reiserfs C error 4 459d 495d 0/28 auto-obsoleted due to no activity on 2024/01/10 00:11
upstream general protection fault in __run_timers (3) kernel 1 1549d 1545d 0/28 auto-closed as invalid on 2020/12/09 00:33
android-54 KASAN: use-after-free Write in __run_timers syz 449 157d 1609d 0/2 auto-obsoleted due to no activity on 2024/09/11 00:16

Sample crash report:
general protection fault: 0000 [#1] SMP PTI
CPU: 1 PID: 7321 Comm: syz-executor145 Not tainted 4.18.0-rc8+ #34
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__hlist_del include/linux/list.h:651 [inline]
RIP: 0010:detach_timer kernel/time/timer.c:817 [inline]
RIP: 0010:expire_timers kernel/time/timer.c:1353 [inline]
RIP: 0010:__run_timers+0xc3a/0x1170 kernel/time/timer.c:1666
Code: 2c b2 1a 00 49 83 c7 08 4d 85 f6 0f 85 b2 02 00 00 4c 89 ff e8 07 05 74 00 4c 89 20 4d 85 e4 4c 8b 74 24 40 0f 85 a7 02 00 00 <4d> 89 2f eb 1b 8b 7c 24 38 e8 f8 0d 74 00 4d 85 ff 75 c2 0f 1f 00 
RSP: 0018:ffff88021fd0fda0 EFLAGS: 00010046
RAX: ffffffff8a1b0000 RBX: 0000000000000000 RCX: ffff880192cd1d00
RDX: ffffffff8a1b1000 RSI: 0000000000000008 RDI: dead000000000208
RBP: ffff88021fd0feb0 R08: 0000000000480020 R09: 0000000000000002
R10: 0000000000000000 R11: ffffffff8129f260 R12: 0000000000000000
R13: ffff88021fd0fe30 R14: ffff88019a85f680 R15: dead000000000208
FS:  00007fafa4a21700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 00000001a825e000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 run_timer_softirq+0x43/0x70 kernel/time/timer.c:1692
 __do_softirq+0x582/0x969 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x208/0x240 kernel/softirq.c:414
 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:527
 smp_apic_timer_interrupt+0x64/0x90 arch/x86/kernel/apic/apic.c:1058
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:868
 </IRQ>
RIP: 0010:finish_lock_switch+0x2b/0x40 kernel/sched/core.c:2608
Code: 48 89 e5 53 48 89 fb e8 43 de 8b 00 8b b8 88 0c 00 00 48 8b 00 48 85 c0 75 12 48 89 df e8 9d d3 8b 00 c6 00 00 c6 03 00 fb 5b <5d> c3 e8 5e dd 8b 00 eb e7 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 
RSP: 0018:ffff8801ba14f780 EFLAGS: 00000296 ORIG_RAX: ffffffffffffff13
RAX: ffff88021f3d0d00 RBX: ffff880192cd1d80 RCX: ffff88021f3d1d00
RDX: ffff88021f3d1d00 RSI: aaaaaaaaaaaab000 RDI: ffffea000cbf2560
RBP: ffff8801ba14f780 R08: 0000000000480020 R09: 0000000000000002
R10: ffffffff7fffffff R11: 0000000000000000 R12: ffff8801d4681d80
R13: 0000000000000000 R14: ffff880192cd2678 R15: ffff88021fdb9d00
 finish_task_switch+0xe3/0x260 kernel/sched/core.c:2709
 context_switch kernel/sched/core.c:2860 [inline]
 __schedule+0x681/0x770 kernel/sched/core.c:3507
 schedule+0x1bc/0x2d0 kernel/sched/core.c:3551
 freezable_schedule include/linux/freezer.h:172 [inline]
 futex_wait_queue_me+0x557/0x6d0 kernel/futex.c:2530
 futex_wait+0x3f2/0xbe0 kernel/futex.c:2645
 do_futex+0xbe0/0x6b00 kernel/futex.c:3527
 __do_sys_futex kernel/futex.c:3587 [inline]
 __se_sys_futex+0x372/0x7d0 kernel/futex.c:3555
 __x64_sys_futex+0x1a2/0x200 kernel/futex.c:3555
 do_syscall_64+0x15b/0x220 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x446319
Code: e8 2c b3 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0f 83 2b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007fafa4a20da8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00000000006dac28 RCX: 0000000000446319
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000006dac28
RBP: 00000000006dac20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dac2c
R13: 6b636f73762d7473 R14: 6f68762f7665642f R15: 00000000006dad2c
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace e923cda0f8e6bf21 ]---
RIP: 0010:__hlist_del include/linux/list.h:651 [inline]
RIP: 0010:detach_timer kernel/time/timer.c:817 [inline]
RIP: 0010:expire_timers kernel/time/timer.c:1353 [inline]
RIP: 0010:__run_timers+0xc3a/0x1170 kernel/time/timer.c:1666
Code: 2c b2 1a 00 49 83 c7 08 4d 85 f6 0f 85 b2 02 00 00 4c 89 ff e8 07 05 74 00 4c 89 20 4d 85 e4 4c 8b 74 24 40 0f 85 a7 02 00 00 <4d> 89 2f eb 1b 8b 7c 24 38 e8 f8 0d 74 00 4d 85 ff 75 c2 0f 1f 00 
RSP: 0018:ffff88021fd0fda0 EFLAGS: 00010046
RAX: ffffffff8a1b0000 RBX: 0000000000000000 RCX: ffff880192cd1d00
RDX: ffffffff8a1b1000 RSI: 0000000000000008 RDI: dead000000000208
RBP: ffff88021fd0feb0 R08: 0000000000480020 R09: 0000000000000002
R10: 0000000000000000 R11: ffffffff8129f260 R12: 0000000000000000
R13: ffff88021fd0fe30 R14: ffff88019a85f680 R15: dead000000000208
FS:  00007fafa4a21700(0000) GS:ffff88021fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 00000001a825e000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/25 10:20 https://github.com/google/kmsan.git master 0cc51dc9a291 9be5aa1d .config console log report syz C ci-upstream-kmsan-gce
2018/08/25 09:25 https://github.com/google/kmsan.git master 0cc51dc9a291 9be5aa1d .config console log report ci-upstream-kmsan-gce
2018/08/13 02:09 https://github.com/google/kmsan.git master 0cc51dc9a291 7a88b141 .config console log report ci-upstream-kmsan-gce
2018/08/12 10:51 https://github.com/google/kmsan.git master 0cc51dc9a291 7a88b141 .config console log report ci-upstream-kmsan-gce
2018/08/10 04:54 https://github.com/google/kmsan.git master 0cc51dc9a291 1fb62d58 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.