BUG: soft lockup in do_wp_page (2)

7 views
Skip to first unread message

syzbot

unread,
Jan 21, 2020, 12:47:09 AM1/21/20
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: f4353c3e Merge tag 'pm-5.5-rc7' of git://git.kernel.org/pu..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16dc8c21e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=d9290aeb7e6cf1c4
dashboard link: https://syzkaller.appspot.com/bug?extid=b01284b40fa9382675c7
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
CC: [gre...@linuxfoundation.org jpoi...@redhat.com linux-...@vger.kernel.org na...@vmware.com pet...@infradead.org tg...@linutronix.de]

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+b01284...@syzkaller.appspotmail.com

watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor.2:11809]
Modules linked in:
irq event stamp: 28568
hardirqs last enabled at (28567): [<ffffffff81006963>] trace_hardirqs_on_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:41
hardirqs last disabled at (28568): [<ffffffff8100697f>] trace_hardirqs_off_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:42
softirqs last enabled at (690): [<ffffffff880006cd>] __do_softirq+0x6cd/0x98c kernel/softirq.c:319
softirqs last disabled at (603): [<ffffffff81475c9b>] invoke_softirq kernel/softirq.c:373 [inline]
softirqs last disabled at (603): [<ffffffff81475c9b>] irq_exit+0x19b/0x1e0 kernel/softirq.c:413
CPU: 1 PID: 11809 Comm: syz-executor.2 Not tainted 5.5.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline]
RIP: 0010:csd_lock_wait kernel/smp.c:109 [inline]
RIP: 0010:smp_call_function_single+0x188/0x480 kernel/smp.c:311
Code: 00 e8 6c 23 0b 00 48 8b 4c 24 08 48 8b 54 24 10 48 8d 74 24 40 8b 7c 24 1c e8 c4 f9 ff ff 41 89 c5 eb 07 e8 4a 23 0b 00 f3 90 <44> 8b 64 24 58 31 ff 41 83 e4 01 44 89 e6 e8 b5 24 0b 00 45 85 e4
RSP: 0000:ffffc90004537780 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000040000 RBX: 1ffff920008a6ef4 RCX: ffffc9000db3d000
RDX: 0000000000040000 RSI: ffffffff8169d236 RDI: 0000000000000005
RBP: ffffc90004537850 R08: ffff88805cc6a240 R09: ffffed1015d07059
R10: ffffed1015d07058 R11: ffff8880ae8382c7 R12: 0000000000000001
R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001
FS: 00007f7135b93700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000075bfd4 CR3: 00000000909e7000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
smp_call_function_many+0x7ba/0x940 kernel/smp.c:451
on_each_cpu_mask+0x4d/0x280 kernel/smp.c:645
on_each_cpu_cond_mask+0x17e/0x220 kernel/smp.c:697
native_flush_tlb_others+0x220/0x4f0 arch/x86/mm/tlb.c:710
flush_tlb_others arch/x86/include/asm/paravirt.h:68 [inline]
flush_tlb_mm_range+0x299/0x4e0 arch/x86/mm/tlb.c:798
flush_tlb_page arch/x86/include/asm/tlbflush.h:585 [inline]
ptep_clear_flush+0x141/0x170 mm/pgtable-generic.c:97
wp_page_copy+0x84f/0x1560 mm/memory.c:2513
do_wp_page+0x543/0x1540 mm/memory.c:2776
handle_pte_fault mm/memory.c:4013 [inline]
__handle_mm_fault+0x3112/0x3cc0 mm/memory.c:4127
handle_mm_fault+0x3b2/0xa50 mm/memory.c:4164
do_user_addr_fault arch/x86/mm/fault.c:1441 [inline]
__do_page_fault+0x536/0xd80 arch/x86/mm/fault.c:1506
do_page_fault+0x38/0x590 arch/x86/mm/fault.c:1530
page_fault+0x39/0x40 arch/x86/entry/entry_64.S:1203
RIP: 0033:0x403296
Code: 24 02 88 4a 28 41 0f b6 4c 24 03 88 4a 29 41 0f b6 4c 24 05 41 89 86 e0 04 00 00 88 4a 2a e9 91 fe ff ff 90 8b 17 85 d2 75 1f <c7> 07 01 00 00 00 48 89 fe b9 40 42 0f 00 ba 81 00 00 00 bf ca 00
RSP: 002b:00007f7135b92cf8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 000000000075bfd0 RCX: 00000000005009df
RDX: 0000000000000000 RSI: 0000000000021c9d RDI: 000000000075bfd4
RBP: 000000000075bfc8 R08: 0000000000000008 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075bfd4
R13: 00007ffd932c414f R14: 00007f7135b939c0 R15: 000000000075bfd4
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 11800 Comm: syz-executor.2 Not tainted 5.5.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x3e9/0xc40 kernel/locking/qspinlock.c:507
Code: 41 c6 45 01 01 48 b8 00 00 00 00 00 fc ff df 48 c1 e9 03 41 be 00 80 00 00 83 e3 07 4c 8d 24 01 41 bf 01 00 00 00 eb 0c f3 90 <41> 83 ee 01 0f 84 33 05 00 00 41 0f b6 04 24 38 d8 7f 08 84 c0 0f
RSP: 0000:ffffc90004497b30 EFLAGS: 00000206
RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffff11013e6cb55
RDX: 0000000000000001 RSI: ffffffff817a8b6e RDI: 0000000000000282
RBP: ffffc90004497c00 R08: ffff88809efa0200 R09: fffffbfff165e79f
R10: 0000000000000001 R11: 0000000000000000 R12: ffffed1013e6cb55
R13: ffff88809f365aa8 R14: 000000000000513d R15: 0000000000000001
FS: 00007f7135bb4700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000075bf98 CR3: 00000000909e7000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:638 [inline]
queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:50 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:81 [inline]
do_raw_spin_lock+0x21d/0x2f0 kernel/locking/spinlock_debug.c:113
__raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline]
_raw_spin_lock+0x37/0x40 kernel/locking/spinlock.c:151
spin_lock include/linux/spinlock.h:338 [inline]
do_anonymous_page mm/memory.c:3169 [inline]
handle_pte_fault mm/memory.c:3995 [inline]
__handle_mm_fault+0x20e5/0x3cc0 mm/memory.c:4127
handle_mm_fault+0x3b2/0xa50 mm/memory.c:4164
do_user_addr_fault arch/x86/mm/fault.c:1441 [inline]
__do_page_fault+0x536/0xd80 arch/x86/mm/fault.c:1506
do_page_fault+0x38/0x590 arch/x86/mm/fault.c:1530
page_fault+0x39/0x40 arch/x86/entry/entry_64.S:1203
RIP: 0033:0x40419e
Code: 48 dc ff ff 0f 1f 84 00 00 00 00 00 0f b6 b5 84 00 00 00 bf 01 ff 4b 00 31 c0 e8 0d dd ff ff e9 30 fe ff ff 8b 0b 48 83 f8 ff <48> 89 45 78 89 8d 80 00 00 00 0f 85 8d fd ff ff 85 c9 0f 85 85 fd
RSP: 002b:00007f7135bb3c90 EFLAGS: 00010213
RAX: 0000000000000000 RBX: 00007f7135bb46d4 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000403ecc RDI: 0000000000000007
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000039d R14: 00000000004c49ab R15: 000000000075bf2c


---
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,
Apr 16, 2020, 1:42:09 AM4/16/20
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages