syzbot


kernel BUG at mm/huge_memory.c:LINE!

Status: auto-closed as invalid on 2021/04/24 02:20
Reported-by: syzbot+230756007697f6a6d4f1@syzkaller.appspotmail.com
First crash: 1429d, last: 1429d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at mm/huge_memory.c:LINE! (2) mm 1 1540d 1536d 0/28 auto-closed as invalid on 2021/01/02 13:21
upstream kernel BUG at mm/huge_memory.c:LINE! mm 27 1980d 2151d 12/28 fixed on 2019/09/06 20:45
upstream kernel BUG in split_huge_page_to_list mm C done 115 1012d 1398d 0/28 auto-obsoleted due to no activity on 2023/04/16 18:07

Sample crash report:
next ffff8880b301a318 prev ffff8880ac2fbb98 mm ffff888097840080
prot 8000000000000027 anon_vma           (null) vm_ops           (null)
pgoff 0 file ffff888099f5c780 private_data           (null)
flags: 0x180400fb(read|write|shared|mayread|maywrite|mayexec|mayshare|dontexpand|softdirty|mixedmap)
------------[ cut here ]------------
kernel BUG at mm/huge_memory.c:2055!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 24348 Comm: syz-executor.1 Not tainted 4.14.212-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880a2ee2340 task.stack: ffff888233688000
RIP: 0010:__split_huge_pmd_locked mm/huge_memory.c:2055 [inline]
RIP: 0010:__split_huge_pmd+0x2335/0x3060 mm/huge_memory.c:2242
RSP: 0018:ffff88823368f670 EFLAGS: 00010283
RAX: 0000000000000169 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff878bbac0 RDI: ffffed10466d1ead
RBP: ffff8880ac2fbce0 R08: 0000000000000169 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88804d876540
R13: ffff88804d876540 R14: ffff8880ac2fbca0 R15: ffff88803bab16b8
FS:  00007fe5999eb700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2eb21000 CR3: 00000000540e9000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 zap_pmd_range mm/memory.c:1442 [inline]
 zap_pud_range mm/memory.c:1485 [inline]
 zap_p4d_range mm/memory.c:1506 [inline]
 unmap_page_range+0x5d1/0x1ce0 mm/memory.c:1527
 unmap_single_vma+0x147/0x2b0 mm/memory.c:1572
 unmap_vmas+0x9d/0x160 mm/memory.c:1602
 exit_mmap+0x270/0x4d0 mm/mmap.c:3058
 __mmput kernel/fork.c:930 [inline]
 mmput kernel/fork.c:951 [inline]
 mmput+0xfa/0x420 kernel/fork.c:946
 exit_mm kernel/exit.c:548 [inline]
 do_exit+0x984/0x2850 kernel/exit.c:855
 do_group_exit+0x100/0x2e0 kernel/exit.c:965
 get_signal+0x38d/0x1ca0 kernel/signal.c:2423
 do_signal+0x7c/0x1550 arch/x86/kernel/signal.c:814
 exit_to_usermode_loop+0x160/0x200 arch/x86/entry/common.c:160
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45e149
RSP: 002b:00007fe5999eacf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000119c0d8 RCX: 000000000045e149
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000119c0d8
RBP: 000000000119c0d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c0dc
R13: 00007ffcb1d1e8cf R14: 00007fe5999eb9c0 R15: 000000000119c0dc
Code: 48 89 de e8 be 85 a0 ff 66 90 e9 8f e7 ff ff e8 d2 ee d3 ff 4c 89 f7 e8 96 28 f2 ff 0f 0b e8 c3 ee d3 ff 4c 89 f7 e8 87 28 f2 ff <0f> 0b e8 b4 ee d3 ff 48 89 ef e8 6c 55 eb ff e9 49 e7 ff ff e8 
RIP: __split_huge_pmd_locked mm/huge_memory.c:2055 [inline] RSP: ffff88823368f670
RIP: __split_huge_pmd+0x2335/0x3060 mm/huge_memory.c:2242 RSP: ffff88823368f670
---[ end trace 9f238dffcb06bc7d ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/25 02:20 linux-4.14.y 3f2ecb86cb90 c2c1d1dd .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.