INFO: task syz-executor.0:5501 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00036-g9d1ddab261f3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26544 pid:5501 tgid:5501 ppid:5433 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_release+0x166/0x710 block/bdev.c:1059 blkdev_release+0x15/0x20 block/fops.c:628 __fput+0x270/0xb80 fs/file_table.c:422 __fput_sync+0x47/0x50 fs/file_table.c:507 __do_sys_close fs/open.c:1556 [inline] __se_sys_close fs/open.c:1541 [inline] __x64_sys_close+0x86/0x100 fs/open.c:1541 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb97fa7b8da RSP: 002b:00007ffed6282e10 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007fb97fa7b8da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007fb97fb9d980 R08: 0000001b2f360000 R09: 0000000000000001 R10: 00007fb9807c6080 R11: 0000000000000293 R12: 000000000001c81f R13: ffffffffffffffff R14: 00007fb97f600000 R15: 000000000001c4de INFO: task syz-executor.0:5502 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00036-g9d1ddab261f3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27872 pid:5502 tgid:5501 ppid:5433 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_release+0x166/0x710 block/bdev.c:1059 blkdev_release+0x15/0x20 block/fops.c:628 __fput+0x270/0xb80 fs/file_table.c:422 task_work_run+0x14e/0x250 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+0x278/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb97fa7c8d9 RSP: 002b:00007fb9807c50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fb97fb9bf80 RCX: 00007fb97fa7c8d9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 00007fb97fad8b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fb97fb9bf80 R15: 00007ffed6282d48 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4827: #0: ffff88802ae540a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 1 lock held by udevd/5419: #0: ffff88801ffc04c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x43c/0xe90 block/bdev.c:877 1 lock held by syz-executor.0/5501: #0: ffff88801ffc04c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x166/0x710 block/bdev.c:1059 1 lock held by syz-executor.0/5502: #0: ffff88801ffc04c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x166/0x710 block/bdev.c:1059 1 lock held by syz-executor.0/5808: #0: ffff88801ffc04c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x43c/0xe90 block/bdev.c:877 1 lock held by syz-executor.0/5809: #0: ffff88801ffc04c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x43c/0xe90 block/bdev.c:877 1 lock held by syz-executor.0/5825: #0: ffff88801ffc04c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x43c/0xe90 block/bdev.c:877 1 lock held by syz-executor.0/5826: #0: ffff88801ffc04c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x43c/0xe90 block/bdev.c:877 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00036-g9d1ddab261f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1274 Comm: kworker/u8:6 Not tainted 6.9.0-rc5-syzkaller-00036-g9d1ddab261f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:check_wait_context kernel/locking/lockdep.c:4815 [inline] RIP: 0010:__lock_acquire+0x632/0x3b30 kernel/locking/lockdep.c:5087 Code: 88 c4 00 00 00 84 c9 74 3a 48 8d b8 c6 00 00 00 41 38 cf 44 0f 47 f9 49 89 f8 49 89 f9 49 c1 e8 03 41 83 e1 07 45 0f b6 04 28 <45> 38 c8 7f 09 45 84 c0 0f 85 cd 23 00 00 80 b8 c6 00 00 00 02 44 RSP: 0018:ffffc9000557f928 EFLAGS: 00000006 RAX: ffffffff93e2ff28 RBX: ffff8880230e1e00 RCX: 0000000000000003 RDX: fffffbfff27bb44c RSI: 0000000000000008 RDI: ffffffff93e2ffee RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000006 R10: ffffffff93dda25f R11: 0000000000000003 R12: ffffed100461c51a R13: ffff8880230e28d8 R14: 0000000000000002 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055acb2577680 CR3: 000000000d57a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:754 [inline] batadv_iv_ogm_schedule_buff+0x5ac/0x1500 net/batman-adv/bat_iv_ogm.c:825 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:868 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:861 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x31e/0x8d0 net/batman-adv/bat_iv_ogm.c:1712 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244