[ 38.343101] audit: type=1800 audit(1583172183.206:33): pid=7382 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="startpar" name="rc.local" dev="sda1" ino=2465 res=0 [ 38.370682] audit: type=1800 audit(1583172183.206:34): pid=7382 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="startpar" name="rmnologin" dev="sda1" ino=2456 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 42.348440] random: sshd: uninitialized urandom read (32 bytes read) [ 42.685155] audit: type=1400 audit(1583172187.546:35): avc: denied { map } for pid=7554 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 [ 42.738267] random: sshd: uninitialized urandom read (32 bytes read) [ 43.505157] random: sshd: uninitialized urandom read (32 bytes read) [ 498.764624] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.242' (ECDSA) to the list of known hosts. [ 504.306262] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 504.437247] audit: type=1400 audit(1583172649.296:36): avc: denied { map } for pid=7566 comm="syz-executor129" path="/root/syz-executor129575603" dev="sda1" ino=1426 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 504.573332] ================================================================== [ 504.581964] BUG: KASAN: use-after-free in ex_handler_refcount+0x164/0x1a0 [ 504.589957] Write of size 4 at addr ffff888074bc0258 by task kworker/1:2/2859 [ 504.597759] [ 504.599404] CPU: 1 PID: 2859 Comm: kworker/1:2 Not tainted 4.14.172-syzkaller #0 [ 504.607024] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 504.616519] Workqueue: events do_enable_set [ 504.620894] Call Trace: [ 504.623740] dump_stack+0x13e/0x194 [ 504.627546] ? ex_handler_refcount+0x164/0x1a0 [ 504.632829] print_address_description.cold+0x7c/0x1e2 [ 504.638665] ? ex_handler_refcount+0x164/0x1a0 [ 504.643814] kasan_report.cold+0xa9/0x2ae [ 504.648092] ex_handler_refcount+0x164/0x1a0 [ 504.652599] ? ex_handler_clear_fs+0xb0/0xb0 [ 504.657018] fixup_exception+0x8a/0xc3 [ 504.661366] do_trap+0x72/0x230 [ 504.665181] ? do_error_trap+0x1d0/0x2d0 [ 504.670614] do_error_trap+0x132/0x2d0 [ 504.675366] ? math_error+0x2d0/0x2d0 [ 504.679632] ? inat_get_avx_attribute+0x5986/0x7953 [ 504.685620] ? __lock_acquire+0x5f7/0x4620 [ 504.691344] ? save_trace+0x290/0x290 [ 504.695240] ? __lock_is_held+0xad/0x140 [ 504.699304] ? save_trace+0x290/0x290 [ 504.703681] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 504.709237] invalid_op+0x1b/0x40 [ 504.713589] RIP: 0010:inat_get_avx_attribute+0x5986/0x7953 [ 504.719896] RSP: 0018:ffff88809eb37c98 EFLAGS: 00010297 [ 504.725705] RAX: ffff88809ebc4100 RBX: ffff888074bc0240 RCX: ffff888074bc0258 [ 504.733150] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888074bc0240 [ 504.740584] RBP: ffff888074bc0240 R08: 0000000000005830 R09: ffffffff8a087a40 [ 504.748580] R10: ffff88809ebc49a8 R11: ffff88809ebc4100 R12: ffff88809eb37dd8 [ 504.756858] R13: ffff8880aa549680 R14: ffff88809e8afb00 R15: ffff8880aeb2acc0 [ 504.764859] ? l2cap_chan_put+0xa/0x30 [ 504.769082] do_enable_set+0x466/0x7f0 [ 504.773362] ? __lock_is_held+0xad/0x140 [ 504.777548] ? lowpan_control_write+0x3f0/0x3f0 [ 504.782865] process_one_work+0x813/0x1540 [ 504.787677] ? pwq_dec_nr_in_flight+0x2b0/0x2b0 [ 504.792969] ? worker_thread+0x15d/0x1070 [ 504.797732] ? _raw_spin_unlock_irq+0x24/0x80 [ 504.803464] worker_thread+0x5d1/0x1070 [ 504.807723] ? process_one_work+0x1540/0x1540 [ 504.812696] kthread+0x30d/0x420 [ 504.816068] ? kthread_create_on_node+0xd0/0xd0 [ 504.821196] ret_from_fork+0x24/0x30 [ 504.825079] [ 504.826763] Allocated by task 3332: [ 504.831202] save_stack+0x32/0xa0 [ 504.834960] kasan_kmalloc+0xbf/0xe0 [ 504.838960] kmem_cache_alloc_trace+0x14d/0x7b0 [ 504.843959] l2cap_chan_create+0x3e/0x3c0 [ 504.848200] chan_create+0xc/0xd0 [ 504.852627] do_enable_set+0x493/0x7f0 [ 504.856991] process_one_work+0x813/0x1540 [ 504.862015] worker_thread+0x5d1/0x1070 [ 504.866249] kthread+0x30d/0x420 [ 504.869629] ret_from_fork+0x24/0x30 [ 504.873326] [ 504.874949] Freed by task 3332: [ 504.878317] save_stack+0x32/0xa0 [ 504.881780] kasan_slab_free+0x75/0xc0 [ 504.885663] kfree+0xcb/0x260 [ 504.888757] l2cap_chan_put+0x27/0x30 [ 504.892556] do_enable_set+0x466/0x7f0 [ 504.896447] process_one_work+0x813/0x1540 [ 504.900672] worker_thread+0x5d1/0x1070 [ 504.904635] kthread+0x30d/0x420 [ 504.907997] ret_from_fork+0x24/0x30 [ 504.911698] [ 504.913423] The buggy address belongs to the object at ffff888074bc0240 [ 504.913423] which belongs to the cache kmalloc-2048 of size 2048 [ 504.926249] The buggy address is located 24 bytes inside of [ 504.926249] 2048-byte region [ffff888074bc0240, ffff888074bc0a40) [ 504.938112] The buggy address belongs to the page: [ 504.943079] page:ffffea0001d2f000 count:1 mapcount:0 mapping:ffff888074bc0240 index:0x0 compound_mapcount: 0 [ 504.953052] flags: 0xfffe0000008100(slab|head) [ 504.957745] raw: 00fffe0000008100 ffff888074bc0240 0000000000000000 0000000100000003 [ 504.965613] raw: ffffea000281c8a0 ffffea00020a12a0 ffff88812fe56c40 0000000000000000 [ 504.973496] page dumped because: kasan: bad access detected [ 504.979208] [ 504.980826] Memory state around the buggy address: [ 504.985768] ffff888074bc0100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 504.993131] ffff888074bc0180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 505.000520] >ffff888074bc0200: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 505.008230] ^ [ 505.014450] ffff888074bc0280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 505.021792] ffff888074bc0300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 505.029143] ================================================================== [ 505.036497] Disabling lock debugging due to kernel taint [ 505.048592] Kernel panic - not syncing: panic_on_warn set ... [ 505.048592] [ 505.056015] CPU: 1 PID: 2859 Comm: kworker/1:2 Tainted: G B 4.14.172-syzkaller #0 [ 505.064769] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 505.074183] Workqueue: events do_enable_set [ 505.078496] Call Trace: [ 505.081088] dump_stack+0x13e/0x194 [ 505.084869] panic+0x1f9/0x42d [ 505.088362] ? add_taint.cold+0x16/0x16 [ 505.092361] ? preempt_schedule_common+0x4a/0xc0 [ 505.097228] ? ex_handler_refcount+0x164/0x1a0 [ 505.101819] ? ___preempt_schedule+0x16/0x18 [ 505.106419] ? ex_handler_refcount+0x164/0x1a0 [ 505.111022] kasan_end_report+0x43/0x49 [ 505.115035] kasan_report.cold+0x12f/0x2ae [ 505.119466] ex_handler_refcount+0x164/0x1a0 [ 505.123997] ? ex_handler_clear_fs+0xb0/0xb0 [ 505.128806] fixup_exception+0x8a/0xc3 [ 505.132699] do_trap+0x72/0x230 [ 505.136065] ? do_error_trap+0x1d0/0x2d0 [ 505.140131] do_error_trap+0x132/0x2d0 [ 505.144043] ? math_error+0x2d0/0x2d0 [ 505.147844] ? inat_get_avx_attribute+0x5986/0x7953 [ 505.152901] ? __lock_acquire+0x5f7/0x4620 [ 505.157313] ? save_trace+0x290/0x290 [ 505.161199] ? __lock_is_held+0xad/0x140 [ 505.165262] ? save_trace+0x290/0x290 [ 505.169060] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 505.174069] invalid_op+0x1b/0x40 [ 505.177544] RIP: 0010:inat_get_avx_attribute+0x5986/0x7953 [ 505.183413] RSP: 0018:ffff88809eb37c98 EFLAGS: 00010297 [ 505.188907] RAX: ffff88809ebc4100 RBX: ffff888074bc0240 RCX: ffff888074bc0258 [ 505.197158] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888074bc0240 [ 505.204714] RBP: ffff888074bc0240 R08: 0000000000005830 R09: ffffffff8a087a40 [ 505.211993] R10: ffff88809ebc49a8 R11: ffff88809ebc4100 R12: ffff88809eb37dd8 [ 505.219261] R13: ffff8880aa549680 R14: ffff88809e8afb00 R15: ffff8880aeb2acc0 [ 505.226542] ? l2cap_chan_put+0xa/0x30 [ 505.230440] do_enable_set+0x466/0x7f0 [ 505.234334] ? __lock_is_held+0xad/0x140 [ 505.238401] ? lowpan_control_write+0x3f0/0x3f0 [ 505.243077] process_one_work+0x813/0x1540 [ 505.247318] ? pwq_dec_nr_in_flight+0x2b0/0x2b0 [ 505.251995] ? worker_thread+0x15d/0x1070 [ 505.256253] ? _raw_spin_unlock_irq+0x24/0x80 [ 505.260755] worker_thread+0x5d1/0x1070 [ 505.264741] ? process_one_work+0x1540/0x1540 [ 505.269232] kthread+0x30d/0x420 [ 505.272608] ? kthread_create_on_node+0xd0/0xd0 [ 505.277272] ret_from_fork+0x24/0x30 [ 505.282647] Kernel Offset: disabled [ 505.286292] Rebooting in 86400 seconds..