Warning: Permanently added '10.128.0.157' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 33.083855] audit: type=1400 audit(1592799108.021:8): avc: denied { execmem } for pid=6320 comm="syz-executor526" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 33.107588] ================================================================== [ 33.115116] BUG: KASAN: slab-out-of-bounds in __ext4_check_dir_entry+0x2ef/0x340 [ 33.122629] Read of size 1 at addr ffff88808ef64001 by task syz-executor526/6320 [ 33.130173] [ 33.131889] CPU: 1 PID: 6320 Comm: syz-executor526 Not tainted 4.14.184-syzkaller #0 [ 33.140364] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.149712] Call Trace: [ 33.152280] dump_stack+0x1b2/0x283 [ 33.155882] ? __ext4_check_dir_entry+0x2ef/0x340 [ 33.160716] print_address_description.cold+0x54/0x1dc [ 33.166081] ? __ext4_check_dir_entry+0x2ef/0x340 [ 33.170899] kasan_report.cold+0xa9/0x2b9 [ 33.175030] __ext4_check_dir_entry+0x2ef/0x340 [ 33.179689] ext4_readdir+0x819/0x27e0 [ 33.183903] ? __ext4_check_dir_entry+0x340/0x340 [ 33.188730] ? lock_acquire+0x170/0x3f0 [ 33.192713] ? iterate_dir+0xbc/0x5e0 [ 33.196556] iterate_dir+0x1a0/0x5e0 [ 33.200281] SyS_getdents+0x132/0x260 [ 33.204084] ? SyS_old_readdir+0x130/0x130 [ 33.208746] ? verify_dirent_name+0x50/0x50 [ 33.213048] ? ext4_dir_llseek+0x1af/0x200 [ 33.217300] ? do_syscall_64+0x4c/0x640 [ 33.221253] ? SyS_old_readdir+0x130/0x130 [ 33.225475] do_syscall_64+0x1d5/0x640 [ 33.229352] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 33.234527] RIP: 0033:0x440259 [ 33.237713] RSP: 002b:00007fff473dace8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e [ 33.245407] RAX: ffffffffffffffda RBX: 00007fff473dacf0 RCX: 0000000000440259 [ 33.252672] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 [ 33.260116] RBP: 00000000006ca018 R08: 65732f636f72702f R09: 65732f636f72702f [ 33.267369] R10: 000000000000000f R11: 0000000000000246 R12: 0000000000401b40 [ 33.274620] R13: 0000000000401bd0 R14: 0000000000000000 R15: 0000000000000000 [ 33.281928] [ 33.283532] Allocated by task 4655: [ 33.287155] kasan_kmalloc.part.0+0x4f/0xd0 [ 33.291452] kmem_cache_alloc+0x124/0x3c0 [ 33.295574] getname_flags+0xc8/0x550 [ 33.299469] SyS_symlinkat+0xa2/0x1f0 [ 33.303261] do_syscall_64+0x1d5/0x640 [ 33.307134] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 33.312298] [ 33.313912] Freed by task 4655: [ 33.317182] kasan_slab_free+0xaf/0x190 [ 33.321142] kmem_cache_free+0x7c/0x2b0 [ 33.325090] putname+0xcd/0x110 [ 33.328379] filename_create+0x1c1/0x3f0 [ 33.332437] SyS_symlinkat+0xb4/0x1f0 [ 33.336216] do_syscall_64+0x1d5/0x640 [ 33.340083] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 33.345246] [ 33.346862] The buggy address belongs to the object at ffff88808ef64200 [ 33.346862] which belongs to the cache names_cache of size 4096 [ 33.359592] The buggy address is located 511 bytes to the left of [ 33.359592] 4096-byte region [ffff88808ef64200, ffff88808ef65200) [ 33.372836] The buggy address belongs to the page: [ 33.377758] page:ffffea00023bd900 count:1 mapcount:0 mapping:ffff88808ef64200 index:0x0 compound_mapcount: 0 [ 33.387711] flags: 0xfffe0000008100(slab|head) [ 33.392271] raw: 00fffe0000008100 ffff88808ef64200 0000000000000000 0000000100000001 [ 33.400137] raw: ffffea00023a9420 ffffea0002371920 ffff8880aa9dacc0 0000000000000000 [ 33.408076] page dumped because: kasan: bad access detected [ 33.415150] [ 33.416753] Memory state around the buggy address: [ 33.421662] ffff88808ef63f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.428995] ffff88808ef63f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 33.436323] >ffff88808ef64000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.443656] ^ [ 33.446995] ffff88808ef64080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.454327] ffff88808ef64100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 33.461670] ================================================================== [ 33.469024] Disabling lock debugging due to kernel taint [ 33.474876] Kernel panic - not syncing: panic_on_warn set ... [ 33.474876] [ 33.482236] CPU: 1 PID: 6320 Comm: syz-executor526 Tainted: G B 4.14.184-syzkaller #0 [ 33.491319] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.500657] Call Trace: [ 33.503234] dump_stack+0x1b2/0x283 [ 33.506839] panic+0x1f9/0x42d [ 33.510019] ? add_taint.cold+0x16/0x16 [ 33.513977] ? preempt_schedule_common+0x4a/0xc0 [ 33.518721] ? __ext4_check_dir_entry+0x2ef/0x340 [ 33.523535] ? ___preempt_schedule+0x16/0x18 [ 33.527925] ? __ext4_check_dir_entry+0x2ef/0x340 [ 33.532760] kasan_end_report+0x43/0x49 [ 33.536717] kasan_report.cold+0x12f/0x2b9 [ 33.540938] __ext4_check_dir_entry+0x2ef/0x340 [ 33.545590] ext4_readdir+0x819/0x27e0 [ 33.549453] ? __ext4_check_dir_entry+0x340/0x340 [ 33.554656] ? lock_acquire+0x170/0x3f0 [ 33.558604] ? iterate_dir+0xbc/0x5e0 [ 33.562390] iterate_dir+0x1a0/0x5e0 [ 33.566078] SyS_getdents+0x132/0x260 [ 33.569852] ? SyS_old_readdir+0x130/0x130 [ 33.574059] ? verify_dirent_name+0x50/0x50 [ 33.578351] ? ext4_dir_llseek+0x1af/0x200 [ 33.582559] ? do_syscall_64+0x4c/0x640 [ 33.586626] ? SyS_old_readdir+0x130/0x130 [ 33.590854] do_syscall_64+0x1d5/0x640 [ 33.594734] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 33.599901] RIP: 0033:0x440259 [ 33.603241] RSP: 002b:00007fff473dace8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e [ 33.610922] RAX: ffffffffffffffda RBX: 00007fff473dacf0 RCX: 0000000000440259 [ 33.618175] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 [ 33.625420] RBP: 00000000006ca018 R08: 65732f636f72702f R09: 65732f636f72702f [ 33.633035] R10: 000000000000000f R11: 0000000000000246 R12: 0000000000401b40 [ 33.640370] R13: 0000000000401bd0 R14: 0000000000000000 R15: 0000000000000000 [ 33.649073] Kernel Offset: disabled [ 33.652687] Rebooting in 86400 seconds..