INFO: task syz-executor.3:4563 blocked for more than 144 seconds. Not tainted 6.1.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28448 pid:4563 ppid:4112 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0xae9/0x53f0 kernel/sched/core.c:6521 schedule+0xde/0x1b0 kernel/sched/core.c:6597 rwsem_down_write_slowpath+0x600/0x12e0 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write_common kernel/locking/rwsem.c:1302 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x1e8/0x220 kernel/locking/rwsem.c:1563 inode_lock include/linux/fs.h:756 [inline] process_measurement+0x168d/0x18b0 security/integrity/ima/ima_main.c:241 ima_file_check+0xb0/0x100 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3559 [inline] path_openat+0x1611/0x2860 fs/namei.c:3714 do_filp_open+0x1ba/0x410 fs/namei.c:3741 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_sys_open fs/open.c:1334 [inline] __se_sys_open fs/open.c:1330 [inline] __x64_sys_open+0x11d/0x1c0 fs/open.c:1330 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:0x7f1ebc88c0d9 RSP: 002b:00007f1ebd540168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f1ebc9ac120 RCX: 00007f1ebc88c0d9 RDX: 0000000000000000 RSI: 0000000000040280 RDI: 0000000020000280 RBP: 00007f1ebc8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcfb3f590f R14: 00007f1ebd540300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c58f0b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c58edb0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffffffff8c58fc00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 2 locks held by dhcpcd/3207: #0: ffffffff8de911a8 (vlan_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x485/0x680 net/socket.c:1248 #1: ffffffff8deb4ea8 (rtnl_mutex){+.+.}-{3:3}, at: vlan_ioctl_handler+0xbb/0xee0 net/8021q/vlan.c:553 2 locks held by getty/3307: #0: ffff88814b66d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:6/4230: #0: ffff8880b9a3b158 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:537 #1: ffffc900054ffda8 ((work_completion)(&sdata->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264 4 locks held by syz-executor.3/4534: #0: ffff8880527e8460 (sb_writers#4){.+.+}-{0:0}, at: do_open fs/namei.c:3550 [inline] #0: ffff8880527e8460 (sb_writers#4){.+.+}-{0:0}, at: path_openat+0x19ee/0x2860 fs/namei.c:3714 #1: ffff8880707dac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff8880707dac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: do_truncate+0x12e/0x200 fs/open.c:63 #2: ffff8880707dadc0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline] #2: ffff8880707dadc0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_setattr+0x734/0x2b30 fs/ext4/inode.c:5453 #3: ffff8880707daaa8 (&ei->i_data_sem){++++}-{3:3}, at: ext4_truncate+0x68d/0x1530 fs/ext4/inode.c:4259 2 locks held by syz-executor.3/4563: #0: ffff8880527e8460 (sb_writers#4){.+.+}-{0:0}, at: do_open fs/namei.c:3550 [inline] #0: ffff8880527e8460 (sb_writers#4){.+.+}-{0:0}, at: path_openat+0x19ee/0x2860 fs/namei.c:3714 #1: ffff8880707dac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff8880707dac20 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: process_measurement+0x168d/0x18b0 security/integrity/ima/ima_main.c:241 3 locks held by syz-executor.1/6797: #0: ffffffff8dea1290 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2f9/0x760 net/core/net_namespace.c:474 #1: ffffffff8deb4ea8 (rtnl_mutex){+.+.}-{3:3}, at: sit_exit_batch_net+0x8c/0x750 net/ipv6/sit.c:1881 #2: ffffffff8c59a8b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8c59a8b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x5df/0x780 kernel/rcu/tree_exp.h:946 2 locks held by syz-executor.4/6820: #0: ffff888053f31098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline] #0: ffff888053f31098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:353 [inline] #0: ffff888053f31098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:367 [inline] #0: ffff888053f31098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_release+0x7d/0x2a0 drivers/tty/tty_ldisc.c:775 #1: ffffffff8deb4ea8 (rtnl_mutex){+.+.}-{3:3}, at: unregister_netdev+0x12/0x30 net/core/dev.c:10905 1 lock held by syz-executor.5/6836: #0: ffffffff8deb4ea8 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x16e/0x910 net/netlink/af_netlink.c:2344 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.1.0-rc8-syzkaller #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+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 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+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4230 Comm: kworker/u4:6 Not tainted 6.1.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: phy16 ieee80211_iface_work RIP: 0010:match_held_lock+0x72/0xc0 kernel/locking/lockdep.c:5145 Code: 0f af c2 0f b7 53 20 81 e2 ff 1f 00 00 48 39 d0 0f 94 c0 48 83 c4 08 0f b6 c0 5b c3 31 f6 e8 85 fe ff ff 48 85 c0 75 b2 31 c0 <48> 83 c4 08 5b c3 48 83 c4 08 b8 01 00 00 00 5b c3 e8 98 88 16 fa RSP: 0018:ffffc900054ffb70 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88801c7fc4d0 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8c58fb40 RDI: ffff88801c7fc4d0 RBP: ffffffff8c58fb40 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000092080 R12: ffff88801c7fba80 R13: ffff88801c7fc4d0 R14: 00000000ffffffff R15: ffff88801c7fc4d0 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555d91848 CR3: 000000000c28e000 CR4: 0000000000350ef0 Call Trace: __lock_is_held kernel/locking/lockdep.c:5409 [inline] lock_is_held_type+0xab/0x140 kernel/locking/lockdep.c:5711 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3e/0x70 kernel/rcu/update.c:125 trace_kfree include/trace/events/kmem.h:94 [inline] kfree+0x126/0x1a0 mm/slab_common.c:994 skb_free_head+0xac/0x110 net/core/skbuff.c:760 skb_release_data+0x5f1/0x870 net/core/skbuff.c:789 skb_release_all net/core/skbuff.c:854 [inline] __kfree_skb net/core/skbuff.c:868 [inline] kfree_skb_reason+0x18a/0x4b0 net/core/skbuff.c:891 kfree_skb include/linux/skbuff.h:1216 [inline] ieee80211_iface_work+0x357/0xd30 net/mac80211/iface.c:1686 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306