syzbot


upstream boot error: BUG: unable to handle kernel paging request in free_block

Status: auto-obsoleted due to no activity on 2022/12/14 00:15
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+382af021ce115a936b1f@syzkaller.appspotmail.com
First crash: 621d, last: 618d
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] virtio_net: Revert "virtio_net: set the default max ring size by find_vqs()" 9 (9) 2022/08/15 21:47
[syzbot] upstream boot error: BUG: unable to handle kernel paging request in free_block 0 (1) 2022/08/15 17:59
Last patch testing requests (3)
Created Duration User Patch Repo Result
2022/08/15 19:22 18m linux@roeck-us.net git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git v6.0-rc1 error OK
2022/08/15 19:22 11m linux@roeck-us.net patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git v6.0-rc1 OK
2022/08/15 18:16 15m linux@roeck-us.net https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git fc4d146e8d7d25ef88d409bea1f2e9aff7f30635 OK

Sample crash report:
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
BUG: unable to handle page fault for address: ffffebde00000008
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0 P4D 0 
Oops: 0000 [#1] PREEMPT SMP
CPU: 1 PID: 25 Comm: kworker/1:1 Not tainted 6.0.0-rc1-syzkaller-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
Workqueue: events cache_reap
RIP: 0010:_compound_head include/linux/page-flags.h:253 [inline]
RIP: 0010:virt_to_folio include/linux/mm.h:858 [inline]
RIP: 0010:virt_to_slab mm/slab.h:175 [inline]
RIP: 0010:free_block+0xc4/0x2d0 mm/slab.c:3317
Code: b8 00 00 00 80 7f 77 00 00 48 81 fd 00 00 00 80 72 07 48 8b 05 9d d0 70 04 48 01 e8 48 2d 00 00 00 80 48 c1 e8 06 48 83 e0 c0 <48> 8b 4c 06 08 f6 c1 01 0f 85 47 01 00 00 48 01 f0 0f 1f 44 00 00
RSP: 0018:ffffc900002f3c80 EFLAGS: 00010006
RAX: 000001de00000000 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000001 RSI: ffffea0000000000 RDI: ffff888100cf06c0
RBP: 0000000000000000 R08: ffffc900002f3cf8 R09: 0000000000000000
R10: 0001ea00040c6fc0 R11: 0001ffffffffffff R12: ffff888100cf06c0
R13: ffffc900002f3cf8 R14: ffffc900002f3cf8 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffebde00000008 CR3: 0000000106554000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 drain_array_locked mm/slab.c:2130 [inline]
 drain_array+0xb8/0x1a0 mm/slab.c:3958
 cache_reap+0x238/0x330 mm/slab.c:4010
 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
 worker_thread+0x618/0xa70 kernel/workqueue.c:2436
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30
 </TASK>
Modules linked in:
CR2: ffffebde00000008
---[ end trace 0000000000000000 ]---
RIP: 0010:_compound_head include/linux/page-flags.h:253 [inline]
RIP: 0010:virt_to_folio include/linux/mm.h:858 [inline]
RIP: 0010:virt_to_slab mm/slab.h:175 [inline]
RIP: 0010:free_block+0xc4/0x2d0 mm/slab.c:3317
Code: b8 00 00 00 80 7f 77 00 00 48 81 fd 00 00 00 80 72 07 48 8b 05 9d d0 70 04 48 01 e8 48 2d 00 00 00 80 48 c1 e8 06 48 83 e0 c0 <48> 8b 4c 06 08 f6 c1 01 0f 85 47 01 00 00 48 01 f0 0f 1f 44 00 00
RSP: 0018:ffffc900002f3c80 EFLAGS: 00010006
RAX: 000001de00000000 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000001 RSI: ffffea0000000000 RDI: ffff888100cf06c0
RBP: 0000000000000000 R08: ffffc900002f3cf8 R09: 0000000000000000
R10: 0001ea00040c6fc0 R11: 0001ffffffffffff R12: ffff888100cf06c0
R13: ffffc900002f3cf8 R14: ffffc900002f3cf8 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffebde00000008 CR3: 0000000106554000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	b8 00 00 00 80       	mov    $0x80000000,%eax
   5:	7f 77                	jg     0x7e
   7:	00 00                	add    %al,(%rax)
   9:	48 81 fd 00 00 00 80 	cmp    $0xffffffff80000000,%rbp
  10:	72 07                	jb     0x19
  12:	48 8b 05 9d d0 70 04 	mov    0x470d09d(%rip),%rax        # 0x470d0b6
  19:	48 01 e8             	add    %rbp,%rax
  1c:	48 2d 00 00 00 80    	sub    $0xffffffff80000000,%rax
  22:	48 c1 e8 06          	shr    $0x6,%rax
  26:	48 83 e0 c0          	and    $0xffffffffffffffc0,%rax
* 2a:	48 8b 4c 06 08       	mov    0x8(%rsi,%rax,1),%rcx <-- trapping instruction
  2f:	f6 c1 01             	test   $0x1,%cl
  32:	0f 85 47 01 00 00    	jne    0x17f
  38:	48 01 f0             	add    %rsi,%rax
  3b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/16 00:15 upstream 568035b01cfb 7a7cb304 .config console log report ci2-upstream-kcsan-gce upstream boot error: BUG: unable to handle kernel paging request in free_block
2022/08/15 02:10 upstream 568035b01cfb 8dfcaa3d .config console log report ci2-upstream-kcsan-gce upstream boot error: BUG: unable to handle kernel paging request in free_block
2022/08/14 21:14 upstream 5d6a0f4da927 8dfcaa3d .config console log report ci-upstream-gce-leak upstream boot error: BUG: unable to handle kernel paging request in free_block
2022/08/13 22:08 upstream f6eb0fed6a39 8dfcaa3d .config console log report ci2-upstream-kcsan-gce upstream boot error: BUG: unable to handle kernel paging request in free_block
2022/08/13 22:08 upstream f6eb0fed6a39 8dfcaa3d .config console log report ci2-upstream-kcsan-gce upstream boot error: BUG: unable to handle kernel paging request in free_block
2022/08/13 01:49 upstream 6c833c0581f1 8dfcaa3d .config console log report ci2-upstream-kcsan-gce upstream boot error: BUG: unable to handle kernel paging request in free_block
* Struck through repros no longer work on HEAD.