INFO: task kworker/0:2:781 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:2 state:D stack:21776 pid:781 tgid:781 ppid:2 flags:0x00004000 Workqueue: xfs-sync/loop2 xfs_flush_inodes_worker Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 wb_wait_for_completion+0x166/0x290 fs/fs-writeback.c:217 sync_inodes_sb+0x293/0xb20 fs/fs-writeback.c:2783 xfs_flush_inodes_worker+0x61/0x80 fs/xfs/xfs_super.c:616 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz-executor.2:10652 blocked for more than 144 seconds. Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24664 pid:10652 tgid:10652 ppid:9714 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 coredump_task_exit kernel/exit.c:439 [inline] do_exit+0x56f/0x27e0 kernel/exit.c:832 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 get_signal+0x16a1/0x1740 kernel/signal.c:2911 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f312707dea9 RSP: 002b:00007fff951c40f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffdfc RBX: 0000000000000032 RCX: 00007f312707dea9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f31271abf8c RBP: 00007f31271abf8c R08: 00007f3127d520b0 R09: 00007fff951c4120 R10: 00007fff951c4280 R11: 0000000000000246 R12: 0000000000069f43 R13: 0000000000069f11 R14: 00007fff951c42a0 R15: 00007f3127034cb0 INFO: task syz-executor.2:10653 blocked for more than 144 seconds. Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:22064 pid:10653 tgid:10652 ppid:9714 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2558 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_work+0xa7b/0xc90 kernel/workqueue.c:4205 xfs_file_buffered_write+0x36b/0xad0 fs/xfs/xfs_file.c:808 __kernel_write_iter+0x437/0x8c0 fs/read_write.c:523 dump_emit_page fs/coredump.c:890 [inline] dump_user_range+0x4e0/0x950 fs/coredump.c:951 elf_core_dump+0x3d5e/0x4630 fs/binfmt_elf.c:2077 do_coredump+0x1bad/0x2b50 fs/coredump.c:764 get_signal+0x13fa/0x1740 kernel/signal.c:2896 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f312707dea9 RSP: 002b:00007f3127d510c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffe5 RBX: 00007f31271abf80 RCX: 00007f312707dea9 RDX: 0000000000000001 RSI: 0000000020000000 RDI: 000000000000000a RBP: 00007f31270ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 000004010000bffd R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f31271abf80 R15: 00007fff951c4018 INFO: task syz-executor.2:10674 blocked for more than 145 seconds. Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:23696 pid:10674 tgid:10652 ppid:9714 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 coredump_task_exit kernel/exit.c:439 [inline] do_exit+0x56f/0x27e0 kernel/exit.c:832 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 get_signal+0x16a1/0x1740 kernel/signal.c:2911 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f312707dea9 RSP: 002b:00007f3127d30178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f31271ac058 RCX: 00007f312707dea9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f31271ac058 RBP: 00007f31271ac050 R08: 00007f3127d306c0 R09: 00007f3127d306c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f31271ac05c R13: 000000000000006e R14: 00007fff951c3f30 R15: 00007fff951c4018 Showing all locks held in the system: 3 locks held by kworker/0:0/7: #0: ffff8880186cb148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] ffff8880186cb148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc900000c7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc900000c7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffff888023d85190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff888023d85190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 1 lock held by khungtaskd/29: #0: ffffffff8e334d20 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] , at: rcu_read_lock include/linux/rcupdate.h:781 [inline] , at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 4 locks held by kworker/u8:4/62: #0: ffff88801b2ec148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff88801b2ec148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc900015d7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc900015d7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffff88802d87c610 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x267/0x1330 fs/xfs/libxfs/xfs_bmap.c:4625 #3: ffff8880782fd658 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x295/0x1330 fs/xfs/libxfs/xfs_bmap.c:4630 4 locks held by kworker/0:2/781: #0: ffff888061269548 ((wq_completion)xfs-sync/loop2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888061269548 ((wq_completion)xfs-sync/loop2){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc9000384fd00 ((work_completion)(&mp->m_flush_inodes_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc9000384fd00 ((work_completion)(&mp->m_flush_inodes_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffff88802d87c0e0 (&type->s_umount_key#61){++++}-{3:3}, at: xfs_flush_inodes_worker+0x45/0x80 fs/xfs/xfs_super.c:615 #3: ffff8880205347d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:389 [inline] #3: ffff8880205347d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2781 4 locks held by kworker/u8:8/2798: #0: ffff888015ecd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888015ecd948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc90009a77d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc90009a77d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffffffff8f59a7d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:591 #3: ffff888063b770e8 (&dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:990 [inline] , at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] , at: devlink_pernet_pre_exit+0x13b/0x440 net/devlink/core.c:506 2 locks held by getty/4842: #0: ffff88802a9e10a0 ( &tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/0:8/5166: #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc90002eefd00 ( (linkwatch_work).work ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3230 [inline] , at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffffffff8f5a6ec8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by kworker/u8:10/7097: #0: ffff88802a06f948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff88802a06f948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc9000342fd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc9000342fd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffffffff8f5a6ec8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4192 2 locks held by kworker/1:4/10356: 2 locks held by syz-executor.2/10653: #0: ffff88802d87c420 (sb_writers#22){.+.+}-{0:0}, at: do_coredump+0x1b79/0x2b50 fs/coredump.c:763 #1: ffff8880782fd878 (&sb->s_type->i_mutex_key#28){++++}-{3:3}, at: xfs_ilock+0x102/0x3d0 fs/xfs/xfs_inode.c:190 1 lock held by syz-executor.2/11489: #0: ffffffff8f5a6ec8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5a6ec8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 1 lock held by syz-executor.4/11587: #0: ffffffff8f5a6ec8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5a6ec8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 7 locks held by syz-executor.0/11819: #0: ffff88802fe1a420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2855 [inline] #0: ffff88802fe1a420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586 #1: ffff88807c18e088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff88802261d878 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8eee4a08 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff888063b770e8 ( &dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] &dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] &dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1290 #5: ffff88806093f250 (&devlink->lock_key#24){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8f5a6ec8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x40/0x260 drivers/net/netdevsim/netdev.c:451 2 locks held by syz-executor.3/11862: #0: ffffffff8f5a6ec8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f5a6ec8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x10d0 net/core/rtnetlink.c:6592 #1: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #1: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #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+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/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 PID: 10356 Comm: kworker/1:4 Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: xfs-buf/loop2 xfs_buf_ioend_work RIP: 0010:io_serial_out+0x7e/0xc0 drivers/tty/serial/8250/8250_port.c:413 Code: fc 89 e9 41 d3 e7 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 9c 77 be fc 44 03 3b 44 89 f0 44 89 fa ee <5b> 41 5c 41 5e 41 5f 5d e9 e0 54 74 06 89 e9 80 e1 07 38 c1 7c a7 RSP: 0018:ffffc9000501f1b0 EFLAGS: 00000002 RAX: 000000000000005b RBX: ffffffff94a599e0 RCX: 0000000000000000 RDX: 00000000000003f8 RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff853bebeb R09: 1ffff11003fbc046 R10: dffffc0000000000 R11: ffffffff853beba0 R12: dffffc0000000000 R13: 000000000000005b R14: 000000000000005b R15: 00000000000003f8 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00086b608 CR3: 000000000e134000 CR4: 0000000000350ef0 Call Trace: serial8250_console_write+0x1214/0x1770 drivers/tty/serial/8250/8250_port.c:3396 console_emit_next_record kernel/printk/printk.c:2913 [inline] console_flush_all+0x867/0xfd0 kernel/printk/printk.c:2979 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3048 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2348 _printk+0xd5/0x120 kernel/printk/printk.c:2373 print_hex_dump+0x1a6/0x250 lib/hexdump.c:285 xfs_hex_dump+0x3d/0x50 fs/xfs/xfs_message.c:110 xfs_buf_verifier_error+0x1ce/0x2a0 fs/xfs/xfs_error.c:460 xfs_agfl_read_verify+0x1eb/0x2a0 fs/xfs/libxfs/xfs_alloc.c:732 xfs_buf_ioend+0x28a/0x730 fs/xfs/xfs_buf.c:1376 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f2/0x390 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244