INFO: task syz.3.293:7027 blocked for more than 143 seconds.
Not tainted 6.10.0-syzkaller-00017-g5e0497553643 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.293 state:D stack:24672 pid:7027 tgid:7027 ppid:6509 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5407 [inline]
__schedule+0x17ae/0x4a10 kernel/sched/core.c:6748
__schedule_loop kernel/sched/core.c:6825 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6840
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6897
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
ima_check_last_writer security/integrity/ima/ima_main.c:166 [inline]
ima_file_free+0x18a/0x4e0 security/integrity/ima/ima_main.c:205
security_file_release+0x48/0x90 security/security.c:2728
__fput+0x1b3/0x8a0 fs/file_table.c:416
task_work_run+0x24f/0x310 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x360 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc3a7975bd9
RSP: 002b:00007ffda4d9bdd8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fc3a7b05a60 RCX: 00007fc3a7975bd9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fc3a7b05a60 R08: 0000000000000006 R09: 00000016a4d9c0ff
R10: 00000000003fec94 R11: 0000000000000246 R12: 0000000000029b75
R13: 0000000000000032 R14: 00007fc3a7b05a60 R15: 00007fc3a7b041e8
INFO: task syz.3.293:7075 blocked for more than 144 seconds.
Not tainted 6.10.0-syzkaller-00017-g5e0497553643 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.293 state:D stack:18208 pid:7075 tgid:7027 ppid:6509 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5407 [inline]
__schedule+0x17ae/0x4a10 kernel/sched/core.c:6748
__schedule_loop kernel/sched/core.c:6825 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6840
__bch2_two_state_lock+0x171/0x200 fs/bcachefs/two_state_shared_lock.c:7
bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:56 [inline]
bch2_read_iter+0x2e4/0x1430 fs/bcachefs/fs-io-direct.c:207
__kernel_read+0x532/0x9f0 fs/read_write.c:434
integrity_kernel_read+0xb0/0x100 security/integrity/iint.c:28
ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline]
ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline]
ima_calc_file_hash+0xaef/0x1b30 security/integrity/ima/ima_crypto.c:568
ima_collect_measurement+0x536/0xb30 security/integrity/ima/ima_api.c:293
process_measurement+0x1357/0x1fb0 security/integrity/ima/ima_main.c:372
ima_file_check+0xf2/0x170 security/integrity/ima/ima_main.c:572
security_file_post_open+0x6d/0xa0 security/security.c:2982
do_open fs/namei.c:3703 [inline]
path_openat+0x2c54/0x35f0 fs/namei.c:3860
do_filp_open+0x235/0x490 fs/namei.c:3887
do_sys_openat2+0x13e/0x1d0 fs/open.c:1413
do_sys_open fs/open.c:1428 [inline]
__do_sys_open fs/open.c:1436 [inline]
__se_sys_open fs/open.c:1432 [inline]
__x64_sys_open+0x225/0x270 fs/open.c:1432
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:0x7fc3a7975bd9
RSP: 002b:00007fc3a87d3048 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fc3a7b04038 RCX: 00007fc3a7975bd9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080
RBP: 00007fc3a79e4e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fc3a7b04038 R15: 00007ffda4d9bcf8
INFO: task syz.3.293:7076 blocked for more than 145 seconds.
Not tainted 6.10.0-syzkaller-00017-g5e0497553643 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.293 state:D stack:26360 pid:7076 tgid:7027 ppid:6509 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5407 [inline]
__schedule+0x17ae/0x4a10 kernel/sched/core.c:6748
__schedule_loop kernel/sched/core.c:6825 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6840
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6897
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:791 [inline]
process_measurement+0x43c/0x1fb0 security/integrity/ima/ima_main.c:250
ima_file_check+0xf2/0x170 security/integrity/ima/ima_main.c:572
security_file_post_open+0x6d/0xa0 security/security.c:2982
do_open fs/namei.c:3703 [inline]
path_openat+0x2c54/0x35f0 fs/namei.c:3860
do_filp_open+0x235/0x490 fs/namei.c:3887
do_sys_openat2+0x13e/0x1d0 fs/open.c:1413
do_sys_open fs/open.c:1428 [inline]
__do_sys_open fs/open.c:1436 [inline]
__se_sys_open fs/open.c:1432 [inline]
__x64_sys_open+0x225/0x270 fs/open.c:1432
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:0x7fc3a7975bd9
RSP: 002b:00007fc3a87b2048 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fc3a7b04110 RCX: 00007fc3a7975bd9
RDX: 0000000000000000 RSI: 0000000000064842 RDI: 00000000200005c0
RBP: 00007fc3a79e4e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fc3a7b04110 R15: 00007ffda4d9bcf8
Showing all locks held in the system:
2 locks held by kworker/u8:0/11:
1 lock held by khungtaskd/30:
#0: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by kworker/u8:10/2909:
#0: ffff8880b953e758 (&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:989
2 locks held by getty/4836:
#0: ffff88802ac340a0 (&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:2211
1 lock held by syz.3.293/7027:
#0: ffff8880111075b8 (&ima_iint_mutex_key[depth]){+.+.}-{3:3}, at: ima_check_last_writer security/integrity/ima/ima_main.c:166 [inline]
#0: ffff8880111075b8 (&ima_iint_mutex_key[depth]){+.+.}-{3:3}, at: ima_file_free+0x18a/0x4e0 security/integrity/ima/ima_main.c:205
3 locks held by syz.3.293/7028:
#0: ffff888023fa6348 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x310 fs/file.c:1191
#1: ffff888062f20420 (sb_writers#16){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline]
#1: ffff888062f20420 (sb_writers#16){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#2: ffff88806655f068 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline]
#2: ffff88806655f068 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: bch2_direct_write+0x243/0x3050 fs/bcachefs/fs-io-direct.c:598
1 lock held by syz.3.293/7075:
#0: ffff8880111075b8 (&ima_iint_mutex_key[depth]){+.+.}-{3:3}, at: process_measurement+0x7ac/0x1fb0 security/integrity/ima/ima_main.c:269
1 lock held by syz.3.293/7076:
#0: ffff88806655f068 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline]
#0: ffff88806655f068 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: process_measurement+0x43c/0x1fb0 security/integrity/ima/ima_main.c:250
5 locks held by syz.4.595/9091:
#0: ffff8880b943e758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559
#1: ffff8880b9428948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:989
#2: ffff888020a1ee28 (&(&sig->stats_lock)->lock){....}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline]
#2: ffff888020a1ee28 (&(&sig->stats_lock)->lock){....}-{2:2}, at: write_seqlock include/linux/seqlock.h:822 [inline]
#2: ffff888020a1ee28 (&(&sig->stats_lock)->lock){....}-{2:2}, at: __exit_signal kernel/exit.c:188 [inline]
#2: ffff888020a1ee28 (&(&sig->stats_lock)->lock){....}-{2:2}, at: release_task+0x821/0x1810 kernel/exit.c:258
#3: ffff888020a1ede0 (&____s->seqcount#4){....}-{0:0}, at: exit_notify kernel/exit.c:772 [inline]
#3: ffff888020a1ede0 (&____s->seqcount#4){....}-{0:0}, at: do_exit+0x1af9/0x27e0 kernel/exit.c:896
#4: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#4: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#4: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: is_bpf_text_address+0x26/0x2a0 kernel/bpf/core.c:767
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-syzkaller-00017-g5e0497553643 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfde/0x1020 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2909 Comm: kworker/u8:10 Not tainted 6.10.0-syzkaller-00017-g5e0497553643 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:mark_lock+0x149/0x350 kernel/locking/lockdep.c:4697
Code: 60 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 1a cb 85 00 41 bc 01 00 00 00 44 85 33 74 16 44 89 e0 48 83 c4 10 5b <41> 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 84 3c ff ff 85 c0 0f
RSP: 0018:ffffc9000a1c7a70 EFLAGS: 00000082
RAX: 0000000000000001 RBX: ffff88802b9846e0 RCX: ffffffff8172db5a
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92f76590
RBP: 0000000000000002 R08: ffffffff92f76597 R09: 1ffffffff25eecb2
R10: dffffc0000000000 R11: fffffbfff25eecb3 R12: 0000000000000001
R13: dffffc0000000000 R14: 0000000000000004 R15: ffff88802b9846e0
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffea76d6ea8 CR3: 000000000e132000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mark_held_locks kernel/locking/lockdep.c:4274 [inline]
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4292 [inline]
lockdep_hardirqs_on_prepare+0x282/0x780 kernel/locking/lockdep.c:4359
trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61
__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:159 [inline]
_raw_spin_unlock_irq+0x23/0x50 kernel/locking/spinlock.c:202
spin_unlock_irq include/linux/spinlock.h:401 [inline]
cfg80211_wiphy_work+0x1fc/0x260 net/wireless/core.c:435
process_one_work kernel/workqueue.c:3248 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3329
worker_thread+0x86d/0xd50 kernel/workqueue.c:3409
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244