[ 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.87' (ECDSA) to the list of known hosts. 2021/06/12 01:21:34 parsed 1 programs 2021/06/12 01:21:34 executed programs: 0 syzkaller login: [ 1580.185154] IPVS: ftp: loaded support on port[0] = 21 [ 1580.298108] chnl_net:caif_netlink_parms(): no params data found [ 1580.403534] bridge0: port 1(bridge_slave_0) entered blocking state [ 1580.411771] bridge0: port 1(bridge_slave_0) entered disabled state [ 1580.420075] device bridge_slave_0 entered promiscuous mode [ 1580.427820] bridge0: port 2(bridge_slave_1) entered blocking state [ 1580.434191] bridge0: port 2(bridge_slave_1) entered disabled state [ 1580.442696] device bridge_slave_1 entered promiscuous mode [ 1580.461168] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 1580.469934] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 1580.487894] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 1580.495235] team0: Port device team_slave_0 added [ 1580.501780] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 1580.509513] team0: Port device team_slave_1 added [ 1580.526775] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 1580.533057] 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. [ 1580.559318] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 1580.571107] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 1580.577842] 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. [ 1580.603462] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 1580.615739] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 1580.623157] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 1580.642549] device hsr_slave_0 entered promiscuous mode [ 1580.648340] device hsr_slave_1 entered promiscuous mode [ 1580.654337] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 1580.661753] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 1580.726284] bridge0: port 2(bridge_slave_1) entered blocking state [ 1580.732710] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1580.739697] bridge0: port 1(bridge_slave_0) entered blocking state [ 1580.746212] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1580.777601] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 1580.783699] 8021q: adding VLAN 0 to HW filter on device bond0 [ 1580.792695] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 1580.802251] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 1580.811361] bridge0: port 1(bridge_slave_0) entered disabled state [ 1580.820119] bridge0: port 2(bridge_slave_1) entered disabled state [ 1580.827890] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 1580.839443] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 1580.846157] 8021q: adding VLAN 0 to HW filter on device team0 [ 1580.856853] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 1580.864700] bridge0: port 1(bridge_slave_0) entered blocking state [ 1580.871167] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1580.892437] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 1580.902881] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 1580.914228] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 1580.923144] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 1580.930959] bridge0: port 2(bridge_slave_1) entered blocking state [ 1580.937407] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1580.944727] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 1580.953429] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 1580.961202] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 1580.968962] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 1580.976704] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 1580.983467] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 1580.995369] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 1581.005886] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 1581.012261] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 1581.019202] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 1581.032765] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 1581.042487] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 1581.078398] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 1581.086308] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 1581.092788] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 1581.102823] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 1581.111096] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 1581.118625] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 1581.127753] device veth0_vlan entered promiscuous mode [ 1581.137580] device veth1_vlan entered promiscuous mode [ 1581.143485] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 1581.152341] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 1581.164706] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 1581.174946] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 1581.183165] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 1581.190864] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 1581.200593] device veth0_macvtap entered promiscuous mode [ 1581.207332] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 1581.216568] device veth1_macvtap entered promiscuous mode [ 1581.224929] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 1581.234404] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 1581.244544] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 1581.252072] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 1581.260637] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 1581.271597] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 1581.279264] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 1581.385857] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 1581.392865] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1581.401913] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1581.420693] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 1581.430944] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 1581.437866] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1581.444980] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1581.451994] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 1582.226866] Bluetooth: hci0: command 0x0409 tx timeout [ 1584.305113] Bluetooth: hci0: command 0x041b tx timeout 2021/06/12 01:21:40 executed programs: 4 [ 1586.385239] Bluetooth: hci0: command 0x040f tx timeout [ 1588.464818] Bluetooth: hci0: command 0x0419 tx timeout 2021/06/12 01:21:45 executed programs: 10 [ 1590.544726] Bluetooth: hci0: command 0x0405 tx timeout 2021/06/12 01:21:50 executed programs: 16 2021/06/12 01:21:55 executed programs: 22 2021/06/12 01:22:00 executed programs: 28 [ 1608.225070] ieee802154 phy0 wpan0: encryption failed: -22 [ 1608.230796] ieee802154 phy1 wpan1: encryption failed: -22 2021/06/12 01:22:05 executed programs: 34 2021/06/12 01:22:11 executed programs: 40 2021/06/12 01:22:16 executed programs: 46 2021/06/12 01:22:21 executed programs: 52 2021/06/12 01:22:26 executed programs: 58 [ 1632.552357] ================================================================== [ 1632.560049] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 1632.566795] Read of size 8 at addr ffff8880a9090420 by task kworker/1:1/8110 [ 1632.573960] [ 1632.575594] CPU: 1 PID: 8110 Comm: kworker/1:1 Not tainted 4.19.194-syzkaller #0 [ 1632.583141] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1632.592493] Workqueue: events l2cap_chan_timeout [ 1632.597232] Call Trace: [ 1632.599862] dump_stack+0x1fc/0x2ef [ 1632.603480] print_address_description.cold+0x54/0x219 [ 1632.608845] kasan_report_error.cold+0x8a/0x1b9 [ 1632.613592] ? __lock_acquire+0x2cb4/0x3ff0 [ 1632.618336] __asan_report_load8_noabort+0x88/0x90 [ 1632.623260] ? __lock_acquire+0x2cb4/0x3ff0 [ 1632.627577] __lock_acquire+0x2cb4/0x3ff0 [ 1632.631724] ? trace_hardirqs_off+0x64/0x200 [ 1632.636170] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 1632.641272] ? debug_object_assert_init+0x242/0x2e0 [ 1632.646377] ? mark_held_locks+0xf0/0xf0 [ 1632.650636] ? debug_object_free+0x380/0x380 [ 1632.655046] ? mark_held_locks+0xf0/0xf0 [ 1632.659104] ? __save_stack_trace+0x9f/0x190 [ 1632.663502] ? del_timer+0xc3/0x100 [ 1632.667125] lock_acquire+0x170/0x3c0 [ 1632.670916] ? lock_sock_nested+0x3b/0x110 [ 1632.675314] _raw_spin_lock_bh+0x2f/0x40 [ 1632.679365] ? lock_sock_nested+0x3b/0x110 [ 1632.683608] lock_sock_nested+0x3b/0x110 [ 1632.689144] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 1632.693718] l2cap_chan_del+0xbc/0xa50 [ 1632.697603] ? rcu_nmi_exit+0xb3/0x180 [ 1632.701498] l2cap_chan_close+0x1b5/0x950 [ 1632.705736] ? __set_monitor_timer+0x200/0x200 [ 1632.710313] ? __lock_acquire+0x2853/0x3ff0 [ 1632.715242] ? check_preemption_disabled+0x41/0x280 [ 1632.720269] l2cap_chan_timeout+0x17e/0x2f0 [ 1632.724614] process_one_work+0x864/0x1570 [ 1632.728844] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 1632.733503] worker_thread+0x64c/0x1130 [ 1632.737475] ? __kthread_parkme+0x133/0x1e0 [ 1632.741784] ? process_one_work+0x1570/0x1570 [ 1632.746474] kthread+0x33f/0x460 [ 1632.749878] ? kthread_park+0x180/0x180 [ 1632.753841] ret_from_fork+0x24/0x30 [ 1632.757629] [ 1632.759255] Allocated by task 8471: [ 1632.762900] __kmalloc+0x15a/0x3c0 [ 1632.766428] sk_prot_alloc+0x1e2/0x2d0 [ 1632.770306] sk_alloc+0x36/0xec0 [ 1632.773676] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 1632.778792] l2cap_sock_create+0x123/0x1f0 [ 1632.783042] bt_sock_create+0x154/0x2a0 [ 1632.787024] __sock_create+0x3d8/0x740 [ 1632.790999] __sys_socket+0xef/0x200 [ 1632.794870] __x64_sys_socket+0x6f/0xb0 [ 1632.798830] do_syscall_64+0xf9/0x620 [ 1632.802729] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1632.807902] [ 1632.809549] Freed by task 8471: [ 1632.812881] kfree+0xcc/0x210 [ 1632.815972] __sk_destruct+0x684/0x8a0 [ 1632.820045] __sk_free+0x165/0x3b0 [ 1632.823576] sk_free+0x3b/0x50 [ 1632.826764] l2cap_sock_kill.part.0+0x124/0x150 [ 1632.831557] l2cap_sock_release+0x1e6/0x290 [ 1632.836303] __sock_release+0xcd/0x2a0 [ 1632.840177] sock_close+0x15/0x20 [ 1632.843652] __fput+0x2ce/0x890 [ 1632.846982] task_work_run+0x148/0x1c0 [ 1632.850884] get_signal+0x1b64/0x1f70 [ 1632.854670] do_signal+0x8f/0x1670 [ 1632.858707] exit_to_usermode_loop+0x204/0x2a0 [ 1632.863317] do_syscall_64+0x538/0x620 [ 1632.867217] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1632.872392] [ 1632.874182] The buggy address belongs to the object at ffff8880a9090380 [ 1632.874182] which belongs to the cache kmalloc-2048 of size 2048 [ 1632.887979] The buggy address is located 160 bytes inside of [ 1632.887979] 2048-byte region [ffff8880a9090380, ffff8880a9090b80) [ 1632.900028] The buggy address belongs to the page: [ 1632.904964] page:ffffea0002a42400 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0x0 compound_mapcount: 0 [ 1632.915025] flags: 0xfff00000008100(slab|head) [ 1632.919598] raw: 00fff00000008100 ffffea0002aaaa08 ffffea0002a66388 ffff88813bff0c40 [ 1632.927557] raw: 0000000000000000 ffff8880a9090380 0000000100000003 0000000000000000 [ 1632.935697] page dumped because: kasan: bad access detected [ 1632.941386] [ 1632.942998] Memory state around the buggy address: [ 1632.948069] ffff8880a9090300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 1632.955466] ffff8880a9090380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.962830] >ffff8880a9090400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.970401] ^ [ 1632.974822] ffff8880a9090480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.982171] ffff8880a9090500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.989516] ================================================================== [ 1632.996861] Disabling lock debugging due to kernel taint [ 1633.002297] Kernel panic - not syncing: panic_on_warn set ... [ 1633.002297] [ 1633.009649] CPU: 1 PID: 8110 Comm: kworker/1:1 Tainted: G B 4.19.194-syzkaller #0 [ 1633.020220] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1633.029569] Workqueue: events l2cap_chan_timeout [ 1633.034304] Call Trace: [ 1633.037001] dump_stack+0x1fc/0x2ef [ 1633.040625] panic+0x26a/0x50e [ 1633.043817] ? __warn_printk+0xf3/0xf3 [ 1633.047692] ? lock_downgrade+0x720/0x720 [ 1633.051829] ? print_shadow_for_address+0xb8/0x114 [ 1633.056753] ? trace_hardirqs_off+0x64/0x200 [ 1633.061261] kasan_end_report+0x43/0x49 [ 1633.065272] kasan_report_error.cold+0xa7/0x1b9 [ 1633.069941] ? __lock_acquire+0x2cb4/0x3ff0 [ 1633.074250] __asan_report_load8_noabort+0x88/0x90 [ 1633.079193] ? __lock_acquire+0x2cb4/0x3ff0 [ 1633.083530] __lock_acquire+0x2cb4/0x3ff0 [ 1633.087670] ? trace_hardirqs_off+0x64/0x200 [ 1633.092102] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 1633.097457] ? debug_object_assert_init+0x242/0x2e0 [ 1633.102465] ? mark_held_locks+0xf0/0xf0 [ 1633.106514] ? debug_object_free+0x380/0x380 [ 1633.110929] ? mark_held_locks+0xf0/0xf0 [ 1633.115098] ? __save_stack_trace+0x9f/0x190 [ 1633.119502] ? del_timer+0xc3/0x100 [ 1633.123138] lock_acquire+0x170/0x3c0 [ 1633.126933] ? lock_sock_nested+0x3b/0x110 [ 1633.131156] _raw_spin_lock_bh+0x2f/0x40 [ 1633.135229] ? lock_sock_nested+0x3b/0x110 [ 1633.139472] lock_sock_nested+0x3b/0x110 [ 1633.143525] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 1633.148293] l2cap_chan_del+0xbc/0xa50 [ 1633.152452] ? rcu_nmi_exit+0xb3/0x180 [ 1633.156463] l2cap_chan_close+0x1b5/0x950 [ 1633.160601] ? __set_monitor_timer+0x200/0x200 [ 1633.165208] ? __lock_acquire+0x2853/0x3ff0 [ 1633.169605] ? check_preemption_disabled+0x41/0x280 [ 1633.174735] l2cap_chan_timeout+0x17e/0x2f0 [ 1633.179049] process_one_work+0x864/0x1570 [ 1633.183286] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 1633.187946] worker_thread+0x64c/0x1130 [ 1633.191906] ? __kthread_parkme+0x133/0x1e0 [ 1633.196299] ? process_one_work+0x1570/0x1570 [ 1633.201241] kthread+0x33f/0x460 [ 1633.204632] ? kthread_park+0x180/0x180 [ 1633.208680] ret_from_fork+0x24/0x30 [ 1633.213558] Kernel Offset: disabled [ 1633.217178] Rebooting in 86400 seconds..