syzbot


BUG: soft lockup in netstamp_clear

Status: closed as invalid on 2020/05/29 21:04
Subsystems: kernel
[Documentation on labels]
First crash: 1504d, last: 1502d

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [kworker/1:2:83]
Modules linked in:
irq event stamp: 623438
hardirqs last  enabled at (623437): [<ffffffff81004721>] trace_hardirqs_on_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:41
hardirqs last disabled at (623438): [<ffffffff8100473d>] trace_hardirqs_off_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:42
softirqs last  enabled at (623436): [<ffffffff85c00673>] __do_softirq+0x673/0x950 kernel/softirq.c:319
softirqs last disabled at (623429): [<ffffffff81157f28>] invoke_softirq kernel/softirq.c:373 [inline]
softirqs last disabled at (623429): [<ffffffff81157f28>] irq_exit+0x178/0x1a0 kernel/softirq.c:413
CPU: 1 PID: 83 Comm: kworker/1:2 Not tainted 5.6.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events netstamp_clear
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+0x2cf/0x3a0 kernel/smp.c:311
Code: 5f 5d c3 e8 53 62 0a 00 48 8b 54 24 08 4c 89 f9 8b 7c 24 14 48 8d 74 24 40 e8 cd f9 ff ff 41 89 c4 eb 07 e8 33 62 0a 00 f3 90 <8b> 5c 24 58 31 ff 83 e3 01 89 de e8 c1 63 0a 00 85 db 75 e5 e8 18
RSP: 0018:ffff8881d8a87a60 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffff8881d8d7c980 RBX: 0000000000000001 RCX: ffffffff8134f3bf
RDX: 0000000000000000 RSI: ffffffff8134f3ad RDI: 0000000000000005
RBP: ffff8881d8a87b28 R08: ffff8881d8d7c980 R09: fffffbfff1266e85
R10: fffffbfff1266e84 R11: ffffffff89337427 R12: 0000000000000000
R13: 0000000000000001 R14: ffffffff87e607c0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8d28cac740 CR3: 00000001d1f8d000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 smp_call_function_many_cond+0x25e/0x900 kernel/smp.c:439
 smp_call_function_many kernel/smp.c:498 [inline]
 smp_call_function kernel/smp.c:520 [inline]
 on_each_cpu+0x47/0xb0 kernel/smp.c:627
 text_poke_sync arch/x86/kernel/alternative.c:942 [inline]
 text_poke_bp_batch+0x142/0x3f0 arch/x86/kernel/alternative.c:1121
 text_poke_flush arch/x86/kernel/alternative.c:1243 [inline]
 text_poke_finish+0x16/0x21 arch/x86/kernel/alternative.c:1250
 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:126
 jump_label_update kernel/jump_label.c:808 [inline]
 jump_label_update+0x1a6/0x370 kernel/jump_label.c:787
 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177
 static_key_enable+0x16/0x20 kernel/jump_label.c:190
 netstamp_clear+0x5a/0x80 net/core/dev.c:2043
 process_one_work+0x94b/0x1620 kernel/workqueue.c:2264
 worker_thread+0x96/0xe20 kernel/workqueue.c:2410
 kthread+0x318/0x420 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 1 Comm: systemd Not tainted 5.6.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:line6_midibuf_read+0x4a4/0xa30 sound/usb/line6/midibuf.c:225
Code: 00 00 e8 bf f7 84 fc 48 8b 74 24 18 48 63 d3 48 8b 3c 24 e8 5e 98 ad fc 01 5d 10 e8 a6 f7 84 fc 31 ff 44 89 fe e8 3c f9 84 fc <45> 85 ff 74 68 e8 92 f7 84 fc 48 8b 74 24 28 48 b8 00 00 00 00 00
RSP: 0018:ffff8881db2099e0 EFLAGS: 00000097
RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffffffff84ba5e44
RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000005
RBP: ffff8881c7c032a0 R08: ffff8881da190000 R09: ffffed103a7e1981
R10: ffffed103a7e1980 R11: ffff8881d3f0cc00 R12: 0000000000000001
R13: 000000000000002e R14: 00000000000003d2 R15: 0000000000000001
FS:  00007f0377e35500(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3946517c10 CR3: 00000001d436e000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 line6_data_received+0x318/0x520 sound/usb/line6/driver.c:305
 __usb_hcd_giveback_urb+0x29a/0x550 drivers/usb/core/hcd.c:1650
 usb_hcd_giveback_urb+0x368/0x420 drivers/usb/core/hcd.c:1716
 dummy_timer+0x1258/0x32ae drivers/usb/gadget/udc/dummy_hcd.c:1966
 call_timer_fn+0x195/0x6f0 kernel/time/timer.c:1404
 expire_timers kernel/time/timer.c:1449 [inline]
 __run_timers kernel/time/timer.c:1773 [inline]
 __run_timers kernel/time/timer.c:1740 [inline]
 run_timer_softirq+0x5f9/0x1500 kernel/time/timer.c:1786
 __do_softirq+0x21e/0x950 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x178/0x1a0 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:546 [inline]
 smp_apic_timer_interrupt+0x141/0x540 arch/x86/kernel/apic/apic.c:1146
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829
 </IRQ>
RIP: 0010:lock_acquire+0x173/0x340 kernel/locking/lockdep.c:4488
Code: c1 ea 03 0f b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 ac 01 00 00 c7 83 4c 08 00 00 00 00 00 00 ff 34 24 9d <48> 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b 15 27 72 db 7e
RSP: 0018:ffff8881da19fc48 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: ffff8881da190000 RCX: 0000000000001357
RDX: 0000000000000000 RSI: 1ffff1103b433f72 RDI: ffff8881da19084c
RBP: ffff8881d7f69958 R08: ffffffff892f4e38 R09: fffffbfff1266e86
R10: fffffbfff1266e85 R11: ffffffff8933742f R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x27/0x40 kernel/locking/spinlock.c:151
 spin_lock include/linux/spinlock.h:338 [inline]
 lockref_put_or_lock+0x14/0x80 lib/lockref.c:174
 fast_dput fs/dcache.c:728 [inline]
 dput+0x4ae/0xdf0 fs/dcache.c:846
 path_put+0x2d/0x60 fs/namei.c:482
 vfs_statx+0x14d/0x1e0 fs/stat.c:202
 vfs_lstat include/linux/fs.h:3276 [inline]
 __do_sys_newlstat+0x96/0x120 fs/stat.c:364
 do_syscall_64+0xb6/0x5a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f03763ff335
Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89
RSP: 002b:00007ffef5b3d7e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000006
RAX: ffffffffffffffda RBX: 0000562408ef2ca0 RCX: 00007f03763ff335
RDX: 00007ffef5b3d820 RSI: 00007ffef5b3d820 RDI: 0000562408ef1ca0
RBP: 00007ffef5b3d8e0 R08: 00007f03766be1a8 R09: 0000000000001010
R10: 0000000000000100 R11: 0000000000000246 R12: 0000562408ef1ca0
R13: 0000562408ef1cac R14: 0000562408f22215 R15: 0000562408f2221c

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/28 07:05 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 831e9a81 .config console log report ci2-upstream-usb
2020/03/27 22:53 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 831e9a81 .config console log report ci2-upstream-usb
2020/03/27 22:03 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 831e9a81 .config console log report ci2-upstream-usb
2020/03/27 09:38 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 9af8b4b3 .config console log report ci2-upstream-usb
2020/03/26 12:55 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 e8e6c7d2 .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.