syzbot


kernel BUG in __handle_mm_fault

Status: auto-closed as invalid on 2021/06/29 08:42
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+d3d67b36592d5b407267@syzkaller.appspotmail.com
First crash: 1069d, last: 1062d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at mm/memory.c:LINE! C error 8 507d 1406d 0/1 upstream: reported C repro on 2020/05/21 22:29
linux-4.14 kernel BUG at mm/memory.c:LINE! C inconclusive 4 505d 1406d 0/1 upstream: reported C repro on 2020/05/21 23:25
upstream kernel BUG in vmf_insert_pfn_prot C done done 1933 318d 922d 22/26 fixed on 2023/06/14 22:21
upstream kernel BUG at mm/memory.c:LINE! mm fs 1 2089d 2089d 8/26 fixed on 2018/08/08 18:10

Sample crash report:
------------[ cut here ]------------
kernel BUG at mm/memory.c:4481!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8423 Comm: syz-fuzzer Not tainted 5.12.0-rc8-next-20210423-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__handle_mm_fault+0xcc9/0x5150 mm/memory.c:4481
Code: 48 83 fd 1c 0f 84 29 0e 00 00 e8 72 39 cb ff 89 ee bf 1d 00 00 00 e8 16 41 cb ff 48 83 fd 1d 0f 84 0e 0e 00 00 e8 57 39 cb ff <0f> 0b e8 50 39 cb ff 48 8b 54 24 10 48 89 de 48 8b 7c 24 20 e8 be
RSP: 0000:ffffc90003a37d00 EFLAGS: 00010293
RAX: 0000000000000000 RBX: fff0000000000fff RCX: 0000000000000000
RDX: ffff888024251c80 RSI: ffffffff81a9c019 RDI: 0000000000000003
RBP: 0000000000000000 R08: 000000000000001d R09: 0000000000000000
R10: ffffffff81a9c00a R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000002 R14: dffffc0000000000 R15: ffff8880152d9108
FS:  000000000184f870(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00003df28 CR3: 000000001a070000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 handle_mm_fault+0x1bc/0x7e0 mm/memory.c:4600
 do_user_addr_fault+0x483/0x1210 arch/x86/mm/fault.c:1390
 handle_page_fault arch/x86/mm/fault.c:1475 [inline]
 exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1531
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:577
RIP: 0033:0x5e924c
Code: 6c 24 10 48 83 c4 18 c3 48 8d 7a 40 31 d2 e8 eb 31 e8 ff eb da 48 8b 4a 08 48 8b 1a 66 90 48 39 c8 73 25 0f b6 0c 03 48 ff c0 <48> 89 42 28 48 89 4a 48 88 4c 24 28 0f 57 c0 0f 11 44 24 30 48 8b
RSP: 002b:000000c000069a78 EFLAGS: 00010207
RAX: 00000000000000b1 RBX: 000000c0001c8000 RCX: 00000000000000e9
RDX: 000000c00039a060 RSI: 000000c000508000 RDI: 000000000000000c
RBP: 000000c000069a88 R08: 00000000000008c7 R09: 00000000000000bb
R10: 00000000000060c9 R11: 000000000000564e R12: 00000000000060c5
R13: 0000000000000400 R14: 0000000000000040 R15: 0000000000000020
Modules linked in:
---[ end trace 1e2dea0857c796b9 ]---
RIP: 0010:__handle_mm_fault+0xcc9/0x5150 mm/memory.c:4481
Code: 48 83 fd 1c 0f 84 29 0e 00 00 e8 72 39 cb ff 89 ee bf 1d 00 00 00 e8 16 41 cb ff 48 83 fd 1d 0f 84 0e 0e 00 00 e8 57 39 cb ff <0f> 0b e8 50 39 cb ff 48 8b 54 24 10 48 89 de 48 8b 7c 24 20 e8 be
RSP: 0000:ffffc90003a37d00 EFLAGS: 00010293

RAX: 0000000000000000 RBX: fff0000000000fff RCX: 0000000000000000
RDX: ffff888024251c80 RSI: ffffffff81a9c019 RDI: 0000000000000003
RBP: 0000000000000000 R08: 000000000000001d R09: 0000000000000000
R10: ffffffff81a9c00a R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000002 R14: dffffc0000000000 R15: ffff8880152d9108
FS:  000000000184f870(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00003df28 CR3: 000000001a070000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/30 08:41 linux-next e3d35712f85a 77e2b668 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in __handle_mm_fault
2021/04/24 06:27 linux-next e3d35712f85a 17f0b706 .config console log report info ci-upstream-linux-next-kasan-gce-root kernel BUG in __handle_mm_fault
* Struck through repros no longer work on HEAD.