[ 9.597087][ T2658] 8021q: adding VLAN 0 to HW filter on device bond0 [ 9.601804][ T2658] eql: remember to turn off Van-Jacobson compression on your slave devices [ 9.626189][ T49] gvnic 0000:00:00.0 enp0s0: Device link is up. [ 9.627649][ T921] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s0: link becomes ready Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.239' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.367144][ T3072] [ 27.367751][ T3072] ======================================================== [ 27.369325][ T3072] WARNING: possible irq lock inversion dependency detected [ 27.370883][ T3072] 6.1.0-rc6-syzkaller-32653-g65762d97e6fa #0 Not tainted [ 27.372437][ T3072] -------------------------------------------------------- [ 27.374092][ T3072] syz-executor115/3072 just changed the state of lock: [ 27.375624][ T3072] ffff0000cb955638 (clock-AF_INET6){+++.}-{2:2}, at: l2tp_tunnel_register+0x354/0x79c [ 27.377765][ T3072] but this lock was taken by another, SOFTIRQ-safe lock in the past: [ 27.379519][ T3072] (&tcp_hashinfo.bhash[i].lock){+.-.}-{2:2} [ 27.379528][ T3072] [ 27.379528][ T3072] [ 27.379528][ T3072] and interrupts could create inverse lock ordering between them. [ 27.379528][ T3072] [ 27.383907][ T3072] [ 27.383907][ T3072] other info that might help us debug this: [ 27.385614][ T3072] Possible interrupt unsafe locking scenario: [ 27.385614][ T3072] [ 27.387490][ T3072] CPU0 CPU1 [ 27.388684][ T3072] ---- ---- [ 27.389821][ T3072] lock(clock-AF_INET6); [ 27.390757][ T3072] local_irq_disable(); [ 27.392312][ T3072] lock(&tcp_hashinfo.bhash[i].lock); [ 27.394074][ T3072] lock(clock-AF_INET6); [ 27.395518][ T3072] [ 27.396246][ T3072] lock(&tcp_hashinfo.bhash[i].lock); [ 27.397452][ T3072] [ 27.397452][ T3072] *** DEADLOCK *** [ 27.397452][ T3072] [ 27.399283][ T3072] 1 lock held by syz-executor115/3072: [ 27.400461][ T3072] #0: ffff0000cb92b130 (sk_lock-AF_PPPOX){+.+.}-{0:0}, at: pppol2tp_connect+0x184/0x6c4 [ 27.402720][ T3072] [ 27.402720][ T3072] the shortest dependencies between 2nd lock and 1st lock: [ 27.404810][ T3072] -> (&tcp_hashinfo.bhash[i].lock){+.-.}-{2:2} { [ 27.406356][ T3072] HARDIRQ-ON-W at: [ 27.407241][ T3072] lock_acquire+0x100/0x1f8 [ 27.408691][ T3072] _raw_spin_lock_bh+0x54/0x6c [ 27.410106][ T3072] inet_csk_get_port+0xe0/0xaf0 [ 27.411544][ T3072] __inet6_bind+0x688/0x8ac [ 27.412907][ T3072] inet6_bind+0xf4/0x150 [ 27.414277][ T3072] rds_tcp_listen_init+0x14c/0x1f0 [ 27.415865][ T3072] rds_tcp_init_net+0xcc/0x1dc [ 27.417299][ T3072] ops_init+0xe4/0x2e4 [ 27.418640][ T3072] register_pernet_operations+0x108/0x264 [ 27.420380][ T3072] register_pernet_device+0x3c/0x94 [ 27.421927][ T3072] rds_tcp_init+0x74/0xe0 [ 27.423348][ T3072] do_one_initcall+0x118/0x22c [ 27.424795][ T3072] do_initcall_level+0xac/0xe4 [ 27.426242][ T3072] do_initcalls+0x58/0xa8 [ 27.427525][ T3072] do_basic_setup+0x20/0x2c [ 27.428976][ T3072] kernel_init_freeable+0xb8/0x148 [ 27.430524][ T3072] kernel_init+0x24/0x290 [ 27.431916][ T3072] ret_from_fork+0x10/0x20 [ 27.433343][ T3072] IN-SOFTIRQ-W at: [ 27.434248][ T3072] lock_acquire+0x100/0x1f8 [ 27.435706][ T3072] _raw_spin_lock+0x54/0x6c [ 27.437122][ T3072] __inet_inherit_port+0x124/0x9ac [ 27.438642][ T3072] tcp_v4_syn_recv_sock+0x790/0x848 [ 27.440245][ T3072] tcp_check_req+0x75c/0x8e4 [ 27.441702][ T3072] tcp_v4_rcv+0xad4/0x11e8 [ 27.443087][ T3072] ip_protocol_deliver_rcu+0x224/0x414 [ 27.444729][ T3072] ip_local_deliver_finish+0x124/0x200 [ 27.446246][ T3072] ip_local_deliver+0xd0/0xf4 [ 27.447680][ T3072] ip_sublist_rcv+0x40c/0x474 [ 27.449150][ T3072] ip_list_rcv+0x184/0x1c8 [ 27.450543][ T3072] __netif_receive_skb_list_core+0x1f8/0x2b0 [ 27.452207][ T3072] __netif_receive_skb_list+0x16c/0x1d0 [ 27.453778][ T3072] netif_receive_skb_list_internal+0x1e8/0x340 [ 27.455522][ T3072] napi_complete_done+0x140/0x354 [ 27.456977][ T3072] gve_napi_poll+0xcc/0x1b4 [ 27.458342][ T3072] __napi_poll+0x5c/0x24c [ 27.459721][ T3072] napi_poll+0x110/0x484 [ 27.461094][ T3072] net_rx_action+0x18c/0x414 [ 27.462517][ T3072] _stext+0x168/0x37c [ 27.463830][ T3072] ____do_softirq+0x14/0x20 [ 27.465146][ T3072] call_on_irq_stack+0x2c/0x54 [ 27.466543][ T3072] do_softirq_own_stack+0x20/0x2c [ 27.468040][ T3072] invoke_softirq+0x70/0xbc [ 27.469407][ T3072] __irq_exit_rcu+0xf0/0x140 [ 27.470867][ T3072] irq_exit_rcu+0x10/0x40 [ 27.472200][ T3072] el1_interrupt+0x38/0x68 [ 27.473585][ T3072] el1h_64_irq_handler+0x18/0x24 [ 27.475087][ T3072] el1h_64_irq+0x64/0x68 [ 27.476425][ T3072] arch_local_irq_enable+0xc/0x18 [ 27.478011][ T3072] default_idle_call+0x48/0xb8 [ 27.479432][ T3072] do_idle+0x110/0x2d4 [ 27.480761][ T3072] cpu_startup_entry+0x24/0x28 [ 27.482141][ T3072] kernel_init+0x0/0x290 [ 27.483497][ T3072] start_kernel+0x0/0x620 [ 27.484830][ T3072] start_kernel+0x450/0x620 [ 27.486226][ T3072] __primary_switched+0xb4/0xbc [ 27.487639][ T3072] INITIAL USE at: [ 27.488509][ T3072] lock_acquire+0x100/0x1f8 [ 27.489861][ T3072] _raw_spin_lock_bh+0x54/0x6c [ 27.491305][ T3072] inet_csk_get_port+0xe0/0xaf0 [ 27.492762][ T3072] __inet6_bind+0x688/0x8ac [ 27.494080][ T3072] inet6_bind+0xf4/0x150 [ 27.495428][ T3072] rds_tcp_listen_init+0x14c/0x1f0 [ 27.496989][ T3072] rds_tcp_init_net+0xcc/0x1dc [ 27.498456][ T3072] ops_init+0xe4/0x2e4 [ 27.499692][ T3072] register_pernet_operations+0x108/0x264 [ 27.501307][ T3072] register_pernet_device+0x3c/0x94 [ 27.502848][ T3072] rds_tcp_init+0x74/0xe0 [ 27.504135][ T3072] do_one_initcall+0x118/0x22c [ 27.505586][ T3072] do_initcall_level+0xac/0xe4 [ 27.506974][ T3072] do_initcalls+0x58/0xa8 [ 27.508273][ T3072] do_basic_setup+0x20/0x2c [ 27.509638][ T3072] kernel_init_freeable+0xb8/0x148 [ 27.511092][ T3072] kernel_init+0x24/0x290 [ 27.512441][ T3072] ret_from_fork+0x10/0x20 [ 27.513788][ T3072] } [ 27.514339][ T3072] ... key at: [] tcp_init.__key.22+0x0/0x10 [ 27.516148][ T3072] ... acquired at: [ 27.516965][ T3072] _raw_read_lock_bh+0x64/0x7c [ 27.518062][ T3072] sock_i_uid+0x24/0x58 [ 27.519067][ T3072] inet_csk_get_port+0x674/0xaf0 [ 27.520277][ T3072] __inet6_bind+0x688/0x8ac [ 27.521330][ T3072] inet6_bind+0xf4/0x150 [ 27.522308][ T3072] __sys_bind+0x148/0x1b0 [ 27.523396][ T3072] __arm64_sys_bind+0x28/0x3c [ 27.524587][ T3072] el0_svc_common+0x138/0x220 [ 27.525681][ T3072] do_el0_svc+0x48/0x164 [ 27.526673][ T3072] el0_svc+0x58/0x150 [ 27.527646][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.528800][ T3072] el0t_64_sync+0x190/0x194 [ 27.529816][ T3072] [ 27.530303][ T3072] -> (clock-AF_INET6){+++.}-{2:2} { [ 27.531483][ T3072] HARDIRQ-ON-W at: [ 27.532314][ T3072] lock_acquire+0x100/0x1f8 [ 27.533620][ T3072] _raw_write_lock_bh+0x54/0x6c [ 27.535056][ T3072] sk_common_release+0x58/0x1d4 [ 27.536457][ T3072] udp_lib_close+0x20/0x30 [ 27.537896][ T3072] inet_release+0xc8/0xe4 [ 27.539201][ T3072] inet6_release+0x3c/0x58 [ 27.540598][ T3072] sock_close+0x50/0xf0 [ 27.541838][ T3072] __fput+0x198/0x3e4 [ 27.543079][ T3072] ____fput+0x20/0x30 [ 27.544292][ T3072] task_work_run+0x100/0x148 [ 27.545687][ T3072] do_notify_resume+0x174/0x1f0 [ 27.547104][ T3072] el0_svc+0x9c/0x150 [ 27.548350][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.549823][ T3072] el0t_64_sync+0x190/0x194 [ 27.551134][ T3072] HARDIRQ-ON-R at: [ 27.551960][ T3072] lock_acquire+0x100/0x1f8 [ 27.553322][ T3072] _raw_read_lock_bh+0x64/0x7c [ 27.554718][ T3072] sock_i_uid+0x24/0x58 [ 27.555971][ T3072] udp_lib_lport_inuse+0x44/0x268 [ 27.557382][ T3072] udp_lib_get_port+0x2bc/0x8f8 [ 27.558775][ T3072] udp_v6_get_port+0x60/0x74 [ 27.560157][ T3072] __inet6_bind+0x688/0x8ac [ 27.561528][ T3072] inet6_bind+0xf4/0x150 [ 27.562776][ T3072] __sys_bind+0x148/0x1b0 [ 27.564078][ T3072] __arm64_sys_bind+0x28/0x3c [ 27.565442][ T3072] el0_svc_common+0x138/0x220 [ 27.566843][ T3072] do_el0_svc+0x48/0x164 [ 27.568206][ T3072] el0_svc+0x58/0x150 [ 27.569398][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.570798][ T3072] el0t_64_sync+0x190/0x194 [ 27.572218][ T3072] SOFTIRQ-ON-W at: [ 27.573169][ T3072] lock_acquire+0x100/0x1f8 [ 27.574507][ T3072] _raw_write_lock+0x54/0x6c [ 27.575975][ T3072] l2tp_tunnel_register+0x354/0x79c [ 27.577580][ T3072] pppol2tp_connect+0x3e8/0x6c4 [ 27.579064][ T3072] __sys_connect+0x184/0x190 [ 27.580575][ T3072] __arm64_sys_connect+0x28/0x3c [ 27.582082][ T3072] el0_svc_common+0x138/0x220 [ 27.583457][ T3072] do_el0_svc+0x48/0x164 [ 27.584731][ T3072] el0_svc+0x58/0x150 [ 27.585951][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.587372][ T3072] el0t_64_sync+0x190/0x194 [ 27.588701][ T3072] INITIAL USE at: [ 27.589603][ T3072] lock_acquire+0x100/0x1f8 [ 27.590886][ T3072] _raw_write_lock_bh+0x54/0x6c [ 27.592366][ T3072] sk_common_release+0x58/0x1d4 [ 27.593795][ T3072] udp_lib_close+0x20/0x30 [ 27.595183][ T3072] inet_release+0xc8/0xe4 [ 27.596539][ T3072] inet6_release+0x3c/0x58 [ 27.597870][ T3072] sock_close+0x50/0xf0 [ 27.599107][ T3072] __fput+0x198/0x3e4 [ 27.600365][ T3072] ____fput+0x20/0x30 [ 27.601605][ T3072] task_work_run+0x100/0x148 [ 27.603043][ T3072] do_notify_resume+0x174/0x1f0 [ 27.604437][ T3072] el0_svc+0x9c/0x150 [ 27.605610][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.607286][ T3072] el0t_64_sync+0x190/0x194 [ 27.608657][ T3072] INITIAL READ USE at: [ 27.609647][ T3072] lock_acquire+0x100/0x1f8 [ 27.611129][ T3072] _raw_read_lock_bh+0x64/0x7c [ 27.612675][ T3072] sock_i_uid+0x24/0x58 [ 27.614063][ T3072] udp_lib_lport_inuse+0x44/0x268 [ 27.615681][ T3072] udp_lib_get_port+0x2bc/0x8f8 [ 27.617276][ T3072] udp_v6_get_port+0x60/0x74 [ 27.618746][ T3072] __inet6_bind+0x688/0x8ac [ 27.620278][ T3072] inet6_bind+0xf4/0x150 [ 27.621697][ T3072] __sys_bind+0x148/0x1b0 [ 27.623095][ T3072] __arm64_sys_bind+0x28/0x3c [ 27.624591][ T3072] el0_svc_common+0x138/0x220 [ 27.626062][ T3072] do_el0_svc+0x48/0x164 [ 27.627512][ T3072] el0_svc+0x58/0x150 [ 27.628913][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.630475][ T3072] el0t_64_sync+0x190/0x194 [ 27.632048][ T3072] } [ 27.632700][ T3072] ... key at: [] af_callback_keys+0xa0/0x2e0 [ 27.634629][ T3072] ... acquired at: [ 27.635513][ T3072] mark_lock+0x154/0x1b4 [ 27.636600][ T3072] __lock_acquire+0x618/0x3084 [ 27.637721][ T3072] lock_acquire+0x100/0x1f8 [ 27.638814][ T3072] _raw_write_lock+0x54/0x6c [ 27.639978][ T3072] l2tp_tunnel_register+0x354/0x79c [ 27.641144][ T3072] pppol2tp_connect+0x3e8/0x6c4 [ 27.642282][ T3072] __sys_connect+0x184/0x190 [ 27.643410][ T3072] __arm64_sys_connect+0x28/0x3c [ 27.644607][ T3072] el0_svc_common+0x138/0x220 [ 27.645696][ T3072] do_el0_svc+0x48/0x164 [ 27.646752][ T3072] el0_svc+0x58/0x150 [ 27.647754][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.649133][ T3072] el0t_64_sync+0x190/0x194 [ 27.650260][ T3072] [ 27.650748][ T3072] [ 27.650748][ T3072] stack backtrace: [ 27.652047][ T3072] CPU: 0 PID: 3072 Comm: syz-executor115 Not tainted 6.1.0-rc6-syzkaller-32653-g65762d97e6fa #0 [ 27.654529][ T3072] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 27.656840][ T3072] Call trace: [ 27.657567][ T3072] dump_backtrace+0x1c4/0x1f0 [ 27.658557][ T3072] show_stack+0x2c/0x54 [ 27.659481][ T3072] dump_stack_lvl+0x104/0x16c [ 27.660520][ T3072] dump_stack+0x1c/0x58 [ 27.661452][ T3072] print_irq_inversion_bug+0x2f8/0x300 [ 27.662658][ T3072] mark_lock_irq+0x3ec/0x4b4 [ 27.663699][ T3072] mark_lock+0x154/0x1b4 [ 27.664635][ T3072] __lock_acquire+0x618/0x3084 [ 27.665817][ T3072] lock_acquire+0x100/0x1f8 [ 27.666858][ T3072] _raw_write_lock+0x54/0x6c [ 27.667984][ T3072] l2tp_tunnel_register+0x354/0x79c [ 27.669204][ T3072] pppol2tp_connect+0x3e8/0x6c4 [ 27.670341][ T3072] __sys_connect+0x184/0x190 [ 27.671394][ T3072] __arm64_sys_connect+0x28/0x3c [ 27.672523][ T3072] el0_svc_common+0x138/0x220 [ 27.673585][ T3072] do_el0_svc+0x48/0x164 [ 27.674574][ T3072] el0_svc+0x58/0x150 [ 27.675510][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.676731][ T3072] el0t_64_sync+0x190/0x194 [ 27.677869][ T3072] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 27.679897][ T3072] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3072, name: syz-executor115 [ 27.682027][ T3072] preempt_count: 1, expected: 0 [ 27.682952][ T3072] RCU nest depth: 0, expected: 0 [ 27.683895][ T3072] INFO: lockdep is turned off. [ 27.684758][ T3072] Preemption disabled at: [ 27.684763][ T3072] [] l2tp_tunnel_register+0x354/0x79c [ 27.686745][ T3072] CPU: 0 PID: 3072 Comm: syz-executor115 Not tainted 6.1.0-rc6-syzkaller-32653-g65762d97e6fa #0 [ 27.688608][ T3072] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 27.690534][ T3072] Call trace: [ 27.691207][ T3072] dump_backtrace+0x1c4/0x1f0 [ 27.692201][ T3072] show_stack+0x2c/0x54 [ 27.693114][ T3072] dump_stack_lvl+0x104/0x16c [ 27.694240][ T3072] dump_stack+0x1c/0x58 [ 27.695196][ T3072] __might_resched+0x208/0x218 [ 27.696327][ T3072] __might_sleep+0x48/0x78 [ 27.697244][ T3072] cpus_read_lock+0x28/0x1e0 [ 27.698232][ T3072] static_key_slow_inc+0x1c/0x38 [ 27.699330][ T3072] udpv6_encap_enable+0x1c/0x28 [ 27.700443][ T3072] setup_udp_tunnel_sock+0xec/0x124 [ 27.701549][ T3072] l2tp_tunnel_register+0x68c/0x79c [ 27.702701][ T3072] pppol2tp_connect+0x3e8/0x6c4 [ 27.703820][ T3072] __sys_connect+0x184/0x190 [ 27.704848][ T3072] __arm64_sys_connect+0x28/0x3c [ 27.705917][ T3072] el0_svc_common+0x138/0x220 [ 27.706974][ T3072] do_el0_svc+0x48/0x164 [ 27.707943][ T3072] el0_svc+0x58/0x150 [ 27.708841][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.709895][ T3072] el0t_64_sync+0x190/0x194