Warning: Permanently added '10.128.0.252' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 101.377694][ T27] kauditd_printk_skb: 4 callbacks suppressed [ 101.377711][ T27] audit: type=1400 audit(1578710353.923:42): avc: denied { map } for pid=10393 comm="syz-executor264" path="/root/syz-executor264381668" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 101.415822][T10393] ================================================================== [ 101.424045][T10393] BUG: KASAN: slab-out-of-bounds in mpol_parse_str+0x87b/0xa50 [ 101.431621][T10393] Write of size 1 at addr ffff88809fae80bf by task syz-executor264/10393 [ 101.440037][T10393] [ 101.442377][T10393] CPU: 1 PID: 10393 Comm: syz-executor264 Not tainted 5.5.0-rc5-syzkaller #0 [ 101.451128][T10393] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 101.461169][T10393] Call Trace: [ 101.464445][T10393] dump_stack+0x197/0x210 [ 101.468821][T10393] ? mpol_parse_str+0x87b/0xa50 [ 101.473671][T10393] print_address_description.constprop.0.cold+0xd4/0x30b [ 101.480675][T10393] ? mpol_parse_str+0x87b/0xa50 [ 101.485505][T10393] ? mpol_parse_str+0x87b/0xa50 [ 101.490336][T10393] __kasan_report.cold+0x1b/0x41 [ 101.495260][T10393] ? mpol_parse_str+0x87b/0xa50 [ 101.500091][T10393] kasan_report+0x12/0x20 [ 101.504401][T10393] __asan_report_store1_noabort+0x17/0x20 [ 101.510099][T10393] mpol_parse_str+0x87b/0xa50 [ 101.514769][T10393] ? numa_default_policy+0x20/0x20 [ 101.519869][T10393] shmem_parse_one+0x71e/0xa40 [ 101.524613][T10393] ? shmem_parse_options+0x250/0x250 [ 101.529889][T10393] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 101.536111][T10393] ? shmem_parse_options+0x250/0x250 [ 101.541375][T10393] vfs_parse_fs_param+0x2ca/0x540 [ 101.546392][T10393] vfs_parse_fs_string+0x105/0x170 [ 101.551480][T10393] ? vfs_parse_fs_param+0x540/0x540 [ 101.556666][T10393] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 101.562890][T10393] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 101.569124][T10393] shmem_parse_options+0x168/0x250 [ 101.574212][T10393] ? shmem_put_super+0xe0/0xe0 [ 101.578955][T10393] parse_monolithic_mount_data+0x69/0x90 [ 101.584578][T10393] do_mount+0x1310/0x1b50 [ 101.589064][T10393] ? copy_mount_string+0x40/0x40 [ 101.593984][T10393] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 101.600292][T10393] ? _copy_from_user+0x12c/0x1a0 [ 101.605400][T10393] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 101.611967][T10393] ? copy_mount_options+0x2e8/0x3f0 [ 101.617147][T10393] __x64_sys_mount+0x192/0x230 [ 101.621891][T10393] do_syscall_64+0xfa/0x790 [ 101.626375][T10393] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 101.632243][T10393] RIP: 0033:0x446a9a [ 101.636137][T10393] Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d ae fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 5a ae fb ff c3 66 0f 1f 84 00 00 00 00 00 [ 101.655718][T10393] RSP: 002b:00007ffc02294f68 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 101.664120][T10393] RAX: ffffffffffffffda RBX: 00007ffc02294f70 RCX: 0000000000446a9a [ 101.672079][T10393] RDX: 00007ffc02294f70 RSI: 00000000200000c0 RDI: 00007ffc02294f90 [ 101.680037][T10393] RBP: 0000000000000003 R08: 00007ffc02294fd0 R09: 000000000000000a [ 101.687996][T10393] R10: 0000000000000000 R11: 0000000000000297 R12: 00007ffc02294fd0 [ 101.695952][T10393] R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000000 [ 101.703958][T10393] [ 101.706268][T10393] Allocated by task 10225: [ 101.710663][T10393] save_stack+0x23/0x90 [ 101.714801][T10393] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 101.720453][T10393] kasan_kmalloc+0x9/0x10 [ 101.724814][T10393] __kmalloc+0x163/0x770 [ 101.729054][T10393] tomoyo_supervisor+0xb6b/0xef0 [ 101.734040][T10393] tomoyo_env_perm+0x18e/0x210 [ 101.738786][T10393] tomoyo_find_next_domain+0x1354/0x1f6c [ 101.744518][T10393] tomoyo_bprm_check_security+0x124/0x1a0 [ 101.750223][T10393] security_bprm_check+0x63/0xb0 [ 101.755150][T10393] search_binary_handler+0x71/0x570 [ 101.760326][T10393] __do_execve_file.isra.0+0x1329/0x22b0 [ 101.765940][T10393] __x64_sys_execve+0x8f/0xc0 [ 101.770616][T10393] do_syscall_64+0xfa/0x790 [ 101.775103][T10393] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 101.780970][T10393] [ 101.783290][T10393] Freed by task 10225: [ 101.787336][T10393] save_stack+0x23/0x90 [ 101.792083][T10393] __kasan_slab_free+0x102/0x150 [ 101.797011][T10393] kasan_slab_free+0xe/0x10 [ 101.801506][T10393] kfree+0x10a/0x2c0 [ 101.805427][T10393] tomoyo_supervisor+0xc2c/0xef0 [ 101.810348][T10393] tomoyo_env_perm+0x18e/0x210 [ 101.815124][T10393] tomoyo_find_next_domain+0x1354/0x1f6c [ 101.820747][T10393] tomoyo_bprm_check_security+0x124/0x1a0 [ 101.826451][T10393] security_bprm_check+0x63/0xb0 [ 101.831370][T10393] search_binary_handler+0x71/0x570 [ 101.836549][T10393] __do_execve_file.isra.0+0x1329/0x22b0 [ 101.842162][T10393] __x64_sys_execve+0x8f/0xc0 [ 101.846826][T10393] do_syscall_64+0xfa/0x790 [ 101.851323][T10393] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 101.857232][T10393] [ 101.859559][T10393] The buggy address belongs to the object at ffff88809fae8080 [ 101.859559][T10393] which belongs to the cache kmalloc-32 of size 32 [ 101.873522][T10393] The buggy address is located 31 bytes to the right of [ 101.873522][T10393] 32-byte region [ffff88809fae8080, ffff88809fae80a0) [ 101.887135][T10393] The buggy address belongs to the page: [ 101.892755][T10393] page:ffffea00027eba00 refcount:1 mapcount:0 mapping:ffff8880aa4001c0 index:0xffff88809fae8fc1 [ 101.903154][T10393] raw: 00fffe0000000200 ffffea00029d8f08 ffffea00027e15c8 ffff8880aa4001c0 [ 101.911738][T10393] raw: ffff88809fae8fc1 ffff88809fae8000 0000000100000035 0000000000000000 [ 101.920411][T10393] page dumped because: kasan: bad access detected [ 101.926832][T10393] [ 101.929374][T10393] Memory state around the buggy address: [ 101.935121][T10393] ffff88809fae7f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 101.943174][T10393] ffff88809fae8000: 00 00 fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 101.951269][T10393] >ffff88809fae8080: fb fb fb fb fc fc fc fc 00 05 fc fc fc fc fc fc [ 101.959317][T10393] ^ [ 101.965236][T10393] ffff88809fae8100: 00 00 00 fc fc fc fc fc fb fb fb fb fc fc fc fc [ 101.973281][T10393] ffff88809fae8180: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 101.981422][T10393] ================================================================== [ 101.989469][T10393] Disabling lock debugging due to kernel taint [ 101.996304][T10393] Kernel panic - not syncing: panic_on_warn set ... [ 102.002909][T10393] CPU: 0 PID: 10393 Comm: syz-executor264 Tainted: G B 5.5.0-rc5-syzkaller #0 [ 102.013033][T10393] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 102.023109][T10393] Call Trace: [ 102.026377][T10393] dump_stack+0x197/0x210 [ 102.030688][T10393] panic+0x2e3/0x75c [ 102.034563][T10393] ? add_taint.cold+0x16/0x16 [ 102.039217][T10393] ? mpol_parse_str+0x87b/0xa50 [ 102.044046][T10393] ? preempt_schedule+0x4b/0x60 [ 102.048871][T10393] ? ___preempt_schedule+0x16/0x18 [ 102.053974][T10393] ? trace_hardirqs_on+0x5e/0x240 [ 102.058988][T10393] ? mpol_parse_str+0x87b/0xa50 [ 102.063819][T10393] end_report+0x47/0x4f [ 102.068051][T10393] ? mpol_parse_str+0x87b/0xa50 [ 102.072891][T10393] __kasan_report.cold+0xe/0x41 [ 102.077730][T10393] ? mpol_parse_str+0x87b/0xa50 [ 102.082566][T10393] kasan_report+0x12/0x20 [ 102.086878][T10393] __asan_report_store1_noabort+0x17/0x20 [ 102.092585][T10393] mpol_parse_str+0x87b/0xa50 [ 102.097254][T10393] ? numa_default_policy+0x20/0x20 [ 102.102347][T10393] shmem_parse_one+0x71e/0xa40 [ 102.107104][T10393] ? shmem_parse_options+0x250/0x250 [ 102.112373][T10393] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 102.118604][T10393] ? shmem_parse_options+0x250/0x250 [ 102.123870][T10393] vfs_parse_fs_param+0x2ca/0x540 [ 102.128886][T10393] vfs_parse_fs_string+0x105/0x170 [ 102.134060][T10393] ? vfs_parse_fs_param+0x540/0x540 [ 102.139233][T10393] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 102.145448][T10393] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 102.151664][T10393] shmem_parse_options+0x168/0x250 [ 102.156748][T10393] ? shmem_put_super+0xe0/0xe0 [ 102.161487][T10393] parse_monolithic_mount_data+0x69/0x90 [ 102.167094][T10393] do_mount+0x1310/0x1b50 [ 102.171409][T10393] ? copy_mount_string+0x40/0x40 [ 102.176324][T10393] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 102.182552][T10393] ? _copy_from_user+0x12c/0x1a0 [ 102.187467][T10393] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 102.193689][T10393] ? copy_mount_options+0x2e8/0x3f0 [ 102.204183][T10393] __x64_sys_mount+0x192/0x230 [ 102.208931][T10393] do_syscall_64+0xfa/0x790 [ 102.213413][T10393] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 102.219285][T10393] RIP: 0033:0x446a9a [ 102.223171][T10393] Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d ae fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 5a ae fb ff c3 66 0f 1f 84 00 00 00 00 00 [ 102.242757][T10393] RSP: 002b:00007ffc02294f68 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 102.251157][T10393] RAX: ffffffffffffffda RBX: 00007ffc02294f70 RCX: 0000000000446a9a [ 102.259114][T10393] RDX: 00007ffc02294f70 RSI: 00000000200000c0 RDI: 00007ffc02294f90 [ 102.267067][T10393] RBP: 0000000000000003 R08: 00007ffc02294fd0 R09: 000000000000000a [ 102.275015][T10393] R10: 0000000000000000 R11: 0000000000000297 R12: 00007ffc02294fd0 [ 102.282962][T10393] R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000000 [ 102.292255][T10393] Kernel Offset: disabled [ 102.296580][T10393] Rebooting in 86400 seconds..