[ 100.884865][ T73] [ 100.885870][ T73] ====================================================== [ 100.888493][ T73] WARNING: possible circular locking dependency detected [ 100.891170][ T73] 6.12.0-syzkaller-10296-gaaf20f870da0 #0 Not tainted [ 100.893750][ T73] ------------------------------------------------------ [ 100.896458][ T73] kswapd0/73 is trying to acquire lock: [ 100.898612][ T73] ffff888034e01438 (&q->q_usage_counter(io)#37){++++}-{0:0}, at: __submit_bio+0x2c6/0x560 [ 100.902456][ T73] [ 100.902456][ T73] but task is already holding lock: [ 100.905272][ T73] ffffffff8ea3f520 (fs_reclaim){+.+.}-{0:0}, at: kswapd+0xbf1/0x3700 [ 100.908293][ T73] [ 100.908293][ T73] which lock already depends on the new lock. [ 100.908293][ T73] [ 100.912173][ T73] [ 100.912173][ T73] the existing dependency chain (in reverse order) is: [ 100.915541][ T73] [ 100.915541][ T73] -> #1 (fs_reclaim){+.+.}-{0:0}: [ 100.918350][ T73] lock_acquire+0x1ed/0x550 [ 100.920352][ T73] fs_reclaim_acquire+0x88/0x130 [ 100.922437][ T73] __kmalloc_node_noprof+0xb2/0x4d0 [ 100.924674][ T73] __kvmalloc_node_noprof+0x72/0x190 [ 100.926987][ T73] sbitmap_init_node+0x2d4/0x670 [ 100.929076][ T73] scsi_realloc_sdev_budget_map+0x2a7/0x460 [ 100.931582][ T73] scsi_probe_and_add_lun+0x3173/0x4bd0 [ 100.933973][ T73] __scsi_add_device+0x228/0x2f0 [ 100.936090][ T73] ata_scsi_scan_host+0x236/0x740 [ 100.938208][ T73] async_run_entry_fn+0xa8/0x420 [ 100.940288][ T73] process_scheduled_works+0xa63/0x1850 [ 100.942594][ T73] worker_thread+0x870/0xd30 [ 100.944614][ T73] kthread+0x2f0/0x390 [ 100.946421][ T73] ret_from_fork+0x4b/0x80 [ 100.948296][ T73] ret_from_fork_asm+0x1a/0x30 [ 100.950319][ T73] [ 100.950319][ T73] -> #0 (&q->q_usage_counter(io)#37){++++}-{0:0}: [ 100.953603][ T73] validate_chain+0x18ef/0x5920 [ 100.955684][ T73] __lock_acquire+0x1397/0x2100 [ 100.957728][ T73] lock_acquire+0x1ed/0x550 [ 100.959528][ T73] blk_mq_submit_bio+0x1536/0x23a0 [ 100.961700][ T73] __submit_bio+0x2c6/0x560 [ 100.963683][ T73] submit_bio_noacct_nocheck+0x4d3/0xe30 [ 100.966098][ T73] __swap_writepage+0x5fc/0x1400 [ 100.968133][ T73] swap_writepage+0x8f4/0x1170 [ 100.970197][ T73] shrink_folio_list+0x3c0e/0x8cc0 [ 100.972410][ T73] evict_folios+0x5568/0x7be0 [ 100.974438][ T73] try_to_shrink_lruvec+0x9a6/0xc70 [ 100.976672][ T73] shrink_one+0x3b9/0x850 [ 100.978565][ T73] shrink_node+0x37c5/0x3e50 [ 100.980579][ T73] kswapd+0x1ca9/0x3700 [ 100.982370][ T73] kthread+0x2f0/0x390 [ 100.984012][ T73] ret_from_fork+0x4b/0x80 [ 100.985752][ T73] ret_from_fork_asm+0x1a/0x30 [ 100.987664][ T73] [ 100.987664][ T73] other info that might help us debug this: [ 100.987664][ T73] [ 100.991357][ T73] Possible unsafe locking scenario: [ 100.991357][ T73] [ 100.994064][ T73] CPU0 CPU1 [ 100.996102][ T73] ---- ---- [ 100.998150][ T73] lock(fs_reclaim); [ 100.999711][ T73] lock(&q->q_usage_counter(io)#37); [ 101.002679][ T73] lock(fs_reclaim); [ 101.005235][ T73] rlock(&q->q_usage_counter(io)#37); [ 101.007335][ T73] [ 101.007335][ T73] *** DEADLOCK *** [ 101.007335][ T73] [ 101.010400][ T73] 1 lock held by kswapd0/73: [ 101.012183][ T73] #0: ffffffff8ea3f520 (fs_reclaim){+.+.}-{0:0}, at: kswapd+0xbf1/0x3700 [ 101.015395][ T73] [ 101.015395][ T73] stack backtrace: [ 101.017609][ T73] CPU: 0 UID: 0 PID: 73 Comm: kswapd0 Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 #0 [ 101.021450][ T73] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 101.025503][ T73] Call Trace: [ 101.026800][ T73] [ 101.027912][ T73] dump_stack_lvl+0x241/0x360 [ 101.029767][ T73] ? __pfx_dump_stack_lvl+0x10/0x10 [ 101.031769][ T73] ? __pfx__printk+0x10/0x10 [ 101.033643][ T73] print_circular_bug+0x13a/0x1b0 [ 101.035560][ T73] check_noncircular+0x36a/0x4a0 [ 101.037559][ T73] ? __pfx_check_noncircular+0x10/0x10 [ 101.039660][ T73] ? lockdep_lock+0x123/0x2b0 [ 101.041425][ T73] ? __pfx_validate_chain+0x10/0x10 [ 101.043314][ T73] ? validate_chain+0x11e/0x5920 [ 101.045230][ T73] validate_chain+0x18ef/0x5920 [ 101.047130][ T73] ? deref_stack_reg+0x17c/0x210 [ 101.048986][ T73] ? validate_chain+0x11e/0x5920 [ 101.050870][ T73] ? __pfx_validate_chain+0x10/0x10 [ 101.052828][ T73] ? validate_chain+0x11e/0x5920 [ 101.054590][ T73] ? validate_chain+0x11e/0x5920 [ 101.056426][ T73] ? __lock_acquire+0x1397/0x2100 [ 101.058360][ T73] ? __pfx_validate_chain+0x10/0x10 [ 101.060331][ T73] ? mark_lock+0x9a/0x360 [ 101.062040][ T73] __lock_acquire+0x1397/0x2100 [ 101.063967][ T73] lock_acquire+0x1ed/0x550 [ 101.065752][ T73] ? __submit_bio+0x2c6/0x560 [ 101.067582][ T73] ? __pfx_lock_acquire+0x10/0x10 [ 101.069466][ T73] ? blk_mq_submit_bio+0x482/0x23a0 [ 101.071325][ T73] ? __pfx_lock_release+0x10/0x10 [ 101.073160][ T73] ? __submit_bio+0x2c6/0x560 [ 101.074933][ T73] blk_mq_submit_bio+0x1536/0x23a0 [ 101.076880][ T73] ? __submit_bio+0x2c6/0x560 [ 101.078649][ T73] ? __pfx_blk_mq_submit_bio+0x10/0x10 [ 101.080790][ T73] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 101.083062][ T73] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 101.085450][ T73] __submit_bio+0x2c6/0x560 [ 101.087229][ T73] ? __pfx___submit_bio+0x10/0x10 [ 101.089210][ T73] ? mark_lock+0x9a/0x360 [ 101.090890][ T73] submit_bio_noacct_nocheck+0x4d3/0xe30 [ 101.093055][ T73] ? __folio_start_writeback+0x8d3/0x1040 [ 101.095257][ T73] ? __pfx___might_resched+0x10/0x10 [ 101.097192][ T73] ? __pfx_submit_bio_noacct_nocheck+0x10/0x10 [ 101.099556][ T73] ? __pfx___folio_start_writeback+0x10/0x10 [ 101.101871][ T73] ? count_swpout_vm_event+0x4f8/0x9b0 [ 101.104015][ T73] __swap_writepage+0x5fc/0x1400 [ 101.105899][ T73] ? __pfx___swap_writepage+0x10/0x10 [ 101.108006][ T73] ? zswap_store+0x1ae9/0x2080 [ 101.109870][ T73] ? zswap_store+0x5b4/0x2080 [ 101.111732][ T73] ? __pfx_zswap_store+0x10/0x10 [ 101.113639][ T73] ? _raw_spin_unlock+0x28/0x50 [ 101.115486][ T73] ? folio_free_swap+0x2eb/0x610 [ 101.117446][ T73] ? zswap_is_enabled+0x1d/0x30 [ 101.119345][ T73] swap_writepage+0x8f4/0x1170 [ 101.121216][ T73] shrink_folio_list+0x3c0e/0x8cc0 [ 101.123249][ T73] ? __pfx_shrink_folio_list+0x10/0x10 [ 101.125369][ T73] ? __pfx_validate_chain+0x10/0x10 [ 101.127378][ T73] ? do_raw_spin_unlock+0x58/0x8b0 [ 101.129360][ T73] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 101.131724][ T73] ? rcu_is_watching+0x15/0xb0 [ 101.133604][ T73] ? mark_lock+0x9a/0x360 [ 101.135289][ T73] ? _raw_spin_unlock_irq+0x23/0x50 [ 101.137358][ T73] ? lockdep_hardirqs_on+0x99/0x150 [ 101.139378][ T73] evict_folios+0x5568/0x7be0 [ 101.141261][ T73] ? __pfx_evict_folios+0x10/0x10 [ 101.143239][ T73] ? mark_lock+0x9a/0x360 [ 101.144941][ T73] ? mem_cgroup_get_nr_swap_pages+0x28/0x110 [ 101.147042][ T73] ? get_swappiness+0x380/0x3e0 [ 101.148954][ T73] try_to_shrink_lruvec+0x9a6/0xc70 [ 101.151006][ T73] ? __pfx_try_to_shrink_lruvec+0x10/0x10 [ 101.153158][ T73] ? shrink_node+0x3573/0x3e50 [ 101.155054][ T73] ? __pfx_lock_release+0x10/0x10 [ 101.157005][ T73] shrink_one+0x3b9/0x850 [ 101.158663][ T73] ? shrink_node+0x3573/0x3e50 [ 101.160478][ T73] shrink_node+0x37c5/0x3e50 [ 101.162266][ T73] ? shrink_node+0x3573/0x3e50 [ 101.164130][ T73] ? __pfx_lock_acquire+0x10/0x10 [ 101.166068][ T73] ? percpu_ref_put+0x19/0x180 [ 101.167810][ T73] ? __pfx_lock_release+0x10/0x10 [ 101.169628][ T73] ? __pfx_shrink_node+0x10/0x10 [ 101.171474][ T73] ? mem_cgroup_iter+0x3d/0x420 [ 101.173385][ T73] kswapd+0x1ca9/0x3700 [ 101.174984][ T73] ? kswapd+0xbf1/0x3700 [ 101.176638][ T73] ? __pfx_kswapd+0x10/0x10 [ 101.178394][ T73] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 101.180682][ T73] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 101.183090][ T73] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 101.185488][ T73] ? __pfx_autoremove_wake_function+0x10/0x10 [ 101.187740][ T73] ? __kthread_parkme+0x169/0x1d0 [ 101.189533][ T73] ? __pfx_kswapd+0x10/0x10 [ 101.191225][ T73] kthread+0x2f0/0x390 [ 101.192826][ T73] ? __pfx_kswapd+0x10/0x10 [ 101.194567][ T73] ? __pfx_kthread+0x10/0x10 [ 101.196590][ T73] ret_from_fork+0x4b/0x80 [ 101.198386][ T73] ? __pfx_kthread+0x10/0x10 [ 101.200190][ T73] ret_from_fork_asm+0x1a/0x30 [ 101.201979][ T73] Warning: Permanently added '[localhost]:17545' (ED25519) to the list of known hosts. 2024/11/27 03:38:41 ignoring optional flag "sandboxArg"="0" 2024/11/27 03:38:41 parsed 1 programs [ 114.879380][ T5640] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 117.636303][ T4687] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 117.638985][ T4687] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 117.644333][ T4687] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 117.647233][ T4687] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 117.649975][ T4687] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 117.660344][ T4687] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 118.159664][ T5690] chnl_net:caif_netlink_parms(): no params data found [ 118.196287][ T5690] bridge0: port 1(bridge_slave_0) entered blocking state [ 118.199347][ T5690] bridge0: port 1(bridge_slave_0) entered disabled state [ 118.202611][ T5690] bridge_slave_0: entered allmulticast mode [ 118.205362][ T5690] bridge_slave_0: entered promiscuous mode [ 118.208771][ T5690] bridge0: port 2(bridge_slave_1) entered blocking state [ 118.212085][ T5690] bridge0: port 2(bridge_slave_1) entered disabled state [ 118.214813][ T5690] bridge_slave_1: entered allmulticast mode [ 118.217538][ T5690] bridge_slave_1: entered promiscuous mode [ 118.238700][ T5690] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 118.243307][ T5690] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 118.255271][ T5690] team0: Port device team_slave_0 added [ 118.258620][ T5690] team0: Port device team_slave_1 added [ 118.267767][ T5690] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 118.271005][ T5690] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 118.281093][ T5690] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 118.285890][ T5690] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 118.288536][ T5690] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 118.298774][ T5690] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 118.315904][ T5690] hsr_slave_0: entered promiscuous mode [ 118.318397][ T5690] hsr_slave_1: entered promiscuous mode [ 118.527956][ T5690] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 118.536821][ T5690] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 118.551929][ T5690] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 118.556209][ T5690] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 118.576215][ T5690] bridge0: port 2(bridge_slave_1) entered blocking state [ 118.578903][ T5690] bridge0: port 2(bridge_slave_1) entered forwarding state [ 118.581839][ T5690] bridge0: port 1(bridge_slave_0) entered blocking state [ 118.584684][ T5690] bridge0: port 1(bridge_slave_0) entered forwarding state [ 118.661314][ T5690] 8021q: adding VLAN 0 to HW filter on device bond0 [ 118.682519][ T11] bridge0: port 1(bridge_slave_0) entered disabled state [ 118.692113][ T11] bridge0: port 2(bridge_slave_1) entered disabled state [ 118.697851][ T5690] 8021q: adding VLAN 0 to HW filter on device team0 [ 118.735432][ T11] bridge0: port 1(bridge_slave_0) entered blocking state [ 118.738210][ T11] bridge0: port 1(bridge_slave_0) entered forwarding state [ 118.743554][ T11] bridge0: port 2(bridge_slave_1) entered blocking state [ 118.746867][ T11] bridge0: port 2(bridge_slave_1) entered forwarding state [ 118.755656][ T5690] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 118.759717][ T5690] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 118.909278][ T5690] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 118.952687][ T5690] veth0_vlan: entered promiscuous mode [ 118.957559][ T5690] veth1_vlan: entered promiscuous mode [ 118.989943][ T5690] veth0_macvtap: entered promiscuous mode [ 119.010470][ T5690] veth1_macvtap: entered promiscuous mode [ 119.022007][ T5690] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 119.041799][ T5690] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 119.046993][ T5690] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 119.051610][ T5690] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 119.054809][ T5690] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 119.058077][ T5690] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 119.181459][ T1034] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 119.232849][ T1034] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 119.282625][ T1034] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 119.337726][ T1034] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0