syzbot


kernel BUG at mm/internal.h:LINE!

Status: closed as invalid on 2019/08/22 04:15
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+ce4fa49466985039fb35@syzkaller.appspotmail.com
First crash: 1934d, last: 1860d
Discussions (2)
Title Replies (including bot) Last reply
Reminder: 6 open syzbot bugs in mm subsystem 1 (1) 2019/07/10 06:23
kernel BUG at mm/internal.h:LINE! 0 (1) 2019/03/25 07:58
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG at mm/internal.h:LINE! 1 1380d 1380d 0/1 auto-closed as invalid on 2020/11/13 00:54
linux-4.14 kernel BUG in rmap_walk_file 1 1136d 1136d 0/1 auto-closed as invalid on 2021/07/15 10:56
upstream kernel BUG at mm/internal.h:LINE! (2) mm 1 1370d 1366d 0/26 auto-closed as invalid on 2020/11/22 19:58
upstream kernel BUG at mm/internal.h:LINE! (3) mm 1 1241d 1237d 0/26 auto-closed as invalid on 2021/04/01 10:43

Sample crash report:
page:ffffea0002fffa00 count:2 mapcount:1 mapping:ffff8880970929f0 index:0x4e4
ext4_da_aops 
name:"syz-fuzzer" 
flags: 0x1fffc0000020016(referenced|uptodate|lru|mappedtodisk)
raw: 01fffc0000020016 ffffea0001f82548 ffffea0001ab5388 ffff8880970929f0
raw: 00000000000004e4 0000000000000000 0000000200000000 ffff8880aa204bc0
page dumped because: VM_BUG_ON_PAGE(page_ref_count(page))
page->mem_cgroup:ffff8880aa204bc0
------------[ cut here ]------------
kernel BUG at mm/internal.h:77!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 1046 Comm: kcompactd0 Not tainted 5.1.0-rc1+ #34
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:set_page_refcounted mm/internal.h:77 [inline]
RIP: 0010:set_page_refcounted mm/internal.h:74 [inline]
RIP: 0010:split_page+0x1e5/0x250 mm/page_alloc.c:2999
Code: 4c 89 e7 e8 5d 98 0c 00 0f 0b 48 c7 c6 20 09 72 87 4c 89 e7 e8 4c 98 0c 00 0f 0b 48 c7 c6 a0 09 72 87 4c 89 e7 e8 3b 98 0c 00 <0f> 0b 48 c7 c6 c0 08 72 87 4c 89 e7 e8 2a 98 0c 00 0f 0b 4c 89 f7
RSP: 0000:ffff8880a83d77b8 EFLAGS: 00010293
RAX: ffff8880a83c80c0 RBX: ffffea0002fffa34 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8199dda2 RDI: ffffed101507aedb
RBP: ffff8880a83d77d8 R08: 0000000000000021 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0002fffa00
R13: dffffc0000000000 R14: ffffea0003000034 R15: ffffea0002fff800
FS:  0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f161d6cc169 CR3: 0000000095b2c000 CR4: 00000000001426e0
Call Trace:
 split_map_pages+0x334/0x540 mm/compaction.c:83
 isolate_freepages mm/compaction.c:1529 [inline]
 compaction_alloc+0x14ca/0x2290 mm/compaction.c:1543
 unmap_and_move mm/migrate.c:1175 [inline]
 migrate_pages+0x484/0x2cd0 mm/migrate.c:1426
 compact_zone+0x1b56/0x38d0 mm/compaction.c:2174
 kcompactd_do_work+0x303/0xaa0 mm/compaction.c:2555
 kcompactd+0x247/0x890 mm/compaction.c:2648
 kthread+0x357/0x430 kernel/kthread.c:253
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352
Modules linked in:
---[ end trace c8941b63dcddd106 ]---
RIP: 0010:set_page_refcounted mm/internal.h:77 [inline]
RIP: 0010:set_page_refcounted mm/internal.h:74 [inline]
RIP: 0010:split_page+0x1e5/0x250 mm/page_alloc.c:2999
Code: 4c 89 e7 e8 5d 98 0c 00 0f 0b 48 c7 c6 20 09 72 87 4c 89 e7 e8 4c 98 0c 00 0f 0b 48 c7 c6 a0 09 72 87 4c 89 e7 e8 3b 98 0c 00 <0f> 0b 48 c7 c6 c0 08 72 87 4c 89 e7 e8 2a 98 0c 00 0f 0b 4c 89 f7
RSP: 0000:ffff8880a83d77b8 EFLAGS: 00010293
RAX: ffff8880a83c80c0 RBX: ffffea0002fffa34 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8199dda2 RDI: ffffed101507aedb
RBP: ffff8880a83d77d8 R08: 0000000000000021 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffea0002fffa00
R13: dffffc0000000000 R14: ffffea0003000034 R15: ffffea0002fff800
FS:  0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000422d10 CR3: 0000000095b2c000 CR4: 00000000001426e0

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/23 22:42 upstream a5ed1e96cafd a2cef203 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/17 21:36 upstream 80b98e92ebcb ba18afea .config console log report ci-upstream-kasan-gce-smack-root
2019/01/19 09:53 linux-next 9673b4aa71ca 2103a236 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/18 12:04 linux-next 9673b4aa71ca 5bf17c30 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 19:25 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.