Warning: Permanently added '10.128.0.63' (ED25519) to the list of known hosts. executing program [ 36.282893][ T4218] [ 36.283592][ T4218] ===================================================== [ 36.285463][ T4218] WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected [ 36.287407][ T4218] 6.1.45-syzkaller #0 Not tainted [ 36.288775][ T4218] ----------------------------------------------------- [ 36.290596][ T4218] syz-executor190/4218 [HC0[0]:SC0[2]:HE1:SE0] is trying to acquire: [ 36.292811][ T4218] ffff800015b3c360 (fs_reclaim){+.+.}-{0:0}, at: __kmem_cache_alloc_node+0x58/0x388 [ 36.295415][ T4218] [ 36.295415][ T4218] and this task is already holding: [ 36.297428][ T4218] ffff800017eb4848 (noop_qdisc.q.lock){+.-.}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.299964][ T4218] which would create a new lock dependency: [ 36.301578][ T4218] (noop_qdisc.q.lock){+.-.}-{2:2} -> (fs_reclaim){+.+.}-{0:0} [ 36.303669][ T4218] [ 36.303669][ T4218] but this new dependency connects a SOFTIRQ-irq-safe lock: [ 36.306232][ T4218] (noop_qdisc.q.lock){+.-.}-{2:2} [ 36.306249][ T4218] [ 36.306249][ T4218] ... which became SOFTIRQ-irq-safe at: [ 36.309748][ T4218] lock_acquire+0x26c/0x7cc [ 36.311041][ T4218] _raw_spin_lock+0x54/0x6c [ 36.312302][ T4218] net_tx_action+0x6ec/0x94c [ 36.313565][ T4218] __do_softirq+0x30c/0xea0 [ 36.314842][ T4218] ____do_softirq+0x14/0x20 [ 36.316076][ T4218] call_on_irq_stack+0x24/0x4c [ 36.317385][ T4218] do_softirq_own_stack+0x20/0x2c [ 36.318765][ T4218] do_softirq+0x120/0x20c [ 36.320001][ T4218] __local_bh_enable_ip+0x2c0/0x4d0 [ 36.321464][ T4218] local_bh_enable+0x28/0x34 [ 36.322706][ T4218] dev_deactivate_many+0x3d4/0xa8c [ 36.324145][ T4218] dev_deactivate+0x13c/0x1fc [ 36.325458][ T4218] linkwatch_do_dev+0x29c/0x3a4 [ 36.326779][ T4218] __linkwatch_run_queue+0x3a0/0x700 [ 36.328254][ T4218] linkwatch_event+0x58/0x68 [ 36.329500][ T4218] process_one_work+0x7ac/0x1404 [ 36.330879][ T4218] worker_thread+0x8e4/0xfec [ 36.332175][ T4218] kthread+0x250/0x2d8 [ 36.333340][ T4218] ret_from_fork+0x10/0x20 [ 36.334588][ T4218] [ 36.334588][ T4218] to a SOFTIRQ-irq-unsafe lock: [ 36.336526][ T4218] (fs_reclaim){+.+.}-{0:0} [ 36.336544][ T4218] [ 36.336544][ T4218] ... which became SOFTIRQ-irq-unsafe at: [ 36.339951][ T4218] ... [ 36.339957][ T4218] lock_acquire+0x26c/0x7cc [ 36.341881][ T4218] fs_reclaim_acquire+0x90/0x12c [ 36.343254][ T4218] __kmem_cache_alloc_node+0x58/0x388 [ 36.344765][ T4218] kmalloc_node_trace+0x44/0x90 [ 36.346127][ T4218] init_rescuer+0xa4/0x264 [ 36.347375][ T4218] workqueue_init+0x298/0x5b4 [ 36.348760][ T4218] kernel_init_freeable+0x33c/0x528 [ 36.350194][ T4218] kernel_init+0x24/0x29c [ 36.351413][ T4218] ret_from_fork+0x10/0x20 [ 36.352634][ T4218] [ 36.352634][ T4218] other info that might help us debug this: [ 36.352634][ T4218] [ 36.355425][ T4218] Possible interrupt unsafe locking scenario: [ 36.355425][ T4218] [ 36.357678][ T4218] CPU0 CPU1 [ 36.359095][ T4218] ---- ---- [ 36.360571][ T4218] lock(fs_reclaim); [ 36.361660][ T4218] local_irq_disable(); [ 36.363507][ T4218] lock(noop_qdisc.q.lock); [ 36.365463][ T4218] lock(fs_reclaim); [ 36.367215][ T4218] [ 36.368147][ T4218] lock(noop_qdisc.q.lock); [ 36.369455][ T4218] [ 36.369455][ T4218] *** DEADLOCK *** [ 36.369455][ T4218] [ 36.371652][ T4218] 2 locks held by syz-executor190/4218: [ 36.373119][ T4218] #0: ffff800017e6fdc8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e8/0xd94 [ 36.375753][ T4218] #1: ffff800017eb4848 (noop_qdisc.q.lock){+.-.}-{2:2}, at: sch_tree_lock+0x120/0x1d4 [ 36.378430][ T4218] [ 36.378430][ T4218] the dependencies between SOFTIRQ-irq-safe lock and the holding lock: [ 36.381311][ T4218] -> (noop_qdisc.q.lock){+.-.}-{2:2} { [ 36.382831][ T4218] HARDIRQ-ON-W at: [ 36.383925][ T4218] lock_acquire+0x26c/0x7cc [ 36.385607][ T4218] _raw_spin_lock+0x54/0x6c [ 36.387275][ T4218] __dev_queue_xmit+0xb14/0x38d8 [ 36.389088][ T4218] tx+0x90/0x134 [ 36.390543][ T4218] kthread+0x1ac/0x374 [ 36.392108][ T4218] kthread+0x250/0x2d8 [ 36.393716][ T4218] ret_from_fork+0x10/0x20 [ 36.395354][ T4218] IN-SOFTIRQ-W at: [ 36.396461][ T4218] lock_acquire+0x26c/0x7cc [ 36.398164][ T4218] _raw_spin_lock+0x54/0x6c [ 36.399866][ T4218] net_tx_action+0x6ec/0x94c [ 36.401567][ T4218] __do_softirq+0x30c/0xea0 [ 36.403268][ T4218] ____do_softirq+0x14/0x20 [ 36.404944][ T4218] call_on_irq_stack+0x24/0x4c [ 36.406705][ T4218] do_softirq_own_stack+0x20/0x2c [ 36.408510][ T4218] do_softirq+0x120/0x20c [ 36.410144][ T4218] __local_bh_enable_ip+0x2c0/0x4d0 [ 36.412182][ T4218] local_bh_enable+0x28/0x34 [ 36.413909][ T4218] dev_deactivate_many+0x3d4/0xa8c [ 36.415772][ T4218] dev_deactivate+0x13c/0x1fc [ 36.417568][ T4218] linkwatch_do_dev+0x29c/0x3a4 [ 36.419364][ T4218] __linkwatch_run_queue+0x3a0/0x700 [ 36.421287][ T4218] linkwatch_event+0x58/0x68 [ 36.423010][ T4218] process_one_work+0x7ac/0x1404 [ 36.424848][ T4218] worker_thread+0x8e4/0xfec [ 36.426600][ T4218] kthread+0x250/0x2d8 [ 36.428161][ T4218] ret_from_fork+0x10/0x20 [ 36.429840][ T4218] INITIAL USE at: [ 36.430899][ T4218] lock_acquire+0x26c/0x7cc [ 36.432594][ T4218] _raw_spin_lock+0x54/0x6c [ 36.434295][ T4218] __dev_queue_xmit+0xb14/0x38d8 [ 36.436041][ T4218] tx+0x90/0x134 [ 36.437415][ T4218] kthread+0x1ac/0x374 [ 36.438987][ T4218] kthread+0x250/0x2d8 [ 36.440545][ T4218] ret_from_fork+0x10/0x20 [ 36.442189][ T4218] } [ 36.442922][ T4218] ... key at: [] noop_qdisc+0x108/0x320 [ 36.445022][ T4218] [ 36.445022][ T4218] the dependencies between the lock to be acquired [ 36.445029][ T4218] and SOFTIRQ-irq-unsafe lock: [ 36.448806][ T4218] -> (fs_reclaim){+.+.}-{0:0} { [ 36.450128][ T4218] HARDIRQ-ON-W at: [ 36.451241][ T4218] lock_acquire+0x26c/0x7cc [ 36.452955][ T4218] fs_reclaim_acquire+0x90/0x12c [ 36.454815][ T4218] __kmem_cache_alloc_node+0x58/0x388 [ 36.456742][ T4218] kmalloc_node_trace+0x44/0x90 [ 36.458570][ T4218] init_rescuer+0xa4/0x264 [ 36.460270][ T4218] workqueue_init+0x298/0x5b4 [ 36.462051][ T4218] kernel_init_freeable+0x33c/0x528 [ 36.463970][ T4218] kernel_init+0x24/0x29c [ 36.465650][ T4218] ret_from_fork+0x10/0x20 [ 36.467333][ T4218] SOFTIRQ-ON-W at: [ 36.468434][ T4218] lock_acquire+0x26c/0x7cc [ 36.470140][ T4218] fs_reclaim_acquire+0x90/0x12c [ 36.471974][ T4218] __kmem_cache_alloc_node+0x58/0x388 [ 36.473931][ T4218] kmalloc_node_trace+0x44/0x90 [ 36.475758][ T4218] init_rescuer+0xa4/0x264 [ 36.477434][ T4218] workqueue_init+0x298/0x5b4 [ 36.479190][ T4218] kernel_init_freeable+0x33c/0x528 [ 36.481113][ T4218] kernel_init+0x24/0x29c [ 36.482839][ T4218] ret_from_fork+0x10/0x20 [ 36.484535][ T4218] INITIAL USE at: [ 36.485590][ T4218] lock_acquire+0x26c/0x7cc [ 36.487238][ T4218] fs_reclaim_acquire+0x90/0x12c [ 36.489068][ T4218] __kmem_cache_alloc_node+0x58/0x388 [ 36.490992][ T4218] kmalloc_node_trace+0x44/0x90 [ 36.492774][ T4218] init_rescuer+0xa4/0x264 [ 36.494403][ T4218] workqueue_init+0x298/0x5b4 [ 36.496149][ T4218] kernel_init_freeable+0x33c/0x528 [ 36.498010][ T4218] kernel_init+0x24/0x29c [ 36.499619][ T4218] ret_from_fork+0x10/0x20 [ 36.501280][ T4218] } [ 36.501969][ T4218] ... key at: [] __fs_reclaim_map+0x0/0xe0 [ 36.504126][ T4218] ... acquired at: [ 36.505169][ T4218] fs_reclaim_acquire+0x90/0x12c [ 36.506581][ T4218] __kmem_cache_alloc_node+0x58/0x388 [ 36.508102][ T4218] __kmalloc_node+0xcc/0x1d0 [ 36.509419][ T4218] kvmalloc_node+0x84/0x1e4 [ 36.510726][ T4218] get_dist_table+0xa0/0x354 [ 36.512021][ T4218] netem_change+0x7a4/0x1900 [ 36.513317][ T4218] netem_init+0x54/0xb8 [ 36.514555][ T4218] qdisc_create+0x70c/0xe64 [ 36.515831][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 36.517197][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.518614][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 36.519971][ T4218] rtnetlink_rcv+0x28/0x38 [ 36.521259][ T4218] netlink_unicast+0x660/0x8d4 [ 36.522625][ T4218] netlink_sendmsg+0x834/0xb18 [ 36.523968][ T4218] ____sys_sendmsg+0x558/0x844 [ 36.525329][ T4218] __sys_sendmsg+0x26c/0x33c [ 36.526637][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 36.528022][ T4218] invoke_syscall+0x98/0x2c0 [ 36.529349][ T4218] el0_svc_common+0x138/0x258 [ 36.530793][ T4218] do_el0_svc+0x64/0x218 [ 36.532040][ T4218] el0_svc+0x58/0x168 [ 36.533177][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 36.534642][ T4218] el0t_64_sync+0x18c/0x190 [ 36.535930][ T4218] [ 36.536547][ T4218] [ 36.536547][ T4218] stack backtrace: [ 36.538150][ T4218] CPU: 0 PID: 4218 Comm: syz-executor190 Not tainted 6.1.45-syzkaller #0 [ 36.540547][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.543357][ T4218] Call trace: [ 36.544259][ T4218] dump_backtrace+0x1c8/0x1f4 [ 36.545550][ T4218] show_stack+0x2c/0x3c [ 36.546680][ T4218] dump_stack_lvl+0x108/0x170 [ 36.547976][ T4218] dump_stack+0x1c/0x58 [ 36.549113][ T4218] __lock_acquire+0x6310/0x764c [ 36.550494][ T4218] lock_acquire+0x26c/0x7cc [ 36.551755][ T4218] fs_reclaim_acquire+0x90/0x12c [ 36.553100][ T4218] __kmem_cache_alloc_node+0x58/0x388 [ 36.554598][ T4218] __kmalloc_node+0xcc/0x1d0 [ 36.555873][ T4218] kvmalloc_node+0x84/0x1e4 [ 36.557113][ T4218] get_dist_table+0xa0/0x354 [ 36.558413][ T4218] netem_change+0x7a4/0x1900 [ 36.559690][ T4218] netem_init+0x54/0xb8 [ 36.560860][ T4218] qdisc_create+0x70c/0xe64 [ 36.562120][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 36.563494][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.564924][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 36.566258][ T4218] rtnetlink_rcv+0x28/0x38 [ 36.567516][ T4218] netlink_unicast+0x660/0x8d4 [ 36.568840][ T4218] netlink_sendmsg+0x834/0xb18 [ 36.570180][ T4218] ____sys_sendmsg+0x558/0x844 [ 36.571469][ T4218] __sys_sendmsg+0x26c/0x33c [ 36.572777][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 36.574123][ T4218] invoke_syscall+0x98/0x2c0 [ 36.575389][ T4218] el0_svc_common+0x138/0x258 [ 36.576706][ T4218] do_el0_svc+0x64/0x218 [ 36.577867][ T4218] el0_svc+0x58/0x168 [ 36.578977][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 36.580353][ T4218] el0t_64_sync+0x18c/0x190 [ 36.581673][ T4218] BUG: sleeping function called from invalid context at include/linux/sched/mm.h:274 [ 36.584165][ T4218] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4218, name: syz-executor190 [ 36.586689][ T4218] preempt_count: 201, expected: 0 [ 36.588010][ T4218] RCU nest depth: 0, expected: 0 [ 36.589329][ T4218] INFO: lockdep is turned off. [ 36.590614][ T4218] Preemption disabled at: [ 36.590623][ T4218] [] sch_tree_lock+0x120/0x1d4 [ 36.593399][ T4218] CPU: 0 PID: 4218 Comm: syz-executor190 Not tainted 6.1.45-syzkaller #0 [ 36.595606][ T4218] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 36.598204][ T4218] Call trace: [ 36.599047][ T4218] dump_backtrace+0x1c8/0x1f4 [ 36.600299][ T4218] show_stack+0x2c/0x3c [ 36.601412][ T4218] dump_stack_lvl+0x108/0x170 [ 36.602686][ T4218] dump_stack+0x1c/0x58 [ 36.603805][ T4218] __might_resched+0x37c/0x4d8 [ 36.605118][ T4218] __might_sleep+0x90/0xe4 [ 36.606317][ T4218] __kmem_cache_alloc_node+0x74/0x388 [ 36.607848][ T4218] __kmalloc_node+0xcc/0x1d0 [ 36.609109][ T4218] kvmalloc_node+0x84/0x1e4 [ 36.610317][ T4218] get_dist_table+0xa0/0x354 [ 36.611549][ T4218] netem_change+0x7a4/0x1900 [ 36.612760][ T4218] netem_init+0x54/0xb8 [ 36.613884][ T4218] qdisc_create+0x70c/0xe64 [ 36.615102][ T4218] tc_modify_qdisc+0x9f0/0x1840 [ 36.616463][ T4218] rtnetlink_rcv_msg+0x72c/0xd94 [ 36.617787][ T4218] netlink_rcv_skb+0x20c/0x3b8 [ 36.619074][ T4218] rtnetlink_rcv+0x28/0x38 [ 36.620293][ T4218] netlink_unicast+0x660/0x8d4 [ 36.621592][ T4218] netlink_sendmsg+0x834/0xb18 [ 36.622919][ T4218] ____sys_sendmsg+0x558/0x844 [ 36.624211][ T4218] __sys_sendmsg+0x26c/0x33c [ 36.625489][ T4218] __arm64_sys_sendmsg+0x80/0x94 [ 36.626872][ T4218] invoke_syscall+0x98/0x2c0 [ 36.628125][ T4218] el0_svc_common+0x138/0x258 [ 36.629378][ T4218] do_el0_svc+0x64/0x218 [ 36.630541][ T4218] el0_svc+0x58/0x168 [ 36.631663][ T4218] el0t_64_sync_handler+0x84/0xf0 [ 36.633024][ T4218] el0t_64_sync+0x18c/0x190