syzbot


BUG: unable to handle kernel paging request in anon_vma_clone

Status: auto-obsoleted due to no activity on 2023/04/04 16:58
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+25c58cd78f7cffaf4e82@syzkaller.appspotmail.com
First crash: 409d, last: 409d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in anon_vma_clone 1 827d 827d 0/1 auto-closed as invalid on 2022/04/11 18:34

Sample crash report:
BUG: unable to handle page fault for address: fffffffffffffff8
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD c570067 P4D c570067 PUD c572067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 17236 Comm: modprobe Not tainted 6.2.0-rc6-next-20230203-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:anon_vma_clone+0x101/0x5e0 mm/rmap.c:296
Code: d5 81 0d 00 48 85 c0 48 89 c5 0f 84 2c 02 00 00 e8 a4 e5 be ff 49 8d 7d 08 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 e0 03 00 00 <4d> 8b 65 08 4c 89 e0 48 c1 e8 03 80 3c 18 00 0f 85 d5 03 00 00 4d
RSP: 0018:ffffc9000361f858 EFLAGS: 00010246
RAX: 1fffffffffffffff RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff88807e63d7c0 RSI: ffffffff81c584fc RDI: fffffffffffffff8
RBP: ffff88805cb6f5b0 R08: 00000000ffffffff R09: ffff88805cb6f5b0
R10: 0000000000000050 R11: 0000000000094001 R12: 0000000000000000
R13: fffffffffffffff0 R14: ffff88804db667e0 R15: ffffc9000361fcd0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff8 CR3: 000000005cb1f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __split_vma+0x289/0x810 mm/mmap.c:2191
 do_vmi_align_munmap+0x22a/0xf60 mm/mmap.c:2302
 do_vmi_munmap+0x26e/0x2c0 mm/mmap.c:2452
 mmap_region+0x1ee/0x2690 mm/mmap.c:2500
 do_mmap+0x831/0xf60 mm/mmap.c:1364
 vm_mmap_pgoff+0x1af/0x280 mm/util.c:542
 ksys_mmap_pgoff+0x41f/0x5a0 mm/mmap.c:1410
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe1fabaf1f2
Code: 04 00 00 5b 5d 41 5c c3 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 33 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 56 5b 5d c3 0f 1f 00 c7 05 9e 1f 01 00 16 00
RSP: 002b:00007ffe19763cf8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000000812 RCX: 00007fe1fabaf1f2
RDX: 0000000000000003 RSI: 0000000000002000 RDI: 00007fe1fa86a000
RBP: 00007fe1fa86a000 R08: 0000000000000000 R09: 0000000000002000
R10: 0000000000000812 R11: 0000000000000206 R12: 00007ffe19763d10
R13: 00007ffe19763da0 R14: 0000000000000003 R15: 00007fe1fa86c000
 </TASK>
Modules linked in:
CR2: fffffffffffffff8
---[ end trace 0000000000000000 ]---
RIP: 0010:anon_vma_clone+0x101/0x5e0 mm/rmap.c:296
Code: d5 81 0d 00 48 85 c0 48 89 c5 0f 84 2c 02 00 00 e8 a4 e5 be ff 49 8d 7d 08 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 e0 03 00 00 <4d> 8b 65 08 4c 89 e0 48 c1 e8 03 80 3c 18 00 0f 85 d5 03 00 00 4d
RSP: 0018:ffffc9000361f858 EFLAGS: 00010246
RAX: 1fffffffffffffff RBX: dffffc0000000000 RCX: 0000000000000000
RDX: ffff88807e63d7c0 RSI: ffffffff81c584fc RDI: fffffffffffffff8
RBP: ffff88805cb6f5b0 R08: 00000000ffffffff R09: ffff88805cb6f5b0
R10: 0000000000000050 R11: 0000000000094001 R12: 0000000000000000
R13: fffffffffffffff0 R14: ffff88804db667e0 R15: ffffc9000361fcd0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff8 CR3: 000000005cb1f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	81 0d 00 48 85 c0 48 	orl    $0xfc58948,-0x3f7ab800(%rip)        # 0xc085480a
   7:	89 c5 0f
   a:	84 2c 02             	test   %ch,(%rdx,%rax,1)
   d:	00 00                	add    %al,(%rax)
   f:	e8 a4 e5 be ff       	callq  0xffbee5b8
  14:	49 8d 7d 08          	lea    0x8(%r13),%rdi
  18:	48 89 f8             	mov    %rdi,%rax
  1b:	48 c1 e8 03          	shr    $0x3,%rax
  1f:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1)
  23:	0f 85 e0 03 00 00    	jne    0x409
* 29:	4d 8b 65 08          	mov    0x8(%r13),%r12 <-- trapping instruction
  2d:	4c 89 e0             	mov    %r12,%rax
  30:	48 c1 e8 03          	shr    $0x3,%rax
  34:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1)
  38:	0f 85 d5 03 00 00    	jne    0x413
  3e:	4d                   	rex.WRB

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/03 16:58 linux-next 4fafd96910ad 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in anon_vma_clone
* Struck through repros no longer work on HEAD.