INFO: task syz.0.17:6120 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.17 state:D stack:27656 pid:6120 tgid:6120 ppid:5947 task_flags:0x400040 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:7026 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7083 rwsem_down_write_slowpath+0x521/0x1310 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1d6/0x200 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:980 [inline] blkdev_fallocate+0x24c/0x430 block/fops.c:911 vfs_fallocate+0x5b4/0x10e0 fs/open.c:342 ksys_fallocate fs/open.c:366 [inline] __do_sys_fallocate fs/open.c:371 [inline] __se_sys_fallocate fs/open.c:369 [inline] __x64_sys_fallocate+0xd5/0x150 fs/open.c:369 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9b4018efc9 RSP: 002b:00007fff9805a2a8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f9b403e5fa0 RCX: 00007f9b4018efc9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007f9b40211f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000003fc0000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f9b403e5fa0 R14: 00007f9b403e5fa0 R15: 0000000000000004 INFO: task syz.1.18:6121 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.18 state:D stack:27864 pid:6121 tgid:6121 ppid:5953 task_flags:0x400040 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:7026 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7083 rwsem_down_write_slowpath+0x521/0x1310 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1d6/0x200 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:980 [inline] blkdev_fallocate+0x24c/0x430 block/fops.c:911 vfs_fallocate+0x5b4/0x10e0 fs/open.c:342 ksys_fallocate fs/open.c:366 [inline] __do_sys_fallocate fs/open.c:371 [inline] __se_sys_fallocate fs/open.c:369 [inline] __x64_sys_fallocate+0xd5/0x150 fs/open.c:369 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1a16d8efc9 RSP: 002b:00007ffcd05f4ab8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f1a16fe5fa0 RCX: 00007f1a16d8efc9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007f1a16e11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000003fc0000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1a16fe5fa0 R14: 00007f1a16fe5fa0 R15: 0000000000000004 INFO: task syz.2.19:6124 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.19 state:D stack:27656 pid:6124 tgid:6124 ppid:5950 task_flags:0x400040 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:7026 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7083 rwsem_down_write_slowpath+0x521/0x1310 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1d6/0x200 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:980 [inline] blkdev_fallocate+0x24c/0x430 block/fops.c:911 vfs_fallocate+0x5b4/0x10e0 fs/open.c:342 ksys_fallocate fs/open.c:366 [inline] __do_sys_fallocate fs/open.c:371 [inline] __se_sys_fallocate fs/open.c:369 [inline] __x64_sys_fallocate+0xd5/0x150 fs/open.c:369 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fceb618efc9 RSP: 002b:00007ffe27452ab8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fceb63e5fa0 RCX: 00007fceb618efc9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007fceb6211f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000003fc0000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fceb63e5fa0 R14: 00007fceb63e5fa0 R15: 0000000000000004 INFO: task syz.3.20:6125 blocked for more than 144 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.20 state:D stack:27864 pid:6125 tgid:6125 ppid:5954 task_flags:0x400040 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x1190/0x5de0 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:7026 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7083 rwsem_down_write_slowpath+0x521/0x1310 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1d6/0x200 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:980 [inline] blkdev_fallocate+0x24c/0x430 block/fops.c:911 vfs_fallocate+0x5b4/0x10e0 fs/open.c:342 ksys_fallocate fs/open.c:366 [inline] __do_sys_fallocate fs/open.c:371 [inline] __se_sys_fallocate fs/open.c:369 [inline] __x64_sys_fallocate+0xd5/0x150 fs/open.c:369 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb3d398efc9 RSP: 002b:00007ffd48ced038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fb3d3be5fa0 RCX: 00007fb3d398efc9 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007fb3d3a11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000003fc0000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb3d3be5fa0 R14: 00007fb3d3be5fa0 R15: 0000000000000004 Showing all locks held in the system: 2 locks held by ksoftirqd/0/15: 1 lock held by khungtaskd/31: #0: ffffffff8e3c4460 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e3c4460 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8e3c4460 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6775 2 locks held by kworker/u8:2/36: 2 locks held by kworker/u8:7/3514: #0: ffff8880b853a398 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:638 #1: ffff8880b8524088 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:220 [inline] #1: ffff8880b8524088 (psi_seq){-.-.}-{0:0}, at: __schedule+0x1861/0x5de0 kernel/sched/core.c:6923 3 locks held by kworker/u8:8/5094: #0: ffff88813ff29948 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3238 #1: ffffc9001082fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3239 #2: ffffffff900e6608 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:303 2 locks held by getty/5574: #0: ffff888031d4d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41b/0x14f0 drivers/tty/n_tty.c:2222 2 locks held by syz.4.21/6119: 1 lock held by syz.0.17/6120: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.1.18/6121: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.2.19/6124: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.3.20/6125: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.5.22/6245: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.6.23/6258: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.7.24/6259: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.9.26/6260: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.8.25/6261: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.4.27/6345: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.1.29/6364: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.3.31/6371: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.2.30/6372: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.0.28/6373: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.5.32/6459: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.6.33/6492: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.9.36/6505: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.8.35/6510: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.7.34/6511: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.4.37/6575: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.0.39/6617: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.1.38/6618: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.2.40/6620: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.3.41/6621: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.5.42/6648: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.6.43/6714: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.9.44/6746: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.7.45/6754: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.8.46/6755: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.4.47/6789: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.0.48/6824: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.1.50/6869: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.2.49/6870: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.3.51/6871: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 1 lock held by syz.5.52/6898: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 3 locks held by udevd/6902: 1 lock held by syz.6.53/6926: #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #0: ffff888024071ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_fallocate+0x24c/0x430 block/fops.c:911 4 locks held by syz-executor/6929: #0: ffff8880361c0420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12a/0x250 fs/read_write.c:738 #1: ffff88802997a088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x28f/0x570 fs/kernfs/file.c:343 #2: ffff88802885fc38 (kn->active#58){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff88802885fc38 (kn->active#58){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ff/0x570 fs/kernfs/file.c:344 #3: ffffffff8f6688e8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x4a0 drivers/net/netdevsim/bus.c:234 8 locks held by syz-executor/6930: #0: ffff8880361c0420 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12a/0x250 fs/read_write.c:738 #1: ffff88804738c088 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x28f/0x570 fs/kernfs/file.c:343 #2: ffff88802885fc38 (kn->active#58){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff88802885fc38 (kn->active#58){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2ff/0x570 fs/kernfs/file.c:344 #3: ffffffff8f6688e8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x4a0 drivers/net/netdevsim/bus.c:234 #4: ffff8880640f10e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:914 [inline] #4: ffff8880640f10e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1096 [inline] #4: ffff8880640f10e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xa4/0x620 drivers/base/dd.c:1294 #5: ffff8880640f2250 (&devlink->lock_key#30){+.+.}-{4:4}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1721 #6: ffffffff900e6608 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x108/0x800 drivers/net/netdevsim/netdev.c:1173 #7: ffffffff8e3cf9f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x284/0x3c0 kernel/rcu/tree_exp.h:311 1 lock held by syz-executor/6947: #0: ffffffff900e6608 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff900e6608 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffffffff900e6608 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x600/0x2000 net/core/rtnetlink.c:4064 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 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:332 [inline] watchdog+0xf3f/0x1170 kernel/hung_task.c:495 kthread+0x3c5/0x780 kernel/kthread.c:463 ret_from_fork+0x675/0x7d0 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:pv_native_safe_halt+0xf/0x20 arch/x86/kernel/paravirt.c:82 Code: 07 6d 02 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 43 d5 29 00 fb f4 3c 0a 03 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffc90000197de8 EFLAGS: 000002c6 RAX: 000000000016c1bd RBX: 0000000000000001 RCX: ffffffff8b6052a9 RDX: 0000000000000000 RSI: ffffffff8da2a268 RDI: ffffffff8bf06cc0 RBP: ffffed1003adb490 R08: 0000000000000001 R09: ffffed10170a6655 R10: ffff8880b85332ab R11: 0000000000000001 R12: 0000000000000001 R13: ffff88801d6da480 R14: ffffffff9081f4d0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888124b0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055728d33e5a8 CR3: 000000000e182000 CR4: 00000000003526f0 Call Trace: arch_safe_halt arch/x86/include/asm/paravirt.h:107 [inline] default_idle+0x13/0x20 arch/x86/kernel/process.c:767 default_idle_call+0x6c/0xb0 kernel/sched/idle.c:122 cpuidle_idle_call kernel/sched/idle.c:190 [inline] do_idle+0x38d/0x500 kernel/sched/idle.c:330 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:428 start_secondary+0x21d/0x2b0 arch/x86/kernel/smpboot.c:315 common_startup_64+0x13e/0x148