Hello,
syzbot found the following crash on:
HEAD commit: b3060a1a Linux 4.19.64
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=119f0fb2600000
kernel config:
https://syzkaller.appspot.com/x/.config?x=40e496d2d42c10d5
dashboard link:
https://syzkaller.appspot.com/bug?extid=5f488e922d047d8f00cc
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+5f488e...@syzkaller.appspotmail.com
WARNING: CPU: 0 PID: 25733 at arch/x86/mm/pat.c:1064
untrack_pfn+0x25c/0x2a0 arch/x86/mm/pat.c:1064
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 25733 Comm: syz-executor.5 Not tainted 4.19.64 #38
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x172/0x1f0 lib/dump_stack.c:113
panic+0x263/0x507 kernel/panic.c:185
kobject: 'loop3' (000000001fd22a2a): kobject_uevent_env
kobject: 'loop3' (000000001fd22a2a): fill_kobj_path: path
= '/devices/virtual/block/loop3'
__warn.cold+0x20/0x4a kernel/panic.c:540
report_bug+0x263/0x2b0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x204/0x360 arch/x86/kernel/traps.c:296
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1035
RIP: 0010:untrack_pfn+0x25c/0x2a0 arch/x86/mm/pat.c:1064
Code: 00 00 00 00 48 8b 45 d0 65 48 33 04 25 28 00 00 00 75 28 48 81 c4 88
00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b4 9b 3a 00 <0f> 0b eb b3 48
89 df e8 b8 2e 71 00 e9 b0 fe ff ff e8 5e 20 0e 00
RSP: 0000:ffff8880500c78a0 EFLAGS: 00010246
RAX: 0000000000040000 RBX: ffff8880aa377840 RCX: ffffc90013800000
RDX: 0000000000040000 RSI: ffffffff8130a9bc RDI: 0000000000000005
RBP: ffff8880500c7950 R08: ffff88808d19a340 R09: ffffed10140165a3
R10: ffffed10140165a2 R11: ffff8880a00b2d13 R12: 1ffff1100a018f15
R13: 00000000ffffffea R14: 0000000000000000 R15: ffff8880500c7928
unmap_single_vma+0x1c2/0x300 mm/memory.c:1535
unmap_vmas+0xae/0x180 mm/memory.c:1586
exit_mmap+0x2c2/0x530 mm/mmap.c:3097
__mmput kernel/fork.c:1010 [inline]
mmput+0x15f/0x4c0 kernel/fork.c:1031
dup_mm kernel/fork.c:1299 [inline]
copy_mm kernel/fork.c:1339 [inline]
copy_process.part.0+0x5aaf/0x7a30 kernel/fork.c:1892
copy_process kernel/fork.c:1689 [inline]
_do_fork+0x257/0xfd0 kernel/fork.c:2202
__do_sys_clone kernel/fork.c:2309 [inline]
__se_sys_clone kernel/fork.c:2303 [inline]
__x64_sys_clone+0xbf/0x150 kernel/fork.c:2303
do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459829
Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7
48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff
ff 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f6d217bfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f6d217bfc90 RCX: 0000000000459829
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6d217c06d4
R13: 00000000004bfce6 R14: 00000000004d1998 R15: 0000000000000004
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
This bug is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.