[ 102.307783][ T75] [ 102.309097][ T75] ====================================================== [ 102.312295][ T75] WARNING: possible circular locking dependency detected [ 102.315559][ T75] 6.12.0-syzkaller-10296-gaaf20f870da0 #0 Not tainted [ 102.318869][ T75] ------------------------------------------------------ [ 102.323234][ T75] kswapd0/75 is trying to acquire lock: [ 102.325446][ T75] ffff888000501438 (&q->q_usage_counter(io)#37){++++}-{0:0}, at: __submit_bio+0x2c6/0x560 [ 102.329346][ T75] [ 102.329346][ T75] but task is already holding lock: [ 102.332228][ T75] ffffffff8ea3f520 (fs_reclaim){+.+.}-{0:0}, at: kswapd+0xbf1/0x3700 [ 102.335322][ T75] [ 102.335322][ T75] which lock already depends on the new lock. [ 102.335322][ T75] [ 102.339197][ T75] [ 102.339197][ T75] the existing dependency chain (in reverse order) is: [ 102.342523][ T75] [ 102.342523][ T75] -> #1 (fs_reclaim){+.+.}-{0:0}: [ 102.345352][ T75] lock_acquire+0x1ed/0x550 [ 102.347273][ T75] fs_reclaim_acquire+0x88/0x130 [ 102.349413][ T75] __kmalloc_node_noprof+0xb2/0x4d0 [ 102.351589][ T75] __kvmalloc_node_noprof+0x72/0x190 [ 102.353834][ T75] sbitmap_init_node+0x2d4/0x670 [ 102.355845][ T75] scsi_realloc_sdev_budget_map+0x2a7/0x460 [ 102.358230][ T75] scsi_probe_and_add_lun+0x3173/0x4bd0 [ 102.360492][ T75] __scsi_add_device+0x228/0x2f0 [ 102.362513][ T75] ata_scsi_scan_host+0x236/0x740 [ 102.364642][ T75] async_run_entry_fn+0xa8/0x420 [ 102.366786][ T75] process_scheduled_works+0xa63/0x1850 [ 102.369166][ T75] worker_thread+0x870/0xd30 [ 102.371139][ T75] kthread+0x2f0/0x390 [ 102.372956][ T75] ret_from_fork+0x4b/0x80 [ 102.374908][ T75] ret_from_fork_asm+0x1a/0x30 [ 102.376923][ T75] [ 102.376923][ T75] -> #0 (&q->q_usage_counter(io)#37){++++}-{0:0}: [ 102.380035][ T75] validate_chain+0x18ef/0x5920 [ 102.382099][ T75] __lock_acquire+0x1397/0x2100 [ 102.384084][ T75] lock_acquire+0x1ed/0x550 [ 102.386011][ T75] blk_mq_submit_bio+0x1536/0x23a0 [ 102.388096][ T75] __submit_bio+0x2c6/0x560 [ 102.389976][ T75] submit_bio_noacct_nocheck+0x4d3/0xe30 [ 102.392400][ T75] __swap_writepage+0x5fc/0x1400 [ 102.394525][ T75] swap_writepage+0x8f4/0x1170 [ 102.396584][ T75] shrink_folio_list+0x3c0e/0x8cc0 [ 102.398659][ T75] evict_folios+0x5568/0x7be0 [ 102.400642][ T75] try_to_shrink_lruvec+0x9a6/0xc70 [ 102.402806][ T75] shrink_one+0x3b9/0x850 [ 102.404521][ T75] shrink_node+0x37c5/0x3e50 [ 102.406360][ T75] kswapd+0x1ca9/0x3700 [ 102.407957][ T75] kthread+0x2f0/0x390 [ 102.409590][ T75] ret_from_fork+0x4b/0x80 [ 102.411385][ T75] ret_from_fork_asm+0x1a/0x30 [ 102.413365][ T75] [ 102.413365][ T75] other info that might help us debug this: [ 102.413365][ T75] [ 102.417155][ T75] Possible unsafe locking scenario: [ 102.417155][ T75] [ 102.419918][ T75] CPU0 CPU1 [ 102.421986][ T75] ---- ---- [ 102.424015][ T75] lock(fs_reclaim); [ 102.425588][ T75] lock(&q->q_usage_counter(io)#37); [ 102.428542][ T75] lock(fs_reclaim); [ 102.430734][ T75] rlock(&q->q_usage_counter(io)#37); [ 102.432735][ T75] [ 102.432735][ T75] *** DEADLOCK *** [ 102.432735][ T75] [ 102.435803][ T75] 1 lock held by kswapd0/75: [ 102.437578][ T75] #0: ffffffff8ea3f520 (fs_reclaim){+.+.}-{0:0}, at: kswapd+0xbf1/0x3700 [ 102.440907][ T75] [ 102.440907][ T75] stack backtrace: [ 102.442963][ T75] CPU: 0 UID: 0 PID: 75 Comm: kswapd0 Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 #0 [ 102.446628][ T75] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 102.450548][ T75] Call Trace: [ 102.451799][ T75] [ 102.452994][ T75] dump_stack_lvl+0x241/0x360 [ 102.454857][ T75] ? __pfx_dump_stack_lvl+0x10/0x10 [ 102.456820][ T75] ? __pfx__printk+0x10/0x10 [ 102.458612][ T75] print_circular_bug+0x13a/0x1b0 [ 102.460504][ T75] check_noncircular+0x36a/0x4a0 [ 102.462384][ T75] ? __pfx_check_noncircular+0x10/0x10 [ 102.464464][ T75] ? lockdep_lock+0x123/0x2b0 [ 102.466257][ T75] ? __pfx_validate_chain+0x10/0x10 [ 102.468198][ T75] ? validate_chain+0x11e/0x5920 [ 102.470130][ T75] validate_chain+0x18ef/0x5920 [ 102.472003][ T75] ? validate_chain+0x11e/0x5920 [ 102.473884][ T75] ? __pfx_validate_chain+0x10/0x10 [ 102.475855][ T75] ? ret_from_fork+0x4b/0x80 [ 102.477700][ T75] ? validate_chain+0x11e/0x5920 [ 102.479571][ T75] ? __lock_acquire+0x1397/0x2100 [ 102.481462][ T75] ? __pfx_validate_chain+0x10/0x10 [ 102.483446][ T75] ? mark_lock+0x9a/0x360 [ 102.485099][ T75] __lock_acquire+0x1397/0x2100 [ 102.486889][ T75] lock_acquire+0x1ed/0x550 [ 102.488569][ T75] ? __submit_bio+0x2c6/0x560 [ 102.490358][ T75] ? __pfx_lock_acquire+0x10/0x10 [ 102.492299][ T75] ? blk_mq_submit_bio+0x482/0x23a0 [ 102.494386][ T75] ? __pfx_lock_release+0x10/0x10 [ 102.496381][ T75] ? __submit_bio+0x2c6/0x560 [ 102.498202][ T75] blk_mq_submit_bio+0x1536/0x23a0 [ 102.500519][ T75] ? __submit_bio+0x2c6/0x560 [ 102.502373][ T75] ? __pfx_blk_mq_submit_bio+0x10/0x10 [ 102.504463][ T75] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 102.506747][ T75] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 102.509198][ T75] __submit_bio+0x2c6/0x560 [ 102.510989][ T75] ? __pfx___submit_bio+0x10/0x10 [ 102.512924][ T75] ? mark_lock+0x9a/0x360 [ 102.514579][ T75] submit_bio_noacct_nocheck+0x4d3/0xe30 [ 102.516489][ T75] ? __folio_start_writeback+0x8d3/0x1040 [ 102.518694][ T75] ? __pfx___might_resched+0x10/0x10 [ 102.520647][ T75] ? __pfx_submit_bio_noacct_nocheck+0x10/0x10 [ 102.522962][ T75] ? __pfx___folio_start_writeback+0x10/0x10 [ 102.525171][ T75] ? count_swpout_vm_event+0x4f8/0x9b0 [ 102.527178][ T75] __swap_writepage+0x5fc/0x1400 [ 102.529011][ T75] ? __pfx___swap_writepage+0x10/0x10 [ 102.531026][ T75] ? zswap_store+0x1ae9/0x2080 [ 102.532792][ T75] ? zswap_store+0x5b4/0x2080 [ 102.534488][ T75] ? __pfx_zswap_store+0x10/0x10 [ 102.537090][ T75] ? _raw_spin_unlock+0x28/0x50 [ 102.539106][ T75] ? folio_free_swap+0x2eb/0x610 [ 102.540944][ T75] ? zswap_is_enabled+0x1d/0x30 [ 102.542677][ T75] swap_writepage+0x8f4/0x1170 [ 102.544661][ T75] shrink_folio_list+0x3c0e/0x8cc0 [ 102.546628][ T75] ? __pfx_shrink_folio_list+0x10/0x10 [ 102.548759][ T75] ? rcu_is_watching+0x15/0xb0 [ 102.550677][ T75] ? __mod_memcg_lruvec_state+0x2ef/0x4e0 [ 102.552785][ T75] ? __pfx_validate_chain+0x10/0x10 [ 102.554683][ T75] ? __pfx___mod_memcg_lruvec_state+0x10/0x10 [ 102.557033][ T75] ? rcu_is_watching+0x15/0xb0 [ 102.558818][ T75] ? mark_lock+0x9a/0x360 [ 102.560462][ T75] ? _raw_spin_unlock_irq+0x23/0x50 [ 102.562436][ T75] ? lockdep_hardirqs_on+0x99/0x150 [ 102.564384][ T75] evict_folios+0x5568/0x7be0 [ 102.566049][ T75] ? __pfx_evict_folios+0x10/0x10 [ 102.567950][ T75] ? mark_lock+0x9a/0x360 [ 102.569643][ T75] ? zone_watermark_ok+0x31/0x80 [ 102.571473][ T75] ? should_abort_scan+0x40c/0x4d0 [ 102.573392][ T75] try_to_shrink_lruvec+0x9a6/0xc70 [ 102.575358][ T75] ? __pfx_try_to_shrink_lruvec+0x10/0x10 [ 102.577364][ T75] ? shrink_node+0x3573/0x3e50 [ 102.579070][ T75] ? __pfx_lock_release+0x10/0x10 [ 102.580966][ T75] shrink_one+0x3b9/0x850 [ 102.582732][ T75] ? shrink_node+0x3573/0x3e50 [ 102.584582][ T75] shrink_node+0x37c5/0x3e50 [ 102.586224][ T75] ? shrink_node+0x3573/0x3e50 [ 102.587916][ T75] ? __pfx_lock_acquire+0x10/0x10 [ 102.589766][ T75] ? percpu_ref_put+0x19/0x180 [ 102.591549][ T75] ? __pfx_lock_release+0x10/0x10 [ 102.593488][ T75] ? __pfx_shrink_node+0x10/0x10 [ 102.595196][ T75] ? mem_cgroup_iter+0x3d/0x420 [ 102.596992][ T75] kswapd+0x1ca9/0x3700 [ 102.598498][ T75] ? kswapd+0xbf1/0x3700 [ 102.600075][ T75] ? __pfx_kswapd+0x10/0x10 [ 102.601783][ T75] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 102.603930][ T75] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 102.606274][ T75] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 102.608656][ T75] ? __pfx_autoremove_wake_function+0x10/0x10 [ 102.610906][ T75] ? __kthread_parkme+0x169/0x1d0 [ 102.613162][ T75] ? __pfx_kswapd+0x10/0x10 [ 102.615231][ T75] kthread+0x2f0/0x390 [ 102.616800][ T75] ? __pfx_kswapd+0x10/0x10 [ 102.618475][ T75] ? __pfx_kthread+0x10/0x10 [ 102.620220][ T75] ret_from_fork+0x4b/0x80 [ 102.621977][ T75] ? __pfx_kthread+0x10/0x10 [ 102.623740][ T75] ret_from_fork_asm+0x1a/0x30 [ 102.625526][ T75] Warning: Permanently added '[localhost]:24217' (ED25519) to the list of known hosts. 2024/11/27 03:57:56 ignoring optional flag "sandboxArg"="0" 2024/11/27 03:57:56 parsed 1 programs [ 114.606914][ T5607] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 117.069136][ T5342] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 117.071963][ T5342] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 117.074655][ T5342] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 117.077435][ T5342] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 117.080041][ T5342] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 117.084197][ T5342] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 117.558826][ T5635] chnl_net:caif_netlink_parms(): no params data found [ 117.595826][ T5635] bridge0: port 1(bridge_slave_0) entered blocking state [ 117.598594][ T5635] bridge0: port 1(bridge_slave_0) entered disabled state [ 117.601585][ T5635] bridge_slave_0: entered allmulticast mode [ 117.604385][ T5635] bridge_slave_0: entered promiscuous mode [ 117.607780][ T5635] bridge0: port 2(bridge_slave_1) entered blocking state [ 117.610580][ T5635] bridge0: port 2(bridge_slave_1) entered disabled state [ 117.614155][ T5635] bridge_slave_1: entered allmulticast mode [ 117.617019][ T5635] bridge_slave_1: entered promiscuous mode [ 117.629302][ T5635] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 117.634854][ T5635] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 117.646785][ T5635] team0: Port device team_slave_0 added [ 117.650160][ T5635] team0: Port device team_slave_1 added [ 117.659937][ T5635] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 117.663015][ T5635] 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. [ 117.673537][ T5635] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 117.678302][ T5635] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 117.681367][ T5635] 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. [ 117.691845][ T5635] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 117.709542][ T5635] hsr_slave_0: entered promiscuous mode [ 117.712447][ T5635] hsr_slave_1: entered promiscuous mode [ 117.953797][ T5635] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 117.966410][ T5635] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 117.981941][ T5635] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 117.992293][ T5635] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 118.009078][ T5635] bridge0: port 2(bridge_slave_1) entered blocking state [ 118.011800][ T5635] bridge0: port 2(bridge_slave_1) entered forwarding state [ 118.014703][ T5635] bridge0: port 1(bridge_slave_0) entered blocking state [ 118.017494][ T5635] bridge0: port 1(bridge_slave_0) entered forwarding state [ 118.093856][ T5635] 8021q: adding VLAN 0 to HW filter on device bond0 [ 118.105110][ T11] bridge0: port 1(bridge_slave_0) entered disabled state [ 118.108125][ T11] bridge0: port 2(bridge_slave_1) entered disabled state [ 118.114934][ T5635] 8021q: adding VLAN 0 to HW filter on device team0 [ 118.123811][ T11] bridge0: port 1(bridge_slave_0) entered blocking state [ 118.126702][ T11] bridge0: port 1(bridge_slave_0) entered forwarding state [ 118.143778][ T1034] bridge0: port 2(bridge_slave_1) entered blocking state [ 118.146789][ T1034] bridge0: port 2(bridge_slave_1) entered forwarding state [ 118.304181][ T5635] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 118.338992][ T5635] veth0_vlan: entered promiscuous mode [ 118.362496][ T5635] veth1_vlan: entered promiscuous mode [ 118.393580][ T5635] veth0_macvtap: entered promiscuous mode [ 118.403648][ T5635] veth1_macvtap: entered promiscuous mode [ 118.426250][ T5635] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 118.435810][ T5635] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 118.446471][ T5635] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 118.449778][ T5635] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 118.470988][ T5635] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 118.474273][ T5635] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 118.618502][ T1034] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 118.673373][ T1034] netdevsim netdevsim0 netdevsim2 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 118.714767][ T1034] netdevsim netdevsim0 netdevsim1 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 118.785994][ T1034] netdevsim netdevsim0 netdevsim0 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0