syzbot


BUG: unable to handle kernel paging request in no_context

Status: closed as invalid on 2021/12/14 20:22
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 809d, last: 779d

Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config

Fix bisection: failed (bisect log)

Sample crash report:
BUG: unable to handle page fault for address: ffffffff65f880b2
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 9a90067 P4D 9a90067 PUD 0 
general protection fault, probably for non-canonical address 0xe00edc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x0077000000000000-0x0077000000000007]
CPU: 0 PID: 10412 Comm: syz-executor747 Not tainted 5.9.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:no_context+0x52d/0x9f0 arch/x86/mm/fault.c:737
Code: c1 e0 2a 48 c1 ea 03 80 3c 02 00 0f 85 41 04 00 00 48 8b 44 24 08 48 8b 58 18 b8 ff ff 37 00 48 c1 e0 2a 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 35 04 00 00 48 8b 1b bf 9d 6e ac 57 48 89 de e8
RSP: 0018:ffffc90000007a18 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0077000000000000 RCX: 0000000000000000
RDX: 000ee00000000000 RSI: ffffffff81343401 RDI: ffff88800012c418
RBP: ffffc90000007bd8 R08: 0000000000000000 R09: ffff8880ae620f8b
R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff65f880b2
R13: 0000000000000000 R14: 0000000000000082 R15: 0000000000000000
FS:  00007f098cfcb700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff65f880b2 CR3: 0000000000098000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __bad_area_nosemaphore+0xa9/0x4f0 arch/x86/mm/fault.c:835
 do_kern_addr_fault+0x5b/0x6f arch/x86/mm/fault.c:1207
 handle_page_fault arch/x86/mm/fault.c:1427 [inline]
 exc_page_fault+0x168/0x190 arch/x86/mm/fault.c:1482
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:538
RIP: 0010:update_overutilized_status kernel/sched/fair.c:5442 [inline]
RIP: 0010:task_tick_fair+0x2f9/0xbb0 kernel/sched/fair.c:10665
Code: 00 00 00 fc ff df 49 8d 7d 2c 48 89 fa 48 c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 f1 05 00 00 <41> 8b 45 2c 85 c0 0f 84 fa 03 00 00 48 b8 00 00 00 00 00 fc ff df
RSP: 0018:ffffc90000007c80 EFLAGS: 00010046
RAX: 0000000000000005 RBX: 0000000000000770 RCX: ffffffff81645aec
RDX: 0000000000000000 RSI: ffffffff81645bb5 RDI: ffffffff65f880b2
RBP: ffffffff8987da80 R08: 0000000000000000 R09: ffff88800012d6f0
R10: 0000000000049596 R11: 0000000000000001 R12: 0000000000035e00
R13: ffffffff65f88086 R14: 000000000122f30a R15: 0000000000000000
 scheduler_tick+0x13a/0x400 kernel/sched/core.c:3999
 update_process_times+0x49/0xa0 kernel/time/timer.c:1715
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:176
 tick_sched_timer+0x1d1/0x2a0 kernel/time/tick-sched.c:1328
 __run_hrtimer kernel/time/hrtimer.c:1524 [inline]
 __hrtimer_run_queues+0x1d5/0xfc0 kernel/time/hrtimer.c:1588
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1650
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0x142/0x5e0 arch/x86/kernel/apic/apic.c:1097
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706
 </IRQ>
Modules linked in:
---[ end trace 96c464a626b9d048 ]---
RIP: 0010:no_context+0x52d/0x9f0 arch/x86/mm/fault.c:737
Code: c1 e0 2a 48 c1 ea 03 80 3c 02 00 0f 85 41 04 00 00 48 8b 44 24 08 48 8b 58 18 b8 ff ff 37 00 48 c1 e0 2a 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 35 04 00 00 48 8b 1b bf 9d 6e ac 57 48 89 de e8
RSP: 0018:ffffc90000007a18 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0077000000000000 RCX: 0000000000000000
RDX: 000ee00000000000 RSI: ffffffff81343401 RDI: ffff88800012c418
RBP: ffffc90000007bd8 R08: 0000000000000000 R09: ffff8880ae620f8b
R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff65f880b2
R13: 0000000000000000 R14: 0000000000000082 R15: 0000000000000000
FS:  00007f098cfcb700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff65f880b2 CR3: 0000000000098000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2020/09/10 04:27 upstream 34d4ddd359db 409809d8 .config log report syz C
* Struck through repros no longer work on HEAD.