[ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.246' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 45.999697] ntfs: (device loop0): ntfs_read_locked_inode(): First extent of $DATA attribute has non zero lowest_vcn. [ 46.010433] ntfs: (device loop0): ntfs_read_locked_inode(): Failed with error code -5. Marking corrupt inode 0x1 as bad. Run chkdsk. [ 46.022996] ntfs: (device loop0): load_system_files(): Failed to load $MFTMirr. Will not be able to remount read-write. Run ntfsfix and/or chkdsk. [ 46.045968] ntfs: volume version 3.1. [ 46.050382] ntfs: (device loop0): ntfs_check_logfile(): $LogFile is too small. [ 46.058129] ntfs: (device loop0): load_system_files(): Failed to load $LogFile. Will not be able to remount read-write. Mount in Windows. [ 46.071254] ntfs: (device loop0): ntfs_lookup_inode_by_name(): Corrupt directory. Aborting lookup. [ 46.080840] ntfs: (device loop0): check_windows_hibernation_status(): Failed to find inode number for hiberfil.sys. [ 46.091804] ntfs: (device loop0): load_system_files(): Failed to determine if Windows is hibernated. Will not be able to remount read-write. Run chkdsk. [ 46.106273] ntfs: (device loop0): map_mft_record_page(): Attempt to read mft record 0x10000, which is beyond the end of the mft. This is probably a bug in the ntfs driver. [ 46.122488] ntfs: (device loop0): map_mft_record(): Failed with error code 2. [ 46.137677] ================================================================== [ 46.145130] BUG: KASAN: slab-out-of-bounds in ntfs_readdir+0x3ad2/0x4140 [ 46.151971] Read of size 1 at addr ffff8880a8e7eb71 by task syz-executor136/8089 [ 46.159500] [ 46.161127] CPU: 1 PID: 8089 Comm: syz-executor136 Not tainted 4.19.211-syzkaller #0 [ 46.168996] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 46.178327] Call Trace: [ 46.180896] dump_stack+0x1fc/0x2ef [ 46.184567] print_address_description.cold+0x54/0x219 [ 46.189826] kasan_report_error.cold+0x8a/0x1b9 [ 46.194476] ? ntfs_readdir+0x3ad2/0x4140 [ 46.198603] __asan_report_load1_noabort+0x88/0x90 [ 46.203523] ? ntfs_readdir+0x3ad2/0x4140 [ 46.207652] ntfs_readdir+0x3ad2/0x4140 [ 46.211610] ? debug_check_no_obj_freed+0x201/0x490 [ 46.216604] ? fsnotify+0x84e/0xe10 [ 46.220214] ? fsnotify_first_mark+0x200/0x200 [ 46.224776] ? ntfs_dir_fsync+0x430/0x430 [ 46.228905] iterate_dir+0x1fe/0x5c0 [ 46.232599] ksys_getdents64+0x175/0x2b0 [ 46.236637] ? __ia32_sys_getdents+0xa0/0xa0 [ 46.241021] ? do_sys_open+0x2bf/0x520 [ 46.244885] ? filldir+0x400/0x400 [ 46.248404] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 46.253747] ? trace_hardirqs_off_caller+0x6e/0x210 [ 46.258745] __x64_sys_getdents64+0x6f/0xb0 [ 46.263045] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 46.267695] do_syscall_64+0xf9/0x620 [ 46.271475] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.276642] RIP: 0033:0x7f5a3bc00789 [ 46.280336] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 46.299213] RSP: 002b:00007ffdef08f8f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 46.306897] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5a3bc00789 [ 46.314143] RDX: 0000000000000098 RSI: 0000000020000080 RDI: 0000000000000004 [ 46.321388] RBP: 00007f5a3bbc0020 R08: 0000000000000000 R09: 0000000000000000 [ 46.328634] R10: 000000000001e706 R11: 0000000000000246 R12: 00007f5a3bbc00b0 [ 46.335894] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 46.343144] [ 46.344750] Allocated by task 8089: [ 46.348358] __kmalloc+0x15a/0x3c0 [ 46.351876] ntfs_readdir+0x3d3/0x4140 [ 46.355752] iterate_dir+0x1fe/0x5c0 [ 46.359441] ksys_getdents64+0x175/0x2b0 [ 46.363476] __x64_sys_getdents64+0x6f/0xb0 [ 46.367785] do_syscall_64+0xf9/0x620 [ 46.371564] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.376810] [ 46.378412] Freed by task 4699: [ 46.381671] kfree+0xcc/0x210 [ 46.384756] __d_free_external+0x3f/0x60 [ 46.388794] rcu_process_callbacks+0x8ff/0x18b0 [ 46.393439] __do_softirq+0x265/0x980 [ 46.397209] [ 46.398815] The buggy address belongs to the object at ffff8880a8e7eb00 [ 46.398815] which belongs to the cache kmalloc-64 of size 64 [ 46.411273] The buggy address is located 49 bytes to the right of [ 46.411273] 64-byte region [ffff8880a8e7eb00, ffff8880a8e7eb40) [ 46.423468] The buggy address belongs to the page: [ 46.428384] page:ffffea0002a39f80 count:1 mapcount:0 mapping:ffff88813bff0340 index:0x0 [ 46.436500] flags: 0xfff00000000100(slab) [ 46.440631] raw: 00fff00000000100 ffffea0002a7f788 ffffea0002a68748 ffff88813bff0340 [ 46.448487] raw: 0000000000000000 ffff8880a8e7e000 0000000100000020 0000000000000000 [ 46.456340] page dumped because: kasan: bad access detected [ 46.462106] [ 46.463707] Memory state around the buggy address: [ 46.468612] ffff8880a8e7ea00: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 46.475946] ffff8880a8e7ea80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 46.483280] >ffff8880a8e7eb00: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc [ 46.490610] ^ [ 46.497596] ffff8880a8e7eb80: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 46.505045] ffff8880a8e7ec00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 46.512390] ================================================================== [ 46.519727] Disabling lock debugging due to kernel taint [ 46.528302] Kernel panic - not syncing: panic_on_warn set ... [ 46.528302] [ 46.535675] CPU: 1 PID: 8089 Comm: syz-executor136 Tainted: G B 4.19.211-syzkaller #0 [ 46.544935] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 46.554274] Call Trace: [ 46.556843] dump_stack+0x1fc/0x2ef [ 46.560449] panic+0x26a/0x50e [ 46.563619] ? __warn_printk+0xf3/0xf3 [ 46.567508] ? preempt_schedule_common+0x45/0xc0 [ 46.572253] ? ___preempt_schedule+0x16/0x18 [ 46.576640] ? trace_hardirqs_on+0x55/0x210 [ 46.580939] kasan_end_report+0x43/0x49 [ 46.584890] kasan_report_error.cold+0xa7/0x1b9 [ 46.589535] ? ntfs_readdir+0x3ad2/0x4140 [ 46.593670] __asan_report_load1_noabort+0x88/0x90 [ 46.598576] ? ntfs_readdir+0x3ad2/0x4140 [ 46.602699] ntfs_readdir+0x3ad2/0x4140 [ 46.606650] ? debug_check_no_obj_freed+0x201/0x490 [ 46.611682] ? fsnotify+0x84e/0xe10 [ 46.615290] ? fsnotify_first_mark+0x200/0x200 [ 46.619848] ? ntfs_dir_fsync+0x430/0x430 [ 46.623976] iterate_dir+0x1fe/0x5c0 [ 46.627665] ksys_getdents64+0x175/0x2b0 [ 46.631700] ? __ia32_sys_getdents+0xa0/0xa0 [ 46.636086] ? do_sys_open+0x2bf/0x520 [ 46.639948] ? filldir+0x400/0x400 [ 46.643484] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 46.648825] ? trace_hardirqs_off_caller+0x6e/0x210 [ 46.653818] __x64_sys_getdents64+0x6f/0xb0 [ 46.658118] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 46.662696] do_syscall_64+0xf9/0x620 [ 46.666483] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.671646] RIP: 0033:0x7f5a3bc00789 [ 46.675334] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 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 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 46.694210] RSP: 002b:00007ffdef08f8f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 46.701895] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5a3bc00789 [ 46.709143] RDX: 0000000000000098 RSI: 0000000020000080 RDI: 0000000000000004 [ 46.716390] RBP: 00007f5a3bbc0020 R08: 0000000000000000 R09: 0000000000000000 [ 46.723633] R10: 000000000001e706 R11: 0000000000000246 R12: 00007f5a3bbc00b0 [ 46.730879] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 46.738365] Kernel Offset: disabled [ 46.741988] Rebooting in 86400 seconds..