INFO: task syz-executor.5:11493 blocked for more than 143 seconds. Not tainted 6.5.0-syzkaller-01207-g1c59d383390f #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27456 pid:11493 ppid:5066 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_timeout+0x27a/0x2c0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e2/0x5f0 kernel/sched/completion.c:116 __flush_workqueue+0x3e9/0x1330 kernel/workqueue.c:3177 nbd_start_device_ioctl drivers/block/nbd.c:1426 [inline] __nbd_ioctl drivers/block/nbd.c:1486 [inline] nbd_ioctl+0x308/0xc50 drivers/block/nbd.c:1526 blkdev_ioctl+0x2f9/0x770 block/ioctl.c:628 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd390c7cae9 RSP: 002b:00007fd38f7fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd390d9bf80 RCX: 00007fd390c7cae9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000006 RBP: 00007fd390cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fd390d9bf80 R15: 00007ffe57970bb8 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c9a7d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4786: #0: ffff8880287c1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002c912f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 2 locks held by kworker/u5:7/5079: #0: ffff88801f2a9938 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff88801f2a9938 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff88801f2a9938 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff88801f2a9938 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff88801f2a9938 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:678 [inline] #0: ffff88801f2a9938 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:705 [inline] #0: ffff88801f2a9938 ((wq_completion)nbd5-recv){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2570 #1: ffffc90004c0fd80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2574 2 locks held by kworker/u5:2/7987: #0: ffff888141338938 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff888141338938 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff888141338938 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff888141338938 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff888141338938 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:678 [inline] #0: ffff888141338938 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:705 [inline] #0: ffff888141338938 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2570 #1: ffffc900174dfd80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2574 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.5.0-syzkaller-01207-g1c59d383390f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/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/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2ac/0x310 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+0xfab/0x1230 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 35 Comm: kworker/u4:2 Not tainted 6.5.0-syzkaller-01207-g1c59d383390f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:67 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:127 [inline] RIP: 0010:net_rx_action+0x1af/0xe90 net/core/dev.c:6634 Code: c1 e8 03 4a 8d 2c 30 48 89 6c 24 60 4c 89 fd 49 89 cf e8 84 79 5c f9 0f b6 45 00 84 c0 74 06 0f 8e d7 0b 00 00 41 c6 47 78 01 <9c> 41 5c 41 81 e4 00 02 00 00 fa 31 ff 4c 89 e6 e8 ec 74 5c f9 4d RSP: 0018:ffffc90000007dd0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff92000000fc9 RCX: 0000000000000100 RDX: ffff888017e5bb80 RSI: ffffffff8829f60c RDI: 0000000000000005 RBP: ffffed1017307b57 R08: 0000000000000005 R09: 00000000ffffb1e0 R10: 0000000000004e20 R11: ffffc90000007ff8 R12: 0000000000000000 R13: ffff8880b983dab8 R14: dffffc0000000000 R15: ffff8880b983da40 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe2f1377978 CR3: 000000000c776000 CR4: 0000000000350ef0 Call Trace: __do_softirq+0x218/0x965 kernel/softirq.c:553 do_softirq kernel/softirq.c:454 [inline] do_softirq+0xaa/0xe0 kernel/softirq.c:441 __local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:381 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:819 [inline] __dev_queue_xmit+0xb1d/0x3f20 net/core/dev.c:4230 dev_queue_xmit include/linux/netdevice.h:3088 [inline] batadv_send_skb_packet+0x52a/0x6b0 net/batman-adv/send.c:108 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:392 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:420 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x708/0x8c0 net/batman-adv/bat_iv_ogm.c:1700 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2600 worker_thread+0x687/0x1110 kernel/workqueue.c:2751 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304