INFO: task syz-executor.4:14979 blocked for more than 143 seconds. Not tainted 6.7.0-next-20240111-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28464 pid:14979 tgid:14976 ppid:17580 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf15/0x5ce0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe7/0x280 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:847 [inline] blk_ioctl_zeroout block/ioctl.c:187 [inline] blkdev_common_ioctl+0x111f/0x1ce0 block/ioctl.c:516 blkdev_ioctl+0x247/0x770 block/ioctl.c:630 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:857 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:0x7fe156c7cd29 RSP: 002b:00007fe157a630c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fe156dabf80 RCX: 00007fe156c7cd29 RDX: 0000000020000080 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00007fe156cc947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fe156dabf80 R15: 00007fff6fe62e88 Showing all locks held in the system: 3 locks held by kworker/u4:1/12: #0: ffff8880162e8d38 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78c/0x1600 kernel/workqueue.c:2608 #1: ffffc90000117d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7f6/0x1600 kernel/workqueue.c:2609 #2: ffffffff8d7ba2c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4032 1 lock held by khungtaskd/29: #0: ffffffff8d7aeba0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7aeba0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7aeba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4819: #0: ffff88802bfbd0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 4 locks held by syz-executor.5/5095: 4 locks held by syz-executor.3/5104: 2 locks held by kworker/u4:13/31946: 2 locks held by kworker/u4:8/17369: #0: ffff888014c95938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78c/0x1600 kernel/workqueue.c:2608 #1: ffffc900048ffd80 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7f6/0x1600 kernel/workqueue.c:2609 2 locks held by kworker/u4:9/17371: 3 locks held by kworker/1:0/27344: #0: ffff888014c94d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78c/0x1600 kernel/workqueue.c:2608 #1: ffffc9000ac77d80 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x7f6/0x1600 kernel/workqueue.c:2609 #2: ffffffff8d7ba2c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4032 2 locks held by kworker/u4:12/28479: #0: ffff888014c95938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78c/0x1600 kernel/workqueue.c:2608 #1: ffffc9000e827d80 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7f6/0x1600 kernel/workqueue.c:2609 2 locks held by syz-executor.0/32428: 2 locks held by kworker/u4:2/8484: #0: ffff888014c95938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78c/0x1600 kernel/workqueue.c:2608 #1: ffffc9001765fd80 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7f6/0x1600 kernel/workqueue.c:2609 1 lock held by syz-executor.4/14979: #0: ffff88801d0970c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:847 [inline] #0: ffff88801d0970c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:187 [inline] #0: ffff88801d0970c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x111f/0x1ce0 block/ioctl.c:516 2 locks held by kworker/u4:3/17840: #0: ffff888014c95938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78c/0x1600 kernel/workqueue.c:2608 #1: ffffc90014b6fd80 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7f6/0x1600 kernel/workqueue.c:2609 4 locks held by syz-executor.0/18061: 2 locks held by syz-executor.2/18060: 2 locks held by syz-executor.5/18067: #0: ffffffff8d67e1e8 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x3f/0xa0 kernel/sched/core.c:420 #1: ffffffff8d7ba3f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #1: ffffffff8d7ba3f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x6b5/0x800 kernel/rcu/tree_exp.h:996 1 lock held by syz-executor.3/18082: #0: ffffffff8d67e1e8 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x3f/0xa0 kernel/sched/core.c:420 1 lock held by syz-executor.3/18083: 3 locks held by syz-executor.4/18087: 1 lock held by modprobe/18086: 1 lock held by syz-executor.1/18089: #0: ffffffff8d67e1e8 (sched_core_mutex){+.+.}-{3:3}, at: sched_core_get+0x3f/0xa0 kernel/sched/core.c:420 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-next-20240111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 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:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 17369 Comm: kworker/u4:8 Not tainted 6.7.0-next-20240111-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: events_unbound cfg80211_wiphy_work RIP: 0010:stack_access_ok+0x100/0x270 arch/x86/kernel/unwind_orc.c:398 Code: 89 da 48 89 ef e8 70 e2 f3 ff 31 ff 41 89 c6 89 c6 e8 a4 17 50 00 45 85 f6 74 1e 45 31 f6 e8 b7 1c 50 00 44 89 f0 48 83 c4 10 <5b> 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc e8 9c 1c 50 00 48 89 RSP: 0018:ffffc900048ff4e8 EFLAGS: 00000286 RAX: 0000000000000001 RBX: ffffc900048ff5f8 RCX: ffffffff813c0366 RDX: ffff88808ca03b80 RSI: ffffffff813c03c9 RDI: 0000000000000005 RBP: ffffc900048ff5e8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000003 R12: ffffc900048ff600 R13: ffffc900048ff608 R14: 0000000000000001 R15: ffffc90004900000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200bb030 CR3: 000000000d578000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline] unwind_next_frame+0xd89/0x2390 arch/x86/kernel/unwind_orc.c:585 __unwind_start+0x5a2/0x880 arch/x86/kernel/unwind_orc.c:760 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0xb2/0x170 arch/x86/kernel/stacktrace.c:24 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 kasan_save_free_info+0x3f/0x60 mm/kasan/generic.c:640 poison_slab_object mm/kasan/common.c:241 [inline] __kasan_slab_free+0x121/0x1c0 mm/kasan/common.c:257 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2121 [inline] slab_free mm/slub.c:4299 [inline] kfree+0x129/0x370 mm/slub.c:4409 ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1578 [inline] ieee80211_ibss_rx_queued_mgmt+0x1b1e/0x3110 net/mac80211/ibss.c:1604 ieee80211_iface_process_skb net/mac80211/iface.c:1589 [inline] ieee80211_iface_work+0xa67/0xda0 net/mac80211/iface.c:1643 cfg80211_wiphy_work+0x255/0x330 net/wireless/core.c:437 process_one_work+0x8a7/0x1600 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b6/0x1290 kernel/workqueue.c:2787 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:242