[ 9.530319][ T2657] 8021q: adding VLAN 0 to HW filter on device bond0 [ 9.541291][ T2657] eql: remember to turn off Van-Jacobson compression on your slave devices [ 9.567156][ T130] gvnic 0000:00:00.0 enp0s0: Device link is up. [ 9.576797][ T21] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s0: link becomes ready Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.79' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 27.381652][ T3072] [ 27.382248][ T3072] ======================================================== [ 27.383808][ T3072] WARNING: possible irq lock inversion dependency detected [ 27.385360][ T3072] 6.1.0-rc6-syzkaller-32653-g65762d97e6fa #0 Not tainted [ 27.386963][ T3072] -------------------------------------------------------- [ 27.388725][ T3072] syz-executor187/3072 just changed the state of lock: [ 27.390167][ T3072] ffff0000c7c33838 (clock-AF_INET6){+++.}-{2:2}, at: l2tp_tunnel_register+0x354/0x79c [ 27.392286][ T3072] but this lock was taken by another, SOFTIRQ-safe lock in the past: [ 27.393989][ T3072] (&tcp_hashinfo.bhash[i].lock){+.-.}-{2:2} [ 27.393999][ T3072] [ 27.393999][ T3072] [ 27.393999][ T3072] and interrupts could create inverse lock ordering between them. [ 27.393999][ T3072] [ 27.398574][ T3072] [ 27.398574][ T3072] other info that might help us debug this: [ 27.400272][ T3072] Possible interrupt unsafe locking scenario: [ 27.400272][ T3072] [ 27.402023][ T3072] CPU0 CPU1 [ 27.403139][ T3072] ---- ---- [ 27.404407][ T3072] lock(clock-AF_INET6); [ 27.405335][ T3072] local_irq_disable(); [ 27.406858][ T3072] lock(&tcp_hashinfo.bhash[i].lock); [ 27.408575][ T3072] lock(clock-AF_INET6); [ 27.410059][ T3072] [ 27.410816][ T3072] lock(&tcp_hashinfo.bhash[i].lock); [ 27.412042][ T3072] [ 27.412042][ T3072] *** DEADLOCK *** [ 27.412042][ T3072] [ 27.413825][ T3072] 1 lock held by syz-executor187/3072: [ 27.414992][ T3072] #0: ffff0000cb625930 (sk_lock-AF_PPPOX){+.+.}-{0:0}, at: pppol2tp_connect+0x184/0x6c4 [ 27.417145][ T3072] [ 27.417145][ T3072] the shortest dependencies between 2nd lock and 1st lock: [ 27.419121][ T3072] -> (&tcp_hashinfo.bhash[i].lock){+.-.}-{2:2} { [ 27.420589][ T3072] HARDIRQ-ON-W at: [ 27.421438][ T3072] lock_acquire+0x100/0x1f8 [ 27.422767][ T3072] _raw_spin_lock_bh+0x54/0x6c [ 27.424317][ T3072] inet_csk_get_port+0xe0/0xaf0 [ 27.425776][ T3072] __inet6_bind+0x688/0x8ac [ 27.427169][ T3072] inet6_bind+0xf4/0x150 [ 27.428501][ T3072] rds_tcp_listen_init+0x14c/0x1f0 [ 27.429968][ T3072] rds_tcp_init_net+0xcc/0x1dc [ 27.431406][ T3072] ops_init+0xe4/0x2e4 [ 27.432671][ T3072] register_pernet_operations+0x108/0x264 [ 27.434311][ T3072] register_pernet_device+0x3c/0x94 [ 27.435805][ T3072] rds_tcp_init+0x74/0xe0 [ 27.437164][ T3072] do_one_initcall+0x118/0x22c [ 27.438563][ T3072] do_initcall_level+0xac/0xe4 [ 27.439917][ T3072] do_initcalls+0x58/0xa8 [ 27.441182][ T3072] do_basic_setup+0x20/0x2c [ 27.442746][ T3072] kernel_init_freeable+0xb8/0x148 [ 27.444221][ T3072] kernel_init+0x24/0x290 [ 27.445576][ T3072] ret_from_fork+0x10/0x20 [ 27.446826][ T3072] IN-SOFTIRQ-W at: [ 27.447716][ T3072] lock_acquire+0x100/0x1f8 [ 27.449092][ T3072] _raw_spin_lock+0x54/0x6c [ 27.450435][ T3072] __inet_inherit_port+0x124/0x9ac [ 27.451909][ T3072] tcp_v4_syn_recv_sock+0x790/0x848 [ 27.453423][ T3072] tcp_check_req+0x75c/0x8e4 [ 27.454779][ T3072] tcp_v4_rcv+0xad4/0x11e8 [ 27.456132][ T3072] ip_protocol_deliver_rcu+0x224/0x414 [ 27.457696][ T3072] ip_local_deliver_finish+0x124/0x200 [ 27.459303][ T3072] ip_local_deliver+0xd0/0xf4 [ 27.460709][ T3072] ip_sublist_rcv+0x40c/0x474 [ 27.462125][ T3072] ip_list_rcv+0x184/0x1c8 [ 27.463487][ T3072] __netif_receive_skb_list_core+0x1f8/0x2b0 [ 27.465176][ T3072] __netif_receive_skb_list+0x16c/0x1d0 [ 27.466864][ T3072] netif_receive_skb_list_internal+0x1e8/0x340 [ 27.468666][ T3072] napi_complete_done+0x140/0x354 [ 27.470145][ T3072] gve_napi_poll+0xcc/0x1b4 [ 27.471525][ T3072] __napi_poll+0x5c/0x24c [ 27.472886][ T3072] napi_poll+0x110/0x484 [ 27.474285][ T3072] net_rx_action+0x18c/0x414 [ 27.475633][ T3072] _stext+0x168/0x37c [ 27.476833][ T3072] ____do_softirq+0x14/0x20 [ 27.478178][ T3072] call_on_irq_stack+0x2c/0x54 [ 27.479549][ T3072] do_softirq_own_stack+0x20/0x2c [ 27.481121][ T3072] invoke_softirq+0x70/0xbc [ 27.482458][ T3072] __irq_exit_rcu+0xf0/0x140 [ 27.483877][ T3072] irq_exit_rcu+0x10/0x40 [ 27.485215][ T3072] el1_interrupt+0x38/0x68 [ 27.486535][ T3072] el1h_64_irq_handler+0x18/0x24 [ 27.488005][ T3072] el1h_64_irq+0x64/0x68 [ 27.489266][ T3072] arch_local_irq_enable+0xc/0x18 [ 27.490715][ T3072] default_idle_call+0x48/0xb8 [ 27.491874][ T3072] do_idle+0x110/0x2d4 [ 27.493216][ T3072] cpu_startup_entry+0x24/0x28 [ 27.494774][ T3072] kernel_init+0x0/0x290 [ 27.496134][ T3072] start_kernel+0x0/0x620 [ 27.497474][ T3072] start_kernel+0x450/0x620 [ 27.498824][ T3072] __primary_switched+0xb4/0xbc [ 27.500233][ T3072] INITIAL USE at: [ 27.501087][ T3072] lock_acquire+0x100/0x1f8 [ 27.502464][ T3072] _raw_spin_lock_bh+0x54/0x6c [ 27.503869][ T3072] inet_csk_get_port+0xe0/0xaf0 [ 27.505274][ T3072] __inet6_bind+0x688/0x8ac [ 27.506666][ T3072] inet6_bind+0xf4/0x150 [ 27.507966][ T3072] rds_tcp_listen_init+0x14c/0x1f0 [ 27.509428][ T3072] rds_tcp_init_net+0xcc/0x1dc [ 27.510822][ T3072] ops_init+0xe4/0x2e4 [ 27.512094][ T3072] register_pernet_operations+0x108/0x264 [ 27.513874][ T3072] register_pernet_device+0x3c/0x94 [ 27.515258][ T3072] rds_tcp_init+0x74/0xe0 [ 27.516671][ T3072] do_one_initcall+0x118/0x22c [ 27.518031][ T3072] do_initcall_level+0xac/0xe4 [ 27.519448][ T3072] do_initcalls+0x58/0xa8 [ 27.520711][ T3072] do_basic_setup+0x20/0x2c [ 27.521970][ T3072] kernel_init_freeable+0xb8/0x148 [ 27.523400][ T3072] kernel_init+0x24/0x290 [ 27.524610][ T3072] ret_from_fork+0x10/0x20 [ 27.525851][ T3072] } [ 27.526383][ T3072] ... key at: [] tcp_init.__key.22+0x0/0x10 [ 27.528049][ T3072] ... acquired at: [ 27.528829][ T3072] _raw_read_lock_bh+0x64/0x7c [ 27.529808][ T3072] sock_i_uid+0x24/0x58 [ 27.530687][ T3072] inet_csk_get_port+0x674/0xaf0 [ 27.531697][ T3072] __inet6_bind+0x688/0x8ac [ 27.532661][ T3072] inet6_bind+0xf4/0x150 [ 27.533617][ T3072] __sys_bind+0x148/0x1b0 [ 27.534550][ T3072] __arm64_sys_bind+0x28/0x3c [ 27.535563][ T3072] el0_svc_common+0x138/0x220 [ 27.536613][ T3072] do_el0_svc+0x48/0x164 [ 27.537532][ T3072] el0_svc+0x58/0x150 [ 27.538523][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.539590][ T3072] el0t_64_sync+0x190/0x194 [ 27.540573][ T3072] [ 27.541081][ T3072] -> (clock-AF_INET6){+++.}-{2:2} { [ 27.542113][ T3072] HARDIRQ-ON-W at: [ 27.542969][ T3072] lock_acquire+0x100/0x1f8 [ 27.544224][ T3072] _raw_write_lock_bh+0x54/0x6c [ 27.545596][ T3072] sk_common_release+0x58/0x1d4 [ 27.546912][ T3072] udp_lib_close+0x20/0x30 [ 27.548160][ T3072] inet_release+0xc8/0xe4 [ 27.549454][ T3072] inet6_release+0x3c/0x58 [ 27.550727][ T3072] sock_close+0x50/0xf0 [ 27.552028][ T3072] __fput+0x198/0x3e4 [ 27.553167][ T3072] ____fput+0x20/0x30 [ 27.554303][ T3072] task_work_run+0x100/0x148 [ 27.555618][ T3072] do_notify_resume+0x174/0x1f0 [ 27.556919][ T3072] el0_svc+0x9c/0x150 [ 27.558106][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.559521][ T3072] el0t_64_sync+0x190/0x194 [ 27.560886][ T3072] HARDIRQ-ON-R at: [ 27.561781][ T3072] lock_acquire+0x100/0x1f8 [ 27.563097][ T3072] _raw_read_lock_bh+0x64/0x7c [ 27.564489][ T3072] sock_i_uid+0x24/0x58 [ 27.565700][ T3072] udp_lib_lport_inuse+0x44/0x268 [ 27.567076][ T3072] udp_lib_get_port+0x2bc/0x8f8 [ 27.568385][ T3072] udp_v6_get_port+0x60/0x74 [ 27.569762][ T3072] __inet6_bind+0x688/0x8ac [ 27.571037][ T3072] inet6_bind+0xf4/0x150 [ 27.572297][ T3072] __sys_bind+0x148/0x1b0 [ 27.573613][ T3072] __arm64_sys_bind+0x28/0x3c [ 27.574929][ T3072] el0_svc_common+0x138/0x220 [ 27.576160][ T3072] do_el0_svc+0x48/0x164 [ 27.577399][ T3072] el0_svc+0x58/0x150 [ 27.578579][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.580028][ T3072] el0t_64_sync+0x190/0x194 [ 27.581333][ T3072] SOFTIRQ-ON-W at: [ 27.582196][ T3072] lock_acquire+0x100/0x1f8 [ 27.583573][ T3072] _raw_write_lock+0x54/0x6c [ 27.584869][ T3072] l2tp_tunnel_register+0x354/0x79c [ 27.586471][ T3072] pppol2tp_connect+0x3e8/0x6c4 [ 27.587909][ T3072] __sys_connect+0x184/0x190 [ 27.589368][ T3072] __arm64_sys_connect+0x28/0x3c [ 27.590837][ T3072] el0_svc_common+0x138/0x220 [ 27.592254][ T3072] do_el0_svc+0x48/0x164 [ 27.593560][ T3072] el0_svc+0x58/0x150 [ 27.594896][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.596372][ T3072] el0t_64_sync+0x190/0x194 [ 27.597750][ T3072] INITIAL USE at: [ 27.598619][ T3072] lock_acquire+0x100/0x1f8 [ 27.600063][ T3072] _raw_write_lock_bh+0x54/0x6c [ 27.601574][ T3072] sk_common_release+0x58/0x1d4 [ 27.602929][ T3072] udp_lib_close+0x20/0x30 [ 27.604330][ T3072] inet_release+0xc8/0xe4 [ 27.605678][ T3072] inet6_release+0x3c/0x58 [ 27.606996][ T3072] sock_close+0x50/0xf0 [ 27.608260][ T3072] __fput+0x198/0x3e4 [ 27.609390][ T3072] ____fput+0x20/0x30 [ 27.610679][ T3072] task_work_run+0x100/0x148 [ 27.611990][ T3072] do_notify_resume+0x174/0x1f0 [ 27.613391][ T3072] el0_svc+0x9c/0x150 [ 27.614363][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.615497][ T3072] el0t_64_sync+0x190/0x194 [ 27.616547][ T3072] INITIAL READ USE at: [ 27.617335][ T3072] lock_acquire+0x100/0x1f8 [ 27.618696][ T3072] _raw_read_lock_bh+0x64/0x7c [ 27.620180][ T3072] sock_i_uid+0x24/0x58 [ 27.621599][ T3072] udp_lib_lport_inuse+0x44/0x268 [ 27.623149][ T3072] udp_lib_get_port+0x2bc/0x8f8 [ 27.624668][ T3072] udp_v6_get_port+0x60/0x74 [ 27.626143][ T3072] __inet6_bind+0x688/0x8ac [ 27.627650][ T3072] inet6_bind+0xf4/0x150 [ 27.629016][ T3072] __sys_bind+0x148/0x1b0 [ 27.630397][ T3072] __arm64_sys_bind+0x28/0x3c [ 27.631854][ T3072] el0_svc_common+0x138/0x220 [ 27.633268][ T3072] do_el0_svc+0x48/0x164 [ 27.634645][ T3072] el0_svc+0x58/0x150 [ 27.635861][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.637497][ T3072] el0t_64_sync+0x190/0x194 [ 27.639002][ T3072] } [ 27.639554][ T3072] ... key at: [] af_callback_keys+0xa0/0x2e0 [ 27.641298][ T3072] ... acquired at: [ 27.642135][ T3072] mark_lock+0x154/0x1b4 [ 27.643085][ T3072] __lock_acquire+0x618/0x3084 [ 27.644188][ T3072] lock_acquire+0x100/0x1f8 [ 27.645077][ T3072] _raw_write_lock+0x54/0x6c [ 27.646121][ T3072] l2tp_tunnel_register+0x354/0x79c [ 27.647283][ T3072] pppol2tp_connect+0x3e8/0x6c4 [ 27.648327][ T3072] __sys_connect+0x184/0x190 [ 27.649517][ T3072] __arm64_sys_connect+0x28/0x3c [ 27.650735][ T3072] el0_svc_common+0x138/0x220 [ 27.651777][ T3072] do_el0_svc+0x48/0x164 [ 27.652860][ T3072] el0_svc+0x58/0x150 [ 27.653792][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.654978][ T3072] el0t_64_sync+0x190/0x194 [ 27.655964][ T3072] [ 27.656486][ T3072] [ 27.656486][ T3072] stack backtrace: [ 27.657773][ T3072] CPU: 1 PID: 3072 Comm: syz-executor187 Not tainted 6.1.0-rc6-syzkaller-32653-g65762d97e6fa #0 [ 27.660189][ T3072] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 27.662481][ T3072] Call trace: [ 27.663114][ T3072] dump_backtrace+0x1c4/0x1f0 [ 27.664115][ T3072] show_stack+0x2c/0x54 [ 27.665074][ T3072] dump_stack_lvl+0x104/0x16c [ 27.666090][ T3072] dump_stack+0x1c/0x58 [ 27.667010][ T3072] print_irq_inversion_bug+0x2f8/0x300 [ 27.668209][ T3072] mark_lock_irq+0x3ec/0x4b4 [ 27.669184][ T3072] mark_lock+0x154/0x1b4 [ 27.670101][ T3072] __lock_acquire+0x618/0x3084 [ 27.671162][ T3072] lock_acquire+0x100/0x1f8 [ 27.672191][ T3072] _raw_write_lock+0x54/0x6c [ 27.673023][ T3072] l2tp_tunnel_register+0x354/0x79c [ 27.673975][ T3072] pppol2tp_connect+0x3e8/0x6c4 [ 27.674809][ T3072] __sys_connect+0x184/0x190 [ 27.675643][ T3072] __arm64_sys_connect+0x28/0x3c [ 27.676607][ T3072] el0_svc_common+0x138/0x220 [ 27.677721][ T3072] do_el0_svc+0x48/0x164 [ 27.678604][ T3072] el0_svc+0x58/0x150 [ 27.679511][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.680609][ T3072] el0t_64_sync+0x190/0x194 [ 27.681661][ T3072] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [ 27.683378][ T3072] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3072, name: syz-executor187 [ 27.685017][ T3072] preempt_count: 1, expected: 0 [ 27.686071][ T3072] RCU nest depth: 0, expected: 0 [ 27.687183][ T3072] INFO: lockdep is turned off. [ 27.687986][ T3072] Preemption disabled at: [ 27.687991][ T3072] [] l2tp_tunnel_register+0x354/0x79c [ 27.689862][ T3072] CPU: 1 PID: 3072 Comm: syz-executor187 Not tainted 6.1.0-rc6-syzkaller-32653-g65762d97e6fa #0 [ 27.691671][ T3072] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022 [ 27.693348][ T3072] Call trace: [ 27.694003][ T3072] dump_backtrace+0x1c4/0x1f0 [ 27.695027][ T3072] show_stack+0x2c/0x54 [ 27.695945][ T3072] dump_stack_lvl+0x104/0x16c [ 27.696930][ T3072] dump_stack+0x1c/0x58 [ 27.697852][ T3072] __might_resched+0x208/0x218 [ 27.698999][ T3072] __might_sleep+0x48/0x78 [ 27.699858][ T3072] cpus_read_lock+0x28/0x1e0 [ 27.700850][ T3072] static_key_slow_inc+0x1c/0x38 [ 27.701932][ T3072] udpv6_encap_enable+0x1c/0x28 [ 27.703066][ T3072] setup_udp_tunnel_sock+0xec/0x124 [ 27.704141][ T3072] l2tp_tunnel_register+0x68c/0x79c [ 27.705373][ T3072] pppol2tp_connect+0x3e8/0x6c4 [ 27.706216][ T3072] __sys_connect+0x184/0x190 [ 27.707007][ T3072] __arm64_sys_connect+0x28/0x3c [ 27.708111][ T3072] el0_svc_common+0x138/0x220 [ 27.709135][ T3072] do_el0_svc+0x48/0x164 [ 27.710044][ T3072] el0_svc+0x58/0x150 [ 27.710971][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 27.712336][ T3072] el0t_64_sync+0x190/0x194