Warning: Permanently added '10.128.0.216' (ED25519) to the list of known hosts. [*] Starting reproducer for lapb_data_received circular locking dependency... [+] AF_INET socket opened successfully. [+] NETLINK_ROUTE socket opened successfully. [+] AF_PACKET socket opened successfully. [+] /dev/net/tun opened successfully. [+] Created tap0 interface successfully. [+] Brought tap0 UP successfully. [+] Detected lapb interface for tap0: lapb6 (ifindex 40) [+] Brought lapb6 UP successfully. [+] Brought lapb6 DOWN successfully (established lapb_list_lock -> &lapb->lock). [+] Brought lapb6 back UP successfully. [+] Configured 192.168.1.1/24 on lapb6 successfully. [+] Configured route to 192.168.1.2/32 dev lapb6 successfully. [+] Direct transmit on lapb6 succeeded (4 bytes, established _xmit_X25 -> &lapbeth->up_lock). [+] Created vxlan0 successfully. [+] Brought vxlan0 UP successfully. [+] Detected lapb interface for vxlan0: lapb7 (ifindex 42) [+] Brought lapb7 UP successfully (established &lapb->lock -> _xmit_X25). [*] Injecting ETH_P_DEC frames into tap0 to trigger circular deadlock in lapb_data_received... [ 100.158839][ T6044] [ 100.161210][ T6044] ====================================================== [ 100.168238][ T6044] WARNING: possible circular locking dependency detected [ 100.175276][ T6044] syzkaller #0 Not tainted [ 100.179679][ T6044] ------------------------------------------------------ [ 100.186680][ T6044] syz-executor415/6044 is trying to acquire lock: [ 100.193075][ T6044] ffffffff91805ed8 (lapb_list_lock){++..}-{3:3}, at: lapb_data_received+0x2f/0x1c0 [ 100.202386][ T6044] [ 100.202386][ T6044] but task is already holding lock: [ 100.209732][ T6044] ffff88807f3e4f40 (&lapbeth->up_lock){+...}-{3:3}, at: lapbeth_rcv+0x24e/0x640 [ 100.218780][ T6044] [ 100.218780][ T6044] which lock already depends on the new lock. [ 100.218780][ T6044] [ 100.229182][ T6044] [ 100.229182][ T6044] the existing dependency chain (in reverse order) is: [ 100.238192][ T6044] [ 100.238192][ T6044] -> #3 (&lapbeth->up_lock){+...}-{3:3}: [ 100.246181][ T6044] _raw_spin_lock_bh+0x36/0x50 [ 100.251462][ T6044] lapbeth_xmit+0x32/0x260 [ 100.256405][ T6044] dev_hard_start_xmit+0x2cd/0x830 [ 100.262024][ T6044] __dev_queue_xmit+0x14d1/0x3920 [ 100.267551][ T6044] tx+0x6b/0x190 [ 100.271606][ T6044] kthread+0x1ed/0x420 [ 100.276205][ T6044] kthread+0x38b/0x480 [ 100.280785][ T6044] ret_from_fork+0x514/0xb70 [ 100.285886][ T6044] ret_from_fork_asm+0x1a/0x30 [ 100.291161][ T6044] [ 100.291161][ T6044] -> #2 (_xmit_X25#2){+...}-{3:3}: [ 100.298453][ T6044] _raw_spin_lock+0x2e/0x40 [ 100.303484][ T6044] __dev_queue_xmit+0xe9d/0x3920 [ 100.308943][ T6044] ip_finish_output2+0xc4b/0x10b0 [ 100.314478][ T6044] ip_output+0x29f/0x450 [ 100.319236][ T6044] iptunnel_xmit+0x626/0xd10 [ 100.324335][ T6044] udp_tunnel_xmit_skb+0x29b/0x3e0 [ 100.329992][ T6044] vxlan_xmit_one+0x20d2/0x2f80 [ 100.335353][ T6044] vxlan_xmit+0x2afc/0x45c0 [ 100.340368][ T6044] dev_hard_start_xmit+0x2cd/0x830 [ 100.345987][ T6044] __dev_queue_xmit+0x14d1/0x3920 [ 100.351518][ T6044] lapb_data_transmit+0x90/0xb0 [ 100.356882][ T6044] lapb_transmit_buffer+0x163/0x200 [ 100.362674][ T6044] lapb_establish_data_link+0x89/0xe0 [ 100.368571][ T6044] lapb_device_event+0x4eb/0x680 [ 100.374021][ T6044] notifier_call_chain+0x1a5/0x3d0 [ 100.379725][ T6044] __dev_notify_flags+0x31e/0x510 [ 100.385264][ T6044] netif_change_flags+0xde/0x1b0 [ 100.390715][ T6044] dev_change_flags+0x128/0x260 [ 100.396102][ T6044] devinet_ioctl+0x966/0x1c50 [ 100.401294][ T6044] inet_ioctl+0x42a/0x560 [ 100.406131][ T6044] sock_do_ioctl+0x101/0x320 [ 100.411231][ T6044] sock_ioctl+0x57a/0x7e0 [ 100.416095][ T6044] __se_sys_ioctl+0xfc/0x170 [ 100.421223][ T6044] do_syscall_64+0x166/0x520 [ 100.426330][ T6044] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 100.432744][ T6044] [ 100.432744][ T6044] -> #1 (&lapb->lock){+.-.}-{3:3}: [ 100.440040][ T6044] _raw_spin_lock_bh+0x36/0x50 [ 100.445321][ T6044] lapb_unregister+0x1e1/0x450 [ 100.450594][ T6044] lapbeth_close+0x56/0xb0 [ 100.455531][ T6044] __dev_close_many+0x361/0x6e0 [ 100.460892][ T6044] __dev_change_flags+0x3f5/0x820 [ 100.466438][ T6044] netif_change_flags+0x7c/0x1b0 [ 100.471982][ T6044] dev_change_flags+0x128/0x260 [ 100.477359][ T6044] devinet_ioctl+0x966/0x1c50 [ 100.482549][ T6044] inet_ioctl+0x42a/0x560 [ 100.488250][ T6044] sock_do_ioctl+0x101/0x320 [ 100.493350][ T6044] sock_ioctl+0x57a/0x7e0 [ 100.498209][ T6044] __se_sys_ioctl+0xfc/0x170 [ 100.503313][ T6044] do_syscall_64+0x166/0x520 [ 100.508414][ T6044] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 100.514816][ T6044] [ 100.514816][ T6044] -> #0 (lapb_list_lock){++..}-{3:3}: [ 100.522359][ T6044] __lock_acquire+0x164c/0x2de0 [ 100.527748][ T6044] lock_acquire+0x115/0x350 [ 100.532765][ T6044] _raw_read_lock_bh+0x3e/0x50 [ 100.538038][ T6044] lapb_data_received+0x2f/0x1c0 [ 100.543510][ T6044] lapbeth_rcv+0x34d/0x640 [ 100.548438][ T6044] netif_receive_skb+0x4af/0xbf0 [ 100.553892][ T6044] tun_rx_batched+0x1de/0x790 [ 100.559093][ T6044] tun_get_user+0x2b78/0x4470 [ 100.564293][ T6044] tun_chr_write_iter+0x113/0x200 [ 100.569844][ T6044] vfs_write+0x612/0xba0 [ 100.574617][ T6044] ksys_write+0x150/0x270 [ 100.579458][ T6044] do_syscall_64+0x166/0x520 [ 100.584559][ T6044] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 100.590966][ T6044] [ 100.590966][ T6044] other info that might help us debug this: [ 100.590966][ T6044] [ 100.601183][ T6044] Chain exists of: [ 100.601183][ T6044] lapb_list_lock --> _xmit_X25#2 --> &lapbeth->up_lock [ 100.601183][ T6044] [ 100.613965][ T6044] Possible unsafe locking scenario: [ 100.613965][ T6044] [ 100.621490][ T6044] CPU0 CPU1 [ 100.626843][ T6044] ---- ---- [ 100.632211][ T6044] lock(&lapbeth->up_lock); [ 100.636801][ T6044] lock(_xmit_X25#2); [ 100.643380][ T6044] lock(&lapbeth->up_lock); [ 100.650758][ T6044] rlock(lapb_list_lock); [ 100.655162][ T6044] [ 100.655162][ T6044] *** DEADLOCK *** [ 100.655162][ T6044] [ 100.663291][ T6044] locks held by syz-executor415/6044: 4, last CPU#0: [ 100.669952][ T6044] #0: ffffffff9015a320 (rcu_read_lock){....}-{1:3}, at: tun_get_user+0x275c/0x4470 [ 100.679341][ T6044] #1: ffffffff9015a320 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb+0x102/0xbf0 [ 100.688985][ T6044] #2: ffffffff9015a320 (rcu_read_lock){....}-{1:3}, at: lapbeth_rcv+0x12f/0x640 [ 100.698111][ T6044] #3: ffff88807f3e4f40 (&lapbeth->up_lock){+...}-{3:3}, at: lapbeth_rcv+0x24e/0x640 [ 100.707585][ T6044] [ 100.707585][ T6044] stack backtrace: [ 100.713479][ T6044] CPU: 0 UID: 0 PID: 6044 Comm: syz-executor415 Not tainted syzkaller #0 PREEMPT(full) [ 100.723189][ T6044] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 [ 100.733248][ T6044] Call Trace: [ 100.736529][ T6044] [ 100.739446][ T6044] dump_stack_lvl+0xe8/0x150 [ 100.744032][ T6044] print_circular_bug+0x2e2/0x300 [ 100.749063][ T6044] check_noncircular+0x12f/0x150 [ 100.753996][ T6044] __lock_acquire+0x164c/0x2de0 [ 100.758840][ T6044] ? __lock_acquire+0x1511/0x2de0 [ 100.763871][ T6044] lock_acquire+0x115/0x350 [ 100.768474][ T6044] ? lapb_data_received+0x2f/0x1c0 [ 100.773585][ T6044] ? do_raw_spin_lock+0x12b/0x2f0 [ 100.778701][ T6044] ? lapb_data_received+0x2f/0x1c0 [ 100.783802][ T6044] _raw_read_lock_bh+0x3e/0x50 [ 100.788622][ T6044] ? lapb_data_received+0x2f/0x1c0 [ 100.793725][ T6044] lapb_data_received+0x2f/0x1c0 [ 100.798656][ T6044] lapbeth_rcv+0x34d/0x640 [ 100.803066][ T6044] ? lapbeth_rcv+0x12f/0x640 [ 100.807647][ T6044] ? netif_receive_skb+0x102/0xbf0 [ 100.812746][ T6044] ? __pfx_lapbeth_rcv+0x10/0x10 [ 100.817676][ T6044] netif_receive_skb+0x4af/0xbf0 [ 100.822610][ T6044] ? __pfx_netif_receive_skb+0x10/0x10 [ 100.828067][ T6044] ? tun_rx_batched+0x185/0x790 [ 100.832907][ T6044] tun_rx_batched+0x1de/0x790 [ 100.837575][ T6044] ? __pfx_tun_rx_batched+0x10/0x10 [ 100.842761][ T6044] ? lock_acquire+0x115/0x350 [ 100.847431][ T6044] ? tun_get_user+0x1db7/0x4470 [ 100.852270][ T6044] ? __local_bh_enable_ip+0xd6/0x140 [ 100.857549][ T6044] tun_get_user+0x2b78/0x4470 [ 100.862227][ T6044] ? tun_get_user+0x275c/0x4470 [ 100.867071][ T6044] ? aa_file_perm+0x4ed/0x15f0 [ 100.871823][ T6044] ? __pfx_tun_get_user+0x10/0x10 [ 100.876840][ T6044] ? __lock_acquire+0x747/0x2de0 [ 100.881778][ T6044] ? ref_tracker_alloc+0x172/0x530 [ 100.886885][ T6044] ? __pfx_ref_tracker_alloc+0x10/0x10 [ 100.892336][ T6044] ? lock_acquire+0x115/0x350 [ 100.897005][ T6044] ? tun_get+0x1c/0x2f0 [ 100.901146][ T6044] ? tun_get+0x1c/0x2f0 [ 100.905285][ T6044] ? tun_get+0x1c/0x2f0 [ 100.909431][ T6044] tun_chr_write_iter+0x113/0x200 [ 100.914456][ T6044] vfs_write+0x612/0xba0 [ 100.918694][ T6044] ? __pfx_vfs_write+0x10/0x10 [ 100.923447][ T6044] ? fdget+0x16b/0x250 [ 100.927511][ T6044] ksys_write+0x150/0x270 [ 100.931836][ T6044] ? __pfx_ksys_write+0x10/0x10 [ 100.936684][ T6044] do_syscall_64+0x166/0x520 [ 100.941299][ T6044] ? trace_irq_disable+0x3b/0x140 [ 100.946317][ T6044] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 100.952399][ T6044] ? clear_bhb_loop+0x70/0xc0 [ 100.957065][ T6044] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 100.962947][ T6044] RIP: 0033:0x7ff8aeab1137 [ 100.967366][ T6044] Code: 48 89 fa 4c 89 df e8 98 1d 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff [ 100.986955][ T6044] RSP: 002b:00007ffd8a692d00 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 [ 100.995365][ T6044] RAX: ffffffffffffffda RBX: 000055558d6c8400 RCX: 00007ff8aeab1137 [ 101.003348][ T6044] RDX: 0000000000000010 RSI: 00007ffd8a692db0 RDI: 0000000000000006 [ 101.011350][ T6044] RBP: 0000000000000006 R08: 0000000000000000 R09: 0000000000000000 [ 101.019311][ T6044] R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000a [ 101.027292][ T6044] R13: 00007ffd8a692db0 R14: 00007ffd8a692da0 R15: 000000000000002c [ 101.035354][ T6044] [ 101.042317][ T234] netdevsim netdevsim4 eth1: set [0, 0] type 1 family 0 port 4789 - 0 [+] Injected ETH_P_DEC frames successfully. [*] Waiting for lockdep warnings... [ 101.042552][ T234] netdevsim netdevsim4 eth2: set [0, 0] type 1 family 0 port 4789 - 0 [ 101.042581][ T234] netdevsim netdevsim4 eth3: set [0, 0] type 1 family 0 port 4789 - 0 [ 101.042606][ T234] netdevsim netdevsim4 eth4: set [0, 0] type 1 family 0 port 4789 - 0 [ 101.042631][ T234] netdevsim netdevsim0 eth5: set [0, 0] type 1 family 0 port 4789 - 0 [ 101.042656][ T234] netdevsim netdevsim0 eth6: set [0, 0] type 1 family 0 port 4789 - 0 [ 101.042682][ T234] netdevsim netdevsim0 eth7: set [0, 0] type 1 family 0 port 4789 - 0 [ 101.042707][ T234] netdevsim netdevsim0 eth8: set [0, 0] type 1 family 0 port 4789 - 0 [ 103.111009][ T43] netdevsim netdevsim4 eth1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 103.111049][ T43] netdevsim netdevsim4 eth2: unset [0, 0] type 1 family 0 port 4789 - 0 [ 103.111077][ T43] netdevsim netdevsim4 eth3: unset [0, 0] type 1 family 0 port 4789 - 0 [ 103.111111][ T43] netdevsim netdevsim4 eth4: unset [0, 0] type 1 family 0 port 4789 - 0 [ 103.111138][ T43] netdevsim netdevsim0 eth5: unset [0, 0] type 1 family 0 port 4789 - 0 [+] Reproducer finished. [ 103.111163][ T43] netdevsim netdevsim0 eth6: unset [0, 0] type 1 family 0 port 4789 - 0