syzbot


general protection fault in vma_merge

Status: auto-obsoleted due to no activity on 2023/05/03 07:17
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+29fe1bbf3a023691de49@syzkaller.appspotmail.com
First crash: 389d, last: 388d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] general protection fault in vma_merge 0 (1) 2023/03/24 05:27

Sample crash report:
general protection fault, probably for non-canonical address 0xf2712089be8cabf5: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x9389244df4655fa8-0x9389244df4655faf]
CPU: 0 PID: 5106 Comm: syz-fuzzer Not tainted 6.3.0-rc3-next-20230323-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:vma_merge+0x234/0x1fd0 mm/mmap.c:952
Code: 08 00 0f 84 b0 03 00 00 e8 e9 54 bf ff 48 8b 44 24 08 48 8d b8 a8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4d 18 00 00 48 8b 44 24 08 48 8b b0 a8 00 00 00
RSP: 0018:ffffc90003c9f998 EFLAGS: 00010a06
RAX: dffffc0000000000 RBX: ffff88802265b300 RCX: 0000000000000000
RDX: 12712489be8cabf5 RSI: ffffffff81c37957 RDI: 9389244df4655fa8
RBP: ffff88802168f300 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 000000c002e00000 R15: 0000000000000000
FS:  000000c00c6d0890(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffc58da2038 CR3: 000000002762c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 madvise_update_vma+0x23f/0xd40 mm/madvise.c:153
 madvise_vma_behavior+0x7f6/0x20e0 mm/madvise.c:1091
 madvise_walk_vmas+0x1c7/0x2b0 mm/madvise.c:1260
 do_madvise.part.0+0x193/0x470 mm/madvise.c:1439
 do_madvise mm/madvise.c:1452 [inline]
 __do_sys_madvise mm/madvise.c:1452 [inline]
 __se_sys_madvise mm/madvise.c:1450 [inline]
 __x64_sys_madvise+0x117/0x150 mm/madvise.c:1450
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x46b557
Code: 8b 24 24 48 8b 6c 24 10 48 83 c4 18 c3 cc cc cc cc cc cc 48 8b 7c 24 08 48 8b 74 24 10 8b 54 24 18 48 c7 c0 1c 00 00 00 0f 05 <89> 44 24 20 c3 cc cc cc cc 48 8b 7c 24 08 8b 74 24 10 8b 54 24 14
RSP: 002b:000000c00022de08 EFLAGS: 00000206 ORIG_RAX: 000000000000001c
RAX: ffffffffffffffda RBX: 0000000000008000 RCX: 000000000046b557
RDX: 000000000000000f RSI: 0000000000200000 RDI: 000000c002e00000
RBP: 000000c00022de48 R08: 0000000000200000 R09: 0000000000000040
R10: 0000000000000007 R11: 0000000000000206 R12: 00000000000003c0
R13: 0000000000000003 R14: 000000c0009be1a0 R15: 00000000010e0700
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:vma_merge+0x234/0x1fd0 mm/mmap.c:952
Code: 08 00 0f 84 b0 03 00 00 e8 e9 54 bf ff 48 8b 44 24 08 48 8d b8 a8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 4d 18 00 00 48 8b 44 24 08 48 8b b0 a8 00 00 00
RSP: 0018:ffffc90003c9f998 EFLAGS: 00010a06
RAX: dffffc0000000000 RBX: ffff88802265b300 RCX: 0000000000000000
RDX: 12712489be8cabf5 RSI: ffffffff81c37957 RDI: 9389244df4655fa8
RBP: ffff88802168f300 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 000000c002e00000 R15: 0000000000000000
FS:  000000c00c6d0890(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4fcfa59300 CR3: 000000002762c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	08 00                	or     %al,(%rax)
   2:	0f 84 b0 03 00 00    	je     0x3b8
   8:	e8 e9 54 bf ff       	callq  0xffbf54f6
   d:	48 8b 44 24 08       	mov    0x8(%rsp),%rax
  12:	48 8d b8 a8 00 00 00 	lea    0xa8(%rax),%rdi
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 4d 18 00 00    	jne    0x1881
  34:	48 8b 44 24 08       	mov    0x8(%rsp),%rax
  39:	48 8b b0 a8 00 00 00 	mov    0xa8(%rax),%rsi

Crashes (742):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/24 07:15 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 06:58 linux-next 7c4a254d78f8 f94b4a29 .config console log report ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 06:41 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 06:20 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 06:01 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 05:44 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 05:24 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 05:04 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 04:44 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 04:27 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 04:07 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 03:52 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 03:29 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 03:06 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 02:36 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 02:12 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 01:48 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 01:33 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 01:07 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 00:47 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/24 00:22 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 23:54 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 23:32 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 23:10 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 22:54 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 22:30 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 22:05 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 21:38 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 21:15 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 20:53 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 20:33 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 20:10 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 19:51 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 19:21 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 19:02 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 18:41 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 18:35 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 18:34 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 18:34 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 18:31 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 18:29 linux-next 7c4a254d78f8 f94b4a29 .config console log report ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 18:28 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 18:27 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 18:05 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in vma_merge
2023/03/23 19:09 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root KASAN: stack-out-of-bounds Read in vma_merge
2023/03/23 18:04 linux-next 7c4a254d78f8 f94b4a29 .config console log report info ci-upstream-linux-next-kasan-gce-root BUG: unable to handle kernel paging request in vma_merge
* Struck through repros no longer work on HEAD.