[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [ 54.365162][ T26] audit: type=1800 audit(1559855583.910:25): pid=8480 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="cron" dev="sda1" ino=2414 res=0 [ 54.387225][ T26] audit: type=1800 audit(1559855583.920:26): pid=8480 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="mcstrans" dev="sda1" ino=2457 res=0 [ 54.407954][ T26] audit: type=1800 audit(1559855583.920:27): pid=8480 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.5' (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: [ 62.709809][ T22] ================================================================== [ 62.718073][ T22] BUG: KASAN: use-after-free in blk_mq_free_rqs+0x49f/0x4b0 [ 62.718090][ T22] Read of size 8 at addr ffff8880a0111410 by task kworker/1:1/22 [ 62.718093][ T22] [ 62.718106][ T22] CPU: 1 PID: 22 Comm: kworker/1:1 Not tainted 5.2.0-rc3+ #12 [ 62.718113][ T22] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.718130][ T22] Workqueue: events __blk_release_queue [ 62.718136][ T22] Call Trace: [ 62.718155][ T22] dump_stack+0x172/0x1f0 [ 62.733207][ T22] ? blk_mq_free_rqs+0x49f/0x4b0 [ 62.733224][ T22] print_address_description.cold+0x7c/0x20d [ 62.733235][ T22] ? blk_mq_free_rqs+0x49f/0x4b0 [ 62.733247][ T22] ? blk_mq_free_rqs+0x49f/0x4b0 [ 62.733260][ T22] __kasan_report.cold+0x1b/0x40 [ 62.733277][ T22] ? blk_mq_free_rqs+0x49f/0x4b0 [ 62.743064][ T22] kasan_report+0x12/0x20 [ 62.743087][ T22] __asan_report_load8_noabort+0x14/0x20 [ 62.758673][ T22] blk_mq_free_rqs+0x49f/0x4b0 [ 62.758686][ T22] ? dd_exit_queue+0x92/0xd0 [ 62.758698][ T22] ? kfree+0x170/0x220 [ 62.758718][ T22] blk_mq_sched_tags_teardown+0x126/0x210 [ 62.758739][ T22] ? dd_request_merge+0x230/0x230 [ 62.771270][ T22] blk_mq_exit_sched+0x1fa/0x2d0 [ 62.771289][ T22] elevator_exit+0x70/0xa0 [ 62.784036][ T22] __blk_release_queue+0x127/0x330 [ 62.784058][ T22] process_one_work+0x989/0x1790 [ 62.793912][ T22] ? pwq_dec_nr_in_flight+0x320/0x320 [ 62.793929][ T22] ? lock_acquire+0x16f/0x3f0 [ 62.803205][ T22] worker_thread+0x98/0xe40 [ 62.803223][ T22] ? trace_hardirqs_on+0x67/0x220 [ 62.813599][ T22] kthread+0x354/0x420 [ 62.813618][ T22] ? process_one_work+0x1790/0x1790 [ 62.822233][ T22] ? kthread_cancel_delayed_work_sync+0x20/0x20 [ 62.822250][ T22] ret_from_fork+0x24/0x30 [ 62.822268][ T22] [ 62.837896][ T22] Allocated by task 8642: [ 62.837916][ T22] save_stack+0x23/0x90 [ 62.837926][ T22] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 62.837936][ T22] kasan_kmalloc+0x9/0x10 [ 62.837946][ T22] kmem_cache_alloc_trace+0x151/0x750 [ 62.837958][ T22] loop_add+0x51/0x8d0 [ 62.837973][ T22] loop_control_ioctl+0x22d/0x360 [ 62.837986][ T22] __ia32_compat_sys_ioctl+0x195/0x620 [ 62.843273][ T8644] kobject: 'mq' (0000000022a8d614): kobject_add_internal: parent: 'loop0', set: '' [ 62.847555][ T22] do_fast_syscall_32+0x27b/0xd7d [ 62.847569][ T22] entry_SYSENTER_compat+0x70/0x7f [ 62.847573][ T22] [ 62.847579][ T22] Freed by task 8642: [ 62.847591][ T22] save_stack+0x23/0x90 [ 62.847601][ T22] __kasan_slab_free+0x102/0x150 [ 62.847616][ T22] kasan_slab_free+0xe/0x10 [ 62.852948][ T8644] kobject: 'mq' (0000000022a8d614): kobject_uevent_env [ 62.857894][ T22] kfree+0xcf/0x220 [ 62.857906][ T22] loop_remove+0xa1/0xd0 [ 62.857917][ T22] loop_control_ioctl+0x320/0x360 [ 62.857930][ T22] __ia32_compat_sys_ioctl+0x195/0x620 [ 62.857943][ T22] do_fast_syscall_32+0x27b/0xd7d [ 62.857960][ T22] entry_SYSENTER_compat+0x70/0x7f [ 62.862980][ T8644] kobject: 'mq' (0000000022a8d614): kobject_uevent_env: filter function caused the event to drop! [ 62.867110][ T22] [ 62.867122][ T22] The buggy address belongs to the object at ffff8880a0111200 [ 62.867122][ T22] which belongs to the cache kmalloc-1k of size 1024 [ 62.867133][ T22] The buggy address is located 528 bytes inside of [ 62.867133][ T22] 1024-byte region [ffff8880a0111200, ffff8880a0111600) [ 62.867137][ T22] The buggy address belongs to the page: [ 62.867150][ T22] page:ffffea0002804400 refcount:1 mapcount:0 mapping:ffff8880aa400ac0 index:0x0 compound_mapcount: 0 [ 62.867164][ T22] flags: 0x1fffc0000010200(slab|head) [ 62.867181][ T22] raw: 01fffc0000010200 ffffea000262b008 ffffea00026be588 ffff8880aa400ac0 [ 62.872637][ T8644] kobject: '0' (00000000d52ea7bd): kobject_add_internal: parent: 'mq', set: '' [ 62.876246][ T22] raw: 0000000000000000 ffff8880a0110000 0000000100000007 0000000000000000 [ 62.876252][ T22] page dumped because: kasan: bad access detected [ 62.876256][ T22] [ 62.876260][ T22] Memory state around the buggy address: [ 62.876272][ T22] ffff8880a0111300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.882059][ T8644] kobject: 'cpu0' (00000000c2882a94): kobject_add_internal: parent: '0', set: '' [ 62.887691][ T22] ffff8880a0111380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.887701][ T22] >ffff8880a0111400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.887706][ T22] ^ [ 62.887715][ T22] ffff8880a0111480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.887724][ T22] ffff8880a0111500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 62.887729][ T22] ================================================================== [ 62.887733][ T22] Disabling lock debugging due to kernel taint [ 62.896476][ T22] Kernel panic - not syncing: panic_on_warn set ... [ 62.900846][ T8644] kobject: 'cpu1' (00000000ff6340db): kobject_add_internal: parent: '0', set: '' [ 62.902946][ T22] CPU: 1 PID: 22 Comm: kworker/1:1 Tainted: G B 5.2.0-rc3+ #12 [ 62.902958][ T22] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 62.908947][ T8644] kobject: 'queue' (00000000da3099d9): kobject_uevent_env [ 62.912915][ T22] Workqueue: events __blk_release_queue [ 62.918530][ T8644] kobject: 'queue' (00000000da3099d9): kobject_uevent_env: filter function caused the event to drop! [ 62.922314][ T22] Call Trace: [ 62.922336][ T22] dump_stack+0x172/0x1f0 [ 62.922355][ T22] panic+0x2cb/0x744 [ 62.927714][ T8644] kobject: 'iosched' (00000000bc3d9829): kobject_add_internal: parent: 'queue', set: '' [ 62.932882][ T22] ? __warn_printk+0xf3/0xf3 [ 62.932901][ T22] ? blk_mq_free_rqs+0x49f/0x4b0 [ 62.943017][ T8644] kobject: 'iosched' (00000000bc3d9829): kobject_uevent_env [ 62.947690][ T22] ? preempt_schedule+0x4b/0x60 [ 62.947706][ T22] ? ___preempt_schedule+0x16/0x18 [ 62.947725][ T22] ? trace_hardirqs_on+0x5e/0x220 [ 62.953143][ T8644] kobject: 'iosched' (00000000bc3d9829): kobject_uevent_env: filter function caused the event to drop! [ 62.955131][ T22] ? blk_mq_free_rqs+0x49f/0x4b0 [ 62.955148][ T22] end_report+0x47/0x4f [ 62.959400][ T8644] kobject: 'integrity' (00000000572e73ef): kobject_add_internal: parent: 'loop0', set: '' [ 62.963246][ T22] ? blk_mq_free_rqs+0x49f/0x4b0 [ 62.963264][ T22] __kasan_report.cold+0xe/0x40 [ 62.968498][ T8644] kobject: 'integrity' (00000000572e73ef): kobject_uevent_env [ 62.972682][ T22] ? blk_mq_free_rqs+0x49f/0x4b0 [ 62.972698][ T22] kasan_report+0x12/0x20 [ 62.979863][ T8644] kobject: 'integrity' (00000000572e73ef): kobject_uevent_env: filter function caused the event to drop! [ 62.983326][ T22] __asan_report_load8_noabort+0x14/0x20 [ 62.983342][ T22] blk_mq_free_rqs+0x49f/0x4b0 [ 62.987919][ T8644] kobject: 'integrity' (00000000572e73ef): kobject_uevent_env [ 62.992569][ T22] ? dd_exit_queue+0x92/0xd0 [ 62.992584][ T22] ? kfree+0x170/0x220 [ 62.998268][ T8644] kobject: 'integrity' (00000000572e73ef): kobject_uevent_env: filter function caused the event to drop! [ 63.003032][ T22] blk_mq_sched_tags_teardown+0x126/0x210 [ 63.003048][ T22] ? dd_request_merge+0x230/0x230 [ 63.008407][ T8644] kobject: 'integrity' (00000000572e73ef): kobject_cleanup, parent 0000000022af806d [ 63.018706][ T22] blk_mq_exit_sched+0x1fa/0x2d0 [ 63.018721][ T22] elevator_exit+0x70/0xa0 [ 63.018739][ T22] __blk_release_queue+0x127/0x330 [ 63.021279][ T8644] kobject: 'integrity' (00000000572e73ef): does not have a release() function, it is broken and must be fixed. See Documentation/kobject.txt. [ 63.035094][ T22] process_one_work+0x989/0x1790 [ 63.035110][ T22] ? pwq_dec_nr_in_flight+0x320/0x320 [ 63.035122][ T22] ? lock_acquire+0x16f/0x3f0 [ 63.035139][ T22] worker_thread+0x98/0xe40 [ 63.048789][ T8644] kobject: 'integrity': free name [ 63.054107][ T22] ? trace_hardirqs_on+0x67/0x220 [ 63.054126][ T22] kthread+0x354/0x420 [ 63.479912][ T22] ? process_one_work+0x1790/0x1790 [ 63.485095][ T22] ? kthread_cancel_delayed_work_sync+0x20/0x20 [ 63.491474][ T22] ret_from_fork+0x24/0x30 [ 63.497095][ T22] Kernel Offset: disabled [ 63.501429][ T22] Rebooting in 86400 seconds..