[ 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.32' (ECDSA) to the list of known hosts. syzkaller login: [ 834.598751] audit: type=1400 audit(1596823129.807:8): avc: denied { execmem } for pid=6464 comm="syz-executor611" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 834.619537] IPVS: ftp: loaded support on port[0] = 21 [ 834.697288] chnl_net:caif_netlink_parms(): no params data found [ 834.822578] bridge0: port 1(bridge_slave_0) entered blocking state [ 834.829804] bridge0: port 1(bridge_slave_0) entered disabled state [ 834.837816] device bridge_slave_0 entered promiscuous mode [ 834.845034] bridge0: port 2(bridge_slave_1) entered blocking state [ 834.851577] bridge0: port 2(bridge_slave_1) entered disabled state [ 834.858613] device bridge_slave_1 entered promiscuous mode [ 834.876219] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 834.885004] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 834.905075] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 834.912689] team0: Port device team_slave_0 added [ 834.918648] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 834.926365] team0: Port device team_slave_1 added [ 834.941451] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 834.947759] 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. [ 834.973106] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 834.984673] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 834.990990] 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. [ 835.016380] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 835.027392] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 835.034765] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 835.056059] device hsr_slave_0 entered promiscuous mode [ 835.061824] device hsr_slave_1 entered promiscuous mode [ 835.068394] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 835.076325] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 835.144522] bridge0: port 2(bridge_slave_1) entered blocking state [ 835.150969] bridge0: port 2(bridge_slave_1) entered forwarding state [ 835.157990] bridge0: port 1(bridge_slave_0) entered blocking state [ 835.164351] bridge0: port 1(bridge_slave_0) entered forwarding state [ 835.198460] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 835.204558] 8021q: adding VLAN 0 to HW filter on device bond0 [ 835.213592] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 835.222962] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 835.244216] bridge0: port 1(bridge_slave_0) entered disabled state [ 835.251743] bridge0: port 2(bridge_slave_1) entered disabled state [ 835.260840] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 835.271511] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 835.277834] 8021q: adding VLAN 0 to HW filter on device team0 [ 835.287218] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 835.294965] bridge0: port 1(bridge_slave_0) entered blocking state [ 835.301399] bridge0: port 1(bridge_slave_0) entered forwarding state [ 835.311280] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 835.319440] bridge0: port 2(bridge_slave_1) entered blocking state [ 835.325870] bridge0: port 2(bridge_slave_1) entered forwarding state [ 835.346181] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 835.354760] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 835.364047] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 835.371967] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 835.384349] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 835.396355] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 835.403845] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 835.419669] IPv6: ADDRCONF(NETDEV_UP): vxcan0: link is not ready [ 835.427867] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 835.434589] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 835.447535] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 835.460338] IPv6: ADDRCONF(NETDEV_UP): veth0_virt_wifi: link is not ready [ 835.470396] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 835.507141] IPv6: ADDRCONF(NETDEV_UP): veth0_vlan: link is not ready [ 835.514322] IPv6: ADDRCONF(NETDEV_UP): vlan0: link is not ready [ 835.521945] IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready [ 835.531511] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 835.539709] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 835.546957] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 835.556077] device veth0_vlan entered promiscuous mode [ 835.564826] device veth1_vlan entered promiscuous mode [ 835.572263] IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready [ 835.581511] IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready [ 835.593489] IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready [ 835.605061] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 835.613438] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 835.621622] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 835.632836] device veth0_macvtap entered promiscuous mode [ 835.639491] IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready [ 835.649641] device veth1_macvtap entered promiscuous mode [ 835.658923] IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready [ 835.668407] IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready [ 835.679333] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 835.688973] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 835.697958] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 835.708363] IPv6: ADDRCONF(NETDEV_UP): batadv_slave_1: link is not ready [ 835.716611] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 835.727142] IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready [ 835.734917] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready executing program executing program executing program executing program executing program executing program executing program executing program [ 838.975965] Bluetooth: hci0: command 0x0409 tx timeout executing program executing program executing program executing program executing program executing program executing program executing program [ 841.055865] Bluetooth: hci0: command 0x041b tx timeout executing program executing program executing program executing program executing program executing program executing program [ 843.135235] Bluetooth: hci0: command 0x040f tx timeout executing program executing program executing program executing program executing program executing program executing program executing program [ 845.215263] Bluetooth: hci0: command 0x0419 tx timeout [ 845.306758] NOHZ: local_softirq_pending 08 [ 845.311499] NOHZ: local_softirq_pending 08 executing program executing program executing program executing program executing program executing program executing program executing program [ 847.305247] Bluetooth: hci0: command 0x0405 tx timeout executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 886.256175] NOHZ: local_softirq_pending 08 [ 886.260484] NOHZ: local_softirq_pending 08 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 927.216316] NOHZ: local_softirq_pending 08 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 945.775680] ================================================================== [ 945.783115] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 945.789766] Read of size 8 at addr ffff88809e871260 by task kworker/0:2/6660 [ 945.796927] [ 945.798555] CPU: 0 PID: 6660 Comm: kworker/0:2 Not tainted 4.19.138-syzkaller #0 [ 945.806063] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 945.815569] Workqueue: events l2cap_chan_timeout [ 945.820307] Call Trace: [ 945.822927] dump_stack+0x1fc/0x2fe [ 945.826571] print_address_description.cold+0x54/0x219 [ 945.831832] kasan_report_error.cold+0x8a/0x1c7 [ 945.836483] ? __lock_acquire+0x2cb4/0x3ff0 [ 945.840878] __asan_report_load8_noabort+0x88/0x90 [ 945.845804] ? __lock_acquire+0x2cb4/0x3ff0 [ 945.850295] __lock_acquire+0x2cb4/0x3ff0 [ 945.854493] ? ret_from_fork+0x24/0x30 [ 945.858366] ? mark_held_locks+0xf0/0xf0 [ 945.862414] ? __save_stack_trace+0x9f/0x190 [ 945.866816] ? mark_held_locks+0xf0/0xf0 [ 945.871209] ? ret_from_fork+0x24/0x30 [ 945.875089] ? add_lock_to_list.constprop.0+0x17d/0x330 [ 945.881762] ? save_trace+0xd6/0x290 [ 945.885462] lock_acquire+0x170/0x3c0 [ 945.889314] ? lock_sock_nested+0x3b/0x110 [ 945.893577] _raw_spin_lock_bh+0x2f/0x40 [ 945.897815] ? lock_sock_nested+0x3b/0x110 [ 945.902031] lock_sock_nested+0x3b/0x110 [ 945.906369] l2cap_sock_teardown_cb+0x88/0x460 [ 945.910949] l2cap_chan_close+0x2b5/0x820 [ 945.915105] ? __set_monitor_timer+0x130/0x130 [ 945.919737] ? check_preemption_disabled+0x41/0x280 [ 945.924774] l2cap_chan_timeout+0x16d/0x210 [ 945.929095] process_one_work+0x864/0x1570 [ 945.933313] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 945.937967] worker_thread+0x64c/0x1130 [ 945.941926] ? __kthread_parkme+0xfd/0x1b0 [ 945.946155] ? process_one_work+0x1570/0x1570 [ 945.950645] kthread+0x30b/0x410 [ 945.954034] ? kthread_park+0x180/0x180 [ 945.958019] ret_from_fork+0x24/0x30 [ 945.961710] [ 945.963316] Allocated by task 7708: [ 945.966925] __kmalloc+0x15a/0x3c0 [ 945.970454] sk_prot_alloc+0x1e2/0x2d0 [ 945.974334] sk_alloc+0x36/0xec0 [ 945.977690] l2cap_sock_alloc.constprop.0+0x31/0x210 [ 945.982787] l2cap_sock_create+0x110/0x1b0 [ 945.987053] bt_sock_create+0x154/0x2a0 [ 945.991044] __sock_create+0x3d8/0x740 [ 945.994928] __sys_socket+0xef/0x200 [ 945.998644] __x64_sys_socket+0x6f/0xb0 [ 946.002615] do_syscall_64+0xf9/0x620 [ 946.006404] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 946.011591] [ 946.013200] Freed by task 7707: [ 946.016464] kfree+0xcc/0x210 [ 946.019574] __sk_destruct+0x5ff/0x810 [ 946.023452] __sk_free+0x165/0x3b0 [ 946.027232] sk_free+0x3b/0x50 [ 946.030405] l2cap_sock_kill.part.0+0x6b/0x80 [ 946.034880] l2cap_sock_release+0x158/0x190 [ 946.039197] __sock_release+0xcd/0x2a0 [ 946.043064] sock_close+0x15/0x20 [ 946.046512] __fput+0x2ce/0x890 [ 946.049781] task_work_run+0x148/0x1c0 [ 946.053662] get_signal+0x1b64/0x1f70 [ 946.057451] do_signal+0x8f/0x1670 [ 946.060971] exit_to_usermode_loop+0x204/0x2a0 [ 946.065533] do_syscall_64+0x538/0x620 [ 946.069412] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 946.074582] [ 946.076292] The buggy address belongs to the object at ffff88809e8711c0 [ 946.076292] which belongs to the cache kmalloc-2048 of size 2048 [ 946.089148] The buggy address is located 160 bytes inside of [ 946.089148] 2048-byte region [ffff88809e8711c0, ffff88809e8719c0) [ 946.101117] The buggy address belongs to the page: [ 946.106044] page:ffffea00027a1c00 count:1 mapcount:0 mapping:ffff88812c39cc40 index:0x0 compound_mapcount: 0 [ 946.115992] flags: 0xfffe0000008100(slab|head) [ 946.120573] raw: 00fffe0000008100 ffffea000210ce88 ffffea00021c5f08 ffff88812c39cc40 [ 946.128448] raw: 0000000000000000 ffff88809e8700c0 0000000100000003 0000000000000000 [ 946.136311] page dumped because: kasan: bad access detected [ 946.141996] [ 946.143599] Memory state around the buggy address: [ 946.148506] ffff88809e871100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 946.155844] ffff88809e871180: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 946.163209] >ffff88809e871200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 946.170815] ^ [ 946.177320] ffff88809e871280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 946.184846] ffff88809e871300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 946.192180] ================================================================== [ 946.199723] Disabling lock debugging due to kernel taint [ 946.205183] Kernel panic - not syncing: panic_on_warn set ... [ 946.205183] [ 946.212631] CPU: 0 PID: 6660 Comm: kworker/0:2 Tainted: G B 4.19.138-syzkaller #0 [ 946.221539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 946.231003] Workqueue: events l2cap_chan_timeout [ 946.235741] Call Trace: [ 946.238320] dump_stack+0x1fc/0x2fe [ 946.241933] panic+0x26a/0x50e [ 946.245113] ? __warn_printk+0xf3/0xf3 [ 946.248989] ? lock_downgrade+0x720/0x720 [ 946.253122] ? print_shadow_for_address+0xb8/0x114 [ 946.258031] ? trace_hardirqs_off+0x64/0x200 [ 946.262434] kasan_end_report+0x43/0x49 [ 946.266400] kasan_report_error.cold+0xa7/0x1c7 [ 946.271078] ? __lock_acquire+0x2cb4/0x3ff0 [ 946.275667] __asan_report_load8_noabort+0x88/0x90 [ 946.280630] ? __lock_acquire+0x2cb4/0x3ff0 [ 946.284945] __lock_acquire+0x2cb4/0x3ff0 [ 946.289081] ? ret_from_fork+0x24/0x30 [ 946.292950] ? mark_held_locks+0xf0/0xf0 [ 946.296994] ? __save_stack_trace+0x9f/0x190 [ 946.301405] ? mark_held_locks+0xf0/0xf0 [ 946.305474] ? ret_from_fork+0x24/0x30 [ 946.309345] ? add_lock_to_list.constprop.0+0x17d/0x330 [ 946.314705] ? save_trace+0xd6/0x290 [ 946.318402] lock_acquire+0x170/0x3c0 [ 946.322193] ? lock_sock_nested+0x3b/0x110 [ 946.326545] _raw_spin_lock_bh+0x2f/0x40 [ 946.330616] ? lock_sock_nested+0x3b/0x110 [ 946.334830] lock_sock_nested+0x3b/0x110 [ 946.338874] l2cap_sock_teardown_cb+0x88/0x460 [ 946.343455] l2cap_chan_close+0x2b5/0x820 [ 946.347612] ? __set_monitor_timer+0x130/0x130 [ 946.352176] ? check_preemption_disabled+0x41/0x280 [ 946.357173] l2cap_chan_timeout+0x16d/0x210 [ 946.361478] process_one_work+0x864/0x1570 [ 946.365703] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 946.370355] worker_thread+0x64c/0x1130 [ 946.374311] ? __kthread_parkme+0xfd/0x1b0 [ 946.378524] ? process_one_work+0x1570/0x1570 [ 946.383013] kthread+0x30b/0x410 [ 946.386365] ? kthread_park+0x180/0x180 [ 946.390347] ret_from_fork+0x24/0x30 [ 946.395249] Kernel Offset: disabled [ 946.398882] Rebooting in 86400 seconds..