Warning: Permanently added '10.128.10.34' (ECDSA) to the list of known hosts. executing program gin: [ 76.500142][ T9522] ================================================================== [ 76.500182][ T9522] BUG: KASAN: slab-out-of-bounds in soft_cursor+0x448/0xa20 [ 76.500189][ T9522] Read of size 64 at addr ffff88809699d950 by task syz-executor330/9522 [ 76.500191][ T9522] [ 76.500200][ T9522] CPU: 0 PID: 9522 Comm: syz-executor330 Not tainted 5.6.0-rc3-next-20200228-syzkaller #0 [ 76.500205][ T9522] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 76.500208][ T9522] Call Trace: [ 76.500219][ T9522] dump_stack+0x188/0x20d [ 76.500227][ T9522] ? soft_cursor+0x448/0xa20 [ 76.500235][ T9522] ? soft_cursor+0x448/0xa20 [ 76.500245][ T9522] print_address_description.constprop.0.cold+0xd3/0x315 [ 76.500252][ T9522] ? soft_cursor+0x448/0xa20 [ 76.500260][ T9522] ? soft_cursor+0x448/0xa20 [ 76.500266][ T9522] __kasan_report.cold+0x1a/0x32 [ 76.500276][ T9522] ? __kmalloc+0x590/0x7a0 [ 76.500282][ T9522] ? soft_cursor+0x448/0xa20 [ 76.500293][ T9522] kasan_report+0xe/0x20 [ 76.500300][ T9522] check_memory_region+0x128/0x190 [ 76.500308][ T9522] memcpy+0x20/0x50 [ 76.500317][ T9522] soft_cursor+0x448/0xa20 [ 76.500331][ T9522] ? lockdep_hardirqs_on+0x417/0x5d0 [ 76.500342][ T9522] bit_cursor+0x1230/0x1900 [ 76.500358][ T9522] ? bit_clear+0x4e0/0x4e0 [ 76.500364][ T9522] ? mark_lock+0xbc/0x1220 [ 76.500378][ T9522] ? tty_do_resize+0x59/0x170 [ 76.500385][ T9522] ? fb_get_color_depth.part.0+0xc6/0x1f0 [ 76.500399][ T9522] ? __sanitizer_cov_trace_switch+0x45/0x70 [ 76.500407][ T9522] ? get_color+0x20f/0x420 [ 76.500418][ T9522] fbcon_cursor+0x477/0x650 [ 76.500425][ T9522] ? bit_clear+0x4e0/0x4e0 [ 76.500442][ T9522] hide_cursor+0x85/0x280 [ 76.500453][ T9522] redraw_screen+0x5db/0x770 [ 76.500464][ T9522] ? respond_string+0x290/0x290 [ 76.500479][ T9522] vc_do_resize+0xfe6/0x1340 [ 76.500498][ T9522] ? lock_downgrade+0x7f0/0x7f0 [ 76.500507][ T9522] ? vc_uniscr_alloc+0xc0/0xc0 [ 76.500514][ T9522] ? lock_acquire+0x197/0x420 [ 76.500521][ T9522] ? vt_ioctl+0x1d8b/0x2450 [ 76.500536][ T9522] vt_ioctl+0x1e8e/0x2450 [ 76.500545][ T9522] ? complete_change_console+0x390/0x390 [ 76.500557][ T9522] ? tomoyo_path_number_perm+0x238/0x4d0 [ 76.500567][ T9522] ? tomoyo_execute_permission+0x470/0x470 [ 76.500576][ T9522] ? trace_hardirqs_off+0x50/0x220 [ 76.500586][ T9522] ? __sanitizer_cov_trace_switch+0x45/0x70 [ 76.500595][ T9522] ? complete_change_console+0x390/0x390 [ 76.500606][ T9522] tty_ioctl+0xedd/0x1440 [ 76.500616][ T9522] ? tty_vhangup+0x30/0x30 [ 76.500625][ T9522] ? do_vfs_ioctl+0x506/0x12c0 [ 76.500636][ T9522] ? ioctl_file_clone+0x180/0x180 [ 76.500647][ T9522] ? file_open_root+0x3d0/0x3d0 [ 76.500662][ T9522] ? up_read+0x1a8/0x750 [ 76.500679][ T9522] ? tty_vhangup+0x30/0x30 [ 76.500686][ T9522] ksys_ioctl+0x11a/0x180 [ 76.500696][ T9522] __x64_sys_ioctl+0x6f/0xb0 [ 76.500703][ T9522] ? lockdep_hardirqs_on+0x417/0x5d0 [ 76.500712][ T9522] do_syscall_64+0xf6/0x790 [ 76.500723][ T9522] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 76.500730][ T9522] RIP: 0033:0x440269 [ 76.500739][ T9522] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 14 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 76.500743][ T9522] RSP: 002b:00007fffc6b5a138 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 76.500750][ T9522] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440269 [ 76.500754][ T9522] RDX: 0000000020000080 RSI: 000000000000560a RDI: 0000000000000004 [ 76.500759][ T9522] RBP: 00000000006cb018 R08: 0000000000000001 R09: 00000000004002c8 [ 76.500763][ T9522] R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000401b50 [ 76.500767][ T9522] R13: 0000000000401be0 R14: 0000000000000000 R15: 0000000000000000 [ 76.500782][ T9522] [ 76.500786][ T9522] Allocated by task 9522: [ 76.500794][ T9522] save_stack+0x1b/0x40 [ 76.500801][ T9522] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 76.500807][ T9522] __kmalloc+0x161/0x7a0 [ 76.500813][ T9522] fbcon_set_font+0x331/0x870 [ 76.500818][ T9522] con_font_op+0xd5d/0x1160 [ 76.500824][ T9522] vt_ioctl+0x168c/0x2450 [ 76.500830][ T9522] tty_ioctl+0xedd/0x1440 [ 76.500835][ T9522] ksys_ioctl+0x11a/0x180 [ 76.500841][ T9522] __x64_sys_ioctl+0x6f/0xb0 [ 76.500847][ T9522] do_syscall_64+0xf6/0x790 [ 76.500854][ T9522] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 76.500855][ T9522] [ 76.500859][ T9522] Freed by task 9266: [ 76.500865][ T9522] save_stack+0x1b/0x40 [ 76.500872][ T9522] __kasan_slab_free+0xf7/0x140 [ 76.500877][ T9522] kfree+0x109/0x2b0 [ 76.500884][ T9522] tomoyo_init_log+0x1479/0x1e50 [ 76.500890][ T9522] tomoyo_supervisor+0x2dd/0xe60 [ 76.500896][ T9522] tomoyo_env_perm+0x17f/0x1f0 [ 76.500903][ T9522] tomoyo_find_next_domain+0x1354/0x1f6c [ 76.500910][ T9522] tomoyo_bprm_check_security+0x121/0x1a0 [ 76.500917][ T9522] security_bprm_check+0x5c/0xb0 [ 76.500923][ T9522] search_binary_handler+0x70/0x580 [ 76.500931][ T9522] __do_execve_file.isra.0+0x12fc/0x2270 [ 76.500937][ T9522] __x64_sys_execve+0x8a/0xb0 [ 76.500943][ T9522] do_syscall_64+0xf6/0x790 [ 76.500950][ T9522] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 76.500952][ T9522] [ 76.500957][ T9522] The buggy address belongs to the object at ffff88809699c000 [ 76.500957][ T9522] which belongs to the cache kmalloc-8k of size 8192 [ 76.500963][ T9522] The buggy address is located 6480 bytes inside of [ 76.500963][ T9522] 8192-byte region [ffff88809699c000, ffff88809699e000) [ 76.500966][ T9522] The buggy address belongs to the page: [ 76.500978][ T9522] page:ffffea00025a6700 refcount:1 mapcount:0 mapping:0000000032ac96ad index:0x0 head:ffffea00025a6700 order:2 compound_mapcount:0 compound_pincount:0 [ 76.500984][ T9522] flags: 0xfffe0000010200(slab|head) [ 76.500995][ T9522] raw: 00fffe0000010200 ffffea00025a8f08 ffffea0002a20408 ffff8880aa0021c0 [ 76.501003][ T9522] raw: 0000000000000000 ffff88809699c000 0000000100000001 0000000000000000 [ 76.501006][ T9522] page dumped because: kasan: bad access detected [ 76.501008][ T9522] [ 76.501010][ T9522] Memory state around the buggy address: [ 76.501016][ T9522] ffff88809699d800: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 76.501021][ T9522] ffff88809699d880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 76.501026][ T9522] >ffff88809699d900: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 76.501029][ T9522] ^ [ 76.501034][ T9522] ffff88809699d980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 76.501040][ T9522] ffff88809699da00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 76.501042][ T9522] ================================================================== [ 76.501045][ T9522] Disabling lock debugging due to kernel taint [ 76.501049][ T9522] Kernel panic - not syncing: panic_on_warn set ... [ 76.501056][ T9522] CPU: 0 PID: 9522 Comm: syz-executor330 Tainted: G B 5.6.0-rc3-next-20200228-syzkaller #0 [ 76.501059][ T9522] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 76.501061][ T9522] Call Trace: [ 76.501068][ T9522] dump_stack+0x188/0x20d [ 76.501077][ T9522] panic+0x2e3/0x75c [ 76.501084][ T9522] ? add_taint.cold+0x16/0x16 [ 76.501094][ T9522] ? print_shadow_for_address+0xb8/0x114 [ 76.501099][ T9522] ? trace_hardirqs_on+0x55/0x220 [ 76.501107][ T9522] ? soft_cursor+0x448/0xa20 [ 76.501113][ T9522] end_report+0x43/0x49 [ 76.501119][ T9522] ? soft_cursor+0x448/0xa20 [ 76.501124][ T9522] __kasan_report.cold+0xd/0x32 [ 76.501132][ T9522] ? __kmalloc+0x590/0x7a0 [ 76.501138][ T9522] ? soft_cursor+0x448/0xa20 [ 76.501145][ T9522] kasan_report+0xe/0x20 [ 76.501152][ T9522] check_memory_region+0x128/0x190 [ 76.501159][ T9522] memcpy+0x20/0x50 [ 76.501166][ T9522] soft_cursor+0x448/0xa20 [ 76.501175][ T9522] ? lockdep_hardirqs_on+0x417/0x5d0 [ 76.501183][ T9522] bit_cursor+0x1230/0x1900 [ 76.501193][ T9522] ? bit_clear+0x4e0/0x4e0 [ 76.501198][ T9522] ? mark_lock+0xbc/0x1220 [ 76.501207][ T9522] ? tty_do_resize+0x59/0x170 [ 76.501213][ T9522] ? fb_get_color_depth.part.0+0xc6/0x1f0 [ 76.501221][ T9522] ? __sanitizer_cov_trace_switch+0x45/0x70 [ 76.501228][ T9522] ? get_color+0x20f/0x420 [ 76.501236][ T9522] fbcon_cursor+0x477/0x650 [ 76.501242][ T9522] ? bit_clear+0x4e0/0x4e0 [ 76.501250][ T9522] hide_cursor+0x85/0x280 [ 76.501258][ T9522] redraw_screen+0x5db/0x770 [ 76.501266][ T9522] ? respond_string+0x290/0x290 [ 76.501276][ T9522] vc_do_resize+0xfe6/0x1340 [ 76.501287][ T9522] ? lock_downgrade+0x7f0/0x7f0 [ 76.501294][ T9522] ? vc_uniscr_alloc+0xc0/0xc0 [ 76.501300][ T9522] ? lock_acquire+0x197/0x420 [ 76.501306][ T9522] ? vt_ioctl+0x1d8b/0x2450 [ 76.501315][ T9522] vt_ioctl+0x1e8e/0x2450 [ 76.501322][ T9522] ? complete_change_console+0x390/0x390 [ 76.501330][ T9522] ? tomoyo_path_number_perm+0x238/0x4d0 [ 76.501339][ T9522] ? tomoyo_execute_permission+0x470/0x470 [ 76.501345][ T9522] ? trace_hardirqs_off+0x50/0x220 [ 76.501353][ T9522] ? __sanitizer_cov_trace_switch+0x45/0x70 [ 76.501360][ T9522] ? complete_change_console+0x390/0x390 [ 76.501368][ T9522] tty_ioctl+0xedd/0x1440 [ 76.501376][ T9522] ? tty_vhangup+0x30/0x30 [ 76.501382][ T9522] ? do_vfs_ioctl+0x506/0x12c0 [ 76.501390][ T9522] ? ioctl_file_clone+0x180/0x180 [ 76.501398][ T9522] ? file_open_root+0x3d0/0x3d0 [ 76.501407][ T9522] ? up_read+0x1a8/0x750 [ 76.501418][ T9522] ? tty_vhangup+0x30/0x30 [ 76.501424][ T9522] ksys_ioctl+0x11a/0x180 [ 76.501436][ T9522] __x64_sys_ioctl+0x6f/0xb0 [ 76.501442][ T9522] ? lockdep_hardirqs_on+0x417/0x5d0 [ 76.501449][ T9522] do_syscall_64+0xf6/0x790 [ 76.501457][ T9522] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 76.501462][ T9522] RIP: 0033:0x440269 [ 76.501468][ T9522] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 14 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 76.501472][ T9522] RSP: 002b:00007fffc6b5a138 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 76.501478][ T9522] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440269 [ 76.501481][ T9522] RDX: 0000000020000080 RSI: 000000000000560a RDI: 0000000000000004 [ 76.501485][ T9522] RBP: 00000000006cb018 R08: 0000000000000001 R09: 00000000004002c8 [ 76.501489][ T9522] R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000401b50 [ 76.501492][ T9522] R13: 0000000000401be0 R14: 0000000000000000 R15: 0000000000000000 [ 76.503036][ T9522] Kernel Offset: disabled [ 77.501957][ T9522] Rebooting in 86400 seconds..