INFO: task syz-executor.2:28097 blocked for more than 143 seconds.
Not tainted 6.9.0-syzkaller-01049-g8815da98e06a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:27952 pid:28097 tgid:27903 ppid:26206 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x1796/0x4a00 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895
rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178
__down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:795 [inline]
bch2_fallocate_dispatch+0x295/0x3810 fs/bcachefs/fs-io.c:771
vfs_fallocate+0x564/0x6c0 fs/open.c:330
ksys_fallocate fs/open.c:353 [inline]
__do_sys_fallocate fs/open.c:361 [inline]
__se_sys_fallocate fs/open.c:359 [inline]
__x64_sys_fallocate+0xbd/0x110 fs/open.c:359
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f89f267dd69
RSP: 002b:00007f89f21ff0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f89f27ac050 RCX: 00007f89f267dd69
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f89f26ca49e R08: 0000000000000000 R09: 0000000000000000
R10: 00000000001000f4 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f89f27ac050 R15: 00007fff9af3e8c8
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
#0: ffffffff8e33a178 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
#0: ffffffff8e33a178 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:939
1 lock held by khungtaskd/30:
#0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
4 locks held by kworker/1:1/45:
#0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3242 [inline]
#0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3348
#1: ffffc90000b57d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3243 [inline]
#1: ffffc90000b57d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3348
#2: ffffffff8f594cc8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
#3: ffffffff8e33a178 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline]
#3: ffffffff8e33a178 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:939
6 locks held by kworker/u8:3/51:
#0: ffff888015ecb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3242 [inline]
#0: ffff888015ecb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3348
#1: ffffc90000bb7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3243 [inline]
#1: ffffc90000bb7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3348
#2: ffffffff8f5885d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594
#3: ffff88805e3ed0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline]
#3: ffff88805e3ed0e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline]
#3: ffff88805e3ed0e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x13b/0x440 net/devlink/core.c:506
#4: ffff888025688250 (&devlink->lock_key#102){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline]
#4: ffff888025688250 (&devlink->lock_key#102){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline]
#4: ffff888025688250 (&devlink->lock_key#102){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x14d/0x440 net/devlink/core.c:506
#5: ffffffff8e33a040 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x550 kernel/rcu/tree.c:4448
2 locks held by kworker/u8:6/256:
3 locks held by kworker/u8:8/1096:
#0: ffff88802a8d3148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3242 [inline]
#0: ffff88802a8d3148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3348
#1: ffffc90004347d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3243 [inline]
#1: ffffc90004347d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3348
#2: ffffffff8f594cc8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4192
4 locks held by klogd/4517:
#0: ffff8880b953e658 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
#1: ffff8880b9528948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988
#2: ffff88807cac0a10 (&p->pi_lock){-.-.}-{2:2}, at: class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:553 [inline]
#2: ffff88807cac0a10 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xb0/0x1470 kernel/sched/core.c:4262
#3: ffff8880b953e658 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
2 locks held by dhcpcd/4741:
#0: ffff88801b698678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0x119/0x780 net/netlink/af_netlink.c:2350
#1: ffffffff8f594cc8 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x5d3/0xe50 net/netlink/af_netlink.c:2268
2 locks held by getty/4834:
#0: ffff88802ae6d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
3 locks held by syz-executor.2/27906:
#0: ffff888078e3aac8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x259/0x320 fs/file.c:1191
#1: ffff88806318e420 (sb_writers#13){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2855 [inline]
#1: ffff88806318e420 (sb_writers#13){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586
#2: ffff88805e6cadc0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline]
#2: ffff88805e6cadc0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: bch2_direct_write+0x243/0x3050 fs/bcachefs/fs-io-direct.c:598
2 locks held by syz-executor.2/28097:
#0: ffff88806318e420 (sb_writers#13){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2855 [inline]
#0: ffff88806318e420 (sb_writers#13){.+.+}-{0:0}, at: vfs_fallocate+0x4d3/0x6c0 fs/open.c:329
#1: ffff88805e6cadc0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline]
#1: ffff88805e6cadc0 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: bch2_fallocate_dispatch+0x295/0x3810 fs/bcachefs/fs-io.c:771
2 locks held by syz-executor.1/3695:
2 locks held by syz-executor.1/3706:
#0: ffff888027898420 (sb_writers#42){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
#1: ffff88805d27c6d0 (&type->i_mutex_dir_key#28/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline]
#1: ffff88805d27c6d0 (&type->i_mutex_dir_key#28/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892
2 locks held by syz-executor.1/3708:
#0: ffff888027898420 (sb_writers#42){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
#1: ffff88805d27c6d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline]
#1: ffff88805d27c6d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: open_last_lookups fs/namei.c:3563 [inline]
#1: ffff88805d27c6d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: path_openat+0x7d3/0x3240 fs/namei.c:3796
1 lock held by syz-executor.1/3710:
#0: ffff88805d27c6d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline]
#0: ffff88805d27c6d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708
2 locks held by syz-executor.1/3717:
#0: ffff888027898420 (sb_writers#42){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
#1: ffff88805d27c6d0 (&type->i_mutex_dir_key#28/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline]
#1: ffff88805d27c6d0 (&type->i_mutex_dir_key#28/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892
1 lock held by syz-executor.1/3730:
#0: ffff88805d27c6d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline]
#0: ffff88805d27c6d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708
1 lock held by syz-executor.1/3749:
#0: ffff88805d27c6d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline]
#0: ffff88805d27c6d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708
1 lock held by syz-executor.2/3855:
#0: ffffffff8f594cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8f594cc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592
3 locks held by syz-executor.3/4443:
#0: ffff88801dc64420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:453
#1: ffff88805d2b6800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline]
#1: ffff88805d2b6800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_fileattr_set+0x139/0xd50 fs/ioctl.c:682
#2: ffff88801dc66b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_write fs/ext4/ext4.h:1781 [inline]
#2: ffff88801dc66b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_ind_migrate+0x253/0x890 fs/ext4/migrate.c:625
2 locks held by syz-executor.4/4478:
#0: ffffffff8f5885d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x7b0 net/core/net_namespace.c:504
#1: ffffffff8f594cc8 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x84/0x290 net/ipv4/nexthop.c:3871
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.9.0-syzkaller-01049-g8815da98e06a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfde/0x1020 kernel/hung_task.c:380
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 61 Comm: kworker/u8:4 Not tainted 6.9.0-syzkaller-01049-g8815da98e06a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:lock_release+0x136/0x9f0
Code: 00 48 89 44 24 18 48 8d 98 d4 0a 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 d8 05 00 00 83 3b 00 0f 85 f1 04 00 00 <4c> 8d b4 24 b0 00 00 00 4c 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08
RSP: 0018:ffffc900015c7960 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888017f18ad4 RCX: ffffffff8172aab0
RDX: 0000000000000000 RSI: ffffffff8c1eaf80 RDI: ffffffff8c1eaf40
RBP: ffffc900015c7a98 R08: ffffffff8fa7d6ef R09: 1ffffffff1f4fadd
R10: dffffc0000000000 R11: fffffbfff1f4fade R12: 1ffff920002b8f38
R13: ffffffff8b42c6ef R14: ffffffff8b42c6ef R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f033000 CR3: 000000002217a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:165 [inline]
_raw_spin_unlock_bh+0x1b/0x40 kernel/locking/spinlock.c:210
spin_unlock_bh include/linux/spinlock.h:396 [inline]
batadv_nc_purge_paths+0x30f/0x3b0 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x328/0x610 net/batman-adv/network-coding.c:720
process_one_work kernel/workqueue.c:3267 [inline]
process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3348
worker_thread+0x86d/0xd70 kernel/workqueue.c:3429
kthread+0x2f0/0x390 kernel/kthread.c:388
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244