INFO: task syz-executor.5:9295 blocked for more than 143 seconds. Not tainted 6.7.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28208 pid:9295 tgid:9289 ppid:5098 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 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x5b9/0x9d0 kernel/locking/mutex.c:747 blkdev_put+0xb0/0x8e0 block/bdev.c:930 bdev_release+0x4f/0x80 block/bdev.c:954 blkdev_release+0x37/0x50 block/fops.c:616 __fput+0x270/0xb70 fs/file_table.c:394 task_work_run+0x14d/0x240 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x217/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:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f22e5e7cce9 RSP: 002b:00007f22e6c550c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f22e5f9c050 RCX: 00007f22e5e7cce9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f22e5ec947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f22e5f9c050 R15: 00007ffe94d3cc38 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfab760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by kworker/u4:4/58: #0: ffff8880b993c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9928888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 2 locks held by getty/4816: #0: ffff88814b7b60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc6/0x1490 drivers/tty/n_tty.c:2201 1 lock held by udevd/5116: #0: ffff88801cd9f4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4ea/0xb10 block/bdev.c:788 5 locks held by kworker/1:4/5155: #0: ffff8880b993c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9928888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 #2: ffffffff8cfab700 (rcu_read_lock_bh){....}-{1:2}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #2: ffffffff8cfab700 (rcu_read_lock_bh){....}-{1:2}, at: rcu_read_lock_bh include/linux/rcupdate.h:799 [inline] #2: ffffffff8cfab700 (rcu_read_lock_bh){....}-{1:2}, at: keep_key_fresh drivers/net/wireguard/send.c:129 [inline] #2: ffffffff8cfab700 (rcu_read_lock_bh){....}-{1:2}, at: wg_packet_create_data_done drivers/net/wireguard/send.c:259 [inline] #2: ffffffff8cfab700 (rcu_read_lock_bh){....}-{1:2}, at: wg_packet_tx_worker+0x238/0x810 drivers/net/wireguard/send.c:276 #3: ffffffff8cfd7a48 (tk_core.seq.seqcount){----}-{0:0}, at: ktime_get_coarse_boottime include/linux/timekeeping.h:100 [inline] #3: ffffffff8cfd7a48 (tk_core.seq.seqcount){----}-{0:0}, at: ktime_get_coarse_boottime_ns include/linux/timekeeping.h:136 [inline] #3: ffffffff8cfd7a48 (tk_core.seq.seqcount){----}-{0:0}, at: wg_birthdate_has_expired drivers/net/wireguard/timers.h:28 [inline] #3: ffffffff8cfd7a48 (tk_core.seq.seqcount){----}-{0:0}, at: keep_key_fresh drivers/net/wireguard/send.c:134 [inline] #3: ffffffff8cfd7a48 (tk_core.seq.seqcount){----}-{0:0}, at: wg_packet_create_data_done drivers/net/wireguard/send.c:259 [inline] #3: ffffffff8cfd7a48 (tk_core.seq.seqcount){----}-{0:0}, at: wg_packet_tx_worker+0x63c/0x810 drivers/net/wireguard/send.c:276 #4: ffffffff8cfab700 (rcu_read_lock_bh){....}-{1:2}, at: local_bh_disable include/linux/bottom_half.h:20 [inline] #4: ffffffff8cfab700 (rcu_read_lock_bh){....}-{1:2}, at: rcu_read_lock_bh include/linux/rcupdate.h:799 [inline] #4: ffffffff8cfab700 (rcu_read_lock_bh){....}-{1:2}, at: wg_packet_consume_data drivers/net/wireguard/receive.c:515 [inline] #4: ffffffff8cfab700 (rcu_read_lock_bh){....}-{1:2}, at: wg_packet_receive+0xa2a/0x2190 drivers/net/wireguard/receive.c:576 1 lock held by syz-executor.5/9295: #0: ffff88801cd9f4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xb0/0x8e0 block/bdev.c:930 1 lock held by syz-executor.5/9366: #0: ffff88801cd9f4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4ea/0xb10 block/bdev.c:788 1 lock held by syz-executor.5/9421: #0: ffff88801cd9f4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4ea/0xb10 block/bdev.c:788 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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: 2449 Comm: kworker/u4:7 Not tainted 6.7.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:__might_resched+0x3d9/0x5e0 kernel/sched/core.c:10115 Code: 27 cc 8a 48 c7 c7 20 28 cc 8a e8 12 24 10 00 e8 2d 91 11 09 31 f6 bf 09 00 00 00 e8 71 98 f3 ff e9 38 fd ff ff 9c 58 f6 c4 02 <0f> 84 f1 fc ff ff 65 4c 8b 34 25 c0 bc 03 00 49 8d 7e 2c 48 b8 00 RSP: 0018:ffffc9000973fc68 EFLAGS: 00000202 RAX: 0000000000000246 RBX: 1ffff920012e7f8f RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8accb1a0 RDI: ffff88802539843c RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000002 R12: ffffffff8acba460 R13: 0000000000000a5e R14: 0000000000000000 R15: ffff888025398000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c002a0a4c0 CR3: 000000000cd77000 CR4: 0000000000350ef0 Call Trace: process_one_work+0xa04/0x15d0 kernel/workqueue.c:2654 process_scheduled_works kernel/workqueue.c:2700 [inline] worker_thread+0x8b9/0x1290 kernel/workqueue.c:2781 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