syzbot


kernel BUG in validate_mm

Status: auto-closed as invalid on 2021/10/25 07:00
Reported-by: syzbot+718fcd25a72d0e7e5fd8@syzkaller.appspotmail.com
First crash: 384d, last: 384d
similar bugs (6):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in validate_mm_rb 3 470d 454d 0/23 auto-closed as invalid on 2021/06/30 15:02
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 at mm/mmap.c:LINE! 3 694d 710d 0/23 auto-closed as invalid on 2021/01/18 00:49
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
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:
start_brk 2c42000 brk 2c64000 start_stack 7fffbb23e8f0
arg_start 7fffbb23fe9d arg_end 7fffbb23feb2 env_start 7fffbb23feb2 env_end 7fffbb23ffe3
binfmt ffffffff8bb28a80 flags cd core_state 0000000000000000
ioctx_table 0000000000000000
owner ffff88814cba6040 exe_file ffff8880299ecd40
------------[ cut here ]------------
kernel BUG at mm/mmap.c:431!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3350 Comm: syz-executor.4 Not tainted 5.14.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:validate_mm+0x617/0x800 mm/mmap.c:431
Code: bf 47 c9 ff 44 89 e6 bf ff ff ff ff e8 62 50 c9 ff 41 83 fc ff 0f 85 79 f8 3d 07 e8 a3 47 c9 ff 48 8b 7c 24 18 e8 09 d7 fb ff <0f> 0b e8 92 47 c9 ff 48 8b 54 24 28 48 b8 00 00 00 00 00 fc ff df
RSP: 0018:ffffc900172cfa28 EFLAGS: 00010286
RAX: 0000000000000369 RBX: 0000000000000024 RCX: 0000000000000000
RDX: ffff88814cba6040 RSI: ffffffff815c9ca5 RDI: fffff52002e59ee4
RBP: 0000000000000000 R08: 0000000000000369 R09: 0000000000000000
R10: ffffffff815c3aae R11: 0000000000000000 R12: 0000000000000001
R13: 000000001ffff000 R14: 0000000000000000 R15: 0000000020000000
FS:  0000000002c42400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000056c020 CR3: 00000001561cd000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __vma_adjust+0xc43/0x2680 mm/mmap.c:1024
 vma_merge+0x3e5/0xd20 mm/mmap.c:1233
 mmap_region+0x349/0x1760 mm/mmap.c:1768
 do_mmap+0x86e/0x1180 mm/mmap.c:1584
 vm_mmap_pgoff+0x1b7/0x290 mm/util.c:519
 ksys_mmap_pgoff+0xe4/0x620 mm/mmap.c:1635
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x466632
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:00007fffbb23ddd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000020022 RCX: 0000000000466632
RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000020022 R11: 0000000000000246 R12: 00007fffbb23dfd0
R13: 00007f4779d9d700 R14: 0000000000000000 R15: 0000000000022000
Modules linked in:
---[ end trace e06f9365504eafbd ]---
RIP: 0010:validate_mm+0x617/0x800 mm/mmap.c:431
Code: bf 47 c9 ff 44 89 e6 bf ff ff ff ff e8 62 50 c9 ff 41 83 fc ff 0f 85 79 f8 3d 07 e8 a3 47 c9 ff 48 8b 7c 24 18 e8 09 d7 fb ff <0f> 0b e8 92 47 c9 ff 48 8b 54 24 28 48 b8 00 00 00 00 00 fc ff df
RSP: 0018:ffffc900172cfa28 EFLAGS: 00010286
RAX: 0000000000000369 RBX: 0000000000000024 RCX: 0000000000000000
RDX: ffff88814cba6040 RSI: ffffffff815c9ca5 RDI: fffff52002e59ee4
RBP: 0000000000000000 R08: 0000000000000369 R09: 0000000000000000
R10: ffffffff815c3aae R11: 0000000000000000 R12: 0000000000000001
R13: 000000001ffff000 R14: 0000000000000000 R15: 0000000020000000
FS:  0000000002c42400(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000056c020 CR3: 00000001561cd000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2021/07/27 06:59 upstream ff1176468d36 fd511809 .config log report info kernel BUG in validate_mm