syzbot


general protection fault in __vma_link_file

Status: auto-closed as invalid on 2021/10/10 12:09
Reported-by: syzbot+04b4df44aba277d8f99c@syzkaller.appspotmail.com
First crash: 1049d, last: 1049d

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 32185 Comm: syz-executor.2 Not tainted 4.19.194-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__rb_insert lib/rbtree.c:131 [inline]
RIP: 0010:__rb_insert_augmented+0x96/0x920 lib/rbtree.c:495
Code: ea 48 c1 ea 03 42 80 3c 2a 00 0f 85 81 05 00 00 4c 8b 65 00 41 f6 c4 01 0f 85 6e 03 00 00 4d 8d 44 24 08 4c 89 c2 48 c1 ea 03 <42> 80 3c 2a 00 0f 85 71 05 00 00 4d 8b 74 24 08 49 39 ee 0f 84 76
RSP: 0018:ffff88822e51fb58 EFLAGS: 00010202
RAX: ffff88808df7d910 RBX: ffff8880aa90acf8 RCX: ffff88808df7d918
RDX: 0000000000000001 RSI: dffffc0000000000 RDI: 1ffff1101552159f
RBP: ffff8880001006c8 R08: 0000000000000008 R09: 0000000000000000
R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff81896500
FS:  00007f4a60adc700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c025703000 CR3: 000000001d074000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __vma_link_file+0xd8/0x1a0 mm/mmap.c:594
 vma_link+0x1c3/0x2e0 mm/mmap.c:620
 mmap_region+0xd24/0x16b0 mm/mmap.c:1780
 do_mmap+0x8e8/0x1080 mm/mmap.c:1530
 do_mmap_pgoff include/linux/mm.h:2326 [inline]
 vm_mmap_pgoff+0x197/0x200 mm/util.c:357
 ksys_mmap_pgoff+0x298/0x5a0 mm/mmap.c:1580
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665d9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4a60adc188 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9
RDX: 000000000180000f RSI: 0000000000800000 RDI: 0000000020000000
RBP: 00000000004bfcb9 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000000000012 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffc9d26ed3f R14: 00007f4a60adc300 R15: 0000000000022000
Modules linked in:
---[ end trace e4f24baa11027972 ]---
RIP: 0010:__rb_insert lib/rbtree.c:131 [inline]
RIP: 0010:__rb_insert_augmented+0x96/0x920 lib/rbtree.c:495
Code: ea 48 c1 ea 03 42 80 3c 2a 00 0f 85 81 05 00 00 4c 8b 65 00 41 f6 c4 01 0f 85 6e 03 00 00 4d 8d 44 24 08 4c 89 c2 48 c1 ea 03 <42> 80 3c 2a 00 0f 85 71 05 00 00 4d 8b 74 24 08 49 39 ee 0f 84 76
RSP: 0018:ffff88822e51fb58 EFLAGS: 00010202
RAX: ffff88808df7d910 RBX: ffff8880aa90acf8 RCX: ffff88808df7d918
RDX: 0000000000000001 RSI: dffffc0000000000 RDI: 1ffff1101552159f
RBP: ffff8880001006c8 R08: 0000000000000008 R09: 0000000000000000
R10: 0000000000000006 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff81896500
FS:  00007f4a60adc700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c024f4d0d8 CR3: 000000001d074000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/12 12:08 linux-4.19.y 9a2dc0e6c531 1ba81399 .config console log report info ci2-linux-4-19 general protection fault in __vma_link_file
* Struck through repros no longer work on HEAD.