[ 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.53' (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 syzkaller login: [ 35.219878] audit: type=1400 audit(1587678917.130:8): avc: denied { execmem } for pid=6342 comm="syz-executor693" 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 [ 35.317176] ================================================================== [ 35.324782] BUG: KASAN: use-after-free in l2cap_chan_close+0x4f6/0x770 [ 35.331477] Read of size 1 at addr ffff88808b2744e0 by task kworker/1:2/3633 [ 35.338659] [ 35.340321] CPU: 1 PID: 3633 Comm: kworker/1:2 Not tainted 4.14.176-syzkaller #0 [ 35.347857] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.357245] Workqueue: events do_enable_set [ 35.361584] Call Trace: executing program executing program executing program executing program [ 35.364176] dump_stack+0x13e/0x194 [ 35.367853] ? l2cap_chan_close+0x4f6/0x770 [ 35.372212] print_address_description.cold+0x7c/0x1e2 [ 35.377489] ? l2cap_chan_close+0x4f6/0x770 [ 35.381837] kasan_report.cold+0xa9/0x2ae [ 35.386006] l2cap_chan_close+0x4f6/0x770 [ 35.390161] ? l2cap_retransmit.isra.0+0x240/0x240 [ 35.395094] do_enable_set+0x45a/0x7f0 [ 35.398978] ? __lock_is_held+0xad/0x140 [ 35.403047] ? lowpan_control_write+0x3f0/0x3f0 [ 35.407715] process_one_work+0x813/0x1540 [ 35.411951] ? pwq_dec_nr_in_flight+0x2b0/0x2b0 [ 35.416612] ? worker_thread+0x15d/0x1070 [ 35.420763] ? _raw_spin_unlock_irq+0x24/0x80 [ 35.425259] worker_thread+0x5d1/0x1070 [ 35.429250] ? process_one_work+0x1540/0x1540 [ 35.433827] kthread+0x30d/0x420 [ 35.437218] ? kthread_create_on_node+0xd0/0xd0 [ 35.441885] ret_from_fork+0x24/0x30 [ 35.445596] [ 35.447225] Allocated by task 24: [ 35.450689] save_stack+0x32/0xa0 [ 35.454150] kasan_kmalloc+0xbf/0xe0 [ 35.457857] kmem_cache_alloc_trace+0x14d/0x7b0 [ 35.462544] l2cap_chan_create+0x3e/0x3c0 [ 35.466693] chan_create+0xc/0xd0 [ 35.470138] do_enable_set+0x493/0x7f0 [ 35.474027] process_one_work+0x813/0x1540 [ 35.478385] worker_thread+0x5d1/0x1070 [ 35.482357] kthread+0x30d/0x420 [ 35.485722] ret_from_fork+0x24/0x30 [ 35.489425] [ 35.491046] Freed by task 24: [ 35.494147] save_stack+0x32/0xa0 [ 35.497593] kasan_slab_free+0x75/0xc0 [ 35.501469] kfree+0xcb/0x260 [ 35.504566] l2cap_chan_put+0x27/0x30 [ 35.508369] do_enable_set+0x466/0x7f0 [ 35.512260] process_one_work+0x813/0x1540 [ 35.516501] worker_thread+0x5d1/0x1070 [ 35.520464] kthread+0x30d/0x420 [ 35.523823] ret_from_fork+0x24/0x30 [ 35.527521] [ 35.529144] The buggy address belongs to the object at ffff88808b2744c0 [ 35.529144] which belongs to the cache kmalloc-2048 of size 2048 [ 35.542004] The buggy address is located 32 bytes inside of [ 35.542004] 2048-byte region [ffff88808b2744c0, ffff88808b274cc0) [ 35.553874] The buggy address belongs to the page: [ 35.558799] page:ffffea00022c9d00 count:1 mapcount:0 mapping:ffff88808b2744c0 index:0x0 compound_mapcount: 0 [ 35.568772] flags: 0xfffe0000008100(slab|head) [ 35.573386] raw: 00fffe0000008100 ffff88808b2744c0 0000000000000000 0000000100000003 [ 35.581270] raw: ffffea000262c220 ffffea0002289520 ffff88812fe56c40 0000000000000000 [ 35.589142] page dumped because: kasan: bad access detected [ 35.594838] [ 35.596453] Memory state around the buggy address: [ 35.601379] ffff88808b274380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 35.608735] ffff88808b274400: 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 35.616096] >ffff88808b274480: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 35.623456] ^ [ 35.629943] ffff88808b274500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.637302] ffff88808b274580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.644659] ================================================================== [ 35.652034] 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 [ 35.882544] Kernel panic - not syncing: panic_on_warn set ... [ 35.882544] [ 35.889947] CPU: 1 PID: 3633 Comm: kworker/1:2 Tainted: G B 4.14.176-syzkaller #0 [ 35.898789] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.908164] Workqueue: events do_enable_set [ 35.912584] Call Trace: [ 35.915173] dump_stack+0x13e/0x194 [ 35.918794] panic+0x1f9/0x42d [ 35.921982] ? add_taint.cold+0x16/0x16 [ 35.925982] ? preempt_schedule_common+0x4a/0xc0 executing program executing program executing program executing program executing program executing program [ 35.930731] ? l2cap_chan_close+0x4f6/0x770 [ 35.935065] ? ___preempt_schedule+0x16/0x18 [ 35.939475] ? l2cap_chan_close+0x4f6/0x770 [ 35.943785] kasan_end_report+0x43/0x49 [ 35.947757] kasan_report.cold+0x12f/0x2ae [ 35.951982] l2cap_chan_close+0x4f6/0x770 [ 35.956121] ? l2cap_retransmit.isra.0+0x240/0x240 [ 35.961046] do_enable_set+0x45a/0x7f0 [ 35.964921] ? __lock_is_held+0xad/0x140 [ 35.968971] ? lowpan_control_write+0x3f0/0x3f0 [ 35.973634] process_one_work+0x813/0x1540 [ 35.977867] ? pwq_dec_nr_in_flight+0x2b0/0x2b0 executing program executing program executing program [ 35.982529] ? worker_thread+0x15d/0x1070 [ 35.986693] ? _raw_spin_unlock_irq+0x24/0x80 [ 35.991192] worker_thread+0x5d1/0x1070 [ 35.995163] ? process_one_work+0x1540/0x1540 [ 35.999742] kthread+0x30d/0x420 [ 36.003451] ? kthread_create_on_node+0xd0/0xd0 [ 36.008269] ret_from_fork+0x24/0x30 [ 36.013493] Kernel Offset: disabled [ 36.017125] Rebooting in 86400 seconds..