[ 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. 2021/08/31 05:32:48 parsed 1 programs 2021/08/31 05:32:48 executed programs: 0 syzkaller login: [ 1582.066445] IPVS: ftp: loaded support on port[0] = 21 [ 1582.175131] chnl_net:caif_netlink_parms(): no params data found [ 1582.303197] bridge0: port 1(bridge_slave_0) entered blocking state [ 1582.310053] bridge0: port 1(bridge_slave_0) entered disabled state [ 1582.317856] device bridge_slave_0 entered promiscuous mode [ 1582.325821] bridge0: port 2(bridge_slave_1) entered blocking state [ 1582.332492] bridge0: port 2(bridge_slave_1) entered disabled state [ 1582.339642] device bridge_slave_1 entered promiscuous mode [ 1582.358301] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 1582.367962] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 1582.387462] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 1582.394944] team0: Port device team_slave_0 added [ 1582.400398] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 1582.408036] team0: Port device team_slave_1 added [ 1582.424284] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 1582.430547] 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. [ 1582.456480] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 1582.468384] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 1582.475210] 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. [ 1582.501622] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 1582.512804] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 1582.520208] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 1582.540488] device hsr_slave_0 entered promiscuous mode [ 1582.546404] device hsr_slave_1 entered promiscuous mode [ 1582.553271] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 1582.560259] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 1582.627566] bridge0: port 2(bridge_slave_1) entered blocking state [ 1582.634047] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1582.640834] bridge0: port 1(bridge_slave_0) entered blocking state [ 1582.647272] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1582.678279] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 1582.685475] 8021q: adding VLAN 0 to HW filter on device bond0 [ 1582.694853] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 1582.704121] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 1582.714499] bridge0: port 1(bridge_slave_0) entered disabled state [ 1582.721906] bridge0: port 2(bridge_slave_1) entered disabled state [ 1582.728842] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 1582.739940] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 1582.746449] 8021q: adding VLAN 0 to HW filter on device team0 [ 1582.755791] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 1582.763814] bridge0: port 1(bridge_slave_0) entered blocking state [ 1582.770163] bridge0: port 1(bridge_slave_0) entered forwarding state [ 1582.779929] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 1582.788134] bridge0: port 2(bridge_slave_1) entered blocking state [ 1582.794532] bridge0: port 2(bridge_slave_1) entered forwarding state [ 1582.810164] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 1582.818131] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 1582.828690] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 1582.839561] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 1582.850020] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 1582.859339] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 1582.866011] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 1582.879282] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 1582.887088] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 1582.893896] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 1582.905300] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 1582.919103] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 1582.928989] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 1582.960174] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 1582.967906] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 1582.975388] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 1582.986190] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 1582.993860] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 1583.000732] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 1583.010029] device veth0_vlan entered promiscuous mode [ 1583.019065] device veth1_vlan entered promiscuous mode [ 1583.025246] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 1583.034778] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 1583.047323] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 1583.056825] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 1583.064372] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 1583.071926] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 1583.080952] device veth0_macvtap entered promiscuous mode [ 1583.087242] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 1583.096866] device veth1_macvtap entered promiscuous mode [ 1583.105708] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 1583.115350] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 1583.126066] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 1583.133392] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 1583.143107] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 1583.153289] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 1583.160277] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 1583.273515] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 1583.280259] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1583.288626] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1583.306752] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 1583.317454] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 1583.325137] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 1583.333166] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 1583.339895] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 1584.102136] Bluetooth: hci0: command 0x0409 tx timeout [ 1586.181061] Bluetooth: hci0: command 0x041b tx timeout 2021/08/31 05:32:54 executed programs: 4 [ 1588.261531] Bluetooth: hci0: command 0x040f tx timeout [ 1590.340821] Bluetooth: hci0: command 0x0419 tx timeout 2021/08/31 05:32:59 executed programs: 10 2021/08/31 05:33:04 executed programs: 16 2021/08/31 05:33:09 executed programs: 22 2021/08/31 05:33:14 executed programs: 28 [ 1608.581098] ieee802154 phy0 wpan0: encryption failed: -22 [ 1608.586828] ieee802154 phy1 wpan1: encryption failed: -22 2021/08/31 05:33:19 executed programs: 34 2021/08/31 05:33:24 executed programs: 40 2021/08/31 05:33:29 executed programs: 46 2021/08/31 05:33:34 executed programs: 52 [ 1632.259220] ================================================================== [ 1632.267407] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 1632.274200] Read of size 8 at addr ffff888092e46620 by task kworker/0:3/8336 [ 1632.282084] [ 1632.283703] CPU: 0 PID: 8336 Comm: kworker/0:3 Not tainted 4.19.205-syzkaller #0 [ 1632.291215] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1632.300709] Workqueue: events l2cap_chan_timeout [ 1632.305448] Call Trace: [ 1632.308050] dump_stack+0x1fc/0x2ef [ 1632.311683] print_address_description.cold+0x54/0x219 [ 1632.316964] kasan_report_error.cold+0x8a/0x1b9 [ 1632.322316] ? __lock_acquire+0x2cb4/0x3ff0 [ 1632.326641] __asan_report_load8_noabort+0x88/0x90 [ 1632.331564] ? __lock_acquire+0x2cb4/0x3ff0 [ 1632.335992] __lock_acquire+0x2cb4/0x3ff0 [ 1632.340132] ? trace_hardirqs_off+0x64/0x200 [ 1632.344530] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 1632.349618] ? debug_object_assert_init+0x242/0x2e0 [ 1632.354709] ? mark_held_locks+0xf0/0xf0 [ 1632.358753] ? debug_object_free+0x380/0x380 [ 1632.363229] ? mark_held_locks+0xf0/0xf0 [ 1632.367302] ? __save_stack_trace+0x9f/0x190 [ 1632.371697] ? del_timer+0xc3/0x100 [ 1632.375342] lock_acquire+0x170/0x3c0 [ 1632.379146] ? lock_sock_nested+0x3b/0x110 [ 1632.383376] _raw_spin_lock_bh+0x2f/0x40 [ 1632.387441] ? lock_sock_nested+0x3b/0x110 [ 1632.391657] lock_sock_nested+0x3b/0x110 [ 1632.395716] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 1632.400292] ? lock_downgrade+0x720/0x720 [ 1632.404445] l2cap_chan_del+0xbc/0xa50 [ 1632.408333] ? trace_hardirqs_off+0x64/0x200 [ 1632.412728] l2cap_chan_close+0x1b5/0x950 [ 1632.416948] ? __set_monitor_timer+0x200/0x200 [ 1632.421516] ? check_preemption_disabled+0x41/0x280 [ 1632.426638] l2cap_chan_timeout+0x17e/0x2f0 [ 1632.430963] process_one_work+0x864/0x1570 [ 1632.435190] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 1632.439849] worker_thread+0x64c/0x1130 [ 1632.443833] ? __kthread_parkme+0x133/0x1e0 [ 1632.448167] ? process_one_work+0x1570/0x1570 [ 1632.452724] kthread+0x33f/0x460 [ 1632.456089] ? kthread_park+0x180/0x180 [ 1632.460047] ret_from_fork+0x24/0x30 [ 1632.463760] [ 1632.465539] Allocated by task 8439: [ 1632.469190] __kmalloc+0x15a/0x3c0 [ 1632.472708] sk_prot_alloc+0x1e2/0x2d0 [ 1632.476607] sk_alloc+0x36/0xec0 [ 1632.479956] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 1632.485040] l2cap_sock_create+0x123/0x1f0 [ 1632.489259] bt_sock_create+0x154/0x2a0 [ 1632.493218] __sock_create+0x3d8/0x740 [ 1632.497084] __sys_socket+0xef/0x200 [ 1632.500777] __x64_sys_socket+0x6f/0xb0 [ 1632.504763] do_syscall_64+0xf9/0x620 [ 1632.508548] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1632.513709] [ 1632.515316] Freed by task 8439: [ 1632.518673] kfree+0xcc/0x210 [ 1632.521883] __sk_destruct+0x684/0x8a0 [ 1632.525751] __sk_free+0x165/0x3b0 [ 1632.529271] sk_free+0x3b/0x50 [ 1632.532456] l2cap_sock_kill.part.0+0x124/0x150 [ 1632.537115] l2cap_sock_release+0x1e6/0x290 [ 1632.541426] __sock_release+0xcd/0x2a0 [ 1632.545297] sock_close+0x15/0x20 [ 1632.548733] __fput+0x2ce/0x890 [ 1632.551993] task_work_run+0x148/0x1c0 [ 1632.555988] get_signal+0x1b64/0x1f70 [ 1632.559851] do_signal+0x8f/0x1670 [ 1632.563379] exit_to_usermode_loop+0x204/0x2a0 [ 1632.567952] do_syscall_64+0x538/0x620 [ 1632.571874] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1632.577041] [ 1632.578657] The buggy address belongs to the object at ffff888092e46580 [ 1632.578657] which belongs to the cache kmalloc-2048 of size 2048 [ 1632.591476] The buggy address is located 160 bytes inside of [ 1632.591476] 2048-byte region [ffff888092e46580, ffff888092e46d80) [ 1632.603479] The buggy address belongs to the page: [ 1632.608398] page:ffffea00024b9180 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0x0 compound_mapcount: 0 [ 1632.618476] flags: 0xfff00000008100(slab|head) [ 1632.623064] raw: 00fff00000008100 ffffea0002800a88 ffffea00024d1308 ffff88813bff0c40 [ 1632.630960] raw: 0000000000000000 ffff888092e46580 0000000100000003 0000000000000000 [ 1632.638881] page dumped because: kasan: bad access detected [ 1632.644688] [ 1632.646294] Memory state around the buggy address: [ 1632.651213] ffff888092e46500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 1632.658557] ffff888092e46580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.665914] >ffff888092e46600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.673276] ^ [ 1632.677664] ffff888092e46680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.685028] ffff888092e46700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1632.692361] ================================================================== [ 1632.699696] Disabling lock debugging due to kernel taint [ 1632.705143] Kernel panic - not syncing: panic_on_warn set ... [ 1632.705143] [ 1632.712489] CPU: 0 PID: 8336 Comm: kworker/0:3 Tainted: G B 4.19.205-syzkaller #0 [ 1632.721479] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 1632.731064] Workqueue: events l2cap_chan_timeout [ 1632.735800] Call Trace: [ 1632.738384] dump_stack+0x1fc/0x2ef [ 1632.741998] panic+0x26a/0x50e [ 1632.745173] ? __warn_printk+0xf3/0xf3 [ 1632.749057] ? lock_downgrade+0x720/0x720 [ 1632.753196] ? print_shadow_for_address+0xb8/0x114 [ 1632.758125] ? trace_hardirqs_off+0x64/0x200 [ 1632.762613] kasan_end_report+0x43/0x49 [ 1632.766666] kasan_report_error.cold+0xa7/0x1b9 [ 1632.771322] ? __lock_acquire+0x2cb4/0x3ff0 [ 1632.775632] __asan_report_load8_noabort+0x88/0x90 [ 1632.780552] ? __lock_acquire+0x2cb4/0x3ff0 [ 1632.784856] __lock_acquire+0x2cb4/0x3ff0 [ 1632.789096] ? trace_hardirqs_off+0x64/0x200 [ 1632.793501] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 1632.798616] ? debug_object_assert_init+0x242/0x2e0 [ 1632.803613] ? mark_held_locks+0xf0/0xf0 [ 1632.807655] ? debug_object_free+0x380/0x380 [ 1632.812045] ? mark_held_locks+0xf0/0xf0 [ 1632.816097] ? __save_stack_trace+0x9f/0x190 [ 1632.820494] ? del_timer+0xc3/0x100 [ 1632.824103] lock_acquire+0x170/0x3c0 [ 1632.827990] ? lock_sock_nested+0x3b/0x110 [ 1632.832293] _raw_spin_lock_bh+0x2f/0x40 [ 1632.836351] ? lock_sock_nested+0x3b/0x110 [ 1632.840585] lock_sock_nested+0x3b/0x110 [ 1632.844633] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 1632.849200] ? lock_downgrade+0x720/0x720 [ 1632.853338] l2cap_chan_del+0xbc/0xa50 [ 1632.857215] ? trace_hardirqs_off+0x64/0x200 [ 1632.861607] l2cap_chan_close+0x1b5/0x950 [ 1632.865738] ? __set_monitor_timer+0x200/0x200 [ 1632.870306] ? check_preemption_disabled+0x41/0x280 [ 1632.875335] l2cap_chan_timeout+0x17e/0x2f0 [ 1632.879730] process_one_work+0x864/0x1570 [ 1632.883961] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 1632.888617] worker_thread+0x64c/0x1130 [ 1632.892760] ? __kthread_parkme+0x133/0x1e0 [ 1632.897066] ? process_one_work+0x1570/0x1570 [ 1632.901548] kthread+0x33f/0x460 [ 1632.904898] ? kthread_park+0x180/0x180 [ 1632.908872] ret_from_fork+0x24/0x30 [ 1632.914019] Kernel Offset: disabled [ 1632.917631] Rebooting in 86400 seconds..