[ 97.561004][ T79] [ 97.562289][ T79] ====================================================== [ 97.564966][ T79] WARNING: possible circular locking dependency detected [ 97.567805][ T79] 6.13.0-rc2-syzkaller-00036-g231825b2e1ff #0 Not tainted [ 97.570489][ T79] ------------------------------------------------------ [ 97.573153][ T79] kswapd0/79 is trying to acquire lock: [ 97.575300][ T79] ffff88801f181438 (&q->q_usage_counter(io)#37){++++}-{0:0}, at: __submit_bio+0x2c6/0x560 [ 97.579221][ T79] [ 97.579221][ T79] but task is already holding lock: [ 97.581843][ T79] ffffffff8ea35ca0 (fs_reclaim){+.+.}-{0:0}, at: kswapd+0xbf1/0x36f0 [ 97.584732][ T79] [ 97.584732][ T79] which lock already depends on the new lock. [ 97.584732][ T79] [ 97.588620][ T79] [ 97.588620][ T79] the existing dependency chain (in reverse order) is: [ 97.592028][ T79] [ 97.592028][ T79] -> #1 (fs_reclaim){+.+.}-{0:0}: [ 97.594660][ T79] lock_acquire+0x1ed/0x550 [ 97.596592][ T79] fs_reclaim_acquire+0x88/0x130 [ 97.598654][ T79] __kmalloc_node_noprof+0xb2/0x4d0 [ 97.600854][ T79] __kvmalloc_node_noprof+0x72/0x190 [ 97.603044][ T79] sbitmap_init_node+0x2d4/0x670 [ 97.605151][ T79] scsi_realloc_sdev_budget_map+0x2a7/0x460 [ 97.607563][ T79] scsi_probe_and_add_lun+0x3173/0x4bd0 [ 97.609859][ T79] __scsi_add_device+0x228/0x2f0 [ 97.611969][ T79] ata_scsi_scan_host+0x236/0x740 [ 97.614080][ T79] async_run_entry_fn+0xa8/0x420 [ 97.616139][ T79] process_scheduled_works+0xa66/0x1840 [ 97.618513][ T79] worker_thread+0x870/0xd30 [ 97.620505][ T79] kthread+0x2f0/0x390 [ 97.622290][ T79] ret_from_fork+0x4b/0x80 [ 97.624188][ T79] ret_from_fork_asm+0x1a/0x30 [ 97.626238][ T79] [ 97.626238][ T79] -> #0 (&q->q_usage_counter(io)#37){++++}-{0:0}: [ 97.629486][ T79] validate_chain+0x18ef/0x5920 [ 97.632062][ T79] __lock_acquire+0x1397/0x2100 [ 97.634094][ T79] lock_acquire+0x1ed/0x550 [ 97.635971][ T79] blk_mq_submit_bio+0x1536/0x2390 [ 97.638099][ T79] __submit_bio+0x2c6/0x560 [ 97.639996][ T79] submit_bio_noacct_nocheck+0x4d3/0xe30 [ 97.642680][ T79] __swap_writepage+0x747/0x14d0 [ 97.644748][ T79] swap_writepage+0x6ee/0xce0 [ 97.646759][ T79] shrink_folio_list+0x3b68/0x5ca0 [ 97.648971][ T79] evict_folios+0x3c86/0x5800 [ 97.651010][ T79] try_to_shrink_lruvec+0x9a6/0xc70 [ 97.653168][ T79] shrink_one+0x3b9/0x850 [ 97.655032][ T79] shrink_node+0x37c5/0x3e50 [ 97.657008][ T79] kswapd+0x1ca9/0x36f0 [ 97.658878][ T79] kthread+0x2f0/0x390 [ 97.660628][ T79] ret_from_fork+0x4b/0x80 [ 97.662566][ T79] ret_from_fork_asm+0x1a/0x30 [ 97.664604][ T79] [ 97.664604][ T79] other info that might help us debug this: [ 97.664604][ T79] [ 97.668520][ T79] Possible unsafe locking scenario: [ 97.668520][ T79] [ 97.671428][ T79] CPU0 CPU1 [ 97.673491][ T79] ---- ---- [ 97.675572][ T79] lock(fs_reclaim); [ 97.677137][ T79] lock(&q->q_usage_counter(io)#37); [ 97.680220][ T79] lock(fs_reclaim); [ 97.682795][ T79] rlock(&q->q_usage_counter(io)#37); [ 97.684833][ T79] [ 97.684833][ T79] *** DEADLOCK *** [ 97.684833][ T79] [ 97.687927][ T79] 1 lock held by kswapd0/79: [ 97.689721][ T79] #0: ffffffff8ea35ca0 (fs_reclaim){+.+.}-{0:0}, at: kswapd+0xbf1/0x36f0 [ 97.692976][ T79] [ 97.692976][ T79] stack backtrace: [ 97.695257][ T79] CPU: 0 UID: 0 PID: 79 Comm: kswapd0 Not tainted 6.13.0-rc2-syzkaller-00036-g231825b2e1ff #0 [ 97.699188][ T79] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 97.703351][ T79] Call Trace: [ 97.704763][ T79] [ 97.705901][ T79] dump_stack_lvl+0x241/0x360 [ 97.707760][ T79] ? __pfx_dump_stack_lvl+0x10/0x10 [ 97.709732][ T79] ? __pfx__printk+0x10/0x10 [ 97.711661][ T79] print_circular_bug+0x13a/0x1b0 [ 97.713579][ T79] check_noncircular+0x36a/0x4a0 [ 97.715427][ T79] ? __pfx_validate_chain+0x10/0x10 [ 97.717570][ T79] ? __pfx_check_noncircular+0x10/0x10 [ 97.719565][ T79] ? lockdep_lock+0x123/0x2b0 [ 97.721411][ T79] ? __pfx_validate_chain+0x10/0x10 [ 97.723388][ T79] validate_chain+0x18ef/0x5920 [ 97.725248][ T79] ? validate_chain+0x11e/0x5920 [ 97.727127][ T79] ? __pfx_validate_chain+0x10/0x10 [ 97.729163][ T79] ? validate_chain+0x11e/0x5920 [ 97.731149][ T79] ? __lock_acquire+0x1397/0x2100 [ 97.733074][ T79] ? __pfx_validate_chain+0x10/0x10 [ 97.735034][ T79] ? mark_lock+0x9a/0x360 [ 97.736707][ T79] __lock_acquire+0x1397/0x2100 [ 97.738643][ T79] lock_acquire+0x1ed/0x550 [ 97.740400][ T79] ? __submit_bio+0x2c6/0x560 [ 97.742264][ T79] ? __pfx_lock_acquire+0x10/0x10 [ 97.744229][ T79] ? blk_mq_submit_bio+0x482/0x2390 [ 97.746304][ T79] ? __pfx_lock_release+0x10/0x10 [ 97.748296][ T79] ? __submit_bio+0x2c6/0x560 [ 97.750152][ T79] blk_mq_submit_bio+0x1536/0x2390 [ 97.752140][ T79] ? __submit_bio+0x2c6/0x560 [ 97.753916][ T79] ? __pfx_blk_mq_submit_bio+0x10/0x10 [ 97.756070][ T79] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 97.758457][ T79] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 97.761176][ T79] __submit_bio+0x2c6/0x560 [ 97.762974][ T79] ? __pfx___submit_bio+0x10/0x10 [ 97.764935][ T79] ? mark_lock+0x9a/0x360 [ 97.766637][ T79] submit_bio_noacct_nocheck+0x4d3/0xe30 [ 97.768844][ T79] ? __folio_start_writeback+0x89b/0xc40 [ 97.771027][ T79] ? __pfx___might_resched+0x10/0x10 [ 97.773191][ T79] ? __pfx_submit_bio_noacct_nocheck+0x10/0x10 [ 97.775398][ T79] ? __pfx___folio_start_writeback+0x10/0x10 [ 97.777648][ T79] __swap_writepage+0x747/0x14d0 [ 97.779530][ T79] ? __pfx___swap_writepage+0x10/0x10 [ 97.781914][ T79] ? zswap_store+0x195c/0x1ba0 [ 97.783688][ T79] ? zswap_store+0x577/0x1ba0 [ 97.785495][ T79] ? __pfx_zswap_store+0x10/0x10 [ 97.787351][ T79] ? do_raw_spin_lock+0x14f/0x370 [ 97.789251][ T79] ? do_raw_spin_unlock+0x58/0x8b0 [ 97.791165][ T79] ? _raw_spin_unlock+0x28/0x50 [ 97.793016][ T79] ? folio_free_swap+0x2e1/0x480 [ 97.794921][ T79] ? zswap_is_enabled+0x1d/0x30 [ 97.796751][ T79] swap_writepage+0x6ee/0xce0 [ 97.798626][ T79] shrink_folio_list+0x3b68/0x5ca0 [ 97.800570][ T79] ? __lock_acquire+0x1397/0x2100 [ 97.802518][ T79] ? __pfx_shrink_folio_list+0x10/0x10 [ 97.804577][ T79] ? do_raw_spin_unlock+0x58/0x8b0 [ 97.806519][ T79] ? __pfx_validate_chain+0x10/0x10 [ 97.808521][ T79] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 97.812336][ T79] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 97.814838][ T79] ? rcu_is_watching+0x15/0xb0 [ 97.816647][ T79] ? __mod_memcg_lruvec_state+0x2f7/0x4d0 [ 97.818846][ T79] ? mark_lock+0x9a/0x360 [ 97.820490][ T79] ? _raw_spin_unlock_irq+0x23/0x50 [ 97.822454][ T79] ? lockdep_hardirqs_on+0x99/0x150 [ 97.824444][ T79] evict_folios+0x3c86/0x5800 [ 97.826315][ T79] ? __pfx_validate_chain+0x10/0x10 [ 97.828317][ T79] ? __pfx_evict_folios+0x10/0x10 [ 97.830227][ T79] ? mem_cgroup_get_nr_swap_pages+0x28/0x110 [ 97.832527][ T79] ? get_swappiness+0x380/0x3e0 [ 97.834393][ T79] try_to_shrink_lruvec+0x9a6/0xc70 [ 97.836313][ T79] ? __pfx_try_to_shrink_lruvec+0x10/0x10 [ 97.838456][ T79] ? shrink_node+0x3573/0x3e50 [ 97.840235][ T79] ? __pfx_lock_release+0x10/0x10 [ 97.842198][ T79] shrink_one+0x3b9/0x850 [ 97.843839][ T79] ? shrink_node+0x3573/0x3e50 [ 97.845643][ T79] shrink_node+0x37c5/0x3e50 [ 97.847446][ T79] ? shrink_node+0x3573/0x3e50 [ 97.849289][ T79] ? __pfx_lock_acquire+0x10/0x10 [ 97.851299][ T79] ? percpu_ref_put+0x19/0x180 [ 97.853169][ T79] ? __pfx_lock_release+0x10/0x10 [ 97.855023][ T79] ? __pfx_shrink_node+0x10/0x10 [ 97.856866][ T79] ? mem_cgroup_iter+0x3d/0x420 [ 97.858775][ T79] kswapd+0x1ca9/0x36f0 [ 97.860406][ T79] ? kswapd+0xbf1/0x36f0 [ 97.862193][ T79] ? __pfx_kswapd+0x10/0x10 [ 97.863944][ T79] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 97.866243][ T79] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 97.868673][ T79] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 97.871007][ T79] ? __pfx_autoremove_wake_function+0x10/0x10 [ 97.873513][ T79] ? __kthread_parkme+0x169/0x1d0 [ 97.875480][ T79] ? __pfx_kswapd+0x10/0x10 [ 97.877261][ T79] kthread+0x2f0/0x390 [ 97.878838][ T79] ? __pfx_kswapd+0x10/0x10 [ 97.880734][ T79] ? __pfx_kthread+0x10/0x10 [ 97.882656][ T79] ret_from_fork+0x4b/0x80 [ 97.884330][ T79] ? __pfx_kthread+0x10/0x10 [ 97.886128][ T79] ret_from_fork_asm+0x1a/0x30 [ 97.888006][ T79] Warning: Permanently added '[localhost]:51367' (ED25519) to the list of known hosts. 2024/12/12 15:12:31 ignoring optional flag "sandboxArg"="0" 2024/12/12 15:12:31 ignoring optional flag "type"="qemu" 2024/12/12 15:12:32 parsed 1 programs [ 110.069326][ T5592] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 112.528976][ T4661] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 112.532041][ T4661] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 112.542379][ T4661] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 112.546907][ T4661] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 112.549857][ T4661] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 112.552751][ T4661] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 112.937788][ T5636] chnl_net:caif_netlink_parms(): no params data found [ 112.972733][ T5636] bridge0: port 1(bridge_slave_0) entered blocking state [ 112.975919][ T5636] bridge0: port 1(bridge_slave_0) entered disabled state [ 112.978685][ T5636] bridge_slave_0: entered allmulticast mode [ 112.981574][ T5636] bridge_slave_0: entered promiscuous mode [ 112.988409][ T5636] bridge0: port 2(bridge_slave_1) entered blocking state [ 112.991250][ T5636] bridge0: port 2(bridge_slave_1) entered disabled state [ 112.993991][ T5636] bridge_slave_1: entered allmulticast mode [ 112.997261][ T5636] bridge_slave_1: entered promiscuous mode [ 113.008261][ T5636] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 113.013203][ T5636] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 113.039139][ T5636] team0: Port device team_slave_0 added [ 113.043075][ T5636] team0: Port device team_slave_1 added [ 113.053315][ T5636] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 113.056672][ T5636] 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. [ 113.066985][ T5636] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 113.071801][ T5636] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 113.075754][ T5636] 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. [ 113.086522][ T5636] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 113.102646][ T5636] hsr_slave_0: entered promiscuous mode [ 113.105339][ T5636] hsr_slave_1: entered promiscuous mode [ 113.356346][ T5636] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 113.364216][ T5636] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 113.372771][ T5636] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 113.386565][ T5636] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 113.409712][ T5636] bridge0: port 2(bridge_slave_1) entered blocking state [ 113.412507][ T5636] bridge0: port 2(bridge_slave_1) entered forwarding state [ 113.415456][ T5636] bridge0: port 1(bridge_slave_0) entered blocking state [ 113.418169][ T5636] bridge0: port 1(bridge_slave_0) entered forwarding state [ 113.497629][ T5636] 8021q: adding VLAN 0 to HW filter on device bond0 [ 113.507069][ T12] bridge0: port 1(bridge_slave_0) entered disabled state [ 113.512039][ T12] bridge0: port 2(bridge_slave_1) entered disabled state [ 113.528960][ T5636] 8021q: adding VLAN 0 to HW filter on device team0 [ 113.547088][ T12] bridge0: port 1(bridge_slave_0) entered blocking state [ 113.549913][ T12] bridge0: port 1(bridge_slave_0) entered forwarding state [ 113.553185][ T12] bridge0: port 2(bridge_slave_1) entered blocking state [ 113.556077][ T12] bridge0: port 2(bridge_slave_1) entered forwarding state [ 113.600860][ T5636] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 113.606150][ T5636] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 113.746535][ T5636] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 113.796638][ T5636] veth0_vlan: entered promiscuous mode [ 113.802918][ T5636] veth1_vlan: entered promiscuous mode [ 113.830551][ T5636] veth0_macvtap: entered promiscuous mode [ 113.834178][ T5636] veth1_macvtap: entered promiscuous mode [ 113.860057][ T5636] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 113.872059][ T5636] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 113.891316][ T5636] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 113.896260][ T5636] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 113.899694][ T5636] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 113.903052][ T5636] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 114.036628][ T11] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 114.088284][ T11] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 114.128051][ T11] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 114.198252][ T11] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 114.276478][ T1036] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 114.279292][ T1036] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 114.303629][ T1036] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 114.310668][ T1036] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50