[ 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. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.104' (ECDSA) to the list of known hosts. 2021/05/31 17:12:42 parsed 1 programs 2021/05/31 17:12:42 executed programs: 0 syzkaller login: [ 1584.979004] IPVS: ftp: loaded support on port[0] = 21 [ 1585.081965] chnl_net:caif_netlink_parms(): no params data found [ 1585.189170] bridge0: port 1(bridge_slave_0) entered blocking state [ 1585.196032] bridge0: port 1(bridge_slave_0) entered disabled state [ 1585.203267] device bridge_slave_0 entered promiscuous mode [ 1585.211242] bridge0: port 2(bridge_slave_1) entered blocking state [ 1585.217972] bridge0: port 2(bridge_slave_1) entered disabled state [ 1585.225346] device bridge_slave_1 entered promiscuous mode [ 1585.242568] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 1585.251535] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 1585.270599] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 1585.278194] team0: Port device team_slave_0 added [ 1585.284654] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 1585.292043] team0: Port device team_slave_1 added [ 1585.308810] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 1585.315577] 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. [ 1585.341348] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 1585.353182] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 1585.359674] 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. [ 1585.385102] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 1585.395839] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 1585.403215] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 1585.422349] device hsr_slave_0 entered promiscuous mode [ 1585.428161] device hsr_slave_1 entered promiscuous mode [ 1585.434996] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 1585.441973] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 1585.507452] bridge0: port 2(bridge_slave_1) entered blocking state [ 1585.513900] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1585.520645] bridge0: port 1(bridge_slave_0) entered blocking state [ 1585.527115] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1585.556819] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 1585.562930] 8021q: adding VLAN 0 to HW filter on device bond0 [ 1585.574963] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 1585.582969] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 1585.592066] bridge0: port 1(bridge_slave_0) entered disabled state [ 1585.599967] bridge0: port 2(bridge_slave_1) entered disabled state [ 1585.607285] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 1585.618470] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 1585.624991] 8021q: adding VLAN 0 to HW filter on device team0 [ 1585.634805] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 1585.642409] bridge0: port 1(bridge_slave_0) entered blocking state [ 1585.649049] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1585.670614] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 1585.680749] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 1585.691925] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 1585.699996] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 1585.707729] bridge0: port 2(bridge_slave_1) entered blocking state [ 1585.714142] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1585.721535] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 1585.729861] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 1585.737665] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 1585.745469] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 1585.755179] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 1585.761955] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 1585.773245] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 1585.781305] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 1585.788378] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 1585.799673] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 1585.812866] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 1585.822844] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 1585.853535] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 1585.860881] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 1585.868340] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 1585.878386] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 1585.886503] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 1585.893327] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 1585.902061] device veth0_vlan entered promiscuous mode [ 1585.911474] device veth1_vlan entered promiscuous mode [ 1585.918101] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 1585.926808] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 1585.939296] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 1585.949160] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 1585.957334] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 1585.965374] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 1585.975355] device veth0_macvtap entered promiscuous mode [ 1585.981624] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 1585.990559] device veth1_macvtap entered promiscuous mode [ 1585.999815] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 1586.009770] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 1586.020123] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 1586.027654] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 1586.036086] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 1586.046334] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 1586.053265] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 1586.163659] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 1586.170814] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1586.179190] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1586.198035] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 1586.209004] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 1586.215783] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1586.222900] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1586.231149] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 1587.014985] Bluetooth: hci0: command 0x0409 tx timeout [ 1589.103545] Bluetooth: hci0: command 0x041b tx timeout 2021/05/31 17:12:48 executed programs: 4 [ 1591.173509] Bluetooth: hci0: command 0x040f tx timeout [ 1593.253064] Bluetooth: hci0: command 0x0419 tx timeout 2021/05/31 17:12:53 executed programs: 10 [ 1595.332952] Bluetooth: hci0: command 0x0405 tx timeout 2021/05/31 17:12:58 executed programs: 16 2021/05/31 17:13:03 executed programs: 22 [ 1608.053313] ieee802154 phy0 wpan0: encryption failed: -22 [ 1608.059012] ieee802154 phy1 wpan1: encryption failed: -22 2021/05/31 17:13:08 executed programs: 28 2021/05/31 17:13:13 executed programs: 34 2021/05/31 17:13:18 executed programs: 40 2021/05/31 17:13:24 executed programs: 46 2021/05/31 17:13:29 executed programs: 52 2021/05/31 17:13:34 executed programs: 58 [ 1636.850704] ================================================================== [ 1636.858205] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 1636.864860] Read of size 8 at addr ffff8880933f1460 by task kworker/0:1/8350 [ 1636.872148] [ 1636.873766] CPU: 0 PID: 8350 Comm: kworker/0:1 Not tainted 4.19.192-syzkaller #0 [ 1636.881414] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1636.891490] Workqueue: events l2cap_chan_timeout [ 1636.896229] Call Trace: [ 1636.898819] dump_stack+0x1fc/0x2ef [ 1636.902523] print_address_description.cold+0x54/0x219 [ 1636.907989] kasan_report_error.cold+0x8a/0x1b9 [ 1636.912659] ? __lock_acquire+0x2cb4/0x3ff0 [ 1636.917147] __asan_report_load8_noabort+0x88/0x90 [ 1636.922768] ? __lock_acquire+0x2cb4/0x3ff0 [ 1636.927188] __lock_acquire+0x2cb4/0x3ff0 [ 1636.931521] ? trace_hardirqs_off+0x64/0x200 [ 1636.936001] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 1636.941091] ? debug_object_assert_init+0x242/0x2e0 [ 1636.946103] ? mark_held_locks+0xf0/0xf0 [ 1636.950151] ? debug_object_free+0x380/0x380 [ 1636.954542] ? mark_held_locks+0xf0/0xf0 [ 1636.958695] ? __save_stack_trace+0x9f/0x190 [ 1636.963117] ? del_timer+0xc3/0x100 [ 1636.966760] lock_acquire+0x170/0x3c0 [ 1636.970550] ? lock_sock_nested+0x3b/0x110 [ 1636.974779] _raw_spin_lock_bh+0x2f/0x40 [ 1636.978847] ? lock_sock_nested+0x3b/0x110 [ 1636.983236] lock_sock_nested+0x3b/0x110 [ 1636.987278] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 1636.992139] ? lock_downgrade+0x720/0x720 [ 1636.996278] l2cap_chan_del+0xbc/0xa50 [ 1637.000165] ? trace_hardirqs_off+0x64/0x200 [ 1637.004666] l2cap_chan_close+0x1b5/0x950 [ 1637.008881] ? __set_monitor_timer+0x200/0x200 [ 1637.013469] ? check_preemption_disabled+0x41/0x280 [ 1637.018476] l2cap_chan_timeout+0x17e/0x2f0 [ 1637.022792] process_one_work+0x864/0x1570 [ 1637.027232] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 1637.031978] worker_thread+0x64c/0x1130 [ 1637.036013] ? __kthread_parkme+0x133/0x1e0 [ 1637.040392] ? process_one_work+0x1570/0x1570 [ 1637.044895] kthread+0x33f/0x460 [ 1637.048242] ? kthread_park+0x180/0x180 [ 1637.052199] ret_from_fork+0x24/0x30 [ 1637.055902] [ 1637.057507] Allocated by task 8469: [ 1637.061115] __kmalloc+0x15a/0x3c0 [ 1637.064632] sk_prot_alloc+0x1e2/0x2d0 [ 1637.068497] sk_alloc+0x36/0xec0 [ 1637.071856] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 1637.077022] l2cap_sock_create+0x123/0x1f0 [ 1637.081236] bt_sock_create+0x154/0x2a0 [ 1637.085200] __sock_create+0x3d8/0x740 [ 1637.089125] __sys_socket+0xef/0x200 [ 1637.092967] __x64_sys_socket+0x6f/0xb0 [ 1637.096939] do_syscall_64+0xf9/0x620 [ 1637.100978] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1637.106230] [ 1637.108374] Freed by task 8469: [ 1637.111819] kfree+0xcc/0x210 [ 1637.116249] __sk_destruct+0x684/0x8a0 [ 1637.121884] __sk_free+0x165/0x3b0 [ 1637.125951] sk_free+0x3b/0x50 [ 1637.129324] l2cap_sock_kill.part.0+0x124/0x150 [ 1637.134211] l2cap_sock_release+0x1e6/0x290 [ 1637.138526] __sock_release+0xcd/0x2a0 [ 1637.142492] sock_close+0x15/0x20 [ 1637.145927] __fput+0x2ce/0x890 [ 1637.149294] task_work_run+0x148/0x1c0 [ 1637.153259] get_signal+0x1b64/0x1f70 [ 1637.157125] do_signal+0x8f/0x1670 [ 1637.160646] exit_to_usermode_loop+0x204/0x2a0 [ 1637.165206] do_syscall_64+0x538/0x620 [ 1637.169072] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1637.174234] [ 1637.175959] The buggy address belongs to the object at ffff8880933f13c0 [ 1637.175959] which belongs to the cache kmalloc-2048 of size 2048 [ 1637.188797] The buggy address is located 160 bytes inside of [ 1637.188797] 2048-byte region [ffff8880933f13c0, ffff8880933f1bc0) [ 1637.200763] The buggy address belongs to the page: [ 1637.205690] page:ffffea00024cfc00 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0x0 compound_mapcount: 0 [ 1637.215635] flags: 0xfff00000008100(slab|head) [ 1637.220198] raw: 00fff00000008100 ffffea0002a64388 ffffea0002a52608 ffff88813bff0c40 [ 1637.228072] raw: 0000000000000000 ffff8880933f02c0 0000000100000003 0000000000000000 [ 1637.235938] page dumped because: kasan: bad access detected [ 1637.241645] [ 1637.243369] Memory state around the buggy address: [ 1637.248368] ffff8880933f1300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 1637.255722] ffff8880933f1380: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 1637.263420] >ffff8880933f1400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1637.270932] ^ [ 1637.277588] ffff8880933f1480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1637.284949] ffff8880933f1500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1637.292286] ================================================================== [ 1637.299626] Disabling lock debugging due to kernel taint [ 1637.305161] Kernel panic - not syncing: panic_on_warn set ... [ 1637.305161] [ 1637.312505] CPU: 0 PID: 8350 Comm: kworker/0:1 Tainted: G B 4.19.192-syzkaller #0 [ 1637.321417] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1637.330759] Workqueue: events l2cap_chan_timeout [ 1637.335892] Call Trace: [ 1637.338556] dump_stack+0x1fc/0x2ef [ 1637.342356] panic+0x26a/0x50e [ 1637.345543] ? __warn_printk+0xf3/0xf3 [ 1637.349425] ? lock_downgrade+0x720/0x720 [ 1637.353569] ? print_shadow_for_address+0xb8/0x114 [ 1637.358490] ? trace_hardirqs_off+0x64/0x200 [ 1637.362885] kasan_end_report+0x43/0x49 [ 1637.366841] kasan_report_error.cold+0xa7/0x1b9 [ 1637.371489] ? __lock_acquire+0x2cb4/0x3ff0 [ 1637.375813] __asan_report_load8_noabort+0x88/0x90 [ 1637.380811] ? __lock_acquire+0x2cb4/0x3ff0 [ 1637.385141] __lock_acquire+0x2cb4/0x3ff0 [ 1637.389361] ? trace_hardirqs_off+0x64/0x200 [ 1637.394013] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 1637.399099] ? debug_object_assert_init+0x242/0x2e0 [ 1637.404192] ? mark_held_locks+0xf0/0xf0 [ 1637.408350] ? debug_object_free+0x380/0x380 [ 1637.412743] ? mark_held_locks+0xf0/0xf0 [ 1637.416788] ? __save_stack_trace+0x9f/0x190 [ 1637.421304] ? del_timer+0xc3/0x100 [ 1637.424918] lock_acquire+0x170/0x3c0 [ 1637.428717] ? lock_sock_nested+0x3b/0x110 [ 1637.432939] _raw_spin_lock_bh+0x2f/0x40 [ 1637.437071] ? lock_sock_nested+0x3b/0x110 [ 1637.441301] lock_sock_nested+0x3b/0x110 [ 1637.445356] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 1637.449917] ? lock_downgrade+0x720/0x720 [ 1637.454131] l2cap_chan_del+0xbc/0xa50 [ 1637.457997] ? trace_hardirqs_off+0x64/0x200 [ 1637.462470] l2cap_chan_close+0x1b5/0x950 [ 1637.466596] ? __set_monitor_timer+0x200/0x200 [ 1637.471332] ? check_preemption_disabled+0x41/0x280 [ 1637.476325] l2cap_chan_timeout+0x17e/0x2f0 [ 1637.480646] process_one_work+0x864/0x1570 [ 1637.485134] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 1637.489880] worker_thread+0x64c/0x1130 [ 1637.493937] ? __kthread_parkme+0x133/0x1e0 [ 1637.498345] ? process_one_work+0x1570/0x1570 [ 1637.502932] kthread+0x33f/0x460 [ 1637.506300] ? kthread_park+0x180/0x180 [ 1637.510568] ret_from_fork+0x24/0x30 [ 1637.515189] Kernel Offset: disabled [ 1637.518924] Rebooting in 86400 seconds..