INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.10.18' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 24.509465] ntfs: (device loop0): is_boot_sector_ntfs(): Invalid end of sector marker. [ 24.519782] ================================================================== [ 24.527169] BUG: KASAN: slab-out-of-bounds in ntfs_attr_find+0x99a/0xa00 [ 24.533979] Read of size 4 at addr ffff8801d96bfbb5 by task syzkaller786329/4469 [ 24.541493] [ 24.543107] CPU: 0 PID: 4469 Comm: syzkaller786329 Not tainted 4.16.0+ #10 [ 24.550088] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.559413] Call Trace: [ 24.561976] dump_stack+0x194/0x24d [ 24.565575] ? arch_local_irq_restore+0x53/0x53 [ 24.570214] ? show_regs_print_info+0x18/0x18 [ 24.574706] ? ntfs_fill_super+0x13df/0x2fb0 [ 24.579086] ? vfs_kern_mount.part.26+0xc6/0x4a0 [ 24.583811] ? do_mount+0xea4/0x2bb0 [ 24.587493] ? SyS_mount+0xab/0x120 [ 24.591089] ? ntfs_attr_find+0x99a/0xa00 [ 24.595210] print_address_description+0x73/0x250 [ 24.600029] ? ntfs_attr_find+0x99a/0xa00 [ 24.604152] kasan_report+0x23c/0x360 [ 24.607922] __asan_report_load_n_noabort+0xf/0x20 [ 24.612821] ntfs_attr_find+0x99a/0xa00 [ 24.616769] ntfs_attr_lookup+0x10e1/0x22a0 [ 24.621079] ? __wait_on_bit+0xbc/0x130 [ 24.625031] ? kasan_unpoison_shadow+0x35/0x50 [ 24.629584] ? kasan_kmalloc+0xad/0xe0 [ 24.633442] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 24.638341] ? ntfs_attr_reinit_search_ctx+0x3e0/0x3e0 [ 24.643590] ? block_commit_write+0x30/0x30 [ 24.647883] ntfs_read_inode_mount+0x6cd/0x20f0 [ 24.652545] ? __insert_inode_hash+0x1f7/0x2b0 [ 24.657099] ntfs_fill_super+0x13df/0x2fb0 [ 24.661308] mount_bdev+0x2b7/0x370 [ 24.664903] ? load_system_files+0x6b80/0x6b80 [ 24.669454] ntfs_mount+0x34/0x40 [ 24.672878] mount_fs+0x66/0x2d0 [ 24.676218] vfs_kern_mount.part.26+0xc6/0x4a0 [ 24.680771] ? may_umount+0xa0/0xa0 [ 24.684370] ? _raw_read_unlock+0x22/0x30 [ 24.688489] ? __get_fs_type+0x8a/0xc0 [ 24.692345] do_mount+0xea4/0x2bb0 [ 24.695855] ? copy_mount_string+0x40/0x40 [ 24.700064] ? rcu_pm_notify+0xc0/0xc0 [ 24.703921] ? copy_mount_options+0x5f/0x2e0 [ 24.708298] ? rcu_read_lock_sched_held+0x108/0x120 [ 24.713283] ? kmem_cache_alloc_trace+0x459/0x740 [ 24.718098] ? kasan_check_write+0x14/0x20 [ 24.722303] ? _copy_from_user+0x99/0x110 [ 24.726419] ? copy_mount_options+0x1f7/0x2e0 [ 24.730883] SyS_mount+0xab/0x120 [ 24.734303] ? copy_mnt_ns+0xb30/0xb30 [ 24.738160] do_syscall_64+0x281/0x940 [ 24.742026] ? vmalloc_sync_all+0x30/0x30 [ 24.746150] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.750875] ? syscall_return_slowpath+0x550/0x550 [ 24.755777] ? syscall_return_slowpath+0x2ac/0x550 [ 24.760695] ? prepare_exit_to_usermode+0x350/0x350 [ 24.765695] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 24.771039] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 24.775859] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 24.781026] RIP: 0033:0x442eca [ 24.784190] RSP: 002b:00007ffce22e1a98 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 24.791867] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000442eca [ 24.799110] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffce22e1aa0 [ 24.806352] RBP: 00000000006cb018 R08: 000000002007e200 R09: 000000000000000a [ 24.813596] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004 [ 24.820837] R13: 0000000000401dc0 R14: 0000000000000000 R15: 0000000000000000 [ 24.828081] [ 24.829684] Allocated by task 2834: [ 24.833289] save_stack+0x43/0xd0 [ 24.836712] kasan_kmalloc+0xad/0xe0 [ 24.840394] __kmalloc_node+0x47/0x70 [ 24.844166] kvmalloc_node+0x99/0xd0 [ 24.847847] seq_read+0x7fc/0x1410 [ 24.851356] __vfs_read+0xef/0xa00 [ 24.854871] vfs_read+0x11e/0x350 [ 24.858294] SyS_read+0xef/0x220 [ 24.861629] do_syscall_64+0x281/0x940 [ 24.865487] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 24.870648] [ 24.872246] Freed by task 2834: [ 24.875499] save_stack+0x43/0xd0 [ 24.878923] __kasan_slab_free+0x11a/0x170 [ 24.883129] kasan_slab_free+0xe/0x10 [ 24.886899] kfree+0xd9/0x260 [ 24.889976] kvfree+0x36/0x60 [ 24.893052] single_release+0x78/0xb0 [ 24.896819] __fput+0x327/0x7e0 [ 24.900066] ____fput+0x15/0x20 [ 24.903316] task_work_run+0x199/0x270 [ 24.907173] exit_to_usermode_loop+0x275/0x2f0 [ 24.911726] do_syscall_64+0x6ec/0x940 [ 24.915589] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 24.920744] [ 24.922343] The buggy address belongs to the object at ffff8801d96be180 [ 24.922343] which belongs to the cache kmalloc-4096 of size 4096 [ 24.935860] The buggy address is located 2613 bytes to the right of [ 24.935860] 4096-byte region [ffff8801d96be180, ffff8801d96bf180) [ 24.948411] The buggy address belongs to the page: [ 24.953312] page:ffffea000765af80 count:1 mapcount:0 mapping:ffff8801d96be180 index:0x0 compound_mapcount: 0 [ 24.963251] flags: 0x2fffc0000008100(slab|head) [ 24.967891] raw: 02fffc0000008100 ffff8801d96be180 0000000000000000 0000000100000001 [ 24.975740] raw: ffffea0006b1b820 ffffea0007622ba0 ffff8801dac00dc0 0000000000000000 [ 24.983587] page dumped because: kasan: bad access detected [ 24.989263] [ 24.990860] Memory state around the buggy address: [ 24.995760] ffff8801d96bfa80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.003091] ffff8801d96bfb00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.010420] >ffff8801d96bfb80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.017749] ^ [ 25.022664] ffff8801d96bfc00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.030006] ffff8801d96bfc80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 25.037339] ================================================================== [ 25.044666] Disabling lock debugging due to kernel taint [ 25.050160] Kernel panic - not syncing: panic_on_warn set ... [ 25.050160] [ 25.057510] CPU: 0 PID: 4469 Comm: syzkaller786329 Tainted: G B 4.16.0+ #10 [ 25.065798] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 25.075124] Call Trace: [ 25.077689] dump_stack+0x194/0x24d [ 25.081287] ? arch_local_irq_restore+0x53/0x53 [ 25.085928] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.090656] ? vsnprintf+0x1ed/0x1900 [ 25.094428] ? ntfs_attr_find+0x980/0xa00 [ 25.098545] panic+0x1e4/0x41c [ 25.101708] ? refcount_error_report+0x214/0x214 [ 25.106442] ? add_taint+0x1c/0x50 [ 25.109950] ? add_taint+0x1c/0x50 [ 25.113461] ? ntfs_attr_find+0x99a/0xa00 [ 25.117580] kasan_end_report+0x50/0x50 [ 25.121524] kasan_report+0x149/0x360 [ 25.125294] __asan_report_load_n_noabort+0xf/0x20 [ 25.130193] ntfs_attr_find+0x99a/0xa00 [ 25.134138] ntfs_attr_lookup+0x10e1/0x22a0 [ 25.138428] ? __wait_on_bit+0xbc/0x130 [ 25.142372] ? kasan_unpoison_shadow+0x35/0x50 [ 25.146932] ? kasan_kmalloc+0xad/0xe0 [ 25.150790] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 25.155687] ? ntfs_attr_reinit_search_ctx+0x3e0/0x3e0 [ 25.160935] ? block_commit_write+0x30/0x30 [ 25.165229] ntfs_read_inode_mount+0x6cd/0x20f0 [ 25.169869] ? __insert_inode_hash+0x1f7/0x2b0 [ 25.174432] ntfs_fill_super+0x13df/0x2fb0 [ 25.178640] mount_bdev+0x2b7/0x370 [ 25.182241] ? load_system_files+0x6b80/0x6b80 [ 25.186791] ntfs_mount+0x34/0x40 [ 25.190215] mount_fs+0x66/0x2d0 [ 25.193558] vfs_kern_mount.part.26+0xc6/0x4a0 [ 25.198112] ? may_umount+0xa0/0xa0 [ 25.201712] ? _raw_read_unlock+0x22/0x30 [ 25.205829] ? __get_fs_type+0x8a/0xc0 [ 25.209687] do_mount+0xea4/0x2bb0 [ 25.213195] ? copy_mount_string+0x40/0x40 [ 25.217400] ? rcu_pm_notify+0xc0/0xc0 [ 25.221256] ? copy_mount_options+0x5f/0x2e0 [ 25.225633] ? rcu_read_lock_sched_held+0x108/0x120 [ 25.230621] ? kmem_cache_alloc_trace+0x459/0x740 [ 25.235433] ? kasan_check_write+0x14/0x20 [ 25.239659] ? _copy_from_user+0x99/0x110 [ 25.243777] ? copy_mount_options+0x1f7/0x2e0 [ 25.248243] SyS_mount+0xab/0x120 [ 25.251666] ? copy_mnt_ns+0xb30/0xb30 [ 25.255524] do_syscall_64+0x281/0x940 [ 25.259393] ? vmalloc_sync_all+0x30/0x30 [ 25.263509] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 25.268233] ? syscall_return_slowpath+0x550/0x550 [ 25.273130] ? syscall_return_slowpath+0x2ac/0x550 [ 25.278036] ? prepare_exit_to_usermode+0x350/0x350 [ 25.283036] ? entry_SYSCALL_64_after_hwframe+0x52/0xb7 [ 25.288368] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 25.293181] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 25.298349] RIP: 0033:0x442eca [ 25.301509] RSP: 002b:00007ffce22e1a98 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 [ 25.309186] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000442eca [ 25.316425] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffce22e1aa0 [ 25.323663] RBP: 00000000006cb018 R08: 000000002007e200 R09: 000000000000000a [ 25.330902] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000004 [ 25.338152] R13: 0000000000401dc0 R14: 0000000000000000 R15: 0000000000000000 [ 25.345882] Dumping ftrace buffer: [ 25.349410] (ftrace buffer empty) [ 25.353090] Kernel Offset: disabled [ 25.356688] Rebooting in 86400 seconds..