[ 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.49' (ECDSA) to the list of known hosts. 2021/09/24 04:37:42 parsed 1 programs 2021/09/24 04:37:42 executed programs: 0 syzkaller login: [ 414.680131] IPVS: ftp: loaded support on port[0] = 21 [ 414.786327] chnl_net:caif_netlink_parms(): no params data found [ 414.901878] bridge0: port 1(bridge_slave_0) entered blocking state [ 414.908805] bridge0: port 1(bridge_slave_0) entered disabled state [ 414.916794] device bridge_slave_0 entered promiscuous mode [ 414.925322] bridge0: port 2(bridge_slave_1) entered blocking state [ 414.931688] bridge0: port 2(bridge_slave_1) entered disabled state [ 414.939460] device bridge_slave_1 entered promiscuous mode [ 414.958160] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 414.967449] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 414.985839] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 414.993563] team0: Port device team_slave_0 added [ 414.998994] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 415.006636] team0: Port device team_slave_1 added [ 415.021962] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 415.028304] 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. [ 415.053603] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 415.065006] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 415.071236] 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. [ 415.096457] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 415.107314] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 415.115067] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 415.134753] device hsr_slave_0 entered promiscuous mode [ 415.140510] device hsr_slave_1 entered promiscuous mode [ 415.146989] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 415.154250] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 415.218193] bridge0: port 2(bridge_slave_1) entered blocking state [ 415.224643] bridge0: port 2(bridge_slave_1) entered forwarding state [ 415.231475] bridge0: port 1(bridge_slave_0) entered blocking state [ 415.237890] bridge0: port 1(bridge_slave_0) entered forwarding state [ 415.268448] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 415.276192] 8021q: adding VLAN 0 to HW filter on device bond0 [ 415.284574] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 415.294501] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 415.303764] bridge0: port 1(bridge_slave_0) entered disabled state [ 415.310761] bridge0: port 2(bridge_slave_1) entered disabled state [ 415.318177] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 415.329326] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 415.335997] 8021q: adding VLAN 0 to HW filter on device team0 [ 415.345401] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 415.353538] bridge0: port 1(bridge_slave_0) entered blocking state [ 415.359864] bridge0: port 1(bridge_slave_0) entered forwarding state [ 415.382195] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 415.392157] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 415.404209] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 415.412009] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 415.419948] bridge0: port 2(bridge_slave_1) entered blocking state [ 415.426361] bridge0: port 2(bridge_slave_1) entered forwarding state [ 415.434054] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 415.441706] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 415.450230] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 415.458122] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 415.466391] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 415.473358] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 415.486204] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 415.493720] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 415.500365] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 415.512010] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 415.525462] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 415.535112] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 415.569512] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 415.576684] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 415.584970] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 415.594507] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 415.602073] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 415.610151] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 415.619909] device veth0_vlan entered promiscuous mode [ 415.628759] device veth1_vlan entered promiscuous mode [ 415.635597] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 415.644840] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 415.656405] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 415.665715] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 415.674656] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 415.681891] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 415.692648] device veth0_macvtap entered promiscuous mode [ 415.698773] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 415.707677] device veth1_macvtap entered promiscuous mode [ 415.717320] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 415.727240] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 415.737743] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 415.744870] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 415.753625] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 415.764080] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 415.770826] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 415.880540] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 415.887957] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 415.896464] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 415.915908] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 415.922080] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 415.931045] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 415.939263] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 415.946359] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 416.713327] Bluetooth: hci0: command 0x0409 tx timeout [ 418.792382] Bluetooth: hci0: command 0x041b tx timeout 2021/09/24 04:37:48 executed programs: 4 [ 420.872663] Bluetooth: hci0: command 0x040f tx timeout [ 422.952216] Bluetooth: hci0: command 0x0419 tx timeout 2021/09/24 04:37:53 executed programs: 10 2021/09/24 04:37:58 executed programs: 16 2021/09/24 04:38:03 executed programs: 22 2021/09/24 04:38:08 executed programs: 28 [ 441.193010] ieee802154 phy0 wpan0: encryption failed: -22 [ 441.198685] ieee802154 phy1 wpan1: encryption failed: -22 2021/09/24 04:38:13 executed programs: 34 2021/09/24 04:38:18 executed programs: 40 2021/09/24 04:38:23 executed programs: 46 2021/09/24 04:38:28 executed programs: 52 [ 462.311399] ================================================================== [ 462.318817] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 462.325561] Read of size 8 at addr ffff8880aaaf96e0 by task kworker/0:2/4696 [ 462.332732] [ 462.334363] CPU: 0 PID: 4696 Comm: kworker/0:2 Not tainted 4.19.207-syzkaller #0 [ 462.341944] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 462.351300] Workqueue: events l2cap_chan_timeout [ 462.356037] Call Trace: [ 462.358674] dump_stack+0x1fc/0x2ef [ 462.362291] print_address_description.cold+0x54/0x219 [ 462.367608] kasan_report_error.cold+0x8a/0x1b9 [ 462.372271] ? __lock_acquire+0x2cb4/0x3ff0 [ 462.376613] __asan_report_load8_noabort+0x88/0x90 [ 462.381541] ? __lock_acquire+0x2cb4/0x3ff0 [ 462.385855] __lock_acquire+0x2cb4/0x3ff0 [ 462.390007] ? trace_hardirqs_off+0x64/0x200 [ 462.394410] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 462.399494] ? debug_object_assert_init+0x242/0x2e0 [ 462.404500] ? mark_held_locks+0xf0/0xf0 [ 462.408542] ? debug_object_free+0x380/0x380 [ 462.412931] ? mark_held_locks+0xf0/0xf0 [ 462.416992] ? __save_stack_trace+0x9f/0x190 [ 462.421406] ? ret_from_fork+0x24/0x30 [ 462.425286] ? del_timer+0xc3/0x100 [ 462.428894] lock_acquire+0x170/0x3c0 [ 462.432678] ? lock_sock_nested+0x3b/0x110 [ 462.436895] _raw_spin_lock_bh+0x2f/0x40 [ 462.440952] ? lock_sock_nested+0x3b/0x110 [ 462.445184] lock_sock_nested+0x3b/0x110 [ 462.449236] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 462.453802] ? lock_downgrade+0x720/0x720 [ 462.457933] l2cap_chan_del+0xbc/0xa50 [ 462.461809] ? trace_hardirqs_off+0x64/0x200 [ 462.466200] l2cap_chan_close+0x1b5/0x950 [ 462.470329] ? __set_monitor_timer+0x200/0x200 [ 462.474897] ? check_preemption_disabled+0x41/0x280 [ 462.479900] l2cap_chan_timeout+0x17e/0x2f0 [ 462.484207] process_one_work+0x864/0x1570 [ 462.488426] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 462.493077] worker_thread+0x64c/0x1130 [ 462.497036] ? process_one_work+0x1570/0x1570 [ 462.501521] kthread+0x33f/0x460 [ 462.504874] ? kthread_park+0x180/0x180 [ 462.508831] ret_from_fork+0x24/0x30 [ 462.512523] [ 462.514130] Allocated by task 8421: [ 462.517743] __kmalloc+0x15a/0x3c0 [ 462.521266] sk_prot_alloc+0x1e2/0x2d0 [ 462.525144] sk_alloc+0x36/0xec0 [ 462.528509] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 462.533592] l2cap_sock_create+0x123/0x1f0 [ 462.537809] bt_sock_create+0x154/0x2a0 [ 462.541779] __sock_create+0x3d8/0x740 [ 462.545658] __sys_socket+0xef/0x200 [ 462.549351] __x64_sys_socket+0x6f/0xb0 [ 462.553304] do_syscall_64+0xf9/0x620 [ 462.557085] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 462.562252] [ 462.563860] Freed by task 8421: [ 462.567127] kfree+0xcc/0x210 [ 462.570222] __sk_destruct+0x684/0x8a0 [ 462.574096] __sk_free+0x165/0x3b0 [ 462.577613] sk_free+0x3b/0x50 [ 462.580795] l2cap_sock_kill.part.0+0x124/0x150 [ 462.585464] l2cap_sock_release+0x1e6/0x290 [ 462.589770] __sock_release+0xcd/0x2a0 [ 462.593635] sock_close+0x15/0x20 [ 462.597069] __fput+0x2ce/0x890 [ 462.600498] task_work_run+0x148/0x1c0 [ 462.604448] get_signal+0x1b64/0x1f70 [ 462.608253] do_signal+0x8f/0x1670 [ 462.611785] exit_to_usermode_loop+0x204/0x2a0 [ 462.616451] do_syscall_64+0x538/0x620 [ 462.620333] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 462.626166] [ 462.627778] The buggy address belongs to the object at ffff8880aaaf9640 [ 462.627778] which belongs to the cache kmalloc-2048 of size 2048 [ 462.640625] The buggy address is located 160 bytes inside of [ 462.640625] 2048-byte region [ffff8880aaaf9640, ffff8880aaaf9e40) [ 462.652603] The buggy address belongs to the page: [ 462.657607] page:ffffea0002aabe00 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0x0 compound_mapcount: 0 [ 462.667575] flags: 0xfff00000008100(slab|head) [ 462.672140] raw: 00fff00000008100 ffffea0002436388 ffffea0002aa1908 ffff88813bff0c40 [ 462.680007] raw: 0000000000000000 ffff8880aaaf8540 0000000100000003 0000000000000000 [ 462.687863] page dumped because: kasan: bad access detected [ 462.693552] [ 462.695158] Memory state around the buggy address: [ 462.700080] ffff8880aaaf9580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 462.707420] ffff8880aaaf9600: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 462.715195] >ffff8880aaaf9680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 462.722551] ^ [ 462.729025] ffff8880aaaf9700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 462.736376] ffff8880aaaf9780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 462.743718] ================================================================== [ 462.751072] Disabling lock debugging due to kernel taint [ 462.756500] Kernel panic - not syncing: panic_on_warn set ... [ 462.756500] [ 462.763859] CPU: 0 PID: 4696 Comm: kworker/0:2 Tainted: G B 4.19.207-syzkaller #0 [ 462.772762] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 462.782107] Workqueue: events l2cap_chan_timeout [ 462.786845] Call Trace: [ 462.789426] dump_stack+0x1fc/0x2ef [ 462.793038] panic+0x26a/0x50e [ 462.796299] ? __warn_printk+0xf3/0xf3 [ 462.800170] ? lock_downgrade+0x720/0x720 [ 462.804301] ? print_shadow_for_address+0xb8/0x114 [ 462.809214] ? trace_hardirqs_off+0x64/0x200 [ 462.813620] kasan_end_report+0x43/0x49 [ 462.817577] kasan_report_error.cold+0xa7/0x1b9 [ 462.822402] ? __lock_acquire+0x2cb4/0x3ff0 [ 462.826707] __asan_report_load8_noabort+0x88/0x90 [ 462.831629] ? __lock_acquire+0x2cb4/0x3ff0 [ 462.835943] __lock_acquire+0x2cb4/0x3ff0 [ 462.840075] ? trace_hardirqs_off+0x64/0x200 [ 462.844466] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 462.849550] ? debug_object_assert_init+0x242/0x2e0 [ 462.854545] ? mark_held_locks+0xf0/0xf0 [ 462.858583] ? debug_object_free+0x380/0x380 [ 462.862985] ? mark_held_locks+0xf0/0xf0 [ 462.867032] ? __save_stack_trace+0x9f/0x190 [ 462.871417] ? ret_from_fork+0x24/0x30 [ 462.875286] ? del_timer+0xc3/0x100 [ 462.878898] lock_acquire+0x170/0x3c0 [ 462.882681] ? lock_sock_nested+0x3b/0x110 [ 462.886900] _raw_spin_lock_bh+0x2f/0x40 [ 462.890943] ? lock_sock_nested+0x3b/0x110 [ 462.895175] lock_sock_nested+0x3b/0x110 [ 462.899217] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 462.903791] ? lock_downgrade+0x720/0x720 [ 462.907931] l2cap_chan_del+0xbc/0xa50 [ 462.911806] ? trace_hardirqs_off+0x64/0x200 [ 462.916207] l2cap_chan_close+0x1b5/0x950 [ 462.920342] ? __set_monitor_timer+0x200/0x200 [ 462.924909] ? check_preemption_disabled+0x41/0x280 [ 462.929906] l2cap_chan_timeout+0x17e/0x2f0 [ 462.934211] process_one_work+0x864/0x1570 [ 462.938434] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 462.943100] worker_thread+0x64c/0x1130 [ 462.947073] ? process_one_work+0x1570/0x1570 [ 462.951566] kthread+0x33f/0x460 [ 462.954919] ? kthread_park+0x180/0x180 [ 462.958978] ret_from_fork+0x24/0x30 [ 462.962960] Kernel Offset: disabled [ 462.966574] Rebooting in 86400 seconds..