INFO: task syz-executor.5:29304 blocked for more than 144 seconds.
Not tainted 6.1.0-rc7-syzkaller-00012-gca57f02295f1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:28448 pid:29304 ppid:3685 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5209 [inline]
__schedule+0xae9/0x53f0 kernel/sched/core.c:6521
schedule+0xde/0x1b0 kernel/sched/core.c:6597
rwsem_down_write_slowpath+0x600/0x12e0 kernel/locking/rwsem.c:1190
__down_write_common kernel/locking/rwsem.c:1305 [inline]
__down_write_common kernel/locking/rwsem.c:1302 [inline]
__down_write kernel/locking/rwsem.c:1314 [inline]
down_write+0x1e8/0x220 kernel/locking/rwsem.c:1563
inode_lock include/linux/fs.h:756 [inline]
process_measurement+0x168d/0x18b0 security/integrity/ima/ima_main.c:241
ima_file_check+0xb0/0x100 security/integrity/ima/ima_main.c:517
do_open fs/namei.c:3559 [inline]
path_openat+0x1611/0x2860 fs/namei.c:3714
do_filp_open+0x1ba/0x410 fs/namei.c:3741
do_sys_openat2+0x16d/0x4c0 fs/open.c:1310
do_sys_open fs/open.c:1326 [inline]
__do_sys_open fs/open.c:1334 [inline]
__se_sys_open fs/open.c:1330 [inline]
__x64_sys_open+0x11d/0x1c0 fs/open.c:1330
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f36dec8c0d9
RSP: 002b:00007f36ddfde168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f36dedac120 RCX: 00007f36dec8c0d9
RDX: 0000000000000000 RSI: 0000000000040280 RDI: 0000000020000280
RBP: 00007f36dece7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdfdc6b31f R14: 00007f36ddfde300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c58f070 (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: ffffffff8c58ed70 (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/27:
#0: ffffffff8c58fbc0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494
2 locks held by getty/3312:
#0: ffff888027e1c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
2 locks held by kworker/u4:16/25521:
#0: ffff888012069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888012069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888012069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888012069138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc9000340fda8 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
4 locks held by syz-executor.5/29297:
#0: ffff88808beda460 (sb_writers#4){.+.+}-{0:0}, at: do_open fs/namei.c:3550 [inline]
#0: ffff88808beda460 (sb_writers#4){.+.+}-{0:0}, at: path_openat+0x19ee/0x2860 fs/namei.c:3714
#1: ffff8880ac07ca38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880ac07ca38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: do_truncate+0x12e/0x200 fs/open.c:63
#2: ffff8880ac07cbd8 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline]
#2: ffff8880ac07cbd8 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_setattr+0x734/0x2b30 fs/ext4/inode.c:5453
#3: ffff8880ac07c8c0 (&ei->i_data_sem){++++}-{3:3}, at: ext4_truncate+0x68d/0x1530 fs/ext4/inode.c:4259
2 locks held by syz-executor.5/29304:
#0: ffff88808beda460 (sb_writers#4){.+.+}-{0:0}, at: do_open fs/namei.c:3550 [inline]
#0: ffff88808beda460 (sb_writers#4){.+.+}-{0:0}, at: path_openat+0x19ee/0x2860 fs/namei.c:3714
#1: ffff8880ac07ca38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff8880ac07ca38 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: process_measurement+0x168d/0x18b0 security/integrity/ima/ima_main.c:241
1 lock held by syz-executor.3/30675:
2 locks held by syz-executor.1/30710:
1 lock held by syz-executor.0/30713:
2 locks held by modprobe/30712:
#0: ffff8880b9b3b158 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:537
#1: ffff8880b9b28808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x930 kernel/sched/psi.c:909
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.1.0-rc7-syzkaller-00012-gca57f02295f1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x333/0x3c0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xc75/0xfc0 kernel/hung_task.c:377
kthread+0x2e8/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: 30710 Comm: syz-executor.1 Not tainted 6.1.0-rc7-syzkaller-00012-gca57f02295f1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:group_cfs_rq kernel/sched/sched.h:1422 [inline]
RIP: 0010:update_cfs_group+0x26/0x290 kernel/sched/fair.c:3462
Code: 0f 1f 40 00 48 b8 00 00 00 00 00 fc ff df 41 57 41 56 41 55 41 54 55 48 89 fd 48 83 ef 80 48 89 fa 53 48 c1 ea 03 48 83 ec 08 <80> 3c 02 00 0f 85 ef 01 00 00 48 8b 9d 80 00 00 00 48 85 db 0f 84
RSP: 0000:ffffc900001e0bd8 EFLAGS: 00000096
RAX: dffffc0000000000 RBX: ffff8880797b9800 RCX: 0000000000000001
RDX: 1ffff1100f2f7310 RSI: 0000000000010003 RDI: ffff8880797b9880
RBP: ffff8880797b9800 R08: 0000000000000000 R09: ffffffff8e51a297
R10: fffffbfff1ca3452 R11: 0000000000000005 R12: ffff88801c81a800
R13: ffff8880797b9880 R14: ffff8880b9b3b200 R15: 0000000000000001
FS: 00007f3f78678700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3f6f1cd000 CR3: 00000000268a2000 CR4: 0000000000350ee0
Call Trace:
enqueue_entity+0x14e/0x1520 kernel/sched/fair.c:4618
enqueue_task_fair+0x1f0/0xd80 kernel/sched/fair.c:5937
enqueue_task+0xad/0x3a0 kernel/sched/core.c:2060
activate_task kernel/sched/core.c:2085 [inline]
ttwu_do_activate+0x157/0x330 kernel/sched/core.c:3664
ttwu_queue kernel/sched/core.c:3869 [inline]
try_to_wake_up+0xbae/0x20f0 kernel/sched/core.c:4192
hrtimer_wakeup+0x47/0x60 kernel/time/hrtimer.c:1939
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x690/0xfb0 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
__sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113
sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:do_user_addr_fault+0x5d6/0x1210 arch/x86/mm/fault.c:1326
Code: ea 41 b8 01 00 00 00 48 89 ee 4c 89 e7 e8 e2 ef ff ff e9 03 01 00 00 e8 e8 fb 47 00 e8 83 82 4e 00 fb c7 44 24 04 54 02 00 00 f0 fb ff ff e8 d0 fb 47 00 4c 89 e9 4c 89 e2 be 01 00 00 00 bf
RSP: 0000:ffffc9001522feb8 EFLAGS: 00000202
RAX: 0000000000008ecd RBX: 0000000000000003 RCX: 1ffffffff1ca2e61
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000004 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000003 R11: 0000000000000000 R12: ffffc9001522ff58
R13: 00007f3f6f1cd000 R14: 00007f3f6f1cd000 R15: ffff888077645e40
handle_page_fault arch/x86/mm/fault.c:1519 [inline]
exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1575
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7f3f77829197
Code: 78 48 63 d5 48 01 c2 49 3b 55 08 77 56 8d 55 ff 85 ed 74 35 0f 1f 80 00 00 00 00 48 39 c1 77 1c 49 8b 75 00 49 89 c1 49 29 c9 <46> 0f b6 0c 0e 45 84 c9 74 08 44 88 0c 06 49 8b 45 10 48 83 c0 01
RSP: 002b:00007f3f78677600 EFLAGS: 00010206
RAX: 00000000015cd001 RBX: 00007f3f78677660 RCX: 0000000000000001
RDX: 0000000000000087 RSI: 00007f3f6dc00000 RDI: 00007f3f78677700
RBP: 0000000000000102 R08: 0000000000000000 R09: 00000000015cd000
R10: 0000000000000000 R11: 00007f3f78677670 R12: 00007f3f78677670
R13: 00007f3f78677700 R14: 0000000000000001 R15: 0000000000000000