INFO: task syz-executor.2:5774 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28656 pid:5774 tgid:5774 ppid:5495 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2548 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3de/0x5f0 kernel/sched/completion.c:116 __flush_work+0x5c4/0xb10 kernel/workqueue.c:4205 __cancel_work_sync+0x401/0x5a0 kernel/workqueue.c:4304 uhid_dev_destroy drivers/hid/uhid.c:584 [inline] uhid_char_release+0xca/0x210 drivers/hid/uhid.c:662 __fput+0x270/0xb80 fs/file_table.c:422 __fput_sync+0x47/0x50 fs/file_table.c:507 __do_sys_close fs/open.c:1556 [inline] __se_sys_close fs/open.c:1541 [inline] __x64_sys_close+0x86/0x100 fs/open.c:1541 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f23d567cc9a RSP: 002b:00007ffc13b937f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f23d567cc9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000048 R08: 0000001b33160000 R09: 00007f23d57abf8c R10: 0000000000000120 R11: 0000000000000293 R12: 00007f23d52003c0 R13: ffffffffffffffff R14: 00007f23d5200000 R15: 000000000004c0e5 Showing all locks held in the system: 3 locks held by kworker/0:0/7: 2 locks held by kworker/u8:0/10: 1 lock held by khungtaskd/29: #0: ffffffff8d7b08e0 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] , at: rcu_read_lock include/linux/rcupdate.h:750 [inline] , at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 7 locks held by kworker/u8:2/42: #0: ffff888015ed3148 ( (wq_completion)netns ){+.+.}-{0:0} , at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229 #1: ffffc90000b27d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230 #2: ffffffff8f2e1650 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbf0 net/core/net_namespace.c:591 #3: ffff888069a8a0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #3: ffff888069a8a0e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff888069a8a0e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x12d/0x2b0 net/devlink/core.c:506 #4: ffff888069a8e250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff888069a8e250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff888069a8e250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x137/0x2b0 net/devlink/core.c:506 #5: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x35/0x2f0 drivers/net/netdevsim/netdev.c:451 #6: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #6: ffffffff8d7bc4b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939 1 lock held by dhcpcd/4727: #0: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x26e/0x1f10 net/ipv4/devinet.c:1096 2 locks held by getty/4809: #0: ffff88802b9840a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015e02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by kworker/0:4/5129: 3 locks held by kworker/0:5/5130: #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229 #1: ffffc90004177d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230 #2: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 2 locks held by kworker/1:5/5132: #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229 #1: ffffc90004197d80 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230 7 locks held by kworker/0:7/5475: 1 lock held by syz-executor.0/5781: #0: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8f2f63c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x250 drivers/net/tun.c:3498 3 locks held by syz-executor.2/5859: #0: ffff888068ab9060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x26/0x90 net/bluetooth/hci_core.c:552 #1: ffff888068ab8078 ( &hdev->lock ){+.+.}-{3:3} , at: hci_dev_close_sync+0x339/0x11e0 net/bluetooth/hci_sync.c:5140 #2: ffffffff8f5548c8 ( hci_cb_list_lock ){+.+.}-{3:3} , at: hci_disconn_cfm include/net/bluetooth/hci_core.h:2019 [inline] , at: hci_conn_hash_flush+0xc4/0x260 net/bluetooth/hci_conn.c:2566 1 lock held by syz-executor.0/5863: #0: ffffffff8f2f63c8 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 1 lock held by syz-executor.4/5878: #0: ffffffff8f2f63c8 ( rtnl_mutex){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 1 lock held by syz-executor.1/5882: #0: ffffffff8f2f63c8 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: __rtnl_newlink+0x65a/0x1960 net/core/rtnetlink.c:3704 1 lock held by syz-executor.3/5895: #0: ffffffff8f2f63c8 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf86/0x1210 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7 Comm: kworker/0:0 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: events uhid_device_add_worker RIP: 0010:__sanitizer_cov_trace_pc+0x18/0x60 kernel/kcov.c:203 Code: 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 04 db 76 7e 65 8b 05 05 db 76 7e a9 00 01 ff 00 <48> 8b 34 24 74 0f f6 c4 01 74 35 8b 82 14 16 00 00 85 c0 74 2b 8b RSP: 0018:ffffc900000075f0 EFLAGS: 00000206 RAX: 0000000000000102 RBX: ffffc90000007678 RCX: ffffffff813ca58e RDX: ffff888016edbc00 RSI: 0000000000000004 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000004 R10: 0000000000000001 R11: 0000000000000005 R12: ffffffff90a8be32 R13: ffffc900000c78b8 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9cf8fafd00 CR3: 0000000029b94000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x1b21/0x23a0 arch/x86/kernel/unwind_orc.c:648 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3798 [inline] slab_alloc_node mm/slub.c:3845 [inline] kmem_cache_alloc_node+0x177/0x340 mm/slub.c:3888 kmalloc_reserve+0x18b/0x2c0 net/core/skbuff.c:577 __alloc_skb+0x164/0x380 net/core/skbuff.c:668 __netdev_alloc_skb+0x72/0x3f0 net/core/skbuff.c:732 netdev_alloc_skb include/linux/skbuff.h:3306 [inline] dev_alloc_skb include/linux/skbuff.h:3319 [inline] __ieee80211_beacon_get+0xc1f/0x16b0 net/mac80211/tx.c:5466 ieee80211_beacon_get_tim+0xa7/0x280 net/mac80211/tx.c:5588 ieee80211_beacon_get include/net/mac80211.h:5552 [inline] mac80211_hwsim_beacon_tx+0x48d/0x880 drivers/net/wireless/virtual/mac80211_hwsim.c:2296 __iterate_interfaces+0x2d2/0x580 net/mac80211/util.c:772 ieee80211_iterate_active_interfaces_atomic+0x71/0x1b0 net/mac80211/util.c:808 mac80211_hwsim_beacon+0x105/0x200 drivers/net/wireless/virtual/mac80211_hwsim.c:2326 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x20c/0xc20 kernel/time/hrtimer.c:1756 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1773 __do_softirq+0x218/0x8de kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:633 [inline] irq_exit_rcu+0xb9/0x120 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x95/0xb0 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:2010 [inline] RIP: 0010:vprintk_emit kernel/printk/printk.c:2341 [inline] RIP: 0010:vprintk_emit+0x4c2/0x5a0 kernel/printk/printk.c:2297 Code: 00 4d 85 e4 0f 85 8e 00 00 00 e8 79 c1 1e 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 77 bc 1e 00 48 85 db 0f 85 9a 00 00 00 59 c1 1e 00 45 31 c9 41 b8 01 00 00 00 31 c9 48 8d 05 00 00 00 RSP: 0018:ffffc900000c7460 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff816e37dc RDX: ffff888016edbc00 RSI: ffffffff816e37e6 RDI: 0000000000000007 RBP: 000000000000003a R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000003 R12: 0000000000000200 R13: ffff888018eabc00 R14: ffffffff8b97b720 R15: ffffc900000c74c0 dev_vprintk_emit drivers/base/core.c:4864 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4875 __dev_printk+0xf5/0x270 drivers/base/core.c:4887 _dev_warn+0xe5/0x120 drivers/base/core.c:4931 hid_parser_main+0x2b6/0xc70 drivers/hid/hid-core.c:632 hid_open_report+0x3f4/0x7c0 drivers/hid/hid-core.c:1276 hid_parse include/linux/hid.h:1118 [inline] hid_generic_probe+0x4d/0x90 drivers/hid/hid-generic.c:63 __hid_device_probe drivers/hid/hid-core.c:2633 [inline] hid_device_probe+0x2eb/0x490 drivers/hid/hid-core.c:2670 call_driver_probe drivers/base/dd.c:579 [inline] really_probe+0x23a/0xcb0 drivers/base/dd.c:658 __driver_probe_device+0x1de/0x4b0 drivers/base/dd.c:800 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:958 bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457 __device_attach+0x1e8/0x4b0 drivers/base/dd.c:1030 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532 device_add+0x1188/0x1ab0 drivers/base/core.c:3639 hid_add_device+0x37f/0xa70 drivers/hid/hid-core.c:2816 uhid_device_add_worker+0x3e/0x110 drivers/hid/uhid.c:73 process_one_work+0x9a9/0x1a60 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243