INFO: task syz-executor.3:17313 blocked for more than 143 seconds.
Not tainted 6.0.0-rc4-syzkaller-00190-gda847246ab80 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:24912 pid:17313 ppid: 1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5182 [inline]
__schedule+0xadf/0x52b0 kernel/sched/core.c:6494
schedule+0xda/0x1b0 kernel/sched/core.c:6570
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6629
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa44/0x1350 kernel/locking/mutex.c:747
del_device_store+0xc5/0x470 drivers/net/netdevsim/bus.c:205
bus_attr_store+0x72/0xa0 drivers/base/bus.c:122
sysfs_kf_write+0x110/0x160 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x3f8/0x610 fs/kernfs/file.c:354
call_write_iter include/linux/fs.h:2187 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x9e9/0xdd0 fs/read_write.c:578
ksys_write+0x127/0x250 fs/read_write.c:631
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fcc3b03bf1f
RSP: 002b:00007ffc90345580 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fcc3b03bf1f
RDX: 0000000000000001 RSI: 00007ffc903455d0 RDI: 0000000000000005
RBP: 0000000000000005 R08: 0000000000000000 R09: 00007ffc90345520
R10: 0000000000000000 R11: 0000000000000293 R12: 00007fcc3b0e3fb5
R13: 00007ffc903455d0 R14: 0000000000000000 R15: 00007ffc90345ca0
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8bf888b0 (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: ffffffff8bf885b0 (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/28:
#0: ffffffff8bf89400 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492
2 locks held by getty/3282:
#0: ffff88814a769098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177
4 locks held by kworker/u4:5/26466:
#0: ffff8880119c6138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880119c6138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880119c6138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff8880119c6138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff8880119c6138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff8880119c6138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260
#1: ffffc9000351fda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffffffff8d79d590 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb00 net/core/net_namespace.c:557
#3: ffffffff8bf93f80 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x44/0x720 kernel/rcu/tree.c:3788
2 locks held by kworker/1:3/13916:
7 locks held by syz-executor.3/17294:
#0: ffff88807f222460 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x127/0x250 fs/read_write.c:631
#1: ffff8880b3702488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x28c/0x610 fs/kernfs/file.c:345
#2: ffff88814794f1d8 (kn->active#210){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2b0/0x610 fs/kernfs/file.c:346
#3: ffffffff8ce86c08 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xc5/0x470 drivers/net/netdevsim/bus.c:205
#4: ffff888048f600e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:835 [inline]
#4: ffff888048f600e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1073 [inline]
#4: ffff888048f600e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa0/0x700 drivers/base/dd.c:1272
#5: ffff888048f612f8 (&devlink->lock_key#6){+.+.}-{3:3}, at: nsim_drv_remove+0x4e/0x190 drivers/net/netdevsim/dev.c:1660
#6: ffffffff8bf93f80 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x44/0x720 kernel/rcu/tree.c:3788
4 locks held by syz-executor.3/17313:
#0: ffff88807f222460 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x127/0x250 fs/read_write.c:631
#1: ffff888199c08c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x28c/0x610 fs/kernfs/file.c:345
#2: ffff88814794f1d8 (kn->active#210){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2b0/0x610 fs/kernfs/file.c:346
#3: ffffffff8ce86c08 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xc5/0x470 drivers/net/netdevsim/bus.c:205
4 locks held by syz-executor.3/17412:
#0: ffff88807f222460 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x127/0x250 fs/read_write.c:631
#1: ffff8881a732b088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x28c/0x610 fs/kernfs/file.c:345
#2: ffff88814794f1d8 (kn->active#210){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2b0/0x610 fs/kernfs/file.c:346
#3: ffffffff8ce86c08 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xc5/0x470 drivers/net/netdevsim/bus.c:205
4 locks held by syz-executor.3/17649:
#0: ffff88807f222460 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x127/0x250 fs/read_write.c:631
#1: ffff8881ab284888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x28c/0x610 fs/kernfs/file.c:345
#2: ffff88814794f1d8 (kn->active#210){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2b0/0x610 fs/kernfs/file.c:346
#3: ffffffff8ce86c08 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xc5/0x470 drivers/net/netdevsim/bus.c:205
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc4-syzkaller-00190-gda847246ab80 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x46/0x14f lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x206/0x250 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xc18/0xf50 kernel/hung_task.c:369
kthread+0x2e4/0x3a0 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: 28274 Comm: kworker/1:4 Not tainted 6.0.0-rc4-syzkaller-00190-gda847246ab80 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Workqueue: 0x0 (events_long)
RIP: 0010:lookup_object lib/debugobjects.c:193 [inline]
RIP: 0010:debug_object_deactivate lib/debugobjects.c:734 [inline]
RIP: 0010:debug_object_deactivate+0x151/0x300 lib/debugobjects.c:720
Code: 44 49 bc 00 00 00 00 00 fc ff df 48 8d 7d 18 83 c3 01 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 1e 01 00 00 4c 3b 7d 18 74 74 <48> 89 e8 48 c1 e8 03 42 80 3c 20 00 0f 85 22 01 00 00 48 8b 6d 00
RSP: 0018:ffffc9001529fc30 EFLAGS: 00000087
RAX: 1ffff1102f53666c RBX: 0000000000000012 RCX: ffffffff815ff4b0
RDX: 1ffffffff22760be RSI: 0000000000000006 RDI: ffff88817a9b3360
RBP: ffff88817a9b3348 R08: ffffffff913b05e0 R09: 0000000000000003
R10: fffff52002a53f74 R11: 0000000000000000 R12: dffffc0000000000
R13: ffffffff89ebcdc0 R14: 1ffff92002a53f88 R15: ffff88817b279768
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0006f3000 CR3: 000000000bc8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
debug_work_deactivate kernel/workqueue.c:515 [inline]
process_one_work+0x399/0x1610 kernel/workqueue.c:2219
worker_thread+0x665/0x1080 kernel/workqueue.c:2436
kthread+0x2e4/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306