Hello,
syzbot found the following crash on:
HEAD commit: 7cc2a8ea Merge tag 'block-5.8-2020-07-01' of git://git.ker..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=139402cd100000
kernel config:
https://syzkaller.appspot.com/x/.config?x=183dd243398ba7ec
dashboard link:
https://syzkaller.appspot.com/bug?extid=5c676f4efe769e17b7c5
compiler: clang version 10.0.0 (
https://github.com/llvm/llvm-project/ c2443155a0fb245c8f17f2c1c72b6ea391e86e81)
CC: [
b...@alien8.de h...@zytor.com linux-...@vger.kernel.org lu...@kernel.org mi...@redhat.com tg...@linutronix.de x...@kernel.org]
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+5c676f...@syzkaller.appspotmail.com
watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor.2:24309]
Modules linked in:
irq event stamp: 29084
hardirqs last enabled at (29083): [<ffffffff88200c42>] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596
hardirqs last disabled at (29084): [<ffffffff881c2f9e>] idtentry_enter_cond_rcu+0x2e/0x50 arch/x86/entry/common.c:607
softirqs last enabled at (9504): [<ffffffff88200f0f>] asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711
softirqs last disabled at (9497): [<ffffffff88200f0f>] asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711
CPU: 1 PID: 24309 Comm: syz-executor.2 Not tainted 5.8.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:csd_lock_wait kernel/smp.c:108 [inline]
RIP: 0010:smp_call_function_single+0x302/0x450 kernel/smp.c:382
Code: 2f 44 89 ee 83 e6 01 31 ff e8 6a 04 0b 00 41 83 e5 01 75 14 e8 4f 00 0b 00 eb 45 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 f3 90 <42> 0f b6 04 23 84 c0 75 0d 41 f6 07 01 74 22 e8 2a 00 0b 00 eb e8
RSP: 0018:ffffc90017adf700 EFLAGS: 00000246
RAX: ffffffff81697be6 RBX: 1ffff92002f5bee5 RCX: 0000000000040000
RDX: ffffc9000d7aa000 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc90017adf790 R08: ffffffff81697bb6 R09: ffffed1015d06d11
R10: ffffed1015d06d11 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffffc90017adf728
FS: 00007f9cac920700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000073d058 CR3: 0000000093ba9000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
on_each_cpu_cond_mask+0x54/0x240 kernel/smp.c:766
__flush_tlb_others arch/x86/include/asm/paravirt.h:74 [inline]
flush_tlb_others arch/x86/mm/tlb.c:856 [inline]
flush_tlb_mm_range+0x304/0x450 arch/x86/mm/tlb.c:943
flush_tlb_page arch/x86/include/asm/tlbflush.h:235 [inline]
ptep_clear_flush+0x111/0x150 mm/pgtable-generic.c:97
wp_page_copy+0xdc6/0x1ff0 mm/memory.c:2713
do_wp_page+0x35e/0x1810 mm/memory.c:2982
handle_pte_fault mm/memory.c:4243 [inline]
__handle_mm_fault mm/memory.c:4357 [inline]
handle_mm_fault+0x244c/0x2960 mm/memory.c:4394
do_user_addr_fault+0x52b/0xba0 arch/x86/mm/fault.c:1295
handle_page_fault arch/x86/mm/fault.c:1365 [inline]
exc_page_fault+0x124/0x1f0 arch/x86/mm/fault.c:1418
asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:565
RIP: 0010:copy_user_generic_unrolled+0x89/0xc0 arch/x86/lib/copy_user_64.S:91
Code: 38 4c 89 47 20 4c 89 4f 28 4c 89 57 30 4c 89 5f 38 48 8d 76 40 48 8d 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 <4c> 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a
RSP: 0018:ffffc90017adfcf8 EFLAGS: 00010206
RAX: ffffffff839d1901 RBX: 000000000073d080 RCX: 0000000000000005
RDX: 0000000000000000 RSI: ffffc90017adfd48 RDI: 000000000073d058
RBP: 000000000073d058 R08: 0000000000006f6c R09: fffff52002f5bfae
R10: fffff52002f5bfae R11: 0000000000000000 R12: 0000000000000028
R13: 00007ffffffff000 R14: ffffc90017adfd48 R15: 000000000073d058
copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:74 [inline]
_copy_to_user+0x100/0x140 lib/usercopy.c:30
copy_to_user include/linux/uaccess.h:152 [inline]
inet_gifconf+0x23d/0x410 net/ipv4/devinet.c:1274
dev_ifconf+0x124/0x220 net/core/dev_ioctl.c:78
sock_do_ioctl+0x130/0x260 net/socket.c:1062
sock_ioctl+0x4aa/0x690 net/socket.c:1199
vfs_ioctl fs/ioctl.c:48 [inline]
ksys_ioctl fs/ioctl.c:753 [inline]
__do_sys_ioctl fs/ioctl.c:762 [inline]
__se_sys_ioctl+0xf9/0x160 fs/ioctl.c:760
do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:359
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cb29
Code: Bad RIP value.
RSP: 002b:00007f9cac91fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004e9f60 RCX: 000000000045cb29
RDX: 0000000000400200 RSI: 0000000000008912 RDI: 0000000000000004
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000423 R14: 00000000004c6f7d R15: 00007f9cac9206d4
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 24312 Comm: syz-executor.2 Not tainted 5.8.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:get_current kernel/locking/lockdep.c:4985 [inline]
RIP: 0010:lock_is_held_type+0x0/0xe0 kernel/locking/lockdep.c:4989
Code: 01 00 75 ea 48 c7 c7 56 e2 e6 88 48 c7 c6 46 72 e8 88 31 c0 e8 f1 d4 29 f9 0f 0b eb d1 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 <55> 41 57 41 56 41 55 41 54 53 65 4c 8b 24 25 00 fe 01 00 41 83 bc
RSP: 0018:ffffc90000007d18 EFLAGS: 00000097
RAX: 0000000000010002 RBX: 0000000000000001 RCX: ffff888044130580
RDX: ffff888044130580 RSI: 00000000ffffffff RDI: ffff8880a7745b00
RBP: ffff8880a7745800 R08: ffffffff869a4bc7 R09: fffff52000000f9c
R10: fffff52000000f9c R11: 0000000000000000 R12: ffff8880a7745b40
R13: dffffc0000000000 R14: ffff8880a7745ae8 R15: ffff8880a7745b40
FS: 00007f9cac8ff700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000078c000 CR3: 0000000093ba9000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
<IRQ>
lock_is_held include/linux/lockdep.h:425 [inline]
advance_sched+0x80/0x8c0 net/sched/sch_taprio.c:700
__run_hrtimer kernel/time/hrtimer.c:1520 [inline]
__hrtimer_run_queues+0x47f/0x930 kernel/time/hrtimer.c:1584
hrtimer_interrupt+0x373/0xd60 kernel/time/hrtimer.c:1646
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
__sysvec_apic_timer_interrupt+0xf0/0x260 arch/x86/kernel/apic/apic.c:1097
asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711
</IRQ>
__run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
sysvec_apic_timer_interrupt+0xb9/0x130 arch/x86/kernel/apic/apic.c:1091
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:596
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:765 [inline]
RIP: 0010:on_each_cpu+0x187/0x1f0 kernel/smp.c:702
Code: c1 e8 03 42 80 3c 20 00 74 0c 48 c7 c7 f0 c7 2b 89 e8 7d eb 49 00 48 83 3d 65 38 c2 07 00 74 6a e8 7e ec 0a 00 48 89 df 57 9d <0f> 1f 44 00 00 bf 01 00 00 00 e8 5a fa e6 ff 65 8b 1d 5f 6e 98 7e
RSP: 0018:ffffc90017b7fe38 EFLAGS: 00000282
RAX: ffffffff81698f92 RBX: 0000000000000282 RCX: 0000000000040000
RDX: ffffc9000dab9000 RSI: 0000000000000317 RDI: 0000000000000282
RBP: ffffffff81669716 R08: ffffffff817a1d20 R09: ffffed1015d04eb1
R10: ffffed1015d04eb1 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000282 R14: 0000000000000000 R15: ffffffff8164b430
clock_was_set+0x18/0x20 kernel/time/hrtimer.c:872
do_settimeofday64+0x41e/0x520 kernel/time/timekeeping.c:1257
__do_sys_clock_settime kernel/time/posix-timers.c:1079 [inline]
__se_sys_clock_settime kernel/time/posix-timers.c:1067 [inline]
__x64_sys_clock_settime+0x196/0x1c0 kernel/time/posix-timers.c:1067
do_syscall_64+0x73/0xe0 arch/x86/entry/common.c:359
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cb29
Code: Bad RIP value.
RSP: 002b:00007f9cac8fec78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e3
RAX: ffffffffffffffda RBX: 00000000004db560 RCX: 000000000045cb29
RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000000
RBP: 000000000078bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 000000000000007b R14: 00000000004c34ac R15: 00007f9cac8ff6d4
---
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.