INFO: task syz-executor.2:2304 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27816 pid:2304 ppid:5039 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 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:810 [inline] lock_two_directories fs/namei.c:3032 [inline] lock_two_directories+0x197/0x1e0 fs/namei.c:3013 lock_rename fs/namei.c:3047 [inline] do_renameat2+0x691/0xd40 fs/namei.c:4941 __do_sys_renameat2 fs/namei.c:5035 [inline] __se_sys_renameat2 fs/namei.c:5032 [inline] __x64_sys_renameat2+0xe8/0x120 fs/namei.c:5032 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:0x7f876c48c169 RSP: 002b:00007f876d293168 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f876c5ac050 RCX: 00007f876c48c169 RDX: 0000000000000004 RSI: 00000000200002c0 RDI: 0000000000000004 RBP: 00007f876c4e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000180 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffedf64116f R14: 00007f876d293300 R15: 0000000000022000 INFO: task syz-executor.2:2308 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28688 pid:2308 ppid:5039 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 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:810 [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:4849 do_renameat2+0xc04/0xd40 fs/namei.c:5002 __do_sys_rename fs/namei.c:5048 [inline] __se_sys_rename fs/namei.c:5046 [inline] __x64_sys_rename+0x81/0xa0 fs/namei.c:5046 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:0x7f876c48c169 RSP: 002b:00007f876d272168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f876c5ac120 RCX: 00007f876c48c169 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000200 RBP: 00007f876c4e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffedf64116f R14: 00007f876d272300 R15: 0000000000022000 INFO: task syz-executor.2:2310 blocked for more than 143 seconds. Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29248 pid:2310 ppid:5039 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 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:775 [inline] open_last_lookups fs/namei.c:3557 [inline] path_openat+0x90f/0x2750 fs/namei.c:3788 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 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:0x7f876c48c169 RSP: 002b:00007f876d251168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f876c5ac1f0 RCX: 00007f876c48c169 RDX: 00000000000026e1 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f876c4e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffedf64116f R14: 00007f876d251300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c798430 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c798130 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8c799040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6545 2 locks held by getty/4749: #0: ffff88802c399098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 2 locks held by syz-fuzzer/6308: #0: ffff88803dc68d68 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe7/0x100 fs/file.c:1047 #1: ffff888094fade00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: iterate_dir+0xd1/0x6f0 fs/readdir.c:55 2 locks held by kworker/u4:6/1095: #0: ffff8880b983c5d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:566 [inline] #0: ffff8880b983c5d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x90/0x120 kernel/sched/core.c:551 #1: ffff8880b9828848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 4 locks held by syz-executor.2/2304: #0: ffff88802c334460 (sb_writers#4){.+.+}-{0:0}, at: do_renameat2+0x386/0xd40 fs/namei.c:4936 #1: ffff88802c334748 (&type->s_vfs_rename_key){+.+.}-{3:3}, at: lock_rename fs/namei.c:3046 [inline] #1: ffff88802c334748 (&type->s_vfs_rename_key){+.+.}-{3:3}, at: do_renameat2+0x686/0xd40 fs/namei.c:4941 #2: ffff888094a2e800 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #2: ffff888094a2e800 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_two_directories fs/namei.c:3031 [inline] #2: ffff888094a2e800 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_two_directories+0x167/0x1e0 fs/namei.c:3013 #3: ffff88803e94f200 (&type->i_mutex_dir_key#3/5){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #3: ffff88803e94f200 (&type->i_mutex_dir_key#3/5){+.+.}-{3:3}, at: lock_two_directories fs/namei.c:3032 [inline] #3: ffff88803e94f200 (&type->i_mutex_dir_key#3/5){+.+.}-{3:3}, at: lock_two_directories+0x197/0x1e0 fs/namei.c:3013 4 locks held by syz-executor.2/2308: #0: ffff88802c334460 (sb_writers#4){.+.+}-{0:0}, at: do_renameat2+0x386/0xd40 fs/namei.c:4936 #1: ffff888094fade00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff888094fade00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3042 [inline] #1: ffff888094fade00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3039 [inline] #1: ffff888094fade00 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_renameat2+0xae5/0xd40 fs/namei.c:4941 #2: ffff88803e94f200 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #2: ffff88803e94f200 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rename+0x4f9/0x17a0 fs/namei.c:4821 #3: ffff888094a2e800 (&type->i_mutex_dir_key#3/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #3: ffff888094a2e800 (&type->i_mutex_dir_key#3/4){+.+.}-{3:3}, at: ext4_rename+0x1593/0x2790 fs/ext4/namei.c:3821 2 locks held by syz-executor.2/2310: #0: ffff88802c334460 (sb_writers#4){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3549 [inline] #0: ffff88802c334460 (sb_writers#4){.+.+}-{0:0}, at: path_openat+0x2716/0x2750 fs/namei.c:3788 #1: ffff888094fade00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #1: ffff888094fade00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3557 [inline] #1: ffff888094fade00 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x90f/0x2750 fs/namei.c:3788 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/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+0x344/0x440 kernel/kthread.c:379 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: 1117 Comm: kworker/u4:8 Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: phy12 ieee80211_iface_work RIP: 0010:text_poke_addr arch/x86/kernel/alternative.c:1818 [inline] RIP: 0010:patch_cmp arch/x86/kernel/alternative.c:1825 [inline] RIP: 0010:__inline_bsearch include/linux/bsearch.h:15 [inline] RIP: 0010:poke_int3_handler+0xa7/0x250 arch/x86/kernel/alternative.c:1865 Code: c3 48 83 c4 10 45 31 c0 5b 44 89 c0 5d 41 5c 41 5d 41 5e c3 49 89 c1 49 89 d0 49 d1 e8 4c 89 c0 48 c1 e0 04 4c 01 c8 48 63 38 <48> 81 c7 00 00 00 81 48 39 f9 0f 82 50 01 00 00 0f 87 fd 00 00 00 RSP: 0018:ffffc90015b976e0 EFLAGS: 00000082 RAX: ffffffff9007c540 RBX: ffffc90015b97738 RCX: ffffffff81d6cab3 RDX: 0000000000000002 RSI: ffffffff81d6cab4 RDI: 0000000000d6cab3 RBP: ffffc90015b97738 R08: 0000000000000001 R09: ffffffff9007c530 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffab248ff68 CR3: 000000000c571000 CR4: 0000000000350ef0 Call Trace: exc_int3+0xf/0x80 arch/x86/kernel/traps.c:826 asm_exc_int3+0x39/0x40 arch/x86/include/asm/idtentry.h:569 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:kfence_alloc include/linux/kfence.h:120 [inline] RIP: 0010:slab_alloc_node mm/slub.c:3437 [inline] RIP: 0010:__kmem_cache_alloc_node+0xc4/0x320 mm/slub.c:3490 Code: 48 83 c2 08 e8 bd 63 08 00 44 8b 54 24 0c 85 c0 74 12 4c 89 ff e8 3c 7c ff ff 31 c0 e9 fa 00 00 00 45 31 ff 48 85 ed 74 f1 cc <4b> 01 00 00 48 c7 44 24 10 00 00 00 00 48 8b 45 00 65 48 03 05 2b RSP: 0018:ffffc90015b97810 EFLAGS: 00000286 RAX: 0000000000000000 RBX: 0000000000000920 RCX: 0000000000000000 RDX: 1ffffffff1923480 RSI: 0000000000000400 RDI: ffff888021896ef4 RBP: ffff888012441dc0 R08: ffffffff89965306 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000920 R13: 00000000ffffffff R14: 00000000000002d0 R15: 0000000000000000 __do_kmalloc_node mm/slab_common.c:965 [inline] __kmalloc+0x4e/0x190 mm/slab_common.c:979 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:680 [inline] ieee802_11_parse_elems_full+0x106/0x1340 net/mac80211/util.c:1609 ieee802_11_parse_elems_crc net/mac80211/ieee80211_i.h:2305 [inline] ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2312 [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:1594 [inline] ieee80211_iface_work+0xa4d/0xd70 net/mac80211/iface.c:1648 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308