WARNING in untrack_pfn

19 views
Skip to first unread message

syzbot

unread,
Aug 5, 2019, 5:38:07 AM8/5/19
to syzkaller...@googlegroups.com
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.

syzbot

unread,
Aug 10, 2019, 8:21:06 PM8/10/19
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 893af1c7 Linux 4.19.66
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=160e7aee600000
kernel config: https://syzkaller.appspot.com/x/.config?x=d5fac5a8617b8643
dashboard link: https://syzkaller.appspot.com/bug?extid=5f488e922d047d8f00cc
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16288486600000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1196aa6a600000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+5f488e...@syzkaller.appspotmail.com

RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffffffffffff R08: 0000000000000000 R09: 00007ffd17c2d45f
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffd17c2d220 R14: 0000000000000000 R15: 0000000000000000
WARNING: CPU: 1 PID: 7923 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: 1 PID: 7923 Comm: syz-executor568 Not tainted 4.19.66 #40
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
__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:1037
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 74 a5 3a 00 <0f> 0b eb b3 48
89 df e8 88 38 71 00 e9 b0 fe ff ff e8 5e 20 0e 00
RSP: 0018:ffff888092e478a0 EFLAGS: 00010293
RAX: ffff888095814040 RBX: ffff888096935148 RCX: ffffffff8130b89e
RDX: 0000000000000000 RSI: ffffffff8130b9bc RDI: 0000000000000005
RBP: ffff888092e47950 R08: ffff888095814040 R09: ffffed1012bf3535
R10: ffffed1012bf3534 R11: ffff888095f9a9a3 R12: 1ffff110125c8f15
R13: 00000000ffffffea R14: 0000000000000000 R15: ffff888092e47928
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:0x442669
Code: e8 1c 0d 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 5b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffd17c2d1c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000442669
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffffffffffff R08: 0000000000000000 R09: 00007ffd17c2d45f
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffd17c2d220 R14: 0000000000000000 R15: 0000000000000000

syzbot

unread,
Aug 13, 2019, 4:40:07 AM8/13/19
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 3ffe1e79 Linux 4.14.138
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14eb9d36600000
kernel config: https://syzkaller.appspot.com/x/.config?x=978e269523a888e8
dashboard link: https://syzkaller.appspot.com/bug?extid=828439ed929a21ca9cad
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=179a81ba600000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+828439...@syzkaller.appspotmail.com

RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000002069914
R13: 00000000004bfce6 R14: 00000000004d1a38 R15: 0000000000000004
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6901 at arch/x86/mm/pat.c:1020 untrack_pfn+0x1dc/0x220
arch/x86/mm/pat.c:1020
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 6901 Comm: syz-executor.0 Not tainted 4.14.138 #34
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x138/0x19c lib/dump_stack.c:53
panic+0x1f2/0x426 kernel/panic.c:182
__warn.cold+0x2f/0x36 kernel/panic.c:546
report_bug+0x216/0x254 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:untrack_pfn+0x1dc/0x220 arch/x86/mm/pat.c:1020
RSP: 0018:ffff8880a8cc7948 EFLAGS: 00010297
RAX: ffff888099ca23c0 RBX: ffff8880831a3358 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff8880a8cc79d8 R08: ffff888099ca23c0 R09: 0000000000000000
R10: 0000000000000000 R11: ffff888099ca23c0 R12: 1ffff11015198f2a
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880a8cc79b0
unmap_single_vma+0x182/0x2c0 mm/memory.c:1539
unmap_vmas+0xac/0x170 mm/memory.c:1590
exit_mmap+0x285/0x4e0 mm/mmap.c:3062
__mmput kernel/fork.c:935 [inline]
mmput+0x114/0x440 kernel/fork.c:956
dup_mm kernel/fork.c:1224 [inline]
copy_mm kernel/fork.c:1263 [inline]
copy_process.part.0+0x4743/0x6a00 kernel/fork.c:1780
copy_process kernel/fork.c:1595 [inline]
_do_fork+0x19e/0xce0 kernel/fork.c:2085
SYSC_clone kernel/fork.c:2195 [inline]
SyS_clone+0x37/0x50 kernel/fork.c:2189
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x459829
RSP: 002b:00007ffc35e75b98 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007ffc35e75bb0 RCX: 0000000000459829
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000002069914
R13: 00000000004bfce6 R14: 00000000004d1a38 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.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches

syzbot

unread,
Jun 15, 2022, 3:32:21 AM6/15/22
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 1ccc597f801c Linux 4.14.283
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1427827ff00000
kernel config: https://syzkaller.appspot.com/x/.config?x=41f50a92ccb603b0
dashboard link: https://syzkaller.appspot.com/bug?extid=828439ed929a21ca9cad
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12c391a7f00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13f005dff00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+828439...@syzkaller.appspotmail.com

RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffdb4336450 R08: 0000000000000000 R09: 00007f5336003032
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7964 at arch/x86/mm/pat.c:1020 untrack_pfn+0x203/0x250 arch/x86/mm/pat.c:1020
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 7964 Comm: syz-executor413 Not tainted 4.14.283-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x281 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x44 kernel/panic.c:547
report_bug+0x208/0x250 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:untrack_pfn+0x203/0x250 arch/x86/mm/pat.c:1020
RSP: 0018:ffff88809f1879c0 EFLAGS: 00010297
RAX: ffff88809bfe04c0 RBX: ffff88809e6b7e70 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffff88809f187880
RBP: 1ffff11013e30f38 R08: ffff88809f187948 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88809e6b7ec0
unmap_single_vma+0x16b/0x2b0 mm/memory.c:1574
unmap_vmas+0x9d/0x160 mm/memory.c:1625
exit_mmap+0x270/0x4d0 mm/mmap.c:3058
__mmput kernel/fork.c:931 [inline]
mmput kernel/fork.c:952 [inline]
mmput+0xfa/0x420 kernel/fork.c:947
dup_mm kernel/fork.c:1216 [inline]
copy_mm kernel/fork.c:1255 [inline]
copy_process.part.0+0x4dc5/0x71c0 kernel/fork.c:1791
copy_process kernel/fork.c:1606 [inline]
_do_fork+0x184/0xc80 kernel/fork.c:2092
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f5336307d39
RSP: 002b:00007ffdb4336448 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f5336307d39
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffdb4336450 R08: 0000000000000000 R09: 00007f5336003032
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Reply all
Reply to author
Forward
0 new messages