[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.16' (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 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 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 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 syzkaller login: [ 393.354973] ================================================================== [ 393.362380] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 393.369045] Read of size 8 at addr ffff888098a9c568 by task loop5/9193 [ 393.375701] [ 393.377331] CPU: 1 PID: 9193 Comm: loop5 Not tainted 4.19.211-syzkaller #0 [ 393.384341] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 393.393675] Call Trace: [ 393.396255] dump_stack+0x1fc/0x2ef [ 393.399923] print_address_description.cold+0x54/0x219 [ 393.405278] kasan_report_error.cold+0x8a/0x1b9 [ 393.410067] ? __lock_acquire+0x2cb4/0x3ff0 [ 393.414400] __asan_report_load8_noabort+0x88/0x90 [ 393.419388] ? __lock_acquire+0x2cb4/0x3ff0 [ 393.423703] __lock_acquire+0x2cb4/0x3ff0 [ 393.427839] ? trace_hardirqs_off+0x64/0x200 [ 393.432288] ? __kasan_slab_free+0x186/0x1f0 [ 393.436679] ? kmem_cache_free+0x7f/0x260 [ 393.440896] ? mempool_free+0xe3/0x370 [ 393.444779] ? bio_free+0xee/0x140 [ 393.448398] ? mark_held_locks+0xf0/0xf0 [ 393.452482] ? blk_update_request+0x30f/0xaf0 [ 393.456969] ? blk_mq_end_request+0x4a/0x340 [ 393.461376] ? lo_complete_rq+0x201/0x2d0 [ 393.465508] ? blk_mq_complete_request+0x472/0x660 [ 393.470431] ? loop_queue_work+0x274/0x20c0 [ 393.474797] ? kthread_worker_fn+0x292/0x730 [ 393.479210] ? kthread+0x33f/0x460 [ 393.482825] ? ret_from_fork+0x24/0x30 [ 393.486693] ? debug_check_no_obj_freed+0x201/0x490 [ 393.491689] ? lock_downgrade+0x720/0x720 [ 393.495828] ? lock_acquire+0x170/0x3c0 [ 393.499796] lock_acquire+0x170/0x3c0 [ 393.503587] ? __wake_up_common_lock+0xb0/0x170 [ 393.508325] _raw_spin_lock_irqsave+0x8c/0xc0 [ 393.512961] ? __wake_up_common_lock+0xb0/0x170 [ 393.517633] __wake_up_common_lock+0xb0/0x170 [ 393.522118] ? __wake_up_common+0x650/0x650 [ 393.526446] ? _raw_spin_unlock_irqrestore+0xa3/0xe0 [ 393.531546] lbmIODone+0x44b/0xf40 [ 393.535079] ? lock_downgrade+0x720/0x720 [ 393.539216] ? lock_acquire+0x170/0x3c0 [ 393.543185] ? scale_cookie_change.isra.0+0x380/0x380 [ 393.548469] ? lbmFree+0x100/0x100 [ 393.552007] bio_endio+0x488/0x830 [ 393.555547] blk_update_request+0x30f/0xaf0 [ 393.559871] blk_mq_end_request+0x4a/0x340 [ 393.564103] lo_complete_rq+0x201/0x2d0 [ 393.568112] blk_mq_complete_request+0x472/0x660 [ 393.572861] loop_queue_work+0x274/0x20c0 [ 393.577000] ? finish_task_switch+0x118/0x760 [ 393.581500] ? switch_mm_irqs_off+0x2e5/0x1340 [ 393.586063] ? lo_fallocate.isra.0+0x170/0x170 [ 393.590637] ? kthread_worker_fn+0x217/0x730 [ 393.595024] ? kthread_worker_fn+0x3e4/0x730 [ 393.599417] ? _raw_spin_unlock_irq+0x24/0x80 [ 393.603915] kthread_worker_fn+0x292/0x730 [ 393.608138] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 393.612701] ? __kthread_init_worker+0xf0/0xf0 [ 393.617262] ? __kthread_parkme+0x133/0x1e0 [ 393.621592] ? loop_info64_to_compat+0x5e0/0x5e0 [ 393.626410] kthread+0x33f/0x460 [ 393.629755] ? kthread_park+0x180/0x180 [ 393.633713] ret_from_fork+0x24/0x30 [ 393.637406] [ 393.639014] Allocated by task 9184: [ 393.642624] kmem_cache_alloc_trace+0x12f/0x380 [ 393.647274] lmLogInit+0x301/0x13e0 [ 393.650879] lmLogOpen+0x718/0x11e0 [ 393.654487] jfs_mount_rw+0x286/0x4b0 [ 393.658279] jfs_fill_super+0x814/0xb50 [ 393.662242] mount_bdev+0x2fc/0x3b0 [ 393.665863] mount_fs+0xa3/0x310 [ 393.669218] vfs_kern_mount.part.0+0x68/0x470 [ 393.673705] do_mount+0x115c/0x2f50 [ 393.677323] ksys_mount+0xcf/0x130 [ 393.680865] __x64_sys_mount+0xba/0x150 [ 393.684917] do_syscall_64+0xf9/0x620 [ 393.688705] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 393.693879] [ 393.695496] Freed by task 9184: [ 393.698758] kfree+0xcc/0x210 [ 393.701842] lmLogInit+0xf7a/0x13e0 [ 393.705448] lmLogOpen+0x718/0x11e0 [ 393.709051] jfs_mount_rw+0x286/0x4b0 [ 393.712829] jfs_fill_super+0x814/0xb50 [ 393.716790] mount_bdev+0x2fc/0x3b0 [ 393.720413] mount_fs+0xa3/0x310 [ 393.723768] vfs_kern_mount.part.0+0x68/0x470 [ 393.728247] do_mount+0x115c/0x2f50 [ 393.731861] ksys_mount+0xcf/0x130 [ 393.735388] __x64_sys_mount+0xba/0x150 [ 393.739375] do_syscall_64+0xf9/0x620 [ 393.743350] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 393.748521] [ 393.750134] The buggy address belongs to the object at ffff888098a9c500 [ 393.750134] which belongs to the cache kmalloc-192 of size 192 [ 393.762884] The buggy address is located 104 bytes inside of [ 393.762884] 192-byte region [ffff888098a9c500, ffff888098a9c5c0) [ 393.774746] The buggy address belongs to the page: [ 393.779706] page:ffffea000262a700 count:1 mapcount:0 mapping:ffff88813bff0040 index:0x0 [ 393.787840] flags: 0xfff00000000100(slab) [ 393.791994] raw: 00fff00000000100 ffffea00026d7c48 ffff88813bff1148 ffff88813bff0040 [ 393.799860] raw: 0000000000000000 ffff888098a9c000 0000000100000010 0000000000000000 [ 393.807740] page dumped because: kasan: bad access detected [ 393.813430] [ 393.815060] Memory state around the buggy address: [ 393.819969] ffff888098a9c400: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 393.827316] ffff888098a9c480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 393.834730] >ffff888098a9c500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 393.842075] ^ [ 393.848821] ffff888098a9c580: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 393.856423] ffff888098a9c600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 393.863762] ================================================================== [ 393.871098] Disabling lock debugging due to kernel taint [ 393.876527] Kernel panic - not syncing: panic_on_warn set ... [ 393.876527] [ 393.883968] CPU: 1 PID: 9193 Comm: loop5 Tainted: G B 4.19.211-syzkaller #0 [ 393.892363] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 393.901728] Call Trace: [ 393.904306] dump_stack+0x1fc/0x2ef [ 393.907930] panic+0x26a/0x50e [ 393.911110] ? __warn_printk+0xf3/0xf3 [ 393.914982] ? lock_downgrade+0x720/0x720 [ 393.919115] ? print_shadow_for_address+0xb8/0x114 [ 393.924026] ? trace_hardirqs_off+0x64/0x200 [ 393.928539] kasan_end_report+0x43/0x49 [ 393.932497] kasan_report_error.cold+0xa7/0x1b9 [ 393.937150] ? __lock_acquire+0x2cb4/0x3ff0 [ 393.941468] __asan_report_load8_noabort+0x88/0x90 [ 393.946381] ? __lock_acquire+0x2cb4/0x3ff0 [ 393.950716] __lock_acquire+0x2cb4/0x3ff0 [ 393.955035] ? trace_hardirqs_off+0x64/0x200 [ 393.959439] ? __kasan_slab_free+0x186/0x1f0 [ 393.963829] ? kmem_cache_free+0x7f/0x260 [ 393.967953] ? mempool_free+0xe3/0x370 [ 393.971830] ? bio_free+0xee/0x140 [ 393.975351] ? mark_held_locks+0xf0/0xf0 [ 393.979392] ? blk_update_request+0x30f/0xaf0 [ 393.983889] ? blk_mq_end_request+0x4a/0x340 [ 393.988301] ? lo_complete_rq+0x201/0x2d0 [ 393.992426] ? blk_mq_complete_request+0x472/0x660 [ 393.997358] ? loop_queue_work+0x274/0x20c0 [ 394.001744] ? kthread_worker_fn+0x292/0x730 [ 394.006127] ? kthread+0x33f/0x460 [ 394.009651] ? ret_from_fork+0x24/0x30 [ 394.013530] ? debug_check_no_obj_freed+0x201/0x490 [ 394.018542] ? lock_downgrade+0x720/0x720 [ 394.022669] ? lock_acquire+0x170/0x3c0 [ 394.026629] lock_acquire+0x170/0x3c0 [ 394.030419] ? __wake_up_common_lock+0xb0/0x170 [ 394.035071] _raw_spin_lock_irqsave+0x8c/0xc0 [ 394.039723] ? __wake_up_common_lock+0xb0/0x170 [ 394.044374] __wake_up_common_lock+0xb0/0x170 [ 394.048856] ? __wake_up_common+0x650/0x650 [ 394.053162] ? _raw_spin_unlock_irqrestore+0xa3/0xe0 [ 394.058245] lbmIODone+0x44b/0xf40 [ 394.061770] ? lock_downgrade+0x720/0x720 [ 394.065909] ? lock_acquire+0x170/0x3c0 [ 394.069868] ? scale_cookie_change.isra.0+0x380/0x380 [ 394.075048] ? lbmFree+0x100/0x100 [ 394.078570] bio_endio+0x488/0x830 [ 394.082100] blk_update_request+0x30f/0xaf0 [ 394.086415] blk_mq_end_request+0x4a/0x340 [ 394.090643] lo_complete_rq+0x201/0x2d0 [ 394.094605] blk_mq_complete_request+0x472/0x660 [ 394.099353] loop_queue_work+0x274/0x20c0 [ 394.103666] ? finish_task_switch+0x118/0x760 [ 394.108152] ? switch_mm_irqs_off+0x2e5/0x1340 [ 394.112724] ? lo_fallocate.isra.0+0x170/0x170 [ 394.117288] ? kthread_worker_fn+0x217/0x730 [ 394.121681] ? kthread_worker_fn+0x3e4/0x730 [ 394.126065] ? _raw_spin_unlock_irq+0x24/0x80 [ 394.130540] kthread_worker_fn+0x292/0x730 [ 394.134769] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 394.139329] ? __kthread_init_worker+0xf0/0xf0 [ 394.143905] ? __kthread_parkme+0x133/0x1e0 [ 394.148210] ? loop_info64_to_compat+0x5e0/0x5e0 [ 394.152942] kthread+0x33f/0x460 [ 394.156287] ? kthread_park+0x180/0x180 [ 394.160337] ret_from_fork+0x24/0x30 [ 394.164319] Kernel Offset: disabled [ 394.167935] Rebooting in 86400 seconds..