[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.39' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 36.081803] audit: type=1400 audit(1589775520.654:8): avc: denied { execmem } for pid=6348 comm="syz-executor367" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 36.225037] ================================================================== [ 36.233061] BUG: KASAN: use-after-free in l2cap_chan_close+0x4f6/0x770 [ 36.239723] Read of size 1 at addr ffff88809771a620 by task kworker/0:2/3335 [ 36.246901] [ 36.248513] CPU: 0 PID: 3335 Comm: kworker/0:2 Not tainted 4.14.180-syzkaller #0 [ 36.256022] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.265362] Workqueue: events do_enable_set [ 36.269673] Call Trace: [ 36.272277] dump_stack+0x13e/0x194 [ 36.275900] ? l2cap_chan_close+0x4f6/0x770 [ 36.280216] print_address_description.cold+0x7c/0x1e2 [ 36.286252] ? l2cap_chan_close+0x4f6/0x770 [ 36.290555] kasan_report.cold+0xa9/0x2ae [ 36.294681] l2cap_chan_close+0x4f6/0x770 [ 36.298990] ? l2cap_retransmit.isra.0+0x240/0x240 [ 36.304008] do_enable_set+0x45a/0x7f0 [ 36.307889] ? __lock_is_held+0xad/0x140 [ 36.311928] ? lowpan_control_write+0x3f0/0x3f0 [ 36.316683] process_one_work+0x813/0x1540 [ 36.320898] ? pwq_dec_nr_in_flight+0x2b0/0x2b0 [ 36.325563] ? worker_thread+0x15d/0x1070 [ 36.329690] ? _raw_spin_unlock_irq+0x24/0x80 [ 36.334163] worker_thread+0x5d1/0x1070 [ 36.338135] ? process_one_work+0x1540/0x1540 [ 36.342606] kthread+0x30d/0x420 [ 36.346037] ? kthread_create_on_node+0xd0/0xd0 [ 36.350698] ret_from_fork+0x24/0x30 [ 36.354394] [ 36.356000] Allocated by task 3335: [ 36.359604] save_stack+0x32/0xa0 [ 36.363057] kasan_kmalloc+0xbf/0xe0 [ 36.366747] kmem_cache_alloc_trace+0x14d/0x7b0 [ 36.371479] l2cap_chan_create+0x3e/0x3c0 [ 36.375870] chan_create+0xc/0xd0 [ 36.379302] do_enable_set+0x493/0x7f0 [ 36.383339] process_one_work+0x813/0x1540 [ 36.387567] worker_thread+0x5d1/0x1070 [ 36.391546] kthread+0x30d/0x420 [ 36.394890] ret_from_fork+0x24/0x30 [ 36.398581] [ 36.400185] Freed by task 2687: [ 36.403442] save_stack+0x32/0xa0 [ 36.406871] kasan_slab_free+0x75/0xc0 [ 36.410735] kfree+0xcb/0x260 [ 36.413834] l2cap_chan_put+0x27/0x30 [ 36.417611] do_enable_set+0x466/0x7f0 [ 36.421488] process_one_work+0x813/0x1540 [ 36.425708] worker_thread+0x5d1/0x1070 [ 36.429671] kthread+0x30d/0x420 [ 36.433120] ret_from_fork+0x24/0x30 [ 36.436808] [ 36.438499] The buggy address belongs to the object at ffff88809771a600 [ 36.438499] which belongs to the cache kmalloc-2048 of size 2048 [ 36.451304] The buggy address is located 32 bytes inside of [ 36.451304] 2048-byte region [ffff88809771a600, ffff88809771ae00) [ 36.463153] The buggy address belongs to the page: [ 36.468064] page:ffffea00025dc680 count:1 mapcount:0 mapping:ffff88809771a600 index:0x0 compound_mapcount: 0 [ 36.478021] flags: 0xfffe0000008100(slab|head) [ 36.482611] raw: 00fffe0000008100 ffff88809771a600 0000000000000000 0000000100000003 [ 36.490481] raw: ffffea00025ffe20 ffffea00025d2520 ffff88812fe54c40 0000000000000000 [ 36.498441] page dumped because: kasan: bad access detected [ 36.504173] [ 36.505776] Memory state around the buggy address: [ 36.510679] ffff88809771a500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 36.518014] ffff88809771a580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc executing program executing program executing program executing program executing program executing program executing program [ 36.525359] >ffff88809771a600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.532692] ^ [ 36.537082] ffff88809771a680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.544420] ffff88809771a700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 36.551751] ================================================================== [ 36.559101] Disabling lock debugging due to kernel taint executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 37.484968] Kernel panic - not syncing: panic_on_warn set ... [ 37.484968] [ 37.492406] CPU: 0 PID: 3335 Comm: kworker/0:2 Tainted: G B 4.14.180-syzkaller #0 [ 37.501152] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.510540] Workqueue: events do_enable_set [ 37.514874] Call Trace: [ 37.517461] dump_stack+0x13e/0x194 [ 37.521085] panic+0x1f9/0x42d [ 37.524284] ? add_taint.cold+0x16/0x16 [ 37.528376] ? preempt_schedule_common+0x4a/0xc0 [ 37.533166] ? l2cap_chan_close+0x4f6/0x770 [ 37.537481] ? ___preempt_schedule+0x16/0x18 [ 37.541886] ? l2cap_chan_close+0x4f6/0x770 [ 37.546322] kasan_end_report+0x43/0x49 [ 37.550291] kasan_report.cold+0x12f/0x2ae [ 37.554520] l2cap_chan_close+0x4f6/0x770 [ 37.558680] ? l2cap_retransmit.isra.0+0x240/0x240 [ 37.563620] do_enable_set+0x45a/0x7f0 [ 37.567512] ? __lock_is_held+0xad/0x140 [ 37.571604] ? lowpan_control_write+0x3f0/0x3f0 [ 37.576626] process_one_work+0x813/0x1540 [ 37.580860] ? pwq_dec_nr_in_flight+0x2b0/0x2b0 [ 37.585518] ? worker_thread+0x15d/0x1070 [ 37.589658] ? _raw_spin_unlock_irq+0x24/0x80 [ 37.594145] worker_thread+0x5d1/0x1070 [ 37.598123] ? process_one_work+0x1540/0x1540 [ 37.602647] kthread+0x30d/0x420 [ 37.607220] ? kthread_create_on_node+0xd0/0xd0 [ 37.611882] ret_from_fork+0x24/0x30 [ 37.617018] Kernel Offset: disabled [ 37.620635] Rebooting in 86400 seconds..