INFO: task syz-executor.1:3667 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-00164-g4cee37b3a4e6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:17944 pid:3667 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 io_schedule+0x83/0x100 kernel/sched/core.c:8741 bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xbb/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1c3/0x240 kernel/sched/wait_bit.c:117 lock_buffer include/linux/buffer_head.h:397 [inline] hfs_mdb_commit+0xacd/0xf80 fs/hfs/mdb.c:325 hfs_sync_fs+0x11/0x20 fs/hfs/super.c:35 sync_filesystem+0xe8/0x220 fs/sync.c:56 generic_shutdown_super+0x6b/0x310 fs/super.c:474 kill_block_super+0x79/0xd0 fs/super.c:1428 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 cleanup_mnt+0x494/0x520 fs/namespace.c:1186 task_work_run+0x243/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4373e8d547 RSP: 002b:00007ffc9d565f78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f4373e8d547 RDX: 00007ffc9d56604c RSI: 000000000000000a RDI: 00007ffc9d566040 RBP: 00007ffc9d566040 R08: 00000000ffffffff R09: 00007ffc9d565e10 R10: 00005555563eb8b3 R11: 0000000000000246 R12: 00007f4373ee6b24 R13: 00007ffc9d567100 R14: 00005555563eb810 R15: 00007ffc9d567140 INFO: task kworker/1:13:4193 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-00164-g4cee37b3a4e6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:13 state:D stack:21088 pid:4193 ppid:2 flags:0x00004000 Workqueue: events_long flush_mdb Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 io_schedule+0x83/0x100 kernel/sched/core.c:8741 bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xbb/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1c3/0x240 kernel/sched/wait_bit.c:117 lock_buffer include/linux/buffer_head.h:397 [inline] hfs_mdb_commit+0x115/0xf80 fs/hfs/mdb.c:271 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d127330 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d127b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d127160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3306: #0: ffff88814bd00098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.1/3667: #0: ffff888078d0e0e0 (&type->s_umount_key#83){++++}-{3:3}, at: deactivate_super+0x96/0xd0 fs/super.c:362 2 locks held by kworker/1:13/4193: #0: ffff888012865538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90009ef7d00 ((work_completion)(&(&sbi->mdb_work)->work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 2 locks held by kworker/u4:0/20519: #0: ffff8880b9939dd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 #1: ffff8880b9927788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x57b/0x9a0 kernel/sched/psi.c:897 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc8-syzkaller-00164-g4cee37b3a4e6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4901 Comm: kworker/u4:13 Not tainted 6.1.0-rc8-syzkaller-00164-g4cee37b3a4e6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: phy11 ieee80211_iface_work RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:65 Code: 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 f3 aa <4c> 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01 RSP: 0018:ffffc900166671b8 EFLAGS: 00000202 RAX: ffffc90016667d00 RBX: ffffc900166672d8 RCX: 0000000000000000 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90016667300 RBP: 1ffffffff1df99ce R08: dffffc0000000000 R09: ffffc900166672f0 R10: fffff52002ccce60 R11: 1ffff92002ccce5e R12: ffffc900166672a0 R13: ffffffff8efcce74 R14: ffffc900166672f0 R15: 1ffff92002ccce55 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c000876324 CR3: 0000000028afe000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xdbc/0x24c0 arch/x86/kernel/unwind_orc.c:546 arch_stack_walk+0xb2/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x104/0x1e0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x3d/0x60 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:371 [inline] __kasan_kmalloc+0x97/0xb0 mm/kasan/common.c:380 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:955 [inline] __kmalloc+0xaf/0x1a0 mm/slab_common.c:968 kmalloc include/linux/slab.h:558 [inline] kzalloc include/linux/slab.h:689 [inline] ieee802_11_parse_elems_full+0xc4/0x1480 net/mac80211/util.c:1511 ieee802_11_parse_elems_crc net/mac80211/ieee80211_i.h:2241 [inline] ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2248 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1605 [inline] ieee80211_ibss_rx_queued_mgmt+0x4c6/0x2c00 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1630 [inline] ieee80211_iface_work+0x773/0xcf0 net/mac80211/iface.c:1684 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306