INFO: task syz.4.187:6812 blocked for more than 143 seconds.
Not tainted 6.13.0-rc6-next-20250107-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.187 state:D stack:27488 pid:6812 tgid:6800 ppid:5828 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5371 [inline]
__schedule+0x18f6/0x4cd0 kernel/sched/core.c:6758
__schedule_loop kernel/sched/core.c:6835 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6850
d_wait_lookup fs/dcache.c:2477 [inline]
d_alloc_parallel+0xc16/0x1600 fs/dcache.c:2559
__lookup_slow+0x117/0x3f0 fs/namei.c:1776
lookup_slow+0x53/0x70 fs/namei.c:1808
walk_component+0x2e1/0x410 fs/namei.c:2112
lookup_last fs/namei.c:2610 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2634
filename_lookup+0x2a3/0x670 fs/namei.c:2663
filename_setxattr+0xb9/0x430 fs/xattr.c:660
path_setxattrat+0x440/0x510 fs/xattr.c:713
__do_sys_setxattr fs/xattr.c:747 [inline]
__se_sys_setxattr fs/xattr.c:743 [inline]
__x64_sys_setxattr+0xbc/0xe0 fs/xattr.c:743
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f389b385d29
RSP: 002b:00007f389c22b038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc
RAX: ffffffffffffffda RBX: 00007f389b576080 RCX: 00007f389b385d29
RDX: 00000000200002c0 RSI: 0000000020000080 RDI: 0000000020000000
RBP: 00007f389b401b08 R08: 0000000000000003 R09: 0000000000000000
R10: 000000000000002c R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f389b576080 R15: 00007ffd0dba17a8
INFO: task syz.4.187:6816 blocked for more than 143 seconds.
Not tainted 6.13.0-rc6-next-20250107-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.187 state:D stack:25888 pid:6816 tgid:6800 ppid:5828 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5371 [inline]
__schedule+0x18f6/0x4cd0 kernel/sched/core.c:6758
__schedule_loop kernel/sched/core.c:6835 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6850
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:865 [inline]
open_last_lookups fs/namei.c:3745 [inline]
path_openat+0x89a/0x3580 fs/namei.c:3984
do_filp_open+0x27f/0x4e0 fs/namei.c:4014
do_sys_openat2+0x13e/0x1d0 fs/open.c:1427
do_sys_open fs/open.c:1442 [inline]
__do_sys_open fs/open.c:1450 [inline]
__se_sys_open fs/open.c:1446 [inline]
__x64_sys_open+0x225/0x270 fs/open.c:1446
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f389b385d29
RSP: 002b:00007f389c20a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f389b576160 RCX: 00007f389b385d29
RDX: 0000000000000001 RSI: 00000000001cf67e RDI: 0000000020000200
RBP: 00007f389b401b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f389b576160 R15: 00007ffd0dba17a8
INFO: task syz.4.187:6817 blocked for more than 143 seconds.
Not tainted 6.13.0-rc6-next-20250107-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.187 state:D stack:27488 pid:6817 tgid:6800 ppid:5828 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5371 [inline]
__schedule+0x18f6/0x4cd0 kernel/sched/core.c:6758
__schedule_loop kernel/sched/core.c:6835 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6850
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907
rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline]
__down_read_common kernel/locking/rwsem.c:1248 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0x705/0xa40 kernel/locking/rwsem.c:1526
inode_lock_shared include/linux/fs.h:875 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1807
walk_component+0x2e1/0x410 fs/namei.c:2112
lookup_last fs/namei.c:2610 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2634
filename_lookup+0x2a3/0x670 fs/namei.c:2663
user_path_at+0x3a/0x60 fs/namei.c:3070
do_fchownat+0xed/0x240 fs/open.c:807
__do_sys_lchown fs/open.c:838 [inline]
__se_sys_lchown fs/open.c:836 [inline]
__x64_sys_lchown+0x85/0xa0 fs/open.c:836
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f389b385d29
RSP: 002b:00007f389c1e9038 EFLAGS: 00000246 ORIG_RAX: 000000000000005e
RAX: ffffffffffffffda RBX: 00007f389b576240 RCX: 00007f389b385d29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0
RBP: 00007f389b401b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f389b576240 R15: 00007ffd0dba17a8
Showing all locks held in the system:
4 locks held by kworker/u8:0/11:
#0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801baf5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc90000107c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90000107c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffffffff8fcaf210 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xd50 net/core/net_namespace.c:602
#3: ffff88802b7814e8 (&wg->device_update_lock){+.+.}-{4:4}, at: wg_destruct+0x110/0x2e0 drivers/net/wireguard/device.c:249
1 lock held by khungtaskd/30:
#0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746
4 locks held by kworker/u8:4/81:
2 locks held by getty/5584:
#0: ffff88814df850a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fd62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
1 lock held by syz.4.187/6801:
1 lock held by syz.4.187/6812:
#0: ffff88805c438180 (&type->i_mutex_dir_key#14){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:875 [inline]
#0: ffff88805c438180 (&type->i_mutex_dir_key#14){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807
2 locks held by syz.4.187/6816:
#0: ffff8880297f2420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:547
#1: ffff88805c438180 (&type->i_mutex_dir_key#14){++++}-{4:4}, at: inode_lock include/linux/fs.h:865 [inline]
#1: ffff88805c438180 (&type->i_mutex_dir_key#14){++++}-{4:4}, at: open_last_lookups fs/namei.c:3745 [inline]
#1: ffff88805c438180 (&type->i_mutex_dir_key#14){++++}-{4:4}, at: path_openat+0x89a/0x3580 fs/namei.c:3984
1 lock held by syz.4.187/6817:
#0: ffff88805c438180 (&type->i_mutex_dir_key#14){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:875 [inline]
#0: ffff88805c438180 (&type->i_mutex_dir_key#14){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807
2 locks held by syz-executor/7560:
#0: ffffffff901b0df8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff901b0df8 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff901b0df8 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:555
#1: ffffffff8fcbb6c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#1: ffffffff8fcbb6c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline]
#1: ffffffff8fcbb6c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011
2 locks held by syz-executor/7739:
#0: ffffffff8f4689a0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8f4689a0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8f4689a0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:555
#1: ffffffff8fcbb6c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#1: ffffffff8fcbb6c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline]
#1: ffffffff8fcbb6c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011
2 locks held by syz-executor/7902:
#0: ffffffff901b0220 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff901b0220 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff901b0220 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:555
#1: ffffffff8fcbb6c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#1: ffffffff8fcbb6c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline]
#1: ffffffff8fcbb6c8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011
2 locks held by syz.5.443/7940:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc6-next-20250107-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
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:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline]
watchdog+0xff6/0x1040 kernel/hung_task.c:397
kthread+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
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: 81 Comm: kworker/u8:4 Not tainted 6.13.0-rc6-next-20250107-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__lock_release kernel/locking/lockdep.c:5509 [inline]
RIP: 0010:lock_release+0x1f7/0xa30 kernel/locking/lockdep.c:5872
Code: ea 03 42 0f b6 04 3a 84 c0 0f 85 6e 05 00 00 c7 84 24 80 00 00 00 01 00 00 00 48 c7 c0 90 fc 1a 90 48 c1 e8 03 42 0f b6 04 38 <84> c0 4c 8b 74 24 18 4c 8b 6c 24 20 0f 85 75 05 00 00 83 3d 60 32
RSP: 0018:ffffc9000159f540 EFLAGS: 00000802
RAX: 0000000000000000 RBX: 0000000000000246 RCX: ffffc9000159f503
RDX: 1ffff920002b3eb8 RSI: ffffffff8c0aa880 RDI: ffffffff8c600460
RBP: ffffc9000159f680 R08: ffffffff901ac9f7 R09: 1ffffffff203593e
R10: dffffc0000000000 R11: fffffbfff203593f R12: 1ffff920002b3eb4
R13: ffffffff815fa8e1 R14: ffffc9000159f5f0 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e71fffc CR3: 000000000e736000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline]
_raw_spin_unlock+0x16/0x50 kernel/locking/spinlock.c:186
spin_unlock include/linux/spinlock.h:391 [inline]
__text_poke+0xac1/0xd80 arch/x86/kernel/alternative.c:1993
text_poke arch/x86/kernel/alternative.c:2017 [inline]
text_poke_bp_batch+0x59c/0xb30 arch/x86/kernel/alternative.c:2350
text_poke_flush arch/x86/kernel/alternative.c:2519 [inline]
text_poke_finish+0x30/0x50 arch/x86/kernel/alternative.c:2526
arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146
static_key_enable_cpuslocked+0x136/0x260 kernel/jump_label.c:210
static_key_enable+0x1a/0x20 kernel/jump_label.c:223
toggle_allocation_gate+0xbc/0x260 mm/kfence/core.c:849
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244