INFO: task syz.1.2003:13090 blocked for more than 143 seconds. Not tainted 6.10.0-rc5-syzkaller-00294-g3ffea9a7a6f7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.2003 state:D stack:24672 pid:13090 tgid:13090 ppid:12877 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __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+0x372/0x8b0 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:0x7f7076575b99 RSP: 002b:00007ffed13ebac8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f7076705aa0 RCX: 00007f7076575b99 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f7076705aa0 R08: 0000000000000006 R09: 0000001ed13ebddf R10: 00000000003ffbdc R11: 0000000000000246 R12: 00000000000988c9 R13: 0000000000000032 R14: 00007f7076705aa0 R15: 00007ffed13ebbb0 INFO: task syz.1.2003:13091 blocked for more than 144 seconds. Not tainted 6.10.0-rc5-syzkaller-00294-g3ffea9a7a6f7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.2003 state:D stack:25232 pid:13091 tgid:13090 ppid:12877 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x1796/0x49d0 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 process_measurement+0x7ac/0x1fb0 security/integrity/ima/ima_main.c:269 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:3652 [inline] path_openat+0x28f6/0x3280 fs/namei.c:3807 do_filp_open+0x235/0x490 fs/namei.c:3834 do_sys_openat2+0x13e/0x1d0 fs/open.c:1405 do_sys_open fs/open.c:1420 [inline] __do_sys_open fs/open.c:1428 [inline] __se_sys_open fs/open.c:1424 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1424 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:0x7f7076575b99 RSP: 002b:00007f70773e5048 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7076703fa0 RCX: 00007f7076575b99 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 00007f70765f677e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7076703fa0 R15: 00007ffed13eb9e8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e333fa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4837: #0: ffff88802b1cc0a0 (&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 3 locks held by kworker/1:4/5133: 6 locks held by kworker/1:8/5189: 4 locks held by kworker/1:0/12926: 1 lock held by syz.1.2003/13090: #0: ffff888022e3ab08 (&ima_iint_mutex_key[depth]#2){+.+.}-{3:3}, at: ima_check_last_writer security/integrity/ima/ima_main.c:166 [inline] #0: ffff888022e3ab08 (&ima_iint_mutex_key[depth]#2){+.+.}-{3:3}, at: ima_file_free+0x18a/0x4e0 security/integrity/ima/ima_main.c:205 1 lock held by syz.1.2003/13091: #0: ffff888022e3ab08 (&ima_iint_mutex_key[depth]#2){+.+.}-{3:3}, at: process_measurement+0x7ac/0x1fb0 security/integrity/ima/ima_main.c:269 1 lock held by syz.1.2003/13093: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc5-syzkaller-00294-g3ffea9a7a6f7 #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1046 Comm: kworker/u8:5 Not tainted 6.10.0-rc5-syzkaller-00294-g3ffea9a7a6f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] RIP: 0010:batadv_nc_worker+0x215/0x610 net/batman-adv/network-coding.c:719 Code: 62 4e f6 e8 ad 75 35 00 89 c3 31 ff 89 c6 e8 42 66 4e f6 85 db 74 15 e8 a9 8e 34 f6 84 c0 74 18 e8 f0 61 4e f6 48 8b 5c 24 10 65 e8 e4 61 4e f6 48 8b 5c 24 10 eb 59 e8 78 75 35 00 89 c3 31 RSP: 0018:ffffc90003fd7b58 EFLAGS: 00000293 RAX: ffffffff8b47c7c0 RBX: ffffffff8b47c67b RCX: ffff8880225b0000 RDX: 0000000000000000 RSI: ffffffff8c1f1760 RDI: ffffffff8c1f1720 RBP: 0000000000000000 R08: ffffffff8b47c7ae R09: 1ffffffff25ee2b0 R10: dffffc0000000000 R11: fffffbfff25ee2b1 R12: ffff8880488f4ca0 R13: 0000000000000083 R14: ffff8880186bf300 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff7340d0ab8 CR3: 000000001cb94000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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