Warning: Permanently added '10.128.0.101' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 58.265385][ T7016] ================================================================== [ 58.265444][ T7016] BUG: KASAN: use-after-free in con_shutdown+0x7f/0x90 [ 58.265455][ T7016] Write of size 8 at addr ffff8880a6b7f108 by task syz-executor393/7016 [ 58.265458][ T7016] [ 58.265470][ T7016] CPU: 1 PID: 7016 Comm: syz-executor393 Not tainted 5.6.0-rc7-syzkaller #0 [ 58.265477][ T7016] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.265481][ T7016] Call Trace: [ 58.265498][ T7016] dump_stack+0x188/0x20d [ 58.265510][ T7016] ? con_shutdown+0x7f/0x90 [ 58.265522][ T7016] ? con_shutdown+0x7f/0x90 [ 58.265541][ T7016] print_address_description.constprop.0.cold+0xd3/0x315 [ 58.265552][ T7016] ? con_shutdown+0x7f/0x90 [ 58.265565][ T7016] ? con_shutdown+0x7f/0x90 [ 58.265577][ T7016] __kasan_report.cold+0x1a/0x32 [ 58.265594][ T7016] ? con_shutdown+0x7f/0x90 [ 58.265612][ T7016] kasan_report+0xe/0x20 [ 58.265624][ T7016] con_shutdown+0x7f/0x90 [ 58.265635][ T7016] ? update_region+0x140/0x140 [ 58.265653][ T7016] release_tty+0xca/0x450 [ 58.265670][ T7016] tty_release_struct+0x37/0x50 [ 58.265682][ T7016] tty_release+0xbc7/0xe90 [ 58.265705][ T7016] ? do_tty_hangup+0x30/0x30 [ 58.265715][ T7016] __fput+0x2da/0x850 [ 58.265750][ T7016] task_work_run+0x13f/0x1b0 [ 58.265774][ T7016] do_exit+0xb34/0x2dd0 [ 58.265805][ T7016] ? mm_update_next_owner+0x7a0/0x7a0 [ 58.265819][ T7016] ? up_read+0x1ab/0x750 [ 58.265832][ T7016] ? mark_held_locks+0x9f/0xe0 [ 58.265848][ T7016] ? down_read_non_owner+0x470/0x470 [ 58.265869][ T7016] ? handle_mm_fault+0x491/0xa10 [ 58.265888][ T7016] do_group_exit+0x125/0x340 [ 58.265907][ T7016] __x64_sys_exit_group+0x3a/0x50 [ 58.265922][ T7016] do_syscall_64+0xf6/0x7d0 [ 58.265943][ T7016] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.265953][ T7016] RIP: 0033:0x43ff58 [ 58.265963][ T7016] Code: Bad RIP value. [ 58.265970][ T7016] RSP: 002b:00007ffe9fc8af78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 58.265982][ T7016] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff58 [ 58.265988][ T7016] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 58.265996][ T7016] RBP: 00000000004bf970 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 58.266003][ T7016] R10: 000000000000000e R11: 0000000000000246 R12: 0000000000000001 [ 58.266010][ T7016] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 58.266040][ T7016] [ 58.266046][ T7016] Allocated by task 7016: [ 58.266058][ T7016] save_stack+0x1b/0x80 [ 58.266071][ T7016] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 58.266082][ T7016] kmem_cache_alloc_trace+0x153/0x7d0 [ 58.266092][ T7016] vc_allocate+0x1e2/0x6e0 [ 58.266103][ T7016] con_install+0x4f/0x400 [ 58.266113][ T7016] tty_init_dev+0xf5/0x460 [ 58.266123][ T7016] tty_open+0x47f/0xb30 [ 58.266134][ T7016] chrdev_open+0x219/0x5c0 [ 58.266147][ T7016] do_dentry_open+0x4a2/0x1250 [ 58.266158][ T7016] path_openat+0x122a/0x32b0 [ 58.266169][ T7016] do_filp_open+0x192/0x260 [ 58.266180][ T7016] do_sys_openat2+0x54c/0x740 [ 58.266190][ T7016] do_sys_open+0xc3/0x140 [ 58.266202][ T7016] do_syscall_64+0xf6/0x7d0 [ 58.266213][ T7016] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.266217][ T7016] [ 58.266221][ T7016] Freed by task 7014: [ 58.266232][ T7016] save_stack+0x1b/0x80 [ 58.266241][ T7016] __kasan_slab_free+0xf7/0x140 [ 58.266250][ T7016] kfree+0x109/0x2b0 [ 58.266262][ T7016] vt_disallocate_all+0x293/0x3b0 [ 58.266272][ T7016] vt_ioctl+0xb79/0x2470 [ 58.266281][ T7016] tty_ioctl+0xedd/0x1440 [ 58.266290][ T7016] ksys_ioctl+0x11a/0x180 [ 58.266301][ T7016] __x64_sys_ioctl+0x6f/0xb0 [ 58.266311][ T7016] do_syscall_64+0xf6/0x7d0 [ 58.266320][ T7016] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.266323][ T7016] [ 58.266331][ T7016] The buggy address belongs to the object at ffff8880a6b7f000 [ 58.266331][ T7016] which belongs to the cache kmalloc-2k of size 2048 [ 58.266340][ T7016] The buggy address is located 264 bytes inside of [ 58.266340][ T7016] 2048-byte region [ffff8880a6b7f000, ffff8880a6b7f800) [ 58.266344][ T7016] The buggy address belongs to the page: [ 58.266356][ T7016] page:ffffea00029adfc0 refcount:1 mapcount:0 mapping:ffff8880aa000e00 index:0x0 [ 58.266365][ T7016] flags: 0xfffe0000000200(slab) [ 58.266381][ T7016] raw: 00fffe0000000200 ffffea00024e5348 ffff8880aa001948 ffff8880aa000e00 [ 58.266395][ T7016] raw: 0000000000000000 ffff8880a6b7f000 0000000100000001 0000000000000000 [ 58.266400][ T7016] page dumped because: kasan: bad access detected [ 58.266403][ T7016] [ 58.266407][ T7016] Memory state around the buggy address: [ 58.266417][ T7016] ffff8880a6b7f000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.266426][ T7016] ffff8880a6b7f080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.266435][ T7016] >ffff8880a6b7f100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.266439][ T7016] ^ [ 58.266449][ T7016] ffff8880a6b7f180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.266458][ T7016] ffff8880a6b7f200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 58.266462][ T7016] ================================================================== [ 58.266467][ T7016] Disabling lock debugging due to kernel taint [ 58.266490][ T7016] Kernel panic - not syncing: panic_on_warn set ... [ 58.266502][ T7016] CPU: 1 PID: 7016 Comm: syz-executor393 Tainted: G B 5.6.0-rc7-syzkaller #0 [ 58.266507][ T7016] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.266510][ T7016] Call Trace: [ 58.266524][ T7016] dump_stack+0x188/0x20d [ 58.266539][ T7016] panic+0x2e3/0x75c [ 58.266550][ T7016] ? add_taint.cold+0x16/0x16 [ 58.266560][ T7016] ? retint_kernel+0x2b/0x2b [ 58.266579][ T7016] ? trace_hardirqs_on+0x55/0x220 [ 58.266592][ T7016] ? con_shutdown+0x7f/0x90 [ 58.266604][ T7016] end_report+0x43/0x49 [ 58.266613][ T7016] ? con_shutdown+0x7f/0x90 [ 58.266624][ T7016] __kasan_report.cold+0xd/0x32 [ 58.266637][ T7016] ? con_shutdown+0x7f/0x90 [ 58.266650][ T7016] kasan_report+0xe/0x20 [ 58.266660][ T7016] con_shutdown+0x7f/0x90 [ 58.266670][ T7016] ? update_region+0x140/0x140 [ 58.266680][ T7016] release_tty+0xca/0x450 [ 58.266692][ T7016] tty_release_struct+0x37/0x50 [ 58.266703][ T7016] tty_release+0xbc7/0xe90 [ 58.266719][ T7016] ? do_tty_hangup+0x30/0x30 [ 58.266735][ T7016] __fput+0x2da/0x850 [ 58.266753][ T7016] task_work_run+0x13f/0x1b0 [ 58.266770][ T7016] do_exit+0xb34/0x2dd0 [ 58.266791][ T7016] ? mm_update_next_owner+0x7a0/0x7a0 [ 58.266803][ T7016] ? up_read+0x1ab/0x750 [ 58.266813][ T7016] ? mark_held_locks+0x9f/0xe0 [ 58.266825][ T7016] ? down_read_non_owner+0x470/0x470 [ 58.266839][ T7016] ? handle_mm_fault+0x491/0xa10 [ 58.266853][ T7016] do_group_exit+0x125/0x340 [ 58.266866][ T7016] __x64_sys_exit_group+0x3a/0x50 [ 58.266878][ T7016] do_syscall_64+0xf6/0x7d0 [ 58.266891][ T7016] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 58.266898][ T7016] RIP: 0033:0x43ff58 [ 58.266906][ T7016] Code: Bad RIP value. [ 58.266912][ T7016] RSP: 002b:00007ffe9fc8af78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 58.266923][ T7016] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043ff58 [ 58.266929][ T7016] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 [ 58.266935][ T7016] RBP: 00000000004bf970 R08: 00000000000000e7 R09: ffffffffffffffd0 [ 58.266941][ T7016] R10: 000000000000000e R11: 0000000000000246 R12: 0000000000000001 [ 58.266946][ T7016] R13: 00000000006d2180 R14: 0000000000000000 R15: 0000000000000000 [ 58.268273][ T7016] Kernel Offset: disabled