syzbot


BUG: unable to handle kernel NULL pointer dereference in call_timer_fn

Status: auto-closed as invalid on 2021/05/18 23:15
Reported-by: syzbot+81e99afce429c5e022e7@syzkaller.appspotmail.com
First crash: 748d, last: 572d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel NULL pointer dereference in call_timer_fn 1 619d 619d 0/23 auto-closed as invalid on 2021/03/03 09:48
linux-4.14 BUG: unable to handle kernel NULL pointer dereference in call_timer_fn 2 813d 841d 0/1 auto-closed as invalid on 2020/09/20 01:08
android-54 BUG: unable to handle kernel NULL pointer dereference in call_timer_fn (2) 4 13d 121d 0/2 upstream: reported on 2022/04/15 00:29

Sample crash report:
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 1af089067 P4D 1af089067 PUD 1af08a067 PMD 0 
Oops: 0010 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 12926 Comm: syz-executor.4 Not tainted 5.4.89-syzkaller-00265-g41724582d2a8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:0x0
Code: Bad RIP value.
RSP: 0018:ffff8881f7009be8 EFLAGS: 00010202
RAX: ffffffff8155d2fc RBX: 0000000000000000 RCX: ffff8881af30dd00
RDX: 0000000080000101 RSI: 0000000000000000 RDI: ffff8881b58671c0
RBP: ffff8881b58671e0 R08: ffffffff8155d197 R09: ffffed103ee046f7
R10: ffffed103ee046f7 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000101 R14: ffff8881b58671c8 R15: ffff8881b58671c0
FS:  0000000002c1f940(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001af088000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 call_timer_fn+0x154/0x340 kernel/time/timer.c:1416
 expire_timers+0x35c/0x470 kernel/time/timer.c:1461
 __run_timers+0x652/0x7a0 kernel/time/timer.c:1785
 run_timer_softirq+0x46/0x80 kernel/time/timer.c:1798
 __do_softirq+0x30f/0x769 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x1b4/0x1c0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:547 [inline]
 smp_apic_timer_interrupt+0x2d1/0x460 arch/x86/kernel/apic/apic.c:1146
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:831
 </IRQ>
RIP: 0010:do_wait_thread kernel/exit.c:1383 [inline]
RIP: 0010:do_wait+0x469/0x840 kernel/exit.c:1455
Code: e4 0f 85 dd 02 00 00 4c 89 f0 48 c1 e8 03 49 bc 00 00 00 00 00 fc ff df 42 80 3c 20 00 74 08 4c 89 f7 e8 ca 30 56 00 4d 8b 36 <4c> 39 f3 74 22 e8 0d 6b 27 00 eb ab 90 66 2e 0f 1f 84 00 00 00 00
RSP: 0018:ffff8881be957b60 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff11032615a60 RBX: ffff8881af30e270 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff8881be957c70 R08: ffffffff813d69dd R09: ffffffff813d8539
R10: ffff8881af30dd00 R11: 0000000000000002 R12: dffffc0000000000
R13: ffff8881be957cc0 R14: ffff8881b88fa480 R15: ffff8881af30dd00
 kernel_wait4+0x2a3/0x3b0 kernel/exit.c:1627
 __do_sys_wait4 kernel/exit.c:1639 [inline]
 __se_sys_wait4 kernel/exit.c:1635 [inline]
 __x64_sys_wait4+0x130/0x1e0 kernel/exit.c:1635
 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x417dba
Code: 0f 83 6a 18 00 00 c3 66 0f 1f 84 00 00 00 00 00 8b 05 de 33 2a 01 85 c0 75 36 45 31 d2 48 63 d2 48 63 ff b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 d4 ff ff ff f7
RSP: 002b:00007ffe5081e798 EFLAGS: 00000246 ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 0000000000000bb8 RCX: 0000000000417dba
RDX: 0000000040000001 RSI: 00007ffe5081e7f0 RDI: ffffffffffffffff
RBP: 00000000000ae6c4 R08: 0000000000000001 R09: 0000000002c1f940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000003b8d
R13: 0000000000000000 R14: 0000000000000032 R15: 00000000000ae6c4
Modules linked in:
CR2: 0000000000000000
---[ end trace a10b7b63cbca589d ]---
RIP: 0010:0x0
Code: Bad RIP value.
RSP: 0018:ffff8881f7009be8 EFLAGS: 00010202
RAX: ffffffff8155d2fc RBX: 0000000000000000 RCX: ffff8881af30dd00
RDX: 0000000080000101 RSI: 0000000000000000 RDI: ffff8881b58671c0
RBP: ffff8881b58671e0 R08: ffffffff8155d197 R09: ffffed103ee046f7
R10: ffffed103ee046f7 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000101 R14: ffff8881b58671c8 R15: ffff8881b58671c0
FS:  0000000002c1f940(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 00000001af088000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2021/01/18 23:15 android12-5.4 41724582d2a8 63631df1 .config log report info BUG: unable to handle kernel NULL pointer dereference in call_timer_fn
ci2-android-5-4-kasan 2020/10/08 16:18 android12-5.4 54d2c66faf42 92390980 .config log report info
ci2-android-5-4-kasan 2020/09/15 10:15 https://android.googlesource.com/kernel/common android-5.4 48ad97696bbb 9e681632 .config log report info
ci2-android-5-4-kasan 2020/09/04 06:44 https://android.googlesource.com/kernel/common android-5.4 0ddc717be4a9 abf9ba4f .config log report
ci2-android-5-4-kasan 2020/07/26 23:56 https://android.googlesource.com/kernel/common android-5.4 928d72f69121 51265195 .config log report