syzbot


usb-testing boot error: BUG: unable to handle kernel paging request in put_prev_entity

Status: auto-obsoleted due to no activity on 2022/12/30 16:14
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+27fb2fab2e8cd029d352@syzkaller.appspotmail.com
First crash: 587d, last: 573d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] usb-testing boot error: BUG: unable to handle kernel paging request in put_prev_entity 0 (1) 2022/08/22 20:31

Sample crash report:
BUG: unable to handle page fault for address: ffffdc0000000008
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 100026067 P4D 100026067 PUD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 6.0.0-rc1-syzkaller-00049-g4e55e22d3d9a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Workqueue: events free_work
RIP: 0010:entity_before kernel/sched/fair.c:585 [inline]
RIP: 0010:__entity_less kernel/sched/fair.c:621 [inline]
RIP: 0010:rb_add_cached include/linux/rbtree.h:174 [inline]
RIP: 0010:__enqueue_entity kernel/sched/fair.c:629 [inline]
RIP: 0010:put_prev_entity+0x11d/0x4c0 kernel/sched/fair.c:4722
Code: 00 0f 85 ec 02 00 00 4c 8b 7d 50 ba 01 00 00 00 49 be 00 00 00 00 00 fc ff df eb 03 48 89 c3 48 8d 7b 40 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 19 02 00 00 4c 3b 7b 40 4c 8d 63 10 78 06 4c
RSP: 0000:ffffc900000cfad0 EFLAGS: 00010802
RAX: 1fffe00000000008 RBX: ffff000000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffff8881f6837bf0 RDI: ffff000000000040
RBP: ffff8881002cd600 R08: ffff8881002cd610 R09: ffff8881f6837bc0
R10: fffffbfff11bd2ca R11: 0000000000000001 R12: ffff88810e8e8098
R13: ffff8881f6837bc0 R14: dffffc0000000000 R15: 000000004543bbc4
FS:  0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffdc0000000008 CR3: 0000000007825000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 pick_next_task_fair+0xa42/0xf80 kernel/sched/fair.c:7443
 __pick_next_task kernel/sched/core.c:5804 [inline]
 pick_next_task kernel/sched/core.c:6313 [inline]
 __schedule+0x3a3/0x26f0 kernel/sched/core.c:6458
 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6663
 __cond_resched+0x13/0x20 kernel/sched/core.c:8299
 _cond_resched include/linux/sched.h:2056 [inline]
 __vunmap+0x875/0xd30 mm/vmalloc.c:2697
 free_work+0x58/0x70 mm/vmalloc.c:97
 process_one_work+0x991/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2ea/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
CR2: ffffdc0000000008
---[ end trace 0000000000000000 ]---
RIP: 0010:entity_before kernel/sched/fair.c:585 [inline]
RIP: 0010:__entity_less kernel/sched/fair.c:621 [inline]
RIP: 0010:rb_add_cached include/linux/rbtree.h:174 [inline]
RIP: 0010:__enqueue_entity kernel/sched/fair.c:629 [inline]
RIP: 0010:put_prev_entity+0x11d/0x4c0 kernel/sched/fair.c:4722
Code: 00 0f 85 ec 02 00 00 4c 8b 7d 50 ba 01 00 00 00 49 be 00 00 00 00 00 fc ff df eb 03 48 89 c3 48 8d 7b 40 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 19 02 00 00 4c 3b 7b 40 4c 8d 63 10 78 06 4c
RSP: 0000:ffffc900000cfad0 EFLAGS: 00010802
RAX: 1fffe00000000008 RBX: ffff000000000000 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffff8881f6837bf0 RDI: ffff000000000040
RBP: ffff8881002cd600 R08: ffff8881002cd610 R09: ffff8881f6837bc0
R10: fffffbfff11bd2ca R11: 0000000000000001 R12: ffff88810e8e8098
R13: ffff8881f6837bc0 R14: dffffc0000000000 R15: 000000004543bbc4
FS:  0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffdc0000000008 CR3: 0000000007825000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	00 0f                	add    %cl,(%rdi)
   2:	85 ec                	test   %ebp,%esp
   4:	02 00                	add    (%rax),%al
   6:	00 4c 8b 7d          	add    %cl,0x7d(%rbx,%rcx,4)
   a:	50                   	push   %rax
   b:	ba 01 00 00 00       	mov    $0x1,%edx
  10:	49 be 00 00 00 00 00 	movabs $0xdffffc0000000000,%r14
  17:	fc ff df
  1a:	eb 03                	jmp    0x1f
  1c:	48 89 c3             	mov    %rax,%rbx
  1f:	48 8d 7b 40          	lea    0x40(%rbx),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1) <-- trapping instruction
  2f:	0f 85 19 02 00 00    	jne    0x24e
  35:	4c 3b 7b 40          	cmp    0x40(%rbx),%r15
  39:	4c 8d 63 10          	lea    0x10(%rbx),%r12
  3d:	78 06                	js     0x45
  3f:	4c                   	rex.WR

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/01 16:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4e55e22d3d9a 86c46e46 .config console log report ci2-upstream-usb usb-testing boot error: BUG: unable to handle kernel paging request in put_prev_entity
2022/08/24 10:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4dce3b375179 514514f6 .config console log report ci2-upstream-usb usb-testing boot error: BUG: unable to handle kernel paging request in put_prev_entity
2022/08/18 20:23 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ad57410d231d 26a13b38 .config console log report ci2-upstream-usb usb-testing boot error: BUG: unable to handle kernel paging request in put_prev_entity
* Struck through repros no longer work on HEAD.