syzbot


kernel BUG in validate_mm (3)

Status: auto-obsoleted due to no activity on 2024/07/08 21:41
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+39a72b995ba73633c1a7@syzkaller.appspotmail.com
First crash: 260d, last: 260d
Cause bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] kernel BUG in validate_mm (3) 2 (3) 2024/01/30 11:34
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in validate_mm (2) mm C unreliable done 217 469d 467d 23/28 fixed on 2023/10/12 12:47
upstream kernel BUG in validate_mm_rb mm 3 1262d 1247d 0/28 auto-closed as invalid on 2021/06/30 15:02
upstream kernel BUG in validate_mm mm 1 1176d 1138d 0/28 auto-closed as invalid on 2021/10/25 07:00
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/07/08 21:19 21m retest repro linux-next OK log
2024/04/29 13:52 15m retest repro linux-next error
2024/02/15 10:14 21m retest repro linux-next error

Sample crash report:
arg_start 7fffd9277efb arg_end 7fffd9277f14 env_start 7fffd9277f14 env_end 7fffd9277fdf
binfmt ffffffff8d9c5c00 flags 80007fd
ioctx_table 0000000000000000
owner ffff88802c0cda00 exe_file ffff88801ff60500
notifier_subscriptions 0000000000000000
numa_next_scan 0 numa_scan_offset 0 numa_scan_seq 0
tlb_flush_pending 0
def_flags: 0x0()
------------[ cut here ]------------
kernel BUG at mm/mmap.c:328!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 PID: 5058 Comm: syz-executor310 Not tainted 6.8.0-rc1-next-20240129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:validate_mm+0x3f3/0x4b0 mm/mmap.c:328
Code: 0f 84 a4 fd ff ff e9 47 ff ff ff e8 77 91 b9 ff 44 89 f2 89 de 48 c7 c7 e0 af 19 8b e8 56 69 9b ff 4c 89 ff e8 ce c4 fa ff 90 <0f> 0b e8 56 91 b9 ff 0f b6 15 1f dd b1 0d 31 ff 89 d6 88 14 24 e8
RSP: 0018:ffffc900035df958 EFLAGS: 00010282
RAX: 000000000000032a RBX: 000000000000000d RCX: ffffffff816e2f59
RDX: 0000000000000000 RSI: ffffffff816eb7e6 RDI: 0000000000000005
RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: 00007fffd92ff000
R13: 0000000000000000 R14: 000000000000000e R15: ffff88802c6b8000
FS:  0000555557046380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f10ada208a0 CR3: 000000007b434000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vma_merge+0x16a9/0x3d70 mm/mmap.c:1033
 vma_merge_new_vma mm/mmap.c:2465 [inline]
 mmap_region+0x206b/0x2760 mm/mmap.c:2841
 do_mmap+0x8ae/0xf10 mm/mmap.c:1380
 vm_mmap_pgoff+0x1ab/0x3c0 mm/util.c:573
 ksys_mmap_pgoff+0x425/0x5b0 mm/mmap.c:1426
 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline]
 __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline]
 __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:86
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f10ad9e52a9
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffd9276338 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007fffd9276518 RCX: 00007f10ad9e52a9
RDX: 0000000000000001 RSI: 0000000000002000 RDI: 0000000020ffc000
RBP: 00007f10ada58610 R08: 0000000000000003 R09: 0000000000000000
R10: 0000000000000011 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffd9276508 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:validate_mm+0x3f3/0x4b0 mm/mmap.c:328
Code: 0f 84 a4 fd ff ff e9 47 ff ff ff e8 77 91 b9 ff 44 89 f2 89 de 48 c7 c7 e0 af 19 8b e8 56 69 9b ff 4c 89 ff e8 ce c4 fa ff 90 <0f> 0b e8 56 91 b9 ff 0f b6 15 1f dd b1 0d 31 ff 89 d6 88 14 24 e8
RSP: 0018:ffffc900035df958 EFLAGS: 00010282
RAX: 000000000000032a RBX: 000000000000000d RCX: ffffffff816e2f59
RDX: 0000000000000000 RSI: ffffffff816eb7e6 RDI: 0000000000000005
RBP: dffffc0000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: 00007fffd92ff000
R13: 0000000000000000 R14: 000000000000000e R15: ffff88802c6b8000
FS:  0000555557046380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000664740 CR3: 000000007b434000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/29 11:03 linux-next 596764183be8 cc4a4020 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in validate_mm
2024/01/29 07:58 linux-next 596764183be8 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in validate_mm
2024/01/29 07:50 linux-next 596764183be8 cc4a4020 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in validate_mm
* Struck through repros no longer work on HEAD.