[ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.245' (ECDSA) to the list of known hosts. syzkaller login: [ 33.690756] IPVS: ftp: loaded support on port[0] = 21 [ 33.763260] chnl_net:caif_netlink_parms(): no params data found [ 33.882544] bridge0: port 1(bridge_slave_0) entered blocking state [ 33.889273] bridge0: port 1(bridge_slave_0) entered disabled state [ 33.896340] device bridge_slave_0 entered promiscuous mode [ 33.904278] bridge0: port 2(bridge_slave_1) entered blocking state [ 33.911011] bridge0: port 2(bridge_slave_1) entered disabled state [ 33.917929] device bridge_slave_1 entered promiscuous mode [ 33.935562] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 33.944328] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 33.961987] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 33.969771] team0: Port device team_slave_0 added [ 33.975206] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 33.982746] team0: Port device team_slave_1 added [ 33.998143] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 34.004459] 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. [ 34.029939] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 34.041301] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 34.047533] 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. [ 34.072807] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 34.086413] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 34.094042] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 34.113357] device hsr_slave_0 entered promiscuous mode [ 34.119168] device hsr_slave_1 entered promiscuous mode [ 34.125245] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 34.132562] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 34.196887] bridge0: port 2(bridge_slave_1) entered blocking state [ 34.203333] bridge0: port 2(bridge_slave_1) entered forwarding state [ 34.210319] bridge0: port 1(bridge_slave_0) entered blocking state [ 34.216676] bridge0: port 1(bridge_slave_0) entered forwarding state [ 34.248143] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 34.255888] 8021q: adding VLAN 0 to HW filter on device bond0 [ 34.264424] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 34.273623] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 34.282014] bridge0: port 1(bridge_slave_0) entered disabled state [ 34.289226] bridge0: port 2(bridge_slave_1) entered disabled state [ 34.296170] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 34.307505] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 34.313653] 8021q: adding VLAN 0 to HW filter on device team0 [ 34.330870] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 34.338558] bridge0: port 1(bridge_slave_0) entered blocking state [ 34.344999] bridge0: port 1(bridge_slave_0) entered forwarding state [ 34.352326] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 34.360067] bridge0: port 2(bridge_slave_1) entered blocking state [ 34.366417] bridge0: port 2(bridge_slave_1) entered forwarding state [ 34.374716] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 34.383276] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 34.392918] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 34.406187] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 34.416146] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 34.429285] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 34.435679] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 34.444284] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 34.452071] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 34.465410] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 34.472870] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 34.480400] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 34.491643] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 34.525312] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 34.535795] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 34.566069] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 34.573906] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 34.581237] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 34.590725] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 34.598228] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 34.606395] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 34.615190] device veth0_vlan entered promiscuous mode [ 34.624226] device veth1_vlan entered promiscuous mode [ 34.630487] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 34.639749] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 34.651890] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 34.661550] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 34.669900] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 34.677061] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 34.687118] device veth0_macvtap entered promiscuous mode [ 34.693304] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 34.702160] device veth1_macvtap entered promiscuous mode [ 34.711853] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 34.720731] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 34.731084] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 34.737799] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 34.747149] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 34.756942] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 34.764446] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready executing program [ 34.859976] netlink: 24 bytes leftover after parsing attributes in process `syz-executor195'. [ 34.874665] [ 34.876290] ============================================ [ 34.881714] WARNING: possible recursive locking detected [ 34.887138] 4.19.211-syzkaller #0 Not tainted [ 34.891606] -------------------------------------------- [ 34.897032] syz-executor195/8092 is trying to acquire lock: [ 34.902712] 000000008827fbb0 (rtnl_mutex){+.+.}, at: hsr_dev_destroy+0x1b/0xb0 [ 34.910063] [ 34.910063] but task is already holding lock: [ 34.916013] 000000008827fbb0 (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x3fe/0xb80 [ 34.923706] [ 34.923706] other info that might help us debug this: [ 34.930345] Possible unsafe locking scenario: [ 34.930345] [ 34.936375] CPU0 [ 34.938931] ---- [ 34.941484] lock(rtnl_mutex); [ 34.944737] lock(rtnl_mutex); [ 34.947989] [ 34.947989] *** DEADLOCK *** [ 34.947989] [ 34.954029] May be due to missing lock nesting notation [ 34.954029] [ 34.960935] 1 lock held by syz-executor195/8092: [ 34.965662] #0: 000000008827fbb0 (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x3fe/0xb80 [ 34.973791] [ 34.973791] stack backtrace: [ 34.978268] CPU: 0 PID: 8092 Comm: syz-executor195 Not tainted 4.19.211-syzkaller #0 [ 34.986123] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 34.995452] Call Trace: [ 34.998021] dump_stack+0x1fc/0x2ef [ 35.001627] __lock_acquire.cold+0x121/0x57e [ 35.006013] ? enable_ptr_key_workfn+0x30/0x30 [ 35.010574] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 35.015828] ? mark_held_locks+0xf0/0xf0 [ 35.019865] ? vsscanf+0x1ec/0x25a0 [ 35.023468] ? vsnprintf+0x2cc/0x14f0 [ 35.027245] ? pointer+0x850/0x850 [ 35.030762] ? mark_held_locks+0xa6/0xf0 [ 35.034800] ? _raw_spin_unlock_irqrestore+0x79/0xe0 [ 35.039883] lock_acquire+0x170/0x3c0 [ 35.043665] ? hsr_dev_destroy+0x1b/0xb0 [ 35.047704] ? hsr_dev_destroy+0x1b/0xb0 [ 35.051740] __mutex_lock+0xd7/0x1190 [ 35.055520] ? hsr_dev_destroy+0x1b/0xb0 [ 35.059560] ? full_name_hash+0xb5/0xf0 [ 35.063516] ? hsr_dev_destroy+0x1b/0xb0 [ 35.067551] ? mutex_trylock+0x1a0/0x1a0 [ 35.071610] ? dev_alloc_name_ns+0x390/0x440 [ 35.075997] ? dev_valid_name+0x220/0x220 [ 35.080126] ? ip6_route_dev_notify+0xd7/0xcd0 [ 35.084684] ? hsr_dev_close+0x10/0x10 [ 35.088547] hsr_dev_destroy+0x1b/0xb0 [ 35.092415] ? hsr_dev_close+0x10/0x10 [ 35.096278] register_netdevice+0x901/0x10f0 [ 35.100665] ? unregister_netdev+0x20/0x20 [ 35.104876] ? hsr_get_max_mtu+0x1d0/0x2a0 [ 35.109090] ? hsr_add_port+0x4e9/0x6a0 [ 35.113130] hsr_dev_finalize+0x4f5/0x770 [ 35.117273] hsr_newlink+0x27d/0x3e0 [ 35.120965] ? hsr_fill_info+0x590/0x590 [ 35.125006] ? rtnl_create_link+0x145/0xa40 [ 35.129303] ? hsr_fill_info+0x590/0x590 [ 35.133341] rtnl_newlink+0x1030/0x15c0 [ 35.137292] ? rtnl_getlink+0x620/0x620 [ 35.141244] ? __kasan_slab_free+0x186/0x1f0 [ 35.145630] ? mark_held_locks+0xf0/0xf0 [ 35.149668] ? unwind_next_frame+0xeee/0x1400 [ 35.154138] ? __save_stack_trace+0x72/0x190 [ 35.158527] ? deref_stack_reg+0x134/0x1d0 [ 35.162738] ? get_reg+0x176/0x1f0 [ 35.166257] ? __read_once_size_nocheck.constprop.0+0x10/0x10 [ 35.172123] ? deref_stack_reg+0x1d0/0x1d0 [ 35.176336] ? is_bpf_text_address+0xd5/0x1b0 [ 35.180820] ? lock_downgrade+0x720/0x720 [ 35.184948] ? lock_acquire+0x170/0x3c0 [ 35.188914] ? __bpf_address_lookup+0x330/0x330 [ 35.193579] ? check_preemption_disabled+0x41/0x280 [ 35.198576] ? is_bpf_text_address+0xfc/0x1b0 [ 35.203139] ? kernel_text_address+0xbd/0xf0 [ 35.207532] ? __kernel_text_address+0x9/0x30 [ 35.212006] ? unwind_get_return_address+0x51/0x90 [ 35.217001] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.222342] ? __save_stack_trace+0xaf/0x190 [ 35.226729] ? __lock_acquire+0x6de/0x3ff0 [ 35.230949] ? __kasan_slab_free+0x186/0x1f0 [ 35.235337] ? kmem_cache_free+0x7f/0x260 [ 35.239461] ? kfree_skbmem+0xc1/0x140 [ 35.243332] ? consume_skb+0x120/0x3d0 [ 35.247198] ? mark_held_locks+0xf0/0xf0 [ 35.251250] ? netlink_deliver_tap+0x8fb/0xb00 [ 35.255837] ? netlink_unicast+0x545/0x690 [ 35.260056] ? netlink_sendmsg+0x6c3/0xc50 [ 35.264282] ? sock_sendmsg+0xc3/0x120 [ 35.268147] ? ___sys_sendmsg+0x7bb/0x8e0 [ 35.272273] ? __x64_sys_sendmsg+0x132/0x220 [ 35.276659] ? do_syscall_64+0xf9/0x620 [ 35.280623] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.285971] ? mutex_trylock+0x1a0/0x1a0 [ 35.290015] ? check_preemption_disabled+0x41/0x280 [ 35.295016] ? rtnetlink_rcv_msg+0x3c3/0xb80 [ 35.299491] ? rtnl_getlink+0x620/0x620 [ 35.303452] rtnetlink_rcv_msg+0x453/0xb80 [ 35.307665] ? rtnl_calcit.isra.0+0x430/0x430 [ 35.312145] ? memcpy+0x35/0x50 [ 35.315400] ? netdev_pick_tx+0x2f0/0x2f0 [ 35.319537] ? __copy_skb_header+0x414/0x500 [ 35.323940] ? kfree_skbmem+0x140/0x140 [ 35.327912] netlink_rcv_skb+0x160/0x440 [ 35.331962] ? rtnl_calcit.isra.0+0x430/0x430 [ 35.336433] ? netlink_ack+0xae0/0xae0 [ 35.340406] netlink_unicast+0x4d5/0x690 [ 35.344447] ? netlink_sendskb+0x110/0x110 [ 35.348658] ? _copy_from_iter_full+0x229/0x7c0 [ 35.353304] ? __phys_addr_symbol+0x2c/0x70 [ 35.357603] ? __check_object_size+0x17b/0x3e0 [ 35.362165] netlink_sendmsg+0x6c3/0xc50 [ 35.366209] ? aa_af_perm+0x230/0x230 [ 35.369984] ? nlmsg_notify+0x1f0/0x1f0 [ 35.373934] ? kernel_recvmsg+0x220/0x220 [ 35.378148] ? nlmsg_notify+0x1f0/0x1f0 [ 35.382098] sock_sendmsg+0xc3/0x120 [ 35.385801] ___sys_sendmsg+0x7bb/0x8e0 [ 35.389764] ? mark_held_locks+0xf0/0xf0 [ 35.393803] ? copy_msghdr_from_user+0x440/0x440 [ 35.398541] ? lock_downgrade+0x720/0x720 [ 35.402682] ? __wake_up_common_lock+0xb0/0x170 [ 35.407338] ? __might_fault+0x11f/0x1d0 [ 35.411401] ? lock_downgrade+0x720/0x720 [ 35.415540] ? lock_acquire+0x170/0x3c0 [ 35.419502] ? __might_fault+0xef/0x1d0 [ 35.423459] ? __might_fault+0x192/0x1d0 [ 35.427503] ? _copy_to_user+0xb8/0x100 [ 35.431588] ? move_addr_to_user+0x190/0x1d0 [ 35.435979] ? __fdget+0x1a0/0x230 [ 35.439497] __x64_sys_sendmsg+0x132/0x220 [ 35.443714] ? __sys_sendmsg+0x1b0/0x1b0 [ 35.447759] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.453101] ? trace_hardirqs_off_caller+0x6e/0x210 [ 35.458096] ? do_syscall_64+0x21/0x620 [ 35.462048] do_syscall_64+0xf9/0x620 [ 35.465844] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.471014] RIP: 0033:0x7f9b1ba70869 [ 35.474708] Code: 28 c3 e8 4a 15 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 35.493591] RSP: 002b:00007fff7b20a388 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 35.501279] RAX: ffffffffffffffda RBX: 00007fff7b20a398 RCX: 00007f9b1ba70869 [ 35.508527] RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004 [ 35.515771] RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 [ 35.523015] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff7b20a3a0 [ 35.530259] R13: 00007fff7b20a3c0 R14: 0000000000000000 R15: 0000000000000000