INFO: task udevd:6690 blocked for more than 146 seconds. Not tainted 6.7.0-rc1-syzkaller-00125-g7475e51b8796 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:23584 pid:6690 tgid:6690 ppid:4515 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 io_schedule+0xbe/0x130 kernel/sched/core.c:8998 folio_wait_bit_common+0x3dc/0x9c0 mm/filemap.c:1273 __folio_lock mm/filemap.c:1611 [inline] folio_lock include/linux/pagemap.h:1014 [inline] folio_lock include/linux/pagemap.h:1010 [inline] __filemap_get_folio+0x633/0xaa0 mm/filemap.c:1864 truncate_inode_pages_range+0x3a0/0xf00 mm/truncate.c:376 kill_bdev block/bdev.c:76 [inline] blkdev_flush_mapping+0x156/0x320 block/bdev.c:630 blkdev_put_whole+0xb9/0xe0 block/bdev.c:661 blkdev_put+0x40f/0x8f0 block/bdev.c:942 bdev_release+0x4f/0x80 block/bdev.c:952 blkdev_release+0x37/0x50 block/fops.c:616 __fput+0x270/0xbb0 fs/file_table.c:394 task_work_run+0x14d/0x240 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa92/0x2ae0 kernel/exit.c:871 do_group_exit+0xd4/0x2a0 kernel/exit.c:1021 get_signal+0x23be/0x2790 kernel/signal.c:2904 arch_do_signal_or_restart+0x90/0x7f0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x121/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1e/0x60 kernel/entry/common.c:296 do_syscall_64+0x4d/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f8f30516b6a RSP: 002b:00007ffc6a1e7aa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffffc RBX: 0000000000000000 RCX: 00007f8f30516b6a RDX: 0000000000000400 RSI: 0000559c4a7324b8 RDI: 0000000000000009 RBP: 0000000000000400 R08: 0000559c4a732490 R09: 0000000000000008 R10: 0000000000000051 R11: 0000000000000246 R12: 0000559c4a732490 R13: 0000559c4a7324a8 R14: 0000559c4a72bc88 R15: 0000559c4a72bc30 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8cfa82a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfa82a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfa82a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4820: #0: ffff8880273110a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020682f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.3/5101: #0: ffffffff8cfb3cf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8cfb3cf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3ff/0x800 kernel/rcu/tree_exp.h:996 2 locks held by kworker/1:5/5160: #0: ffff88801307b938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x789/0x15d0 kernel/workqueue.c:2605 #1: ffffc90004107d80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15d0 kernel/workqueue.c:2606 1 lock held by udevd/6690: #0: ffff88801d4984c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xb0/0x8f0 block/bdev.c:928 1 lock held by syz-executor.0/10153: #0: ffffffff8d019308 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_unregister+0x9c/0xd20 kernel/tracepoint.c:548 1 lock held by syz-executor.1/10159: #0: ffffffff8d019308 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_unregister+0x9c/0xd20 kernel/tracepoint.c:548 1 lock held by syz-executor.5/10168: #0: ffffffff8d019308 (tracepoints_mutex){+.+.}-{3:3}, at: tracepoint_probe_register_prio_may_exist+0x9c/0x100 kernel/tracepoint.c:478 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.7.0-rc1-syzkaller-00125-g7475e51b8796 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8532 Comm: kworker/u4:13 Not tainted 6.7.0-rc1-syzkaller-00125-g7475e51b8796 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:kasan_check_range+0x12/0x190 mm/kasan/generic.c:186 Code: 43 08 40 0f b6 f5 31 ff 89 43 0c e8 38 de ff ff 89 43 08 5b 5d c3 66 90 66 0f 1f 00 48 85 f6 0f 84 48 01 00 00 48 89 f8 41 54 <44> 0f b6 c2 48 01 f0 55 53 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff RSP: 0018:ffffc90003857958 EFLAGS: 00000002 RAX: ffffffff91f0ef58 RBX: 00000000000006f1 RCX: ffffffff8166257e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff91f0ef58 RBP: 0000000000000000 R08: 0000000000000000 R09: fffffbfff23e1dd0 R10: ffffffff91f0ee87 R11: 0000000000000002 R12: ffffed10038c597f R13: 0000000000000020 R14: ffff88801c62cc50 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10686c56be CR3: 000000000cd77000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class+0x4e/0x130 kernel/locking/lockdep.c:228 __lock_acquire+0x135b/0x3b10 kernel/locking/lockdep.c:5132 lock_acquire kernel/locking/lockdep.c:5753 [inline] lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5718 rcu_lock_acquire include/linux/rcupdate.h:301 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x16e/0x10e0 net/batman-adv/network-coding.c:719 process_one_work+0x886/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2784 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242