INFO: task syz-executor.3:30086 blocked for more than 143 seconds. Not tainted 6.3.0-rc2-syzkaller-00462-g5cdfdd6da323 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27024 pid:30086 ppid:5114 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6622 schedule+0xde/0x1a0 kernel/sched/core.c:6698 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757 rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write_nested+0x1d6/0x200 kernel/locking/rwsem.c:1690 inode_lock_nested include/linux/fs.h:793 [inline] ext4_rename+0x1593/0x2790 fs/ext4/namei.c:3821 ext4_rename2+0x1c7/0x270 fs/ext4/namei.c:4200 vfs_rename+0xef6/0x17a0 fs/namei.c:4772 do_renameat2+0xb62/0xc90 fs/namei.c:4923 __do_sys_rename fs/namei.c:4969 [inline] __se_sys_rename fs/namei.c:4967 [inline] __x64_sys_rename+0x81/0xa0 fs/namei.c:4967 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f59b148c0f9 RSP: 002b:00007f59b2273168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f59b15ac050 RCX: 00007f59b148c0f9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000200 RBP: 00007f59b14e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcad84117f R14: 00007f59b2273300 R15: 0000000000022000 INFO: task syz-executor.3:30087 blocked for more than 143 seconds. Not tainted 6.3.0-rc2-syzkaller-00462-g5cdfdd6da323 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:29096 pid:30087 ppid:5114 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6622 schedule+0xde/0x1a0 kernel/sched/core.c:6698 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757 rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write_nested+0x1d6/0x200 kernel/locking/rwsem.c:1690 inode_lock_nested include/linux/fs.h:793 [inline] lock_rename+0x1e4/0x280 fs/namei.c:3012 do_renameat2+0x63d/0xc90 fs/namei.c:4864 __do_sys_renameat2 fs/namei.c:4956 [inline] __se_sys_renameat2 fs/namei.c:4953 [inline] __x64_sys_renameat2+0xe8/0x120 fs/namei.c:4953 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f59b148c0f9 RSP: 002b:00007f59b2252168 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f59b15ac120 RCX: 00007f59b148c0f9 RDX: 0000000000000004 RSI: 00000000200002c0 RDI: 0000000000000004 RBP: 00007f59b14e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000180 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcad84117f R14: 00007f59b2252300 R15: 0000000000022000 INFO: task syz-executor.3:30091 blocked for more than 143 seconds. Not tainted 6.3.0-rc2-syzkaller-00462-g5cdfdd6da323 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28376 pid:30091 ppid:5114 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6622 schedule+0xde/0x1a0 kernel/sched/core.c:6698 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757 rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574 inode_lock include/linux/fs.h:758 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2294 __do_sys_pivot_root+0x2c0/0x1610 fs/namespace.c:3897 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f59b148c0f9 RSP: 002b:00007f59b2231168 EFLAGS: 00000246 ORIG_RAX: 000000000000009b RAX: ffffffffffffffda RBX: 00007f59b15ac1f0 RCX: 00007f59b148c0f9 RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000020000000 RBP: 00007f59b14e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcad84117f R14: 00007f59b2231300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c794b70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c794870 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8c7956c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495 2 locks held by getty/4758: #0: ffff888027e69098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by syz-fuzzer/5073: #0: ffff88802e8920e8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe7/0x100 fs/file.c:1047 #1: ffff8880222eca38 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: iterate_dir+0xd1/0x6f0 fs/readdir.c:55 3 locks held by kworker/u4:11/24866: #0: ffff8880b983c298 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:539 #1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x216/0x950 kernel/sched/psi.c:964 #2: ffff88802b8b4d40 (&wdev->mtx){+.+.}-{3:3}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:406 [inline] #2: ffff88802b8b4d40 (&wdev->mtx){+.+.}-{3:3}, at: batadv_nc_worker+0xf7/0xfe0 net/batman-adv/network-coding.c:719 4 locks held by syz-executor.3/30086: #0: ffff88814b780460 (sb_writers#4){.+.+}-{0:0}, at: do_renameat2+0x37f/0xc90 fs/namei.c:4859 #1: ffff8880222eca38 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff8880222eca38 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename+0x229/0x280 fs/namei.c:2991 #2: ffff8880222ee850 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff8880222ee850 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rename+0x4f9/0x17a0 fs/namei.c:4744 #3: ffff888077410400 (&type->i_mutex_dir_key#3/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #3: ffff888077410400 (&type->i_mutex_dir_key#3/4){+.+.}-{3:3}, at: ext4_rename+0x1593/0x2790 fs/ext4/namei.c:3821 4 locks held by syz-executor.3/30087: #0: ffff88814b780460 (sb_writers#4){.+.+}-{0:0}, at: do_renameat2+0x37f/0xc90 fs/namei.c:4859 #1: ffff88814b780748 (&type->s_vfs_rename_key){+.+.}-{3:3}, at: lock_rename+0x58/0x280 fs/namei.c:2995 #2: ffff888077410400 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #2: ffff888077410400 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename+0x1b0/0x280 fs/namei.c:3011 #3: ffff8880222ee850 (&type->i_mutex_dir_key#3/5){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #3: ffff8880222ee850 (&type->i_mutex_dir_key#3/5){+.+.}-{3:3}, at: lock_rename+0x1e4/0x280 fs/namei.c:3012 1 lock held by syz-executor.3/30091: #0: ffff8880222ee850 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff8880222ee850 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2294 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc2-syzkaller-00462-g5cdfdd6da323 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 24884 Comm: kworker/u4:17 Not tainted 6.3.0-rc2-syzkaller-00462-g5cdfdd6da323 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Workqueue: phy28 ieee80211_iface_work RIP: 0010:check_preemption_disabled+0xa/0x170 lib/smp_processor_id.c:13 Code: 1f 44 00 00 0f 0b 0f 1f 44 00 00 5b e9 6f fb ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 56 41 55 49 89 f5 41 54 55 <48> 89 fd 53 0f 1f 44 00 00 65 44 8b 25 81 cd 01 76 65 8b 1d 76 cd RSP: 0018:ffffc90003cff6a0 EFLAGS: 00000083 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81896deb RDX: fffffbfff1cef813 RSI: ffffffff8aa6ae60 RDI: ffffffff8aa6aea0 RBP: ffffffff81d3775c R08: 0000000000000000 R09: ffffffff8e77c097 R10: fffffbfff1cef812 R11: 0000000000000000 R12: 00000000ffffffff R13: ffffffff8aa6ae60 R14: 0000000000000000 R15: ffff888012441dc0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c017472dd0 CR3: 000000001e17e000 CR4: 0000000000350ef0 Call Trace: rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:121 [inline] rcu_is_watching+0x12/0xb0 kernel/rcu/tree.c:694 trace_irq_disable include/trace/events/preemptirq.h:36 [inline] trace_irq_disable include/trace/events/preemptirq.h:36 [inline] trace_hardirqs_off_finish kernel/trace/trace_preemptirq.c:78 [inline] trace_hardirqs_off+0x6a/0x120 kernel/trace/trace_preemptirq.c:73 seqcount_lockdep_reader_access include/linux/seqlock.h:101 [inline] read_mems_allowed_begin include/linux/cpuset.h:151 [inline] get_any_partial mm/slub.c:2348 [inline] get_partial mm/slub.c:2390 [inline] ___slab_alloc+0x101c/0x1400 mm/slub.c:3188 __slab_alloc.constprop.0+0x56/0xa0 mm/slub.c:3292 __slab_alloc_node mm/slub.c:3345 [inline] slab_alloc_node mm/slub.c:3442 [inline] __kmem_cache_alloc_node+0x136/0x320 mm/slub.c:3491 __do_kmalloc_node mm/slab_common.c:966 [inline] __kmalloc+0x4e/0x190 mm/slab_common.c:980 kmalloc include/linux/slab.h:584 [inline] kzalloc include/linux/slab.h:720 [inline] ieee802_11_parse_elems_full+0x106/0x1340 net/mac80211/util.c:1606 ieee802_11_parse_elems_crc net/mac80211/ieee80211_i.h:2262 [inline] ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2269 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1605 [inline] ieee80211_ibss_rx_queued_mgmt+0xcbc/0x3030 net/mac80211/ibss.c:1638 ieee80211_iface_process_skb net/mac80211/iface.c:1583 [inline] ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1637 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308