syzbot


kernel BUG at mm/mmap.c:LINE!

Status: auto-closed as invalid on 2021/01/18 00:49
Reported-by: syzbot+721b657f8f01708b291b@syzkaller.appspotmail.com
First crash: 714d, last: 694d
similar bugs (6):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG in validate_mm_rb (2) 1 214d 214d 0/1 auto-closed as invalid on 2022/05/13 06:41
upstream kernel BUG in __vma_link_rb 3 252d 272d 0/23 auto-closed as invalid on 2022/03/05 23:59
linux-4.19 kernel BUG at mm/mmap.c:LINE! 1 743d 743d 0/1 auto-closed as invalid on 2020/11/30 02:07
upstream kernel BUG in validate_mm_rb 3 470d 455d 0/23 auto-closed as invalid on 2021/06/30 15:02
upstream kernel BUG in validate_mm 1 384d 346d 0/23 auto-closed as invalid on 2021/10/25 07:00
linux-4.19 kernel BUG in validate_mm_rb 1 411d 411d 0/1 auto-closed as invalid on 2021/10/27 12:21

Sample crash report:
vma ffff88801fffe358 start 00007f5db2064000 end 00007f5db206b000
next 000000009ca3b040 prev 0000000000000000 mm 0000000000000000
prot 0 anon_vma 0000000000000000 vm_ops 0000000000000000
pgoff 0 file 0000000000000000 private_data 0000000000000000
flags: 0x0()
------------[ cut here ]------------
kernel BUG at mm/mmap.c:384!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 30059 Comm: systemd-rfkill Not tainted 5.9.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:validate_mm_rb+0x1d6/0x2d0 mm/mmap.c:384
Code: 4c 0f 42 e8 e8 eb 81 cd ff 4c 89 ee 4c 89 ff e8 e0 7d cd ff 4d 39 ef 0f 84 70 fe ff ff e8 d2 81 cd ff 4c 89 e7 e8 f3 84 fc ff <0f> 0b 49 89 c5 e8 c0 81 cd ff 48 8d 7d f8 48 89 f8 48 c1 e8 03 42
RSP: 0018:ffffc9000751fbf0 EFLAGS: 00010287
RAX: 0000000000000102 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8880a97a8580 RSI: ffffffff815f5a85 RDI: fffff52000ea3f59
RBP: ffff88801fffe378 R08: 0000000000000102 R09: ffff8880ae7318e7
R10: 0000000000000000 R11: 1ffffffff1954473 R12: ffff88801fffe358
R13: 00007f5db2064000 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5db1e301f0 CR3: 00000000a7dc6000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 vma_rb_insert mm/mmap.c:456 [inline]
 __vma_link_rb mm/mmap.c:612 [inline]
 __vma_link mm/mmap.c:640 [inline]
 vma_link+0x5ea/0x830 mm/mmap.c:654
 mmap_region+0xcd8/0x1780 mm/mmap.c:1815
 do_mmap+0xcf9/0x11d0 mm/mmap.c:1545
 vm_mmap_pgoff+0x195/0x200 mm/util.c:506
 ksys_mmap_pgoff+0x444/0x580 mm/mmap.c:1596
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f5db37df30a
Code: 89 f5 41 54 49 89 fc 55 53 74 35 49 63 e8 48 63 da 4d 89 f9 49 89 e8 4d 63 d6 48 89 da 4c 89 ee 4c 89 e7 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 4e 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 00
RSP: 002b:00007ffeea58f938 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f5db37df30a
RDX: 0000000000000005 RSI: 0000000000245100 RDI: 0000000000000000
RBP: 0000000000000004 R08: 0000000000000004 R09: 0000000000000000
R10: 0000000000000802 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000245100 R14: 0000000000000802 R15: 0000000000000000
Modules linked in:
---[ end trace dbf20e8f0746c027 ]---
RIP: 0010:validate_mm_rb+0x1d6/0x2d0 mm/mmap.c:384
Code: 4c 0f 42 e8 e8 eb 81 cd ff 4c 89 ee 4c 89 ff e8 e0 7d cd ff 4d 39 ef 0f 84 70 fe ff ff e8 d2 81 cd ff 4c 89 e7 e8 f3 84 fc ff <0f> 0b 49 89 c5 e8 c0 81 cd ff 48 8d 7d f8 48 89 f8 48 c1 e8 03 42
RSP: 0018:ffffc9000751fbf0 EFLAGS: 00010287
RAX: 0000000000000102 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8880a97a8580 RSI: ffffffff815f5a85 RDI: fffff52000ea3f59
RBP: ffff88801fffe378 R08: 0000000000000102 R09: ffff8880ae7318e7
R10: 0000000000000000 R11: 1ffffffff1954473 R12: ffff88801fffe358
R13: 00007f5db2064000 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5db1e301f0 CR3: 00000000a7dc6000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2020/09/20 00:49 upstream eb5f95f1593f 53ce8104 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/09/04 01:49 upstream e28f0104343d abf9ba4f .config log report
ci-upstream-kasan-gce 2020/08/30 19:01 upstream 1127b219ce94 d5a3ae1f .config log report