watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.4:18586] Modules linked in: irq event stamp: 4353243 hardirqs last enabled at (4353242): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (4353242): [] _raw_spin_unlock_irq+0x24/0x80 kernel/locking/spinlock.c:192 hardirqs last disabled at (4353243): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (230): [] raw_hash_sk+0x1c4/0x250 net/ipv4/raw.c:107 softirqs last disabled at (957): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (957): [] irq_exit+0x215/0x260 kernel/softirq.c:412 CPU: 1 PID: 18586 Comm: syz-executor.4 Not tainted 4.19.196-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x50/0x80 kernel/locking/spinlock.c:192 Code: c0 58 82 f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 75 31 48 83 3d 51 0f d9 01 00 74 25 fb 66 0f 1f 44 00 00 01 00 00 00 e8 46 f7 28 f9 65 8b 05 ef 6b e9 77 85 c0 74 02 5d RSP: 0018:ffff8880ba107de0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e304b RBX: dffffc0000000000 RCX: 1ffff11008af611a RDX: dffffc0000000000 RSI: ffff8880457b08b0 RDI: ffff8880457b0884 RBP: ffff8880ba122b00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff8688c570 R13: ffff8880ba122b00 R14: ffff8880ba107e78 R15: 0000000000000000 FS: 00007f9e99eda700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e4da3 CR3: 0000000011bf8000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: expire_timers+0x238/0x4e0 kernel/time/timer.c:1374 __run_timers kernel/time/timer.c:1696 [inline] run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:141 [inline] RIP: 0010:unwind_next_frame+0x211/0x1400 arch/x86/kernel/unwind_orc.c:422 Code: 4d 85 ff 0f 84 74 03 00 00 49 81 ff 00 00 00 81 0f 82 4d 01 00 00 49 81 ff 00 70 40 88 0f 83 40 01 00 00 44 8b 1d df ae 3c 0b <4c> 89 fe 48 81 ee 00 00 00 81 48 c1 ee 08 41 8d 43 ff 39 c6 0f 83 RSP: 0018:ffff88822ca07178 EFLAGS: 00000287 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 1ffff11045940e38 RCX: 1ffff11045940e5e RDX: dffffc0000000000 RSI: ffff88822ca07108 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88822ca07307 R11: 0000000000074071 R12: ffff88822ca072f0 R13: ffff88822ca072dd R14: ffff88822ca072a8 R15: ffffffff87ed07e4 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] kmem_cache_alloc+0x110/0x370 mm/slab.c:3557 radix_tree_node_alloc.constprop.0+0x1e4/0x320 lib/radix-tree.c:398 idr_get_free+0x50e/0xa10 lib/radix-tree.c:2158 idr_alloc_u32+0x1a5/0x320 lib/idr.c:49 idr_alloc_cyclic+0x102/0x230 lib/idr.c:128 __kernfs_new_node+0x11a/0x680 fs/kernfs/dir.c:639 kernfs_new_node+0x92/0x120 fs/kernfs/dir.c:693 __kernfs_create_file+0x51/0x340 fs/kernfs/file.c:992 sysfs_add_file_mode_ns+0x226/0x540 fs/sysfs/file.c:307 create_files fs/sysfs/group.c:63 [inline] internal_create_group+0x355/0xb20 fs/sysfs/group.c:147 loop_sysfs_init drivers/block/loop.c:851 [inline] loop_set_fd drivers/block/loop.c:1003 [inline] lo_ioctl+0xf7c/0x20e0 drivers/block/loop.c:1576 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x5cb/0x1a80 block/ioctl.c:601 block_ioctl+0xe9/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9e99eda188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9 RDX: 0000000000000006 RSI: 0000000000004c00 RDI: 0000000000000004 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffcb556daff R14: 00007f9e99eda300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 18564 Comm: syz-executor.4 Not tainted 4.19.196-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:261 [inline] RIP: 0010:csd_lock_wait kernel/smp.c:108 [inline] RIP: 0010:smp_call_function_single+0x1db/0x420 kernel/smp.c:302 Code: 00 e8 a9 03 0a 00 48 8b 4c 24 08 48 8b 54 24 10 48 8d 74 24 40 8b 7c 24 1c e8 a1 f9 ff ff 41 89 c5 eb 07 e8 87 03 0a 00 f3 90 <44> 8b 64 24 58 31 ff 41 83 e4 01 44 89 e6 e8 e2 04 0a 00 45 85 e4 RSP: 0018:ffff8882306bfa60 EFLAGS: 00000293 RAX: ffff88822549c300 RBX: 1ffff110460d7f50 RCX: ffffffff81587bce RDX: 0000000000000000 RSI: ffffffff81587bb9 RDI: 0000000000000005 RBP: ffff8882306bfb30 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880457b003c FS: 000000000164f400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d126000 CR3: 0000000011bf8000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 000000000000d0eb DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: task_function_call+0xe0/0x170 kernel/events/core.c:115 event_function_call+0x228/0x430 kernel/events/core.c:283 perf_remove_from_context+0x9b/0x1c0 kernel/events/core.c:2113 perf_event_release_kernel+0x169/0xcd0 kernel/events/core.c:4607 perf_release+0x33/0x40 kernel/events/core.c:4703 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4193eb Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007ffcb556db60 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00000000004193eb RDX: 0000000000576e68 RSI: 0000000000000081 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000576e68 R13: 00007ffcb556dc80 R14: 000000000056bf80 R15: 0000000000116f98