forked to background, child pid 6080 [ 13.342869][ T6081] 8021q: adding VLAN 0 to HW filter on device bond0 [ 13.348953][ T6081] eql: remember to turn off Van-Jacobson compression on your slave devices [ 13.390924][ T44] gve 0000:00:00.0 enp0s0: Device link is up. Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.77' (ED25519) to the list of known hosts. executing program syzkaller login: [ 33.895965][ T6405] loop0: detected capacity change from 0 to 64 [ 33.915870][ T5992] ------------[ cut here ]------------ [ 33.915943][ T5992] [ 33.915947][ T5992] ====================================================== [ 33.915951][ T5992] WARNING: possible circular locking dependency detected [ 33.915956][ T5992] 6.11.0-rc7-syzkaller-g5f5673607153 #0 Not tainted [ 33.915962][ T5992] ------------------------------------------------------ [ 33.915967][ T5992] kworker/0:2/5992 is trying to acquire lock: [ 33.915972][ T5992] ffff80008f7436e0 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x88/0xec [ 33.916007][ T5992] [ 33.916007][ T5992] but task is already holding lock: [ 33.916010][ T5992] ffff0001b36ade18 (&pool->lock){-.-.}-{2:2}, at: __flush_work+0x178/0x954 [ 33.916032][ T5992] [ 33.916032][ T5992] which lock already depends on the new lock. [ 33.916032][ T5992] [ 33.916036][ T5992] [ 33.916036][ T5992] the existing dependency chain (in reverse order) is: [ 33.916039][ T5992] [ 33.916039][ T5992] -> #3 (&pool->lock){-.-.}-{2:2}: [ 33.916054][ T5992] _raw_spin_lock+0x48/0x60 [ 33.916066][ T5992] __queue_work+0x8b0/0x1308 [ 33.916079][ T5992] queue_work_on+0xe0/0x1a0 [ 33.916090][ T5992] rpm_suspend+0xc20/0x1470 [ 33.916103][ T5992] rpm_idle+0x570/0x8c0 [ 33.916111][ T5992] __pm_runtime_idle+0x114/0x1d4 [ 33.916120][ T5992] __device_attach+0x34c/0x434 [ 33.916129][ T5992] device_initial_probe+0x24/0x34 [ 33.916138][ T5992] bus_probe_device+0x178/0x240 [ 33.916150][ T5992] device_add+0x728/0xa6c [ 33.916160][ T5992] serial_base_port_add+0x25c/0x370 [ 33.916172][ T5992] serial_core_register_port+0x2fc/0x1bf4 [ 33.916183][ T5992] serial_ctrl_register_port+0x28/0x38 [ 33.916194][ T5992] uart_add_one_port+0x28/0x38 [ 33.916205][ T5992] pl011_register_port+0x1b4/0x44c [ 33.916214][ T5992] sbsa_uart_probe+0x488/0x608 [ 33.916222][ T5992] platform_probe+0x148/0x1c0 [ 33.916233][ T5992] really_probe+0x38c/0x8fc [ 33.916242][ T5992] __driver_probe_device+0x194/0x374 [ 33.916251][ T5992] driver_probe_device+0x78/0x330 [ 33.916260][ T5992] __device_attach_driver+0x2a8/0x4f4 [ 33.916283][ T5992] bus_for_each_drv+0x228/0x2bc [ 33.916295][ T5992] __device_attach+0x2b4/0x434 [ 33.916303][ T5992] device_initial_probe+0x24/0x34 [ 33.916312][ T5992] bus_probe_device+0x178/0x240 [ 33.916324][ T5992] device_add+0x728/0xa6c [ 33.916333][ T5992] platform_device_add+0x3e8/0x6e8 [ 33.916343][ T5992] platform_device_register_full+0x4f0/0x608 [ 33.916354][ T5992] acpi_create_platform_device+0x5bc/0x744 [ 33.916366][ T5992] acpi_default_enumeration+0x6c/0xdc [ 33.916379][ T5992] acpi_bus_attach+0x804/0xad4 [ 33.916390][ T5992] acpi_dev_for_one_check+0xa0/0xb4 [ 33.916401][ T5992] device_for_each_child+0xec/0x174 [ 33.916412][ T5992] acpi_dev_for_each_child+0xc4/0x108 [ 33.916423][ T5992] acpi_bus_attach+0x868/0xad4 [ 33.916434][ T5992] acpi_dev_for_one_check+0xa0/0xb4 [ 33.916445][ T5992] device_for_each_child+0xec/0x174 [ 33.916456][ T5992] acpi_dev_for_each_child+0xc4/0x108 [ 33.916467][ T5992] acpi_bus_attach+0x868/0xad4 [ 33.916478][ T5992] acpi_bus_scan+0x118/0x4f0 [ 33.916489][ T5992] acpi_scan_init+0x214/0x6b0 [ 33.916500][ T5992] acpi_init+0x190/0x254 [ 33.916508][ T5992] do_one_initcall+0x24c/0x9c0 [ 33.916518][ T5992] do_initcall_level+0x154/0x214 [ 33.916528][ T5992] do_initcalls+0x58/0xac [ 33.916536][ T5992] do_basic_setup+0x8c/0xa0 [ 33.916545][ T5992] kernel_init_freeable+0x324/0x478 [ 33.916554][ T5992] kernel_init+0x24/0x2a0 [ 33.916565][ T5992] ret_from_fork+0x10/0x20 [ 33.916574][ T5992] [ 33.916574][ T5992] -> #2 (&dev->power.lock){-...}-{2:2}: [ 33.916589][ T5992] _raw_spin_lock_irqsave+0x5c/0x7c [ 33.916600][ T5992] __pm_runtime_resume+0xf0/0x180 [ 33.916608][ T5992] __uart_start+0x154/0x3d8 [ 33.916618][ T5992] uart_write+0x154/0x374 [ 33.916628][ T5992] n_tty_write+0xaec/0xed0 [ 33.916637][ T5992] file_tty_write+0x410/0x7b8 [ 33.916649][ T5992] redirected_tty_write+0xac/0x14c [ 33.916661][ T5992] vfs_write+0x940/0xc80 [ 33.916672][ T5992] ksys_write+0x15c/0x26c [ 33.916681][ T5992] __arm64_sys_write+0x7c/0x90 [ 33.916697][ T5992] invoke_syscall+0x98/0x2b8 [ 33.916706][ T5992] el0_svc_common+0x130/0x23c [ 33.916714][ T5992] do_el0_svc+0x48/0x58 [ 33.916722][ T5992] el0_svc+0x54/0x168 [ 33.916730][ T5992] el0t_64_sync_handler+0x84/0xfc [ 33.916739][ T5992] el0t_64_sync+0x190/0x194 [ 33.916747][ T5992] [ 33.916747][ T5992] -> #1 (&port_lock_key){....}-{2:2}: [ 33.916761][ T5992] _raw_spin_lock_irqsave+0x5c/0x7c [ 33.916772][ T5992] pl011_console_write+0x148/0x724 [ 33.916781][ T5992] console_flush_all+0x570/0xafc [ 33.916791][ T5992] console_unlock+0xfc/0x3d4 [ 33.916801][ T5992] vprintk_emit+0x224/0x3a4 [ 33.916810][ T5992] vprintk_default+0xa0/0xe4 [ 33.916820][ T5992] vprintk+0x200/0x2d4 [ 33.916830][ T5992] _printk+0xdc/0x128 [ 33.916840][ T5992] register_console+0x6e8/0xa74 [ 33.916850][ T5992] serial_core_register_port+0x1428/0x1bf4 [ 33.916860][ T5992] serial_ctrl_register_port+0x28/0x38 [ 33.916872][ T5992] uart_add_one_port+0x28/0x38 [ 33.916882][ T5992] pl011_register_port+0x1b4/0x44c [ 33.916891][ T5992] sbsa_uart_probe+0x488/0x608 [ 33.916899][ T5992] platform_probe+0x148/0x1c0 [ 33.916910][ T5992] really_probe+0x38c/0x8fc [ 33.916918][ T5992] __driver_probe_device+0x194/0x374 [ 33.916928][ T5992] driver_probe_device+0x78/0x330 [ 33.916937][ T5992] __device_attach_driver+0x2a8/0x4f4 [ 33.916946][ T5992] bus_for_each_drv+0x228/0x2bc [ 33.916957][ T5992] __device_attach+0x2b4/0x434 [ 33.916966][ T5992] device_initial_probe+0x24/0x34 [ 33.916975][ T5992] bus_probe_device+0x178/0x240 [ 33.916986][ T5992] device_add+0x728/0xa6c [ 33.916996][ T5992] platform_device_add+0x3e8/0x6e8 [ 33.917006][ T5992] platform_device_register_full+0x4f0/0x608 [ 33.917017][ T5992] acpi_create_platform_device+0x5bc/0x744 [ 33.917027][ T5992] acpi_default_enumeration+0x6c/0xdc [ 33.917039][ T5992] acpi_bus_attach+0x804/0xad4 [ 33.917051][ T5992] acpi_dev_for_one_check+0xa0/0xb4 [ 33.917062][ T5992] device_for_each_child+0xec/0x174 [ 33.917072][ T5992] acpi_dev_for_each_child+0xc4/0x108 [ 33.917083][ T5992] acpi_bus_attach+0x868/0xad4 [ 33.917095][ T5992] acpi_dev_for_one_check+0xa0/0xb4 [ 33.917106][ T5992] device_for_each_child+0xec/0x174 [ 33.917116][ T5992] acpi_dev_for_each_child+0xc4/0x108 [ 33.917127][ T5992] acpi_bus_attach+0x868/0xad4 [ 33.917139][ T5992] acpi_bus_scan+0x118/0x4f0 [ 33.917150][ T5992] acpi_scan_init+0x214/0x6b0 [ 33.917158][ T5992] acpi_init+0x190/0x254 [ 33.917167][ T5992] do_one_initcall+0x24c/0x9c0 [ 33.917176][ T5992] do_initcall_level+0x154/0x214 [ 33.917185][ T5992] do_initcalls+0x58/0xac [ 33.917193][ T5992] do_basic_setup+0x8c/0xa0 [ 33.917202][ T5992] kernel_init_freeable+0x324/0x478 [ 33.917212][ T5992] kernel_init+0x24/0x2a0 [ 33.917221][ T5992] ret_from_fork+0x10/0x20 [ 33.917230][ T5992] [ 33.917230][ T5992] -> #0 (console_owner){....}-{0:0}: [ 33.917244][ T5992] __lock_acquire+0x33d8/0x779c [ 33.917254][ T5992] lock_acquire+0x240/0x728 [ 33.917263][ T5992] console_lock_spinning_enable+0xb4/0xec [ 33.917280][ T5992] console_flush_all+0x53c/0xafc [ 33.917290][ T5992] console_unlock+0xfc/0x3d4 [ 33.917299][ T5992] vprintk_emit+0x224/0x3a4 [ 33.917309][ T5992] vprintk_default+0xa0/0xe4 [ 33.917318][ T5992] vprintk+0x200/0x2d4 [ 33.917328][ T5992] _printk+0xdc/0x128 [ 33.917337][ T5992] __warn_printk+0x27c/0x484 [ 33.917349][ T5992] check_flush_dependency+0x27c/0x330 [ 33.917358][ T5992] __flush_work+0x21c/0x954 [ 33.917366][ T5992] flush_delayed_work+0xcc/0xf8 [ 33.917374][ T5992] hfs_file_fsync+0xec/0x148 [ 33.917385][ T5992] vfs_fsync_range+0x168/0x188 [ 33.917396][ T5992] dio_complete+0x4f0/0x65c [ 33.917406][ T5992] dio_aio_complete_work+0x28/0x38 [ 33.917417][ T5992] process_one_work+0x79c/0x15b8 [ 33.917426][ T5992] worker_thread+0x978/0xec4 [ 33.917436][ T5992] kthread+0x288/0x310 [ 33.917445][ T5992] ret_from_fork+0x10/0x20 [ 33.917454][ T5992] [ 33.917454][ T5992] other info that might help us debug this: [ 33.917454][ T5992] [ 33.917458][ T5992] Chain exists of: [ 33.917458][ T5992] console_owner --> &dev->power.lock --> &pool->lock [ 33.917458][ T5992] [ 33.917473][ T5992] Possible unsafe locking scenario: [ 33.917473][ T5992] [ 33.917477][ T5992] CPU0 CPU1 [ 33.917480][ T5992] ---- ---- [ 33.917482][ T5992] lock(&pool->lock); [ 33.917489][ T5992] lock(&dev->power.lock); [ 33.917496][ T5992] lock(&pool->lock); [ 33.917504][ T5992] lock(console_owner); [ 33.917510][ T5992] [ 33.917510][ T5992] *** DEADLOCK *** [ 33.917510][ T5992] [ 33.917513][ T5992] 7 locks held by kworker/0:2/5992: [ 33.917520][ T5992] #0: ffff0000cc19e148 ((wq_completion)dio/loop0){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 [ 33.917545][ T5992] #1: ffff8000a2e57c20 ((work_completion)(&dio->complete_work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 [ 33.917571][ T5992] #2: ffff0000c5989620 (&sb->s_type->i_mutex_key#16){+.+.}-{3:3}, at: hfs_file_fsync+0xa0/0x148 [ 33.917599][ T5992] #3: ffff80008f74dfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x10/0x4c [ 33.917624][ T5992] #4: ffff0001b36ade18 (&pool->lock){-.-.}-{2:2}, at: __flush_work+0x178/0x954 [ 33.917647][ T5992] #5: ffff80008f62b000 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x208/0x3a4 [ 33.917671][ T5992] #6: ffff80008f62ac30 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire+0x10/0x4c [ 33.917700][ T5992] [ 33.917700][ T5992] stack backtrace: [ 33.917704][ T5992] CPU: 0 UID: 0 PID: 5992 Comm: kworker/0:2 Not tainted 6.11.0-rc7-syzkaller-g5f5673607153 #0 [ 33.917717][ T5992] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 33.917725][ T5992] Workqueue: dio/loop0 dio_aio_complete_work [ 33.917736][ T5992] Call trace: [ 33.917739][ T5992] dump_backtrace+0x1b8/0x1e4 [ 33.917749][ T5992] show_stack+0x2c/0x3c [ 33.917757][ T5992] dump_stack_lvl+0xe4/0x150 [ 33.917769][ T5992] dump_stack+0x1c/0x28 [ 33.917780][ T5992] print_circular_bug+0x150/0x1b8 [ 33.917789][ T5992] check_noncircular+0x310/0x404 [ 33.917798][ T5992] __lock_acquire+0x33d8/0x779c [ 33.917807][ T5992] lock_acquire+0x240/0x728 [ 33.917815][ T5992] console_lock_spinning_enable+0xb4/0xec [ 33.917826][ T5992] console_flush_all+0x53c/0xafc [ 33.917836][ T5992] console_unlock+0xfc/0x3d4 [ 33.917845][ T5992] vprintk_emit+0x224/0x3a4 [ 33.917855][ T5992] vprintk_default+0xa0/0xe4 [ 33.917864][ T5992] vprintk+0x200/0x2d4 [ 33.917874][ T5992] _printk+0xdc/0x128 [ 33.917883][ T5992] __warn_printk+0x27c/0x484 [ 33.917893][ T5992] check_flush_dependency+0x27c/0x330 [ 33.917902][ T5992] __flush_work+0x21c/0x954 [ 33.917910][ T5992] flush_delayed_work+0xcc/0xf8 [ 33.917918][ T5992] hfs_file_fsync+0xec/0x148 [ 33.917928][ T5992] vfs_fsync_range+0x168/0x188 [ 33.917938][ T5992] dio_complete+0x4f0/0x65c [ 33.917947][ T5992] dio_aio_complete_work+0x28/0x38 [ 33.917958][ T5992] process_one_work+0x79c/0x15b8 [ 33.917967][ T5992] worker_thread+0x978/0xec4 [ 33.917976][ T5992] kthread+0x288/0x310 [ 33.917984][ T5992] ret_from_fork+0x10/0x20 [ 34.175405][ T5992] workqueue: WQ_MEM_RECLAIM dio/loop0:dio_aio_complete_work is flushing !WQ_MEM_RECLAIM events_long:flush_mdb [ 34.175468][ T5992] WARNING: CPU: 0 PID: 5992 at kernel/workqueue.c:3706 check_flush_dependency+0x27c/0x330 [ 34.180457][ T5992] Modules linked in: [ 34.181428][ T5992] CPU: 0 UID: 0 PID: 5992 Comm: kworker/0:2 Not tainted 6.11.0-rc7-syzkaller-g5f5673607153 #0 [ 34.183640][ T5992] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 34.186111][ T5992] Workqueue: dio/loop0 dio_aio_complete_work [ 34.187419][ T5992] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 34.189168][ T5992] pc : check_flush_dependency+0x27c/0x330 [ 34.190451][ T5992] lr : check_flush_dependency+0x27c/0x330 [ 34.191908][ T5992] sp : ffff8000a2e57790 [ 34.192877][ T5992] x29: ffff8000a2e57790 x28: 0000000000000000 x27: 1fffe0001858492b [ 34.194770][ T5992] x26: 0000000000000000 x25: ffff8000927b6000 x24: ffff0000cc19e000 [ 34.196734][ T5992] x23: dfff800000000000 x22: ffff0000d12a2e18 x21: ffff0000cc19e170 [ 34.198527][ T5992] x20: ffff800081211778 x19: ffff0000c0029000 x18: 0000000000000008 [ 34.200391][ T5992] x17: 0000000000000000 x16: ffff800083032784 x15: 0000000000000001 [ 34.202256][ T5992] x14: 1fffe000366d325a x13: 0000000000000000 x12: 0000000000000000 [ 34.204038][ T5992] x11: 0000000000000003 x10: 0000000000ff0100 x9 : 9770cdebfc84a400 [ 34.205822][ T5992] x8 : 9770cdebfc84a400 x7 : 0000000000000001 x6 : 0000000000000001 [ 34.208064][ T5992] x5 : ffff8000a2e56ed8 x4 : ffff80008f65b620 x3 : ffff8000806051a0 [ 34.210545][ T5992] x2 : 0000000000000001 x1 : 0000000100000001 x0 : 0000000000000000 [ 34.212506][ T5992] Call trace: [ 34.213244][ T5992] check_flush_dependency+0x27c/0x330 [ 34.214513][ T5992] __flush_work+0x21c/0x954 [ 34.215596][ T5992] flush_delayed_work+0xcc/0xf8 [ 34.216727][ T5992] hfs_file_fsync+0xec/0x148 [ 34.217762][ T5992] vfs_fsync_range+0x168/0x188 [ 34.218717][ T5992] dio_complete+0x4f0/0x65c [ 34.219624][ T5992] dio_aio_complete_work+0x28/0x38 [ 34.220921][ T5992] process_one_work+0x79c/0x15b8 [ 34.222073][ T5992] worker_thread+0x978/0xec4 [ 34.223120][ T5992] kthread+0x288/0x310 [ 34.224104][ T5992] ret_from_fork+0x10/0x20 [ 34.225066][ T5992] irq event stamp: 73714 [ 34.226026][ T5992] hardirqs last enabled at (73713): [] exit_to_kernel_mode+0xdc/0x10c [ 34.228339][ T5992] hardirqs last disabled at (73714): [] _raw_spin_lock_irq+0x28/0x70 [ 34.230596][ T5992] softirqs last enabled at (73712): [] handle_softirqs+0xa3c/0xbfc [ 34.233018][ T5992] softirqs last disabled at (73693): [] __do_softirq+0x14/0x20 [ 34.235204][ T5992] ---[ end trace 0000000000000000 ]---