INFO: task syz-executor:21434 blocked for more than 144 seconds.
Not tainted 6.11.0-rc1-syzkaller-00063-g21b136cc63d2 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor state:D stack:24736 pid:21434 tgid:21434 ppid:1 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xe37/0x5490 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752
new_device_store+0x187/0x730 drivers/net/netdevsim/bus.c:166
bus_attr_store+0x76/0xa0 drivers/base/bus.c:170
sysfs_kf_write+0x117/0x170 fs/sysfs/file.c:136
kernfs_fop_write_iter+0x343/0x500 fs/kernfs/file.c:334
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0x6b6/0x1140 fs/read_write.c:590
ksys_write+0x12f/0x260 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f895d375e9f
RSP: 002b:00007ffe607b11e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f895d375e9f
RDX: 0000000000000003 RSI: 00007ffe607b1230 RDI: 0000000000000005
RBP: 00007f895d3e5964 R08: 0000000000000000 R09: 00007ffe607b1037
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 00007ffe607b1230 R14: 00007f895e034620 R15: 0000000000000003
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8ddb53a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8ddb53a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8ddb53a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6620
1 lock held by jbd2/sda1-8/4633:
#0: ffff88802ae8e3e8 (&journal->j_checkpoint_mutex){+.+.}-{3:3}, at: jbd2_update_log_tail+0x2a/0xa0 fs/jbd2/journal.c:1110
2 locks held by getty/4977:
#0: ffff88802b4840a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211
3 locks held by kworker/1:4/5281:
#0: ffff888015880948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1: ffffc9000368fd80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276
3 locks held by kworker/0:7/10318:
5 locks held by kworker/u8:0/20385:
#0: ffff8880166e3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1: ffffc90003407d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffffffff8fa09d90 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbf0 net/core/net_namespace.c:594
#3: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x8c/0xae0 net/core/dev.c:11874
#4: ffffffff8ddc0b38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:296
1 lock held by syz.2.3531/21217:
4 locks held by syz-executor/21434:
#0: ffff88807e42e420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643
#1: ffff88801c796488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325
#2: ffff888023437878 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326
#3: ffffffff8efb7dc8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x187/0x730 drivers/net/netdevsim/bus.c:166
7 locks held by syz-executor/21438:
#0: ffff88807e42e420 (sb_writers#9){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643
#1: ffff88806a292488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x281/0x500 fs/kernfs/file.c:325
#2: ffff888023437878 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a4/0x500 fs/kernfs/file.c:326
#3: ffffffff8efb7dc8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x187/0x730 drivers/net/netdevsim/bus.c:166
#4: ffff88804501b0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline]
#4: ffff88804501b0e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004
#5: ffff88804501d250 (&devlink->lock_key#104){+.+.}-{3:3}, at: nsim_drv_probe+0xd5/0x1490 drivers/net/netdevsim/dev.c:1534
#6: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: fib_seq_sum+0x30/0x2f0 net/core/fib_notifier.c:46
1 lock held by syz-executor/21442:
#0: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x250 drivers/net/tun.c:3510
2 locks held by syz-executor/21511:
#0: ffffffff8fa09d90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504
#1: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: ipmr_net_exit_batch+0x15/0xa0 net/ipv4/ipmr.c:3130
1 lock held by syz-executor/21515:
#0: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6644
1 lock held by syz-executor/21516:
#0: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6644
2 locks held by syz-executor/21519:
#0: ffffffff8fa09d90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504
#1: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: mpls_net_exit+0x83/0x350 net/mpls/af_mpls.c:2708
1 lock held by syz-executor/21520:
#0: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x4fc/0x4770 drivers/net/tun.c:3120
2 locks held by syz-executor/21525:
#0: ffffffff8fa09d90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504
#1: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x218/0x780 net/ipv4/ip_tunnel.c:1158
2 locks held by syz-executor/21528:
#0: ffffffff8fa09d90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504
#1: ffffffff8fa1f4e8 (rtnl_mutex){+.+.}-{3:3}, at: ip_tunnel_init_net+0x218/0x780 net/ipv4/ip_tunnel.c:1158
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc1-syzkaller-00063-g21b136cc63d2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:119
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:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf4e/0x1280 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 21217 Comm: syz.2.3531 Not tainted 6.11.0-rc1-syzkaller-00063-g21b136cc63d2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:trace_irq_enable.constprop.0+0x0/0x130 include/trace/events/preemptirq.h:40
Code: 05 e5 96 71 7e 01 00 00 00 48 8b 3c 24 e9 48 fe ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <41> 54 55 53 66 90 49 c7 c4 0c db 03 00 65 41 8b 1c 24 83 fb 07 0f
RSP: 0018:ffffc90003587c20 EFLAGS: 00000002
RAX: 0000000000000001 RBX: ffff8880616742d8 RCX: ffffffff8168e353
RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffffff8b145442
RBP: 0000000000000202 R08: 0000000000000000 R09: ffffed100c2ce85b
R10: ffff8880616742db R11: 0000000000000000 R12: ffff8880616742d8
R13: 0000000000000202 R14: 0000000000000000 R15: ffffffff8164c755
FS: 00007f12b4c776c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdeac906018 CR3: 0000000064266000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_hardirqs_on+0x26/0x40 kernel/trace/trace_preemptirq.c:56
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
_raw_spin_unlock_irqrestore+0x52/0x80 kernel/locking/spinlock.c:194
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
prepare_to_wait_exclusive+0xdc/0x2a0 kernel/sched/wait.c:256
io_cqring_wait+0xbda/0x1480 io_uring/io_uring.c:2453
__do_sys_io_uring_enter+0x410/0x1130 io_uring/io_uring.c:3255
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f12b3f773b9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f12b4c77048 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 00007f12b4106058 RCX: 00007f12b3f773b9
RDX: 0000000000400000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007f12b3fe48e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f12b4106058 R15: 00007ffffb549898