syzbot


kernel BUG in validate_mm_rb (2)

Status: auto-closed as invalid on 2022/05/13 06:41
Reported-by: syzbot+17555193998195f6a5d2@syzkaller.appspotmail.com
First crash: 1060d, last: 1060d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in __vma_link_rb mm 3 1098d 1118d 0/28 auto-closed as invalid on 2022/03/05 23:59
upstream kernel BUG in validate_mm_rb mm 3 1317d 1301d 0/28 auto-closed as invalid on 2021/06/30 15:02
linux-4.19 kernel BUG in validate_mm_rb 1 1258d 1258d 0/1 auto-closed as invalid on 2021/10/27 12:21
upstream kernel BUG at mm/mmap.c:LINE! mm 3 1540d 1556d 0/28 auto-closed as invalid on 2021/01/18 00:49
linux-4.19 kernel BUG at mm/mmap.c:LINE! 1 1589d 1589d 0/1 auto-closed as invalid on 2020/11/30 02:07
upstream kernel BUG in validate_mm mm 1 1230d 1192d 0/28 auto-closed as invalid on 2021/10/25 07:00

Sample crash report:
prot 8000000000000025 anon_vma ffff88804d98b1d0 vm_ops 0000000000000000
pgoff 555557040 file 0000000000000000 private_data 0000000000000000
flags: 0x8100073(read|write|mayread|maywrite|mayexec|account|softdirty)
------------[ cut here ]------------
kernel BUG at mm/mmap.c:350!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 27167 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:validate_mm_rb+0x97/0xb0 mm/mmap.c:350
Code: 7d 18 4c 89 e7 e8 f9 f2 ff ff 49 89 c5 48 89 c6 4c 89 ff e8 9b df d4 ff 4d 39 ef 74 a7 e8 81 de d4 ff 4c 89 e7 e8 08 ee 66 06 <0f> 0b 5b 5d 41 5c 41 5d 41 5e 41 5f e9 68 de d4 ff e8 53 bb 0a 00
RSP: 0018:ffff88801b87fba8 EFLAGS: 00010283
RAX: 0000000000000154 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed100370ff50
RBP: ffff88801a6a1480 R08: 0000000000000154 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88801a6a1460
R13: 00007ff576ce2000 R14: dffffc0000000000 R15: 0000553a25920000
FS:  0000555557040400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000000 CR3: 0000000038825000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 vma_rb_insert mm/mmap.c:421 [inline]
 __vma_link_rb mm/mmap.c:577 [inline]
 __vma_link mm/mmap.c:605 [inline]
 vma_link+0x1a5/0x2e0 mm/mmap.c:619
 mmap_region+0x1012/0x16b0 mm/mmap.c:1780
 do_mmap+0x8e8/0x1080 mm/mmap.c:1530
 do_mmap_pgoff include/linux/mm.h:2329 [inline]
 vm_mmap_pgoff+0x197/0x200 mm/util.c:357
 ksys_mmap_pgoff+0x45f/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:0x7ff5783acf02
Code: 00 00 00 00 00 0f 1f 00 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 3b 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 5b 5d c3 0f 1f 00 48 c7 c0 bc ff ff ff 64
RSP: 002b:00007ffe3081cae8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000020022 RCX: 00007ff5783acf02
RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000020022 R11: 0000000000000246 R12: 00007ffe3081ccf0
R13: 00007ff577523700 R14: 0000000000000000 R15: 0000000000022000
Modules linked in:
---[ end trace 84bca71d83d5b6d3 ]---
RIP: 0010:validate_mm_rb+0x97/0xb0 mm/mmap.c:350
Code: 7d 18 4c 89 e7 e8 f9 f2 ff ff 49 89 c5 48 89 c6 4c 89 ff e8 9b df d4 ff 4d 39 ef 74 a7 e8 81 de d4 ff 4c 89 e7 e8 08 ee 66 06 <0f> 0b 5b 5d 41 5c 41 5d 41 5e 41 5f e9 68 de d4 ff e8 53 bb 0a 00
RSP: 0018:ffff88801b87fba8 EFLAGS: 00010283
RAX: 0000000000000154 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed100370ff50
RBP: ffff88801a6a1480 R08: 0000000000000154 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88801a6a1460
R13: 00007ff576ce2000 R14: dffffc0000000000 R15: 0000553a25920000
FS:  0000555557040400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000100000000 CR3: 0000000038825000 CR4: 00000000003406e0
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
2022/01/13 06:40 linux-4.19.y 3f8a27f9e27b 44d1319a .config console log report info ci2-linux-4-19 kernel BUG in validate_mm_rb
* Struck through repros no longer work on HEAD.