INFO: task syz-executor.2:5576 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-next-20240426-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24664 pid:5576 tgid:5576 ppid:5458 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2557 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_work+0xaa9/0xd00 kernel/workqueue.c:4202 __cancel_work_sync+0xbc/0x110 kernel/workqueue.c:4322 uhid_dev_destroy drivers/hid/uhid.c:584 [inline] uhid_char_release+0xaf/0x600 drivers/hid/uhid.c:662 __fput+0x406/0x8b0 fs/file_table.c:422 __do_sys_close fs/open.c:1555 [inline] __se_sys_close fs/open.c:1540 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1540 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x454c8a RSP: 002b:00007ffcee6a0590 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000454c8a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: 0000001b30820038 R09: 00007ffcee6a06a8 R10: 00007ffcee6a06c0 R11: 0000000000000293 R12: 000000000055c9e0 R13: 000000000055bf60 R14: 0000000000017b9a R15: 0000000000017bba Showing all locks held in the system: 3 locks held by pool_workqueue_/3: 3 locks held by kworker/0:0/8: 1 lock held by khungtaskd/30: #0: ffffffff8e333ba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] ffffffff8e333ba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] ffffffff8e333ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 4 locks held by kworker/u8:4/62: #0: ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3197 [inline] ffff888015ed5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3303 #1: ffffc900015e7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3198 [inline] (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3303 #2: ffffffff8f5d11d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:591 #3: ffffffff8e338e40 ( rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x550 kernel/rcu/tree.c:4479 2 locks held by getty/4845: #0: ffff88802aaec0a0 ( &tty->ldisc_sem ){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock ){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 7 locks held by kworker/0:3/5109: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-rc5-next-20240426-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8 Comm: kworker/0:0 Not tainted 6.9.0-rc5-next-20240426-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events uhid_device_add_worker RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline] RIP: 0010:unwind_next_frame+0x137b/0x2a00 arch/x86/kernel/unwind_orc.c:585 Code: e8 3a 24 00 00 48 89 c3 48 8b 44 24 30 42 80 3c 28 00 48 8b 6c 24 20 4c 8b 74 24 48 74 08 48 89 ef e8 d9 17 bb 00 48 89 5d 00 <48> 8b 44 24 58 42 80 3c 28 00 48 8b 5c 24 50 74 08 48 89 df e8 bc RSP: 0018:ffffc90000006a08 EFLAGS: 00000246 RAX: 1ffff92000000d65 RBX: ffffffff815a3b19 RCX: ffff888016ebda00 RDX: 0000000000000303 RSI: 0000000000000002 RDI: ffffc90000007fe8 RBP: ffffc90000006b28 R08: ffffffff8140effd R09: ffffffff8140ef56 R10: 0000000000000003 R11: ffff888016ebda00 R12: ffffc90000007fe8 R13: dffffc0000000000 R14: ffffc90000006b30 R15: 1ffff92000000d5c FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005601c3cbf000 CR3: 000000007c10a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xe0/0x150 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2190 [inline] slab_free mm/slub.c:4430 [inline] kfree+0x149/0x350 mm/slub.c:4551 ieee80211_inform_bss+0xbb2/0x1080 net/mac80211/scan.c:160 rdev_inform_bss net/wireless/rdev-ops.h:418 [inline] cfg80211_inform_single_bss_data+0x1049/0x2330 net/wireless/scan.c:2277 cfg80211_inform_bss_data+0x3dd/0x5a70 net/wireless/scan.c:3101 cfg80211_inform_bss_frame_data+0x3bc/0x720 net/wireless/scan.c:3191 ieee80211_bss_info_update+0x8a7/0xbc0 net/mac80211/scan.c:226 ieee80211_scan_rx+0x526/0x9c0 net/mac80211/scan.c:340 __ieee80211_rx_handle_packet net/mac80211/rx.c:5221 [inline] ieee80211_rx_list+0x2b00/0x3780 net/mac80211/rx.c:5458 ieee80211_rx_napi+0x18a/0x3c0 net/mac80211/rx.c:5481 ieee80211_rx include/net/mac80211.h:5093 [inline] ieee80211_tasklet_handler+0xeb/0x1f0 net/mac80211/main.c:438 tasklet_action_common+0x321/0x4d0 kernel/softirq.c:781 __do_softirq+0x2c6/0x980 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633 irq_exit_rcu+0x9/0x30 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2007 [inline] RIP: 0010:vprintk_emit+0x576/0x770 kernel/printk/printk.c:2344 Code: f7 1f 00 4c 21 e3 0f 85 3a 01 00 00 e8 33 f2 1f 00 4d 89 ec 4d 85 ff 75 07 e8 26 f2 1f 00 eb 06 e8 1f f2 1f 00 fb 44 8b 3c 24 <48> c7 c7 c0 f6 20 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc900000d7140 EFLAGS: 00000293 RAX: ffffffff81766311 RBX: 0000000000000000 RCX: ffff888016ebda00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900000d7230 R08: ffffffff817662ef R09: 1ffffffff25f2cd3 R10: dffffc0000000000 R11: fffffbfff25f2cd4 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffffff8176616f R15: 000000000000003a dev_vprintk_emit+0x2ae/0x330 drivers/base/core.c:4942 dev_printk_emit+0xdd/0x120 drivers/base/core.c:4953 _dev_warn+0x122/0x170 drivers/base/core.c:5009 hid_parser_main+0x71f/0xaa0 drivers/hid/hid-core.c:632 hid_open_report+0xafa/0x14a0 drivers/hid/hid-core.c:1276 hid_parse include/linux/hid.h:1118 [inline] hid_generic_probe+0x3d/0x90 drivers/hid/hid-generic.c:63 __hid_device_probe drivers/hid/hid-core.c:2633 [inline] hid_device_probe+0x26e/0x4f0 drivers/hid/hid-core.c:2670 really_probe+0x2b8/0xad0 drivers/base/dd.c:656 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:798 driver_probe_device+0x50/0x430 drivers/base/dd.c:828 __device_attach_driver+0x2d6/0x530 drivers/base/dd.c:956 bus_for_each_drv+0x24e/0x2e0 drivers/base/bus.c:457 __device_attach+0x333/0x520 drivers/base/dd.c:1028 bus_probe_device+0x189/0x260 drivers/base/bus.c:532 device_add+0x856/0xbf0 drivers/base/core.c:3712 hid_add_device+0x3b6/0x520 drivers/hid/hid-core.c:2816 uhid_device_add_worker+0x44/0xf0 drivers/hid/uhid.c:73 process_one_work kernel/workqueue.c:3222 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3303 worker_thread+0x86d/0xd70 kernel/workqueue.c:3384 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244