[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.19' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 50.905301] audit: type=1400 audit(1603222015.122:8): avc: denied { execmem } for pid=6500 comm="syz-executor487" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 50.917153] ntfs: (device loop0): is_boot_sector_ntfs(): Invalid end of sector marker. [ 50.936903] ================================================================== [ 50.944670] BUG: KASAN: slab-out-of-bounds in ntfs_attr_find+0xa42/0xb70 [ 50.951517] Read of size 4 at addr ffff8880a41f423f by task syz-executor487/6500 [ 50.959205] [ 50.961047] CPU: 1 PID: 6500 Comm: syz-executor487 Not tainted 4.19.152-syzkaller #0 [ 50.970278] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.979814] Call Trace: [ 50.982442] dump_stack+0x22c/0x33e [ 50.986071] print_address_description.cold+0x56/0x25c [ 50.991342] kasan_report_error.cold+0x66/0xb9 [ 50.996208] ? ntfs_attr_find+0xa42/0xb70 [ 51.000953] __asan_report_load_n_noabort+0x8b/0xa0 [ 51.006506] ? ntfs_attr_find+0xa42/0xb70 [ 51.010654] ntfs_attr_find+0xa42/0xb70 [ 51.014627] ntfs_attr_lookup+0x1087/0x2060 [ 51.019150] ? do_raw_spin_unlock+0x171/0x240 [ 51.024004] ? cache_alloc_refill+0x351/0x410 [ 51.028494] ? guard_bio_eod+0x2de/0x690 [ 51.032722] ? check_preemption_disabled+0x41/0x2b0 [ 51.038958] ? ntfs_attr_reinit_search_ctx+0x3c0/0x3c0 [ 51.044396] ? kmem_cache_alloc+0x31b/0x4a0 [ 51.048723] ntfs_read_inode_mount+0x7e4/0x23b0 [ 51.053405] ntfs_fill_super+0x1761/0x89d2 [ 51.057636] ? snprintf+0xbb/0xf0 [ 51.061076] ? vsprintf+0x30/0x30 [ 51.064633] ? ntfs_remount+0x500/0x500 [ 51.068608] ? __mutex_add_waiter+0x160/0x160 [ 51.073385] ? set_blocksize+0x163/0x3f0 [ 51.077449] mount_bdev+0x2fc/0x3b0 [ 51.081162] ? ntfs_remount+0x500/0x500 [ 51.085124] mount_fs+0xa3/0x318 [ 51.088736] vfs_kern_mount.part.0+0x68/0x470 [ 51.093565] do_mount+0x51c/0x2f10 [ 51.097094] ? check_preemption_disabled+0x41/0x2b0 [ 51.102102] ? copy_mount_string+0x40/0x40 [ 51.106469] ? kmem_cache_alloc_trace+0x379/0x4b0 [ 51.111884] ? _copy_from_user+0xd2/0x130 [ 51.116112] ? copy_mount_options+0x261/0x370 [ 51.120698] ksys_mount+0xcf/0x130 [ 51.124515] __x64_sys_mount+0xba/0x150 [ 51.128565] ? lockdep_hardirqs_on+0x3c1/0x5e0 [ 51.133138] do_syscall_64+0xf9/0x670 [ 51.136933] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.143018] RIP: 0033:0x44c1fa [ 51.146424] Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 fd ad 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 da ad fb ff c3 66 0f 1f 84 00 00 00 00 00 [ 51.166201] RSP: 002b:00007fff8f7b42f8 EFLAGS: 00000287 ORIG_RAX: 00000000000000a5 [ 51.174438] RAX: ffffffffffffffda RBX: 00007fff8f7b4350 RCX: 000000000044c1fa [ 51.181702] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fff8f7b4310 [ 51.189360] RBP: 00007fff8f7b4310 R08: 00007fff8f7b4350 R09: 00007fff00000015 [ 51.196773] R10: 0000000000000000 R11: 0000000000000287 R12: 000000000000025d [ 51.204041] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 51.211318] [ 51.212929] Allocated by task 6500: [ 51.216554] kmem_cache_alloc+0x126/0x4a0 [ 51.220745] getname_flags+0xce/0x590 [ 51.224940] user_path_at_empty+0x2a/0x50 [ 51.229073] vfs_statx+0x113/0x210 [ 51.232596] __se_sys_newstat+0x96/0x120 [ 51.236650] do_syscall_64+0xf9/0x670 [ 51.240587] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.246120] [ 51.247727] Freed by task 6500: [ 51.251158] kmem_cache_free+0x7f/0x2b0 [ 51.255212] putname+0xe1/0x130 [ 51.258488] filename_lookup+0x3d0/0x5a0 [ 51.262561] vfs_statx+0x113/0x210 [ 51.266143] __se_sys_newstat+0x96/0x120 [ 51.270358] do_syscall_64+0xf9/0x670 [ 51.274141] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.280730] [ 51.282370] The buggy address belongs to the object at ffff8880a41f47c0 [ 51.282370] which belongs to the cache names_cache of size 4096 [ 51.296106] The buggy address is located 1409 bytes to the left of [ 51.296106] 4096-byte region [ffff8880a41f47c0, ffff8880a41f57c0) [ 51.309597] The buggy address belongs to the page: [ 51.315049] page:ffffea0002907d00 count:1 mapcount:0 mapping:ffff88821bc44b00 index:0x0 compound_mapcount: 0 [ 51.325113] flags: 0xfffe0000008100(slab|head) [ 51.330093] raw: 00fffe0000008100 ffffea000290ed88 ffffea000240a888 ffff88821bc44b00 [ 51.340652] raw: 0000000000000000 ffff8880a41f47c0 0000000100000001 0000000000000000 [ 51.348882] page dumped because: kasan: bad access detected [ 51.354677] [ 51.356325] Memory state around the buggy address: [ 51.361450] ffff8880a41f4100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.370038] ffff8880a41f4180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.379878] >ffff8880a41f4200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.387939] ^ [ 51.393648] ffff8880a41f4280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.401011] ffff8880a41f4300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 51.408358] ================================================================== [ 51.416411] Disabling lock debugging due to kernel taint [ 51.426356] Kernel panic - not syncing: panic_on_warn set ... [ 51.426356] [ 51.433858] CPU: 0 PID: 6500 Comm: syz-executor487 Tainted: G B 4.19.152-syzkaller #0 [ 51.443148] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.452676] Call Trace: [ 51.455272] dump_stack+0x22c/0x33e [ 51.458927] panic+0x2ac/0x565 [ 51.462129] ? __warn_printk+0xf3/0xf3 [ 51.466070] ? preempt_schedule_common+0x45/0xc0 [ 51.472765] ? ___preempt_schedule+0x16/0x18 [ 51.477197] ? trace_hardirqs_on+0x55/0x210 [ 51.481513] kasan_end_report+0x43/0x49 [ 51.485507] kasan_report_error.cold+0x83/0xb9 [ 51.490228] ? ntfs_attr_find+0xa42/0xb70 [ 51.494469] __asan_report_load_n_noabort+0x8b/0xa0 [ 51.499481] ? ntfs_attr_find+0xa42/0xb70 [ 51.503639] ntfs_attr_find+0xa42/0xb70 [ 51.507622] ntfs_attr_lookup+0x1087/0x2060 [ 51.511936] ? do_raw_spin_unlock+0x171/0x240 [ 51.516412] ? cache_alloc_refill+0x351/0x410 [ 51.521148] ? guard_bio_eod+0x2de/0x690 [ 51.526849] ? check_preemption_disabled+0x41/0x2b0 [ 51.534745] ? ntfs_attr_reinit_search_ctx+0x3c0/0x3c0 [ 51.540129] ? kmem_cache_alloc+0x31b/0x4a0 [ 51.546188] ntfs_read_inode_mount+0x7e4/0x23b0 [ 51.551243] ntfs_fill_super+0x1761/0x89d2 [ 51.555685] ? snprintf+0xbb/0xf0 [ 51.559122] ? vsprintf+0x30/0x30 [ 51.562581] ? ntfs_remount+0x500/0x500 [ 51.566570] ? __mutex_add_waiter+0x160/0x160 [ 51.571051] ? set_blocksize+0x163/0x3f0 [ 51.575348] mount_bdev+0x2fc/0x3b0 [ 51.579266] ? ntfs_remount+0x500/0x500 [ 51.584125] mount_fs+0xa3/0x318 [ 51.588327] vfs_kern_mount.part.0+0x68/0x470 [ 51.594837] do_mount+0x51c/0x2f10 [ 51.598464] ? check_preemption_disabled+0x41/0x2b0 [ 51.603676] ? copy_mount_string+0x40/0x40 [ 51.608274] ? kmem_cache_alloc_trace+0x379/0x4b0 [ 51.613874] ? _copy_from_user+0xd2/0x130 [ 51.618021] ? copy_mount_options+0x261/0x370 [ 51.622690] ksys_mount+0xcf/0x130 [ 51.626402] __x64_sys_mount+0xba/0x150 [ 51.630425] ? lockdep_hardirqs_on+0x3c1/0x5e0 [ 51.635008] do_syscall_64+0xf9/0x670 [ 51.638812] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.644254] RIP: 0033:0x44c1fa [ 51.648356] Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 fd ad 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 da ad fb ff c3 66 0f 1f 84 00 00 00 00 00 [ 51.668029] RSP: 002b:00007fff8f7b42f8 EFLAGS: 00000287 ORIG_RAX: 00000000000000a5 [ 51.675822] RAX: ffffffffffffffda RBX: 00007fff8f7b4350 RCX: 000000000044c1fa [ 51.684219] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fff8f7b4310 [ 51.692139] RBP: 00007fff8f7b4310 R08: 00007fff8f7b4350 R09: 00007fff00000015 [ 51.700835] R10: 0000000000000000 R11: 0000000000000287 R12: 000000000000025d [ 51.709110] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 51.718969] Kernel Offset: disabled [ 51.723524] Rebooting in 86400 seconds..