INFO: task syz-executor.0:8097 blocked for more than 143 seconds. Not tainted 6.8.0-rc4-syzkaller-00388-gced590523156 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26264 pid:8097 tgid:8092 ppid:7190 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] process_measurement+0x44d/0x21d0 security/integrity/ima/ima_main.c:248 ima_file_check+0xf1/0x170 security/integrity/ima/ima_main.c:557 do_open fs/namei.c:3643 [inline] path_openat+0x28b6/0x3240 fs/namei.c:3798 do_filp_open+0x234/0x490 fs/namei.c:3825 do_sys_openat2+0x13e/0x1d0 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_open fs/open.c:1427 [inline] __se_sys_open fs/open.c:1423 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1423 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f6ff107dda9 RSP: 002b:00007f6ff1d1d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f6ff11ac050 RCX: 00007f6ff107dda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f6ff10ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f6ff11ac050 R15: 00007ffdc09db718 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/u4:9/2501: #0: ffff888019689d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888019689d38 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc9000a247d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc9000a247d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff888033a500e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_write_inode+0x69/0x120 fs/exfat/inode.c:105 3 locks held by kworker/u5:1/4452: #0: ffff88802efe9538 ((wq_completion)hci2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff88802efe9538 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc9000e45fd20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc9000e45fd20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff888077cdd060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:305 2 locks held by getty/4817: #0: ffff88802b1630a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/u5:8/5107: #0: ffff88801e802938 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff88801e802938 ((wq_completion)hci0){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc900044b7d20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc900044b7d20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff88801e455060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:305 3 locks held by kworker/u5:9/5108: #0: ffff888020f3ad38 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888020f3ad38 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc900044c7d20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc900044c7d20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff888034c29060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:305 6 locks held by syz-executor.0/8093: 1 lock held by syz-executor.0/8097: #0: ffff888039f01cd8 (&sb->s_type->i_mutex_key#35){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #0: ffff888039f01cd8 (&sb->s_type->i_mutex_key#35){++++}-{3:3}, at: process_measurement+0x44d/0x21d0 security/integrity/ima/ima_main.c:248 2 locks held by syz-executor.1/9173: #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 2 locks held by syz-executor.1/9191: #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 2 locks held by syz-executor.4/9369: #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 2 locks held by syz-executor.4/9374: #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 2 locks held by kworker/u4:12/9543: 2 locks held by kworker/u4:24/9571: 2 locks held by syz-executor.1/9608: #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 2 locks held by syz-executor.1/9610: #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88802cb8a0e0 (&type->s_umount_key#82){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8880200027d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 1 lock held by syz-executor.3/9672: #0: ffff888041982420 (sb_writers#15){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:453 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc4-syzkaller-00388-gced590523156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9572 Comm: kworker/u4:25 Not tainted 6.8.0-rc4-syzkaller-00388-gced590523156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x6f5/0x1fd0 kernel/locking/lockdep.c:5087 Code: 47 01 80 0f 85 21 04 00 00 84 db 40 0f b6 c5 0f b6 cb 0f 44 c8 89 4c 24 5c 48 8b 44 24 40 0f b6 04 10 84 c0 0f 85 1f 13 00 00 <48> 8b 04 24 8b 28 41 89 ec ff cd 0f 88 a5 00 00 00 89 eb 83 fd 31 RSP: 0018:ffffc90012a9f930 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffff8880447c2880 RDI: ffffffff92c55420 RBP: 0000000000000002 R08: ffffffff92c55427 R09: 1ffffffff258aa84 R10: dffffc0000000000 R11: fffffbfff258aa85 R12: 0000000000000000 R13: ffff8880447c1dc0 R14: 1ffff110088f851e R15: ffff8880447c28f0 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c002697000 CR3: 000000000df32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242