[ 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.244' (ECDSA) to the list of known hosts. 2021/06/25 02:52:56 parsed 1 programs 2021/06/25 02:52:56 executed programs: 0 syzkaller login: [ 412.548587] IPVS: ftp: loaded support on port[0] = 21 [ 412.641645] chnl_net:caif_netlink_parms(): no params data found [ 412.728301] bridge0: port 1(bridge_slave_0) entered blocking state [ 412.735088] bridge0: port 1(bridge_slave_0) entered disabled state [ 412.743162] device bridge_slave_0 entered promiscuous mode [ 412.750941] bridge0: port 2(bridge_slave_1) entered blocking state [ 412.757999] bridge0: port 2(bridge_slave_1) entered disabled state [ 412.765120] device bridge_slave_1 entered promiscuous mode [ 412.781735] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 412.790547] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 412.808762] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 412.816395] team0: Port device team_slave_0 added [ 412.821863] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 412.829922] team0: Port device team_slave_1 added [ 412.846363] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 412.852698] 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. [ 412.879187] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 412.891922] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 412.898236] 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. [ 412.923605] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 412.934723] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 412.942484] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 412.960497] device hsr_slave_0 entered promiscuous mode [ 412.966337] device hsr_slave_1 entered promiscuous mode [ 412.972248] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 412.979496] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 413.040505] bridge0: port 2(bridge_slave_1) entered blocking state [ 413.046943] bridge0: port 2(bridge_slave_1) entered forwarding state [ 413.053744] bridge0: port 1(bridge_slave_0) entered blocking state [ 413.060169] bridge0: port 1(bridge_slave_0) entered forwarding state [ 413.089923] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 413.097467] 8021q: adding VLAN 0 to HW filter on device bond0 [ 413.105823] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 413.114193] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 413.123298] bridge0: port 1(bridge_slave_0) entered disabled state [ 413.130791] bridge0: port 2(bridge_slave_1) entered disabled state [ 413.139600] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 413.150129] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 413.157520] 8021q: adding VLAN 0 to HW filter on device team0 [ 413.167071] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 413.174623] bridge0: port 1(bridge_slave_0) entered blocking state [ 413.181027] bridge0: port 1(bridge_slave_0) entered forwarding state [ 413.196046] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 413.203642] bridge0: port 2(bridge_slave_1) entered blocking state [ 413.210040] bridge0: port 2(bridge_slave_1) entered forwarding state [ 413.218137] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 413.226431] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 413.236471] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 413.246656] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 413.257295] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 413.267362] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 413.273368] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 413.287161] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 413.294356] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 413.301646] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 413.311535] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 413.324558] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 413.334403] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 413.364557] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 413.371734] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 413.378788] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 413.389059] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 413.396852] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 413.403668] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 413.412829] device veth0_vlan entered promiscuous mode [ 413.422166] device veth1_vlan entered promiscuous mode [ 413.429106] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 413.438310] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 413.450292] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 413.459996] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 413.467629] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 413.474973] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 413.485220] device veth0_macvtap entered promiscuous mode [ 413.491908] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 413.500688] device veth1_macvtap entered promiscuous mode [ 413.509991] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 413.519153] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 413.530003] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 413.537468] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 413.546950] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 413.556974] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 413.563713] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 413.673397] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 413.681001] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 413.690768] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 413.707862] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 413.719754] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready [ 413.726382] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 413.733499] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 413.741279] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 414.576628] Bluetooth: hci0: command 0x0409 tx timeout [ 416.655343] Bluetooth: hci0: command 0x041b tx timeout 2021/06/25 02:53:02 executed programs: 4 [ 418.735526] Bluetooth: hci0: command 0x040f tx timeout [ 420.815147] Bluetooth: hci0: command 0x0419 tx timeout 2021/06/25 02:53:07 executed programs: 10 [ 422.895012] Bluetooth: hci0: command 0x0405 tx timeout 2021/06/25 02:53:12 executed programs: 16 2021/06/25 02:53:17 executed programs: 22 2021/06/25 02:53:22 executed programs: 28 [ 440.975529] ieee802154 phy0 wpan0: encryption failed: -22 [ 440.981263] ieee802154 phy1 wpan1: encryption failed: -22 2021/06/25 02:53:27 executed programs: 34 2021/06/25 02:53:33 executed programs: 40 2021/06/25 02:53:38 executed programs: 46 [ 455.703763] ================================================================== [ 455.711148] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 455.717806] Read of size 8 at addr ffff8880955fe3a0 by task kworker/0:0/8259 [ 455.725099] [ 455.726713] CPU: 0 PID: 8259 Comm: kworker/0:0 Not tainted 4.19.195-syzkaller #0 [ 455.734216] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 455.743555] Workqueue: events l2cap_chan_timeout [ 455.748289] Call Trace: [ 455.750854] dump_stack+0x1fc/0x2ef [ 455.754461] print_address_description.cold+0x54/0x219 [ 455.759712] kasan_report_error.cold+0x8a/0x1b9 [ 455.764357] ? __lock_acquire+0x2cb4/0x3ff0 [ 455.768656] __asan_report_load8_noabort+0x88/0x90 [ 455.773579] ? __lock_acquire+0x2cb4/0x3ff0 [ 455.777889] __lock_acquire+0x2cb4/0x3ff0 [ 455.782017] ? trace_hardirqs_off+0x64/0x200 [ 455.786427] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 455.791504] ? debug_object_assert_init+0x242/0x2e0 [ 455.796495] ? mark_held_locks+0xf0/0xf0 [ 455.800529] ? debug_object_free+0x380/0x380 [ 455.804913] ? mark_held_locks+0xf0/0xf0 [ 455.808950] ? __save_stack_trace+0x9f/0x190 [ 455.813348] ? del_timer+0xc3/0x100 [ 455.816972] lock_acquire+0x170/0x3c0 [ 455.820751] ? lock_sock_nested+0x3b/0x110 [ 455.825017] _raw_spin_lock_bh+0x2f/0x40 [ 455.829062] ? lock_sock_nested+0x3b/0x110 [ 455.833293] lock_sock_nested+0x3b/0x110 [ 455.837360] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 455.841920] ? lock_downgrade+0x720/0x720 [ 455.846045] l2cap_chan_del+0xbc/0xa50 [ 455.849908] ? trace_hardirqs_off+0x64/0x200 [ 455.854293] l2cap_chan_close+0x1b5/0x950 [ 455.858417] ? __set_monitor_timer+0x200/0x200 [ 455.862989] ? check_preemption_disabled+0x41/0x280 [ 455.867982] l2cap_chan_timeout+0x17e/0x2f0 [ 455.872279] process_one_work+0x864/0x1570 [ 455.876489] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 455.881153] worker_thread+0x64c/0x1130 [ 455.885105] ? __kthread_parkme+0x133/0x1e0 [ 455.889412] ? process_one_work+0x1570/0x1570 [ 455.893879] kthread+0x33f/0x460 [ 455.897220] ? kthread_park+0x180/0x180 [ 455.901170] ret_from_fork+0x24/0x30 [ 455.904854] [ 455.906455] Allocated by task 8385: [ 455.910075] __kmalloc+0x15a/0x3c0 [ 455.913595] sk_prot_alloc+0x1e2/0x2d0 [ 455.917478] sk_alloc+0x36/0xec0 [ 455.920824] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 455.925903] l2cap_sock_create+0x123/0x1f0 [ 455.930113] bt_sock_create+0x154/0x2a0 [ 455.934074] __sock_create+0x3d8/0x740 [ 455.937950] __sys_socket+0xef/0x200 [ 455.941641] __x64_sys_socket+0x6f/0xb0 [ 455.945599] do_syscall_64+0xf9/0x620 [ 455.949377] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 455.954535] [ 455.956137] Freed by task 8384: [ 455.959410] kfree+0xcc/0x210 [ 455.962489] __sk_destruct+0x684/0x8a0 [ 455.966351] __sk_free+0x165/0x3b0 [ 455.969866] sk_free+0x3b/0x50 [ 455.973043] l2cap_sock_kill.part.0+0x124/0x150 [ 455.977689] l2cap_sock_release+0x1e6/0x290 [ 455.981986] __sock_release+0xcd/0x2a0 [ 455.985850] sock_close+0x15/0x20 [ 455.989280] __fput+0x2ce/0x890 [ 455.992540] task_work_run+0x148/0x1c0 [ 455.996407] get_signal+0x1b64/0x1f70 [ 456.000187] do_signal+0x8f/0x1670 [ 456.003703] exit_to_usermode_loop+0x204/0x2a0 [ 456.008262] do_syscall_64+0x538/0x620 [ 456.012129] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 456.017286] [ 456.018891] The buggy address belongs to the object at ffff8880955fe300 [ 456.018891] which belongs to the cache kmalloc-2048 of size 2048 [ 456.031722] The buggy address is located 160 bytes inside of [ 456.031722] 2048-byte region [ffff8880955fe300, ffff8880955feb00) [ 456.043652] The buggy address belongs to the page: [ 456.048573] page:ffffea0002557f80 count:1 mapcount:0 mapping:ffff88813bff0c40 index:0x0 compound_mapcount: 0 [ 456.058512] flags: 0xfff00000008100(slab|head) [ 456.063072] raw: 00fff00000008100 ffffea0002bccf08 ffffea0002b7b608 ffff88813bff0c40 [ 456.070929] raw: 0000000000000000 ffff8880955fe300 0000000100000003 0000000000000000 [ 456.078779] page dumped because: kasan: bad access detected [ 456.084458] [ 456.086061] Memory state around the buggy address: [ 456.090966] ffff8880955fe280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 456.098310] ffff8880955fe300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 456.105656] >ffff8880955fe380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 456.112993] ^ [ 456.117380] ffff8880955fe400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 456.124713] ffff8880955fe480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 456.132044] ================================================================== [ 456.139377] Disabling lock debugging due to kernel taint [ 456.144801] Kernel panic - not syncing: panic_on_warn set ... [ 456.144801] [ 456.152144] CPU: 0 PID: 8259 Comm: kworker/0:0 Tainted: G B 4.19.195-syzkaller #0 [ 456.161046] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 456.170394] Workqueue: events l2cap_chan_timeout [ 456.175128] Call Trace: [ 456.177698] dump_stack+0x1fc/0x2ef [ 456.181306] panic+0x26a/0x50e [ 456.184479] ? __warn_printk+0xf3/0xf3 [ 456.188343] ? lock_downgrade+0x720/0x720 [ 456.192467] ? print_shadow_for_address+0xb8/0x114 [ 456.197376] ? trace_hardirqs_off+0x64/0x200 [ 456.201762] kasan_end_report+0x43/0x49 [ 456.205713] kasan_report_error.cold+0xa7/0x1b9 [ 456.210357] ? __lock_acquire+0x2cb4/0x3ff0 [ 456.214655] __asan_report_load8_noabort+0x88/0x90 [ 456.219570] ? __lock_acquire+0x2cb4/0x3ff0 [ 456.223877] __lock_acquire+0x2cb4/0x3ff0 [ 456.228005] ? trace_hardirqs_off+0x64/0x200 [ 456.232391] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 456.237494] ? debug_object_assert_init+0x242/0x2e0 [ 456.242487] ? mark_held_locks+0xf0/0xf0 [ 456.246522] ? debug_object_free+0x380/0x380 [ 456.250904] ? mark_held_locks+0xf0/0xf0 [ 456.254939] ? __save_stack_trace+0x9f/0x190 [ 456.259345] ? del_timer+0xc3/0x100 [ 456.262945] lock_acquire+0x170/0x3c0 [ 456.266723] ? lock_sock_nested+0x3b/0x110 [ 456.270934] _raw_spin_lock_bh+0x2f/0x40 [ 456.274970] ? lock_sock_nested+0x3b/0x110 [ 456.279182] lock_sock_nested+0x3b/0x110 [ 456.283224] l2cap_sock_teardown_cb+0xa0/0x6d0 [ 456.287782] ? lock_downgrade+0x720/0x720 [ 456.291907] l2cap_chan_del+0xbc/0xa50 [ 456.295770] ? trace_hardirqs_off+0x64/0x200 [ 456.300167] l2cap_chan_close+0x1b5/0x950 [ 456.304289] ? __set_monitor_timer+0x200/0x200 [ 456.308848] ? check_preemption_disabled+0x41/0x280 [ 456.313840] l2cap_chan_timeout+0x17e/0x2f0 [ 456.318140] process_one_work+0x864/0x1570 [ 456.322356] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 456.327006] worker_thread+0x64c/0x1130 [ 456.330971] ? __kthread_parkme+0x133/0x1e0 [ 456.335274] ? process_one_work+0x1570/0x1570 [ 456.339744] kthread+0x33f/0x460 [ 456.343087] ? kthread_park+0x180/0x180 [ 456.347128] ret_from_fork+0x24/0x30 [ 456.351616] Kernel Offset: disabled [ 456.355338] Rebooting in 86400 seconds..