INFO: task syz-executor.2:10451 blocked for more than 143 seconds.
Not tainted 6.5.0-rc7-syzkaller-00164-g382d4cd18475 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:24736 pid:10451 ppid:5060 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0xee1/0x59f0 kernel/sched/core.c:6710
schedule+0xe7/0x1b0 kernel/sched/core.c:6786
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845
rwsem_down_write_slowpath+0x53e/0x1290 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d3/0x200 kernel/locking/rwsem.c:1574
inode_lock include/linux/fs.h:771 [inline]
process_measurement+0x39b/0x1cc0 security/integrity/ima/ima_main.c:247
ima_file_check+0xc2/0x110 security/integrity/ima/ima_main.c:543
do_open fs/namei.c:3638 [inline]
path_openat+0x17a1/0x29c0 fs/namei.c:3793
do_filp_open+0x1de/0x430 fs/namei.c:3820
do_sys_openat2+0x176/0x1e0 fs/open.c:1407
do_sys_open fs/open.c:1422 [inline]
__do_sys_open fs/open.c:1430 [inline]
__se_sys_open fs/open.c:1426 [inline]
__x64_sys_open+0x154/0x1e0 fs/open.c:1426
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f2f62e7cae9
RSP: 002b:00007f2f63b2a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f2f62f9bf80 RCX: 00007f2f62e7cae9
RDX: 0000000000000000 RSI: 0000000000143042 RDI: 0000000020000000
RBP: 00007f2f62ec847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2f62f9bf80 R15: 00007fff4b831098
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c9a67f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c9a64f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/27:
#0: ffffffff8c9a7400 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615
4 locks held by kworker/u4:3/54:
#0: ffff888019667938 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline]
#0: ffff888019667938 ((wq_completion)writeback){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline]
#0: ffff888019667938 ((wq_completion)writeback){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline]
#0: ffff888019667938 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline]
#0: ffff888019667938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:678 [inline]
#0: ffff888019667938 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:705 [inline]
#0: ffff888019667938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2570
#1: ffffc90000bf7d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2574
#2: ffff88803f9aa0e0 (&type->s_umount_key#58){++++}-{3:3}, at: trylock_super+0x1c/0x100 fs/super.c:413
#3: ffff8880214c92a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_down_write fs/f2fs/f2fs.h:2133 [inline]
#3: ffff8880214c92a8 (&sbi->gc_lock){+.+.}-{3:3}, at: f2fs_balance_fs+0x553/0x6e0 fs/f2fs/segment.c:435
2 locks held by getty/4773:
#0: ffff88814a74f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187
1 lock held by syz-executor.3/5055:
1 lock held by syz-executor.1/5065:
1 lock held by syz-executor.2/10451:
#0: ffff888082fead88 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#0: ffff888082fead88 (&sb->s_type->i_mutex_key#21){+.+.}-{3:3}, at: process_measurement+0x39b/0x1cc0 security/integrity/ima/ima_main.c:247
9 locks held by syz-executor.2/10487:
2 locks held by syz-executor.2/12408:
2 locks held by syz-executor.0/12421:
4 locks held by syz-executor.5/12428:
1 lock held by syz-executor.4/12430:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.5.0-rc7-syzkaller-00164-g382d4cd18475 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2ac/0x310 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf29/0x11b0 kernel/hung_task.c:379
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12434 Comm: syz-executor.1 Not tainted 6.5.0-rc7-syzkaller-00164-g382d4cd18475 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3769 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3789 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3844 [inline]
RIP: 0010:__lock_acquire+0x18a1/0x5de0 kernel/locking/lockdep.c:5144
Code: 02 00 0f 85 87 39 00 00 48 bd 00 00 00 00 00 fc ff df 4c 8b 74 24 10 4a 8b 1c e5 e0 7d 73 91 48 8d 43 f8 48 85 db 48 0f 45 d8 04 48 83 eb 08 48 85 db 74 40 48 8d 7b 18 48 89 f8 48 c1 e8 03
RSP: 0000:ffffc90000007bd0 EFLAGS: 00000082
RAX: ffffffff908253c0 RBX: ffffffff908253c0 RCX: ffffffff8166bfaf
RDX: 1ffffffff22e809f RSI: 0000000000000008 RDI: ffffffff9184fe88
RBP: dffffc0000000000 R08: 0000000000000000 R09: fffffbfff2309fd1
R10: ffffffff9184fe8f R11: 0000000000000000 R12: 00000000000010e3
R13: ffff888020c328b0 R14: 4f5c098b15a76687 R15: 0000000000000002
FS: 00007f3a43b1a6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3a39dbc000 CR3: 0000000077656000 CR4: 0000000000350ef0
Call Trace:
lock_acquire kernel/locking/lockdep.c:5761 [inline]
lock_acquire+0x1ae/0x510 kernel/locking/lockdep.c:5726
__raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline]
_raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170
__run_hrtimer kernel/time/hrtimer.c:1692 [inline]
__hrtimer_run_queues+0x2bd/0xc10 kernel/time/hrtimer.c:1752
hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline]
__sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115
sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1109
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5729
Code: c1 05 d5 6e 9b 7e 83 f8 01 0f 85 b0 02 00 00 9c 58 f6 c4 02 0f 85 9b 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24
RSP: 0000:ffffc9000410fcf8 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff92000821fa1 RCX: 0000000000000001
RDX: 1ffff11004186510 RSI: ffffffff8a6c83a0 RDI: ffffffff8ac81440
RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2309fd0
R10: ffffffff9184fe87 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8c9a7400 R15: 0000000000000000
rcu_lock_acquire include/linux/rcupdate.h:303 [inline]
rcu_read_lock include/linux/rcupdate.h:749 [inline]
lock_vma_under_rcu+0xe3/0xaa0 mm/memory.c:5383
do_user_addr_fault+0x298/0xfc0 arch/x86/mm/fault.c:1335
handle_page_fault arch/x86/mm/fault.c:1486 [inline]
exc_page_fault+0x5c/0xd0 arch/x86/mm/fault.c:1542
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7f3a42e286e6
Code: f0 72 6e 48 63 cd 48 01 c1 49 39 4f 08 72 4c 8d 4d ff 85 ed 74 33 66 0f 1f 44 00 00 48 39 f0 72 1b 4d 8b 07 49 89 c1 49 29 f1 <47> 0f b6 0c 08 45 84 c9 74 08 45 88 0c 00 49 8b 47 10 48 83 c0 01
RSP: 002b:00007f3a43b19520 EFLAGS: 00010206
RAX: 00000000007bd001 RBX: 00007f3a43b195c0 RCX: 000000000000001c
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 00007f3a43b19660
RBP: 0000000000000102 R08: 00007f3a395ff000 R09: 00000000007bd000
R10: 0000000000000000 R11: 00007f3a43b195d0 R12: 0000000000000001
R13: 00007f3a42eea360 R14: 0000000000000000 R15: 00007f3a43b19660