[ 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.1.47' (ECDSA) to the list of known hosts. 2021/05/14 21:07:18 parsed 1 programs 2021/05/14 21:07:18 executed programs: 0 syzkaller login: [ 408.856849] IPVS: ftp: loaded support on port[0] = 21 [ 408.968194] chnl_net:caif_netlink_parms(): no params data found [ 409.114041] bridge0: port 1(bridge_slave_0) entered blocking state [ 409.121322] bridge0: port 1(bridge_slave_0) entered disabled state [ 409.128619] device bridge_slave_0 entered promiscuous mode [ 409.136902] bridge0: port 2(bridge_slave_1) entered blocking state [ 409.144162] bridge0: port 2(bridge_slave_1) entered disabled state [ 409.152610] device bridge_slave_1 entered promiscuous mode [ 409.171188] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 409.180076] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 409.199755] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 409.207846] team0: Port device team_slave_0 added [ 409.214644] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 409.222803] team0: Port device team_slave_1 added [ 409.240245] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 409.246682] 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. [ 409.272518] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 409.284237] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 409.290675] 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. [ 409.316629] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 409.328087] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 409.335982] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 409.355864] device hsr_slave_0 entered promiscuous mode [ 409.361802] device hsr_slave_1 entered promiscuous mode [ 409.367875] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 409.375250] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 409.445309] bridge0: port 2(bridge_slave_1) entered blocking state [ 409.451818] bridge0: port 2(bridge_slave_1) entered forwarding state [ 409.459049] bridge0: port 1(bridge_slave_0) entered blocking state [ 409.465558] bridge0: port 1(bridge_slave_0) entered forwarding state [ 409.499708] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 409.508609] 8021q: adding VLAN 0 to HW filter on device bond0 [ 409.517710] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 409.527899] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 409.537522] bridge0: port 1(bridge_slave_0) entered disabled state [ 409.545652] bridge0: port 2(bridge_slave_1) entered disabled state [ 409.554773] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 409.566602] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 409.573521] 8021q: adding VLAN 0 to HW filter on device team0 [ 409.582949] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 409.591795] bridge0: port 1(bridge_slave_0) entered blocking state [ 409.598358] bridge0: port 1(bridge_slave_0) entered forwarding state [ 409.609833] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 409.619236] bridge0: port 2(bridge_slave_1) entered blocking state [ 409.626080] bridge0: port 2(bridge_slave_1) entered forwarding state [ 409.643649] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 409.653636] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 409.667033] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 409.678399] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 409.689439] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 409.696297] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 409.703871] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 409.712573] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 409.723795] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 409.736484] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 409.744270] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 409.751947] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 409.765846] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 409.778809] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 409.789465] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 409.822764] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 409.830303] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 409.837749] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 409.849044] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 409.856872] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 409.864404] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 409.874826] device veth0_vlan entered promiscuous mode [ 409.884812] device veth1_vlan entered promiscuous mode [ 409.892274] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 409.902604] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 409.915801] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 409.926022] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 409.934696] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 409.943339] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 409.953791] device veth0_macvtap entered promiscuous mode [ 409.962579] device veth1_macvtap entered promiscuous mode [ 409.971948] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 409.982908] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 409.993181] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready [ 410.000294] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 410.008025] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_0: link becomes ready [ 410.016221] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 410.026569] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 410.034782] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 410.041819] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 410.049739] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 410.174514] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 410.182409] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 410.190075] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 410.206883] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 410.217737] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 410.225808] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 410.233736] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 410.242072] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 410.891499] Bluetooth: hci0: command 0x0409 tx timeout 2021/05/14 21:07:24 executed programs: 3 [ 412.960783] Bluetooth: hci0: command 0x041b tx timeout [ 415.040993] Bluetooth: hci0: command 0x040f tx timeout [ 417.120540] Bluetooth: hci0: command 0x0419 tx timeout 2021/05/14 21:07:29 executed programs: 9 [ 419.200543] Bluetooth: hci0: command 0x0405 tx timeout 2021/05/14 21:07:34 executed programs: 15 2021/05/14 21:07:39 executed programs: 21 2021/05/14 21:07:44 executed programs: 27 2021/05/14 21:07:49 executed programs: 33 [ 441.052411] ieee802154 phy0 wpan0: encryption failed: -22 [ 441.058312] ieee802154 phy1 wpan1: encryption failed: -22 2021/05/14 21:07:54 executed programs: 39 2021/05/14 21:07:59 executed programs: 45 2021/05/14 21:08:04 executed programs: 51 2021/05/14 21:08:09 executed programs: 57 2021/05/14 21:08:14 executed programs: 63 2021/05/14 21:08:19 executed programs: 69 2021/05/14 21:08:24 executed programs: 75 [ 477.521468] ================================================================== [ 477.529121] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 477.535966] Read of size 8 at addr ffff88809c65b420 by task kworker/0:1/14 [ 477.543090] [ 477.544729] CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted 4.19.190-syzkaller #0 [ 477.552161] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 477.561778] Workqueue: events l2cap_chan_timeout [ 477.566520] Call Trace: [ 477.569107] dump_stack+0x1fc/0x2ef [ 477.573177] print_address_description.cold+0x54/0x219 [ 477.578463] kasan_report_error.cold+0x8a/0x1b9 [ 477.583140] ? __lock_acquire+0x2cb4/0x3ff0 [ 477.587457] __asan_report_load8_noabort+0x88/0x90 [ 477.592512] ? __lock_acquire+0x2cb4/0x3ff0 [ 477.596833] __lock_acquire+0x2cb4/0x3ff0 [ 477.600988] ? trace_hardirqs_off+0x64/0x200 [ 477.605402] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 477.610514] ? debug_object_assert_init+0x242/0x2e0 [ 477.615527] ? mark_held_locks+0xf0/0xf0 [ 477.619598] ? debug_object_free+0x380/0x380 [ 477.624189] ? mark_held_locks+0xf0/0xf0 [ 477.628328] ? __save_stack_trace+0x9f/0x190 [ 477.633103] ? del_timer+0xc3/0x100 [ 477.637009] lock_acquire+0x170/0x3c0 [ 477.640914] ? lock_sock_nested+0x3b/0x110 [ 477.645148] _raw_spin_lock_bh+0x2f/0x40 [ 477.649445] ? lock_sock_nested+0x3b/0x110 [ 477.653831] lock_sock_nested+0x3b/0x110 [ 477.658001] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 477.662576] l2cap_chan_del+0xbc/0xa50 [ 477.666466] ? rcu_nmi_exit+0xb3/0x180 [ 477.671109] l2cap_chan_close+0x1b5/0x950 [ 477.675270] ? __set_monitor_timer+0x200/0x200 [ 477.679851] ? __lock_acquire+0x2853/0x3ff0 [ 477.684187] ? check_preemption_disabled+0x41/0x280 [ 477.689574] l2cap_chan_timeout+0x17e/0x2f0 [ 477.693993] process_one_work+0x864/0x1570 [ 477.698238] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 477.703005] worker_thread+0x64c/0x1130 [ 477.706980] ? __kthread_parkme+0x133/0x1e0 [ 477.711304] ? process_one_work+0x1570/0x1570 [ 477.715889] kthread+0x33f/0x460 [ 477.719393] ? kthread_park+0x180/0x180 [ 477.723751] ret_from_fork+0x24/0x30 [ 477.727556] [ 477.729209] Allocated by task 8565: [ 477.732970] __kmalloc+0x15a/0x3c0 [ 477.736590] sk_prot_alloc+0x1e2/0x2d0 [ 477.740484] sk_alloc+0x36/0xec0 [ 477.743885] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 477.748995] l2cap_sock_create+0x123/0x1f0 [ 477.753486] bt_sock_create+0x154/0x2a0 [ 477.757675] __sock_create+0x3d8/0x740 [ 477.762778] __sys_socket+0xef/0x200 [ 477.766511] __x64_sys_socket+0x6f/0xb0 [ 477.770588] do_syscall_64+0xf9/0x620 [ 477.774713] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 477.780177] [ 477.781809] Freed by task 8565: [ 477.785107] kfree+0xcc/0x210 [ 477.788619] __sk_destruct+0x684/0x8a0 [ 477.792631] __sk_free+0x165/0x3b0 [ 477.796478] sk_free+0x3b/0x50 [ 477.799683] l2cap_sock_kill.part.0+0x124/0x150 [ 477.804374] l2cap_sock_release+0x1e6/0x290 [ 477.808794] __sock_release+0xcd/0x2a0 [ 477.812746] sock_close+0x15/0x20 [ 477.816191] __fput+0x2ce/0x890 [ 477.819933] task_work_run+0x148/0x1c0 [ 477.823985] get_signal+0x1b64/0x1f70 [ 477.827788] do_signal+0x8f/0x1670 [ 477.831590] exit_to_usermode_loop+0x204/0x2a0 [ 477.836179] do_syscall_64+0x538/0x620 [ 477.840074] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 477.845458] [ 477.847118] The buggy address belongs to the object at ffff88809c65b380 [ 477.847118] which belongs to the cache kmalloc-2048 of size 2048 [ 477.860082] The buggy address is located 160 bytes inside of [ 477.860082] 2048-byte region [ffff88809c65b380, ffff88809c65bb80) [ 477.872307] The buggy address belongs to the page: [ 477.877248] page:ffffea0002719680 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0x0 compound_mapcount: 0 [ 477.887207] flags: 0xfff00000008100(slab|head) [ 477.891903] raw: 00fff00000008100 ffffea0002967a88 ffffea0002979288 ffff88813bff0c40 [ 477.900451] raw: 0000000000000000 ffff88809c65a280 0000000100000003 0000000000000000 [ 477.908330] page dumped because: kasan: bad access detected [ 477.914021] [ 477.915632] Memory state around the buggy address: [ 477.920544] ffff88809c65b300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 477.928085] ffff88809c65b380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 477.937692] >ffff88809c65b400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 477.945044] ^ [ 477.949926] ffff88809c65b480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 477.957308] ffff88809c65b500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 477.965070] ================================================================== [ 477.972860] Disabling lock debugging due to kernel taint [ 477.978582] Kernel panic - not syncing: panic_on_warn set ... [ 477.978582] [ 477.988324] CPU: 0 PID: 14 Comm: kworker/0:1 Tainted: G B 4.19.190-syzkaller #0 [ 477.998342] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 478.009768] Workqueue: events l2cap_chan_timeout [ 478.014799] Call Trace: [ 478.017607] dump_stack+0x1fc/0x2ef [ 478.022924] panic+0x26a/0x50e [ 478.026446] ? __warn_printk+0xf3/0xf3 [ 478.031506] ? lock_downgrade+0x720/0x720 [ 478.035764] ? print_shadow_for_address+0xb8/0x114 [ 478.041108] ? trace_hardirqs_off+0x64/0x200 [ 478.045523] kasan_end_report+0x43/0x49 [ 478.049535] kasan_report_error.cold+0xa7/0x1b9 [ 478.054248] ? __lock_acquire+0x2cb4/0x3ff0 [ 478.058616] __asan_report_load8_noabort+0x88/0x90 [ 478.063652] ? __lock_acquire+0x2cb4/0x3ff0 [ 478.068031] __lock_acquire+0x2cb4/0x3ff0 [ 478.072174] ? trace_hardirqs_off+0x64/0x200 [ 478.076583] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 478.082409] ? debug_object_assert_init+0x242/0x2e0 [ 478.087426] ? mark_held_locks+0xf0/0xf0 [ 478.091501] ? debug_object_free+0x380/0x380 [ 478.095930] ? mark_held_locks+0xf0/0xf0 [ 478.100273] ? __save_stack_trace+0x9f/0x190 [ 478.104978] ? del_timer+0xc3/0x100 [ 478.108804] lock_acquire+0x170/0x3c0 [ 478.112634] ? lock_sock_nested+0x3b/0x110 [ 478.117188] _raw_spin_lock_bh+0x2f/0x40 [ 478.121768] ? lock_sock_nested+0x3b/0x110 [ 478.126093] lock_sock_nested+0x3b/0x110 [ 478.130149] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 478.134913] l2cap_chan_del+0xbc/0xa50 [ 478.138795] ? rcu_nmi_exit+0xb3/0x180 [ 478.142687] l2cap_chan_close+0x1b5/0x950 [ 478.146832] ? __set_monitor_timer+0x200/0x200 [ 478.151416] ? __lock_acquire+0x2853/0x3ff0 [ 478.155863] ? check_preemption_disabled+0x41/0x280 [ 478.160989] l2cap_chan_timeout+0x17e/0x2f0 [ 478.165317] process_one_work+0x864/0x1570 [ 478.169632] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 478.174778] worker_thread+0x64c/0x1130 [ 478.178751] ? __kthread_parkme+0x133/0x1e0 [ 478.183302] ? process_one_work+0x1570/0x1570 [ 478.187788] kthread+0x33f/0x460 [ 478.191332] ? kthread_park+0x180/0x180 [ 478.195301] ret_from_fork+0x24/0x30 [ 478.199743] Kernel Offset: disabled [ 478.203380] Rebooting in 86400 seconds..