Warning: Permanently added '10.128.0.144' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 41.821900] audit: type=1400 audit(1596727780.984:8): avc: denied { execmem } for pid=6477 comm="syz-executor460" 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 41.944313] ================================================================== [ 41.951873] BUG: KASAN: use-after-free in ex_handler_refcount+0x18f/0x1c0 [ 41.958809] Write of size 4 at addr ffff8880845fb358 by task kworker/0:2/2921 [ 41.966168] [ 41.967806] CPU: 0 PID: 2921 Comm: kworker/0:2 Not tainted 4.19.137-syzkaller #0 [ 41.975345] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.984805] Workqueue: events do_enable_set [ 41.989127] Call Trace: executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 41.991732] dump_stack+0x1fc/0x2fe [ 41.995472] print_address_description.cold+0x54/0x219 [ 42.000865] kasan_report_error.cold+0x8a/0x1c7 [ 42.005546] ? ex_handler_refcount+0x18f/0x1c0 [ 42.010139] __asan_report_store4_noabort+0x88/0x90 [ 42.015168] ? ex_handler_refcount+0x18f/0x1c0 [ 42.019802] ex_handler_refcount+0x18f/0x1c0 [ 42.024225] ? ex_handler_clear_fs+0xb0/0xb0 [ 42.028643] fixup_exception+0x8a/0xc3 [ 42.032539] do_trap+0x61/0x250 [ 42.035831] do_error_trap+0x15d/0x310 [ 42.039736] ? math_error+0x310/0x310 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.043635] ? csum_partial_copy_generic+0x607f/0x7811 [ 42.048926] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.054135] invalid_op+0x14/0x20 [ 42.057599] RIP: 0010:csum_partial_copy_generic+0x607f/0x7811 [ 42.063575] Code: 49 8d 8c 24 80 00 00 00 0f 0b 48 8d 8d 80 00 00 00 0f 0b 48 8d 8d 80 00 00 00 0f 0b 49 8d 8c 24 b8 02 00 00 0f 0b 48 8d 4d 18 <0f> 0b 48 8d 8d b8 02 00 00 0f 0b 48 8d 4b 18 0f 0b 48 8d 8d 80 00 [ 42.082481] RSP: 0018:ffff88809e397c20 EFLAGS: 00010297 [ 42.087959] RAX: ffff88809e380580 RBX: 0000000000000001 RCX: ffff8880845fb358 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.095235] RDX: 0000000000000000 RSI: ffffffff868150d0 RDI: ffff8880845fb340 [ 42.102784] RBP: ffff8880845fb340 R08: 0000000000000000 R09: 0000000000000008 [ 42.110067] R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880ae62bb10 [ 42.117440] R13: ffff88809e271d00 R14: ffff8880ae62bac0 R15: ffff8880a7b18500 [ 42.124732] ? l2cap_chan_put+0x10/0x1c0 [ 42.128899] do_enable_set+0x4ef/0x975 [ 42.132796] ? process_one_work+0x77b/0x1570 [ 42.137216] ? chan_recv_cb+0xa70/0xa70 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.141196] ? check_preemption_disabled+0x41/0x280 [ 42.146229] process_one_work+0x864/0x1570 [ 42.150913] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 42.155610] worker_thread+0x64c/0x1130 [ 42.159612] ? __kthread_parkme+0xfd/0x1b0 [ 42.163854] ? process_one_work+0x1570/0x1570 [ 42.168370] kthread+0x30b/0x410 [ 42.171748] ? kthread_park+0x180/0x180 [ 42.175745] ret_from_fork+0x24/0x30 [ 42.179464] [ 42.181119] Allocated by task 19: [ 42.184580] kmem_cache_alloc_trace+0x12f/0x380 [ 42.189535] l2cap_chan_create+0x40/0x380 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.193696] do_enable_set+0x525/0x975 [ 42.197712] process_one_work+0x864/0x1570 [ 42.201961] worker_thread+0x64c/0x1130 [ 42.205941] kthread+0x30b/0x410 [ 42.209314] ret_from_fork+0x24/0x30 [ 42.213019] [ 42.214645] Freed by task 19: [ 42.217754] kfree+0xcc/0x210 [ 42.220953] l2cap_chan_put+0x16b/0x1c0 [ 42.225893] do_enable_set+0x4ef/0x975 [ 42.229787] process_one_work+0x864/0x1570 [ 42.234029] worker_thread+0x64c/0x1130 [ 42.238012] kthread+0x30b/0x410 [ 42.241508] ret_from_fork+0x24/0x30 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.245213] [ 42.246837] The buggy address belongs to the object at ffff8880845fb340 [ 42.246837] which belongs to the cache kmalloc-2048 of size 2048 [ 42.259673] The buggy address is located 24 bytes inside of [ 42.259673] 2048-byte region [ffff8880845fb340, ffff8880845fbb40) [ 42.271551] The buggy address belongs to the page: [ 42.276489] page:ffffea0002117e80 count:1 mapcount:0 mapping:ffff88812c39cc40 index:0x0 compound_mapcount: 0 [ 42.286466] flags: 0xfffe0000008100(slab|head) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.291056] raw: 00fffe0000008100 ffffea0002934908 ffffea0002221508 ffff88812c39cc40 [ 42.298945] raw: 0000000000000000 ffff8880845fa240 0000000100000003 0000000000000000 [ 42.306824] page dumped because: kasan: bad access detected [ 42.312531] [ 42.314167] Memory state around the buggy address: [ 42.319099] ffff8880845fb200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.326550] ffff8880845fb280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 42.333913] >ffff8880845fb300: fc fc fc fc fc fc fc fc 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 [ 42.341268] ^ [ 42.347503] ffff8880845fb380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.354873] ffff8880845fb400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 42.362229] ================================================================== [ 42.369670] Disabling lock debugging due to kernel taint [ 42.381750] Kernel panic - not syncing: panic_on_warn set ... [ 42.381750] [ 42.389146] CPU: 0 PID: 2921 Comm: kworker/0:2 Tainted: G B 4.19.137-syzkaller #0 [ 42.399372] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.408732] Workqueue: events do_enable_set [ 42.413046] Call Trace: [ 42.415640] dump_stack+0x1fc/0x2fe [ 42.419271] panic+0x26a/0x50e [ 42.422640] ? __warn_printk+0xf3/0xf3 [ 42.426531] ? preempt_schedule_common+0x45/0xc0 [ 42.431293] ? ___preempt_schedule+0x16/0x18 [ 42.435710] ? trace_hardirqs_on+0x55/0x210 [ 42.440035] kasan_end_report+0x43/0x49 [ 42.444012] kasan_report_error.cold+0xa7/0x1c7 [ 42.448774] ? ex_handler_refcount+0x18f/0x1c0 [ 42.453360] __asan_report_store4_noabort+0x88/0x90 [ 42.458383] ? ex_handler_refcount+0x18f/0x1c0 [ 42.462971] ex_handler_refcount+0x18f/0x1c0 [ 42.467389] ? ex_handler_clear_fs+0xb0/0xb0 [ 42.471886] fixup_exception+0x8a/0xc3 [ 42.475775] do_trap+0x61/0x250 [ 42.479057] do_error_trap+0x15d/0x310 [ 42.483129] ? math_error+0x310/0x310 [ 42.486937] ? csum_partial_copy_generic+0x607f/0x7811 [ 42.492222] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 42.497069] invalid_op+0x14/0x20 [ 42.500529] RIP: 0010:csum_partial_copy_generic+0x607f/0x7811 [ 42.506412] Code: 49 8d 8c 24 80 00 00 00 0f 0b 48 8d 8d 80 00 00 00 0f 0b 48 8d 8d 80 00 00 00 0f 0b 49 8d 8c 24 b8 02 00 00 0f 0b 48 8d 4d 18 <0f> 0b 48 8d 8d b8 02 00 00 0f 0b 48 8d 4b 18 0f 0b 48 8d 8d 80 00 [ 42.525313] RSP: 0018:ffff88809e397c20 EFLAGS: 00010297 [ 42.530771] RAX: ffff88809e380580 RBX: 0000000000000001 RCX: ffff8880845fb358 [ 42.538039] RDX: 0000000000000000 RSI: ffffffff868150d0 RDI: ffff8880845fb340 [ 42.545307] RBP: ffff8880845fb340 R08: 0000000000000000 R09: 0000000000000008 [ 42.552576] R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880ae62bb10 [ 42.559847] R13: ffff88809e271d00 R14: ffff8880ae62bac0 R15: ffff8880a7b18500 [ 42.567165] ? l2cap_chan_put+0x10/0x1c0 [ 42.571240] do_enable_set+0x4ef/0x975 [ 42.575308] ? process_one_work+0x77b/0x1570 [ 42.579730] ? chan_recv_cb+0xa70/0xa70 [ 42.583719] ? check_preemption_disabled+0x41/0x280 [ 42.588748] process_one_work+0x864/0x1570 [ 42.593003] ? pwq_dec_nr_in_flight+0x2d0/0x2d0 [ 42.597679] worker_thread+0x64c/0x1130 [ 42.601752] ? __kthread_parkme+0xfd/0x1b0 [ 42.605992] ? process_one_work+0x1570/0x1570 [ 42.610508] kthread+0x30b/0x410 [ 42.614053] ? kthread_park+0x180/0x180 [ 42.618037] ret_from_fork+0x24/0x30 [ 42.622855] Kernel Offset: disabled [ 42.626469] Rebooting in 86400 seconds..