syzbot


linux-next boot error: kernel BUG in do_vmi_align_munmap

Status: auto-obsoleted due to no activity on 2023/07/30 07:13
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+733c8795eb2aa33f16ea@syzkaller.appspotmail.com
First crash: 801d, last: 800d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] linux-next boot error: kernel BUG in do_vmi_align_munmap 0 (1) 2023/06/19 15:13

Sample crash report:
------------[ cut here ]------------
kernel BUG at mm/mmap.c:2439!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4836 Comm: dhcpcd Not tainted 6.4.0-rc7-next-20230620-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:do_vmi_align_munmap+0xb11/0x15f0 mm/mmap.c:2439
Code: 48 89 c3 e8 01 07 be ff 4c 89 ee 4c 89 e7 e8 e6 5c 45 08 48 85 c0 49 89 c6 74 11 e8 e9 06 be ff 4c 39 f3 74 c6 e8 df 06 be ff <0f> 0b 44 8b 7c 24 34 4c 63 74 24 60 4c 8b 64 24 70 e8 c9 06 be ff
RSP: 0018:ffffc9000396fb98 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88802aa7ff00 RCX: 0000000000000000
RDX: ffff888024f45940 RSI: ffffffff81c65de1 RDI: ffffc9000396fe80
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffffc9000396fe70
R13: 00007f20be70ffff R14: ffff88802aa7fb00 R15: ffffc9000396fca0
FS:  00007f20be710740(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f20be8e1b90 CR3: 000000002c157000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_vmi_munmap+0x26e/0x2c0 mm/mmap.c:2543
 __vm_munmap+0x137/0x3b0 mm/mmap.c:2825
 __do_sys_munmap mm/mmap.c:2850 [inline]
 __se_sys_munmap mm/mmap.c:2847 [inline]
 __x64_sys_munmap+0x62/0x80 mm/mmap.c:2847
 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:0x7f20be8e1b97
Code: b8 09 00 00 00 0f 05 48 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f 1f 80 00 00 00 00 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d b9 46 01 00 f7 d8 89 01 48 83
RSP: 002b:00007ffdb6778738 EFLAGS: 00000206 ORIG_RAX: 000000000000000b
RAX: ffffffffffffffda RBX: 00005616854fbe30 RCX: 00007f20be8e1b97
RDX: 00007ffdb6778680 RSI: 0000000000004030 RDI: 00007f20be70b000
RBP: 00007ffdb6778830 R08: 00007ffdb6778680 R09: 00007ffdb6778760
R10: 00007ffdb67786c0 R11: 0000000000000206 R12: 00007f20be8f5000
R13: 0000000000000000 R14: 00005616854fbe30 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_vmi_align_munmap+0xb11/0x15f0 mm/mmap.c:2439
Code: 48 89 c3 e8 01 07 be ff 4c 89 ee 4c 89 e7 e8 e6 5c 45 08 48 85 c0 49 89 c6 74 11 e8 e9 06 be ff 4c 39 f3 74 c6 e8 df 06 be ff <0f> 0b 44 8b 7c 24 34 4c 63 74 24 60 4c 8b 64 24 70 e8 c9 06 be ff
RSP: 0018:ffffc9000396fb98 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88802aa7ff00 RCX: 0000000000000000
RDX: ffff888024f45940 RSI: ffffffff81c65de1 RDI: ffffc9000396fe80
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffffc9000396fe70
R13: 00007f20be70ffff R14: ffff88802aa7fb00 R15: ffffc9000396fca0
FS:  00007f20be710740(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f20be8e1b90 CR3: 000000002c157000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/20 07:13 linux-next 9dbf40840551 09ffe269 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/20 07:13 linux-next 9dbf40840551 09ffe269 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/20 07:13 linux-next 9dbf40840551 09ffe269 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/20 06:22 linux-next 9dbf40840551 d521bc56 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/20 06:22 linux-next 9dbf40840551 d521bc56 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/20 06:21 linux-next 9dbf40840551 d521bc56 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/19 13:52 linux-next 47045630bc40 d521bc56 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/19 13:52 linux-next 47045630bc40 d521bc56 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/19 13:52 linux-next 47045630bc40 d521bc56 .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/19 06:21 linux-next 47045630bc40 f3921d4d .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/19 06:21 linux-next 47045630bc40 f3921d4d .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
2023/06/19 06:21 linux-next 47045630bc40 f3921d4d .config console log report ci-upstream-linux-next-kasan-gce-root linux-next boot error: kernel BUG in do_vmi_align_munmap
* Struck through repros no longer work on HEAD.