INFO: task syz.0.15:5974 blocked for more than 143 seconds. Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.15 state:D stack:27504 pid:5974 tgid:5974 ppid:5934 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_release+0x15a/0x6d0 block/bdev.c:1087 blkdev_release+0x15/0x20 block/fops.c:639 __fput+0x3f6/0xb60 fs/file_table.c:431 task_work_run+0x14e/0x250 kernel/task_work.c:239 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+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f13f737e719 RSP: 002b:00007ffddb476eb8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f13f7537a80 RCX: 00007f13f737e719 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f13f7537a80 R08: 0000000000000006 R09: 00007ffddb4771af R10: 000000000003fdb4 R11: 0000000000000246 R12: 000000000003a689 R13: 00007ffddb476fc0 R14: 0000000000000032 R15: ffffffffffffffff INFO: task syz.0.15:5975 blocked for more than 143 seconds. Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.15 state:D stack:26448 pid:5975 tgid:5974 ppid:5934 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_release+0x15a/0x6d0 block/bdev.c:1087 blkdev_release+0x15/0x20 block/fops.c:639 __fput+0x3f6/0xb60 fs/file_table.c:431 task_work_run+0x14e/0x250 kernel/task_work.c:239 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+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f13f737e719 RSP: 002b:00007f13f817b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f13f7535f80 RCX: 00007f13f737e719 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000004 RBP: 00007f13f73f139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f13f7535f80 R15: 00007ffddb476d58 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 2 locks held by kworker/u8:2/35: #0: ffff8880b873ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 #1: ffffc90000ab7d80 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 5 locks held by kworker/u8:5/1137: 2 locks held by getty/5582: #0: ffff888032b700a0 (&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+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by udevd/5850: #0: ffff88814431d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by udevd/5852: #0: ffff888025b6f4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by udevd/5942: #0: ffff888025b424c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.0.15/5974: #0: ffff88814431d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.0.15/5975: #0: ffff88814431d4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.1.16/5989: #0: ffff888025b424c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.1.16/5990: #0: ffff888025b424c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by udevd/5995: #0: ffff888025b6b4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.2.17/6006: #0: ffff888025b6b4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.2.17/6007: #0: ffff888025b6b4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by udevd/6011: #0: ffff888025b464c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.3.18/6022: #0: ffff888025b464c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.3.18/6023: #0: ffff888025b464c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by udevd/6027: #0: ffff88802602a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.4.19/6044: #0: ffff88802602a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.4.19/6046: #0: ffff88802602a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.5.20/6067: #0: ffff888025b6f4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.5.20/6068: #0: ffff888025b6f4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by udevd/6072: #0: ffff8880261234c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.6.21/6089: #0: ffff8880261234c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.6.21/6090: #0: ffff8880261234c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by udevd/6096: #0: ffff88802602e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.7.22/6117: #0: ffff88802602e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.7.22/6118: #0: ffff88802602e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by udevd/6119: #0: ffff8880261924c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by udevd/6123: #0: ffff8880261274c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x41a/0xe20 block/bdev.c:904 1 lock held by syz.8.23/6140: #0: ffff8880261274c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.8.23/6141: #0: ffff8880261274c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.9.24/6161: #0: ffff8880261924c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 1 lock held by syz.9.24/6162: #0: ffff8880261924c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x15a/0x6d0 block/bdev.c:1087 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 61 Comm: kworker/u8:4 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:task_irq_context kernel/locking/lockdep.c:4655 [inline] RIP: 0010:__lock_acquire+0x351/0x3ce0 kernel/locking/lockdep.c:5139 Code: c4 0a 00 00 45 31 e4 48 89 fa 49 89 45 18 65 8b 05 6c 2a 98 7e 85 c0 48 89 7c 24 38 48 b8 00 00 00 00 00 fc ff df 41 0f 95 c4 <48> c1 ea 03 0f b6 14 02 48 89 f8 45 01 e4 83 e0 07 83 c0 03 38 d0 RSP: 0018:ffffc900015c7928 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff1100362616a RDX: ffff88801b130ac4 RSI: 0000000000000022 RDI: ffff88801b130ac4 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000000f R11: 0000000000000002 R12: 0000000000000000 R13: ffff88801b130b58 R14: 0000000000000022 R15: ffff88801b130000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555582125c8 CR3: 000000000df7c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:754 [inline] batadv_iv_ogm_schedule_buff+0x5ac/0x14d0 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+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244