Another use-after-free that looks relevant:
BUG: KASAN: use-after-free in insert_work+0x24a/0x2e0 at addr ffff88003d87bcd8
Read of size 8 by task syz-executor/28580
CPU: 0 PID: 28580 Comm: syz-executor Not tainted 4.9.0-rc4+ #49
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
ffff88003c60f920 ffffffff81c2e46b ffff88003e80ccc0 ffff88003d87bc38
ffff88003d87bf70 0000000000000000 ffff88003c60f948 ffffffff8165ab9c
ffffed0007b0f79b ffffed0007b0f79b ffff88003e80ccc0 ffff88003c60f9c8
Call Trace:
[< inline >] __dump_stack lib/dump_stack.c:15
[<ffffffff81c2e46b>] dump_stack+0xb3/0x118 lib/dump_stack.c:51
[<ffffffff8165ab9c>] kasan_object_err+0x1c/0x70 mm/kasan/report.c:156
[< inline >] print_address_description mm/kasan/report.c:194
[< inline >] kasan_report_error mm/kasan/report.c:283
[<ffffffff8165aed1>] kasan_report+0x231/0x500 mm/kasan/report.c:303
[<ffffffff8165b214>] __asan_report_load8_noabort+0x14/0x20
mm/kasan/report.c:329
[< inline >] constant_test_bit arch/x86/include/asm/bitops.h:311
[< inline >] set_work_data kernel/workqueue.c:614
[< inline >] set_work_pwq kernel/workqueue.c:621
[<ffffffff8128ca1a>] insert_work+0x24a/0x2e0 kernel/workqueue.c:1297
[<ffffffff8128cfa1>] __queue_work+0x4f1/0xed0 kernel/workqueue.c:1459
[<ffffffff8128e7f7>] queue_work_on+0x97/0xa0 kernel/workqueue.c:1484
[< inline >] queue_work include/linux/workqueue.h:474
[< inline >] schedule_work include/linux/workqueue.h:532
[< inline >] kvm_irqfd_assign
arch/x86/kvm/../../../virt/kvm/eventfd.c:403
[<ffffffff8106f18f>] kvm_irqfd+0x117f/0x18a0
arch/x86/kvm/../../../virt/kvm/eventfd.c:572
[<ffffffff81065fe7>] kvm_vm_ioctl+0x2e7/0x1670
arch/x86/kvm/../../../virt/kvm/kvm_main.c:2996
[< inline >] vfs_ioctl fs/ioctl.c:43
[<ffffffff816b03cc>] do_vfs_ioctl+0x18c/0x1040 fs/ioctl.c:679
[< inline >] SYSC_ioctl fs/ioctl.c:694
[<ffffffff816b130f>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685
[<ffffffff831f0dc1>] entry_SYSCALL_64_fastpath+0x1f/0xc2
Object at ffff88003d87bc38, in cache kmalloc-512 size: 512
Allocated:
PID = 28580
[ 956.676797] [<ffffffff811abb36>] save_stack_trace+0x16/0x20
arch/x86/kernel/stacktrace.c:57
[ 956.676797] [<ffffffff81659ee6>] save_stack+0x46/0xd0 mm/kasan/kasan.c:495
[ 956.676797] [< inline >] set_track mm/kasan/kasan.c:507
[ 956.676797] [<ffffffff8165a15d>] kasan_kmalloc+0xad/0xe0
mm/kasan/kasan.c:598
[ 956.676797] [<ffffffff816557f8>] kmem_cache_alloc_trace+0xf8/0x280
mm/slub.c:2735
[ 956.676797] [< inline >] kmalloc include/linux/slab.h:490
[ 956.676797] [< inline >] kzalloc include/linux/slab.h:636
[ 956.676797] [< inline >] kvm_irqfd_assign
arch/x86/kvm/../../../virt/kvm/eventfd.c:296
[ 956.676797] [<ffffffff8106e0b7>] kvm_irqfd+0xa7/0x18a0
arch/x86/kvm/../../../virt/kvm/eventfd.c:572
[ 956.774974] [<ffffffff81065fe7>] kvm_vm_ioctl+0x2e7/0x1670
arch/x86/kvm/../../../virt/kvm/kvm_main.c:2996
[ 956.779053] [< inline >] vfs_ioctl fs/ioctl.c:43
[ 956.779053] [<ffffffff816b03cc>] do_vfs_ioctl+0x18c/0x1040 fs/ioctl.c:679
[ 956.779053] [< inline >] SYSC_ioctl fs/ioctl.c:694
[ 956.779053] [<ffffffff816b130f>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685
[ 956.779053] [<ffffffff831f0dc1>] entry_SYSCALL_64_fastpath+0x1f/0xc2
Freed:
PID = 12240
[ 956.779053] [<ffffffff811abb36>] save_stack_trace+0x16/0x20
arch/x86/kernel/stacktrace.c:57
[ 956.779053] [<ffffffff81659ee6>] save_stack+0x46/0xd0 mm/kasan/kasan.c:495
[ 956.779053] [< inline >] set_track mm/kasan/kasan.c:507
[ 956.779053] [<ffffffff8165a741>] kasan_slab_free+0x71/0xb0
mm/kasan/kasan.c:571
[ 956.779053] [< inline >] slab_free_hook mm/slub.c:1352
[ 956.779053] [< inline >] slab_free_freelist_hook mm/slub.c:1374
[ 956.779053] [< inline >] slab_free mm/slub.c:2951
[ 956.779053] [<ffffffff8165696a>] kfree+0xea/0x2c0 mm/slub.c:3871
[ 956.807057] [<ffffffff8106de2d>] irqfd_shutdown+0x13d/0x1a0
arch/x86/kvm/../../../virt/kvm/eventfd.c:148
[ 956.807057] [<ffffffff8129175c>] process_one_work+0x9fc/0x1900
kernel/workqueue.c:2096
[ 956.807057] [<ffffffff8129274f>] worker_thread+0xef/0x1480
kernel/workqueue.c:2230
[ 956.807057] [<ffffffff812a5a94>] kthread+0x244/0x2d0 kernel/kthread.c:209
[ 956.807057] [<ffffffff831f102a>] ret_from_fork+0x2a/0x40
arch/x86/entry/entry_64.S:433