Starting getty on tty2-tty6 if dbus and logind are not available... [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started Regular background program processing daemon. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Reached target Timers. Starting Permit User Sessions... [ OK ] Started System Logging Service. [ OK ] Started Permit User Sessions. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ OK ] Started Getty on tty6. [ OK ] Started Getty on tty5. [ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Started Getty on tty2. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.255' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 80.622207][ T35] audit: type=1400 audit(1606164793.859:8): avc: denied { execmem } for pid=8471 comm="syz-executor401" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 80.656235][ T8472] ntfs: (device loop0): is_boot_sector_ntfs(): Invalid end of sector marker. [ 80.680683][ T8472] ntfs: (device loop0): map_mft_record_page(): Mft record 0x1 is corrupt. Run chkdsk. [ 80.695672][ T8472] ntfs: (device loop0): map_mft_record(): Failed with error code 5. [ 80.706714][ T8472] ntfs: (device loop0): ntfs_read_locked_inode(): Failed with error code -5. Marking corrupt inode 0x1 as bad. Run chkdsk. [ 80.724714][ T8472] ntfs: (device loop0): load_system_files(): Failed to load $MFTMirr. Mounting read-only. Run ntfsfix and/or chkdsk. [ 80.741266][ T8472] ntfs: (device loop0): map_mft_record_page(): Mft record 0xa is corrupt. Run chkdsk. [ 80.752988][ T8472] ntfs: (device loop0): map_mft_record(): Failed with error code 5. executing program executing program [ 80.767126][ T8472] ntfs: (device loop0): ntfs_read_locked_inode(): Failed with error code -5. Marking corrupt inode 0xa as bad. Run chkdsk. [ 80.786820][ T8472] ntfs: (device loop0): load_and_init_upcase(): Failed to load $UpCase from the volume. Using default. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 81.523836][ T8528] ================================================================== [ 81.534042][ T8528] BUG: KASAN: use-after-free in ntfs_read_locked_inode+0x49dc/0x58b0 [ 81.542684][ T8528] Read of size 8 at addr ffff8880374ee6cd by task syz-executor401/8528 [ 81.553767][ T8528] [ 81.556214][ T8528] CPU: 1 PID: 8528 Comm: syz-executor401 Not tainted 5.10.0-rc5-syzkaller #0 [ 81.566850][ T8528] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 81.579480][ T8528] Call Trace: [ 81.584420][ T8528] dump_stack+0x107/0x163 [ 81.589548][ T8528] ? ntfs_read_locked_inode+0x49dc/0x58b0 [ 81.596339][ T8528] ? ntfs_read_locked_inode+0x49dc/0x58b0 [ 81.603849][ T8528] print_address_description.constprop.0.cold+0xae/0x497 [ 81.611011][ T8528] ? _raw_spin_lock_irqsave+0x4e/0x50 [ 81.616541][ T8528] ? vprintk_func+0x95/0x1e0 [ 81.621398][ T8528] ? ntfs_read_locked_inode+0x49dc/0x58b0 [ 81.627759][ T8528] ? ntfs_read_locked_inode+0x49dc/0x58b0 [ 81.633870][ T8528] kasan_report.cold+0x1f/0x37 [ 81.639511][ T8528] ? ntfs_read_locked_inode+0x49dc/0x58b0 [ 81.645854][ T8528] ntfs_read_locked_inode+0x49dc/0x58b0 [ 81.652486][ T8528] ? iget5_locked+0x115/0x220 [ 81.659055][ T8528] ? ntfs_test_inode+0x2f0/0x2f0 [ 81.664019][ T8528] ntfs_iget+0x12d/0x180 [ 81.668309][ T8528] ? ntfs_read_locked_inode+0x58b0/0x58b0 [ 81.675952][ T8528] ntfs_fill_super+0x255c/0x8560 [ 81.681470][ T8528] ? load_and_init_usnjrnl+0x1180/0x1180 [ 81.687351][ T8528] ? vsprintf+0x30/0x30 [ 81.691619][ T8528] ? wait_for_completion+0x260/0x260 [ 81.697397][ T8528] ? set_blocksize+0x1c1/0x400 [ 81.702487][ T8528] mount_bdev+0x32e/0x3f0 [ 81.708075][ T8528] ? load_and_init_usnjrnl+0x1180/0x1180 [ 81.714207][ T8528] ? ntfs_rl_punch_nolock+0x1d10/0x1d10 [ 81.720603][ T8528] legacy_get_tree+0x105/0x220 [ 81.726012][ T8528] vfs_get_tree+0x89/0x2f0 [ 81.730635][ T8528] path_mount+0x13ad/0x20c0 [ 81.735250][ T8528] ? strncpy_from_user+0x2a0/0x3e0 [ 81.740505][ T8528] ? finish_automount+0xac0/0xac0 [ 81.746928][ T8528] ? getname_flags.part.0+0x1dd/0x4f0 [ 81.752726][ T8528] __x64_sys_mount+0x27f/0x300 [ 81.758157][ T8528] ? copy_mnt_ns+0xa60/0xa60 [ 81.762855][ T8528] ? syscall_enter_from_user_mode+0x1d/0x50 [ 81.768894][ T8528] do_syscall_64+0x2d/0x70 [ 81.773341][ T8528] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 81.779558][ T8528] RIP: 0033:0x44954a [ 81.783766][ T8528] Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d a3 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 a3 fb ff c3 66 0f 1f 84 00 00 00 00 00 [ 81.803954][ T8528] RSP: 002b:00007ffe2910bd28 EFLAGS: 00000287 ORIG_RAX: 00000000000000a5 [ 81.812627][ T8528] RAX: ffffffffffffffda RBX: 00007ffe2910bd80 RCX: 000000000044954a [ 81.821439][ T8528] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffe2910bd40 [ 81.829571][ T8528] RBP: 00007ffe2910bd40 R08: 00007ffe2910bd80 R09: 0000000000000000 [ 81.837908][ T8528] R10: 0000000000000000 R11: 0000000000000287 R12: 00000000000000ac [ 81.845907][ T8528] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 81.854852][ T8528] [ 81.857182][ T8528] The buggy address belongs to the page: [ 81.862970][ T8528] page:00000000dbe06e8c refcount:1 mapcount:0 mapping:0000000069d82f88 index:0x200 pfn:0x374ee [ 81.873321][ T8528] aops:shmem_aops ino:40b dentry name:"memfd:syzkaller" [ 81.880282][ T8528] flags: 0xfff0000008001e(referenced|uptodate|dirty|lru|swapbacked) [ 81.889252][ T8528] raw: 00fff0000008001e ffffea0000ca4a08 ffffea0000d8de88 ffff8880287936a8 [ 81.898384][ T8528] raw: 0000000000000200 0000000000000000 00000001ffffffff ffff888010e00000 [ 81.911922][ T8528] page dumped because: kasan: bad access detected [ 81.918380][ T8528] page->mem_cgroup:ffff888010e00000 [ 81.923639][ T8528] [ 81.926000][ T8528] Memory state around the buggy address: [ 81.931641][ T8528] ffff8880374ee580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 81.939803][ T8528] ffff8880374ee600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 81.949094][ T8528] >ffff8880374ee680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 81.957250][ T8528] ^ [ 81.963675][ T8528] ffff8880374ee700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 81.971847][ T8528] ffff8880374ee780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 81.980713][ T8528] ================================================================== [ 81.988815][ T8528] Disabling lock debugging due to kernel taint [ 82.014808][ T8528] Kernel panic - not syncing: panic_on_warn set ... [ 82.021443][ T8528] CPU: 1 PID: 8528 Comm: syz-executor401 Tainted: G B 5.10.0-rc5-syzkaller #0 [ 82.031607][ T8528] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 82.041759][ T8528] Call Trace: [ 82.045064][ T8528] dump_stack+0x107/0x163 [ 82.049429][ T8528] ? ntfs_read_locked_inode+0x4910/0x58b0 [ 82.055422][ T8528] panic+0x306/0x73d [ 82.059333][ T8528] ? __warn_printk+0xf3/0xf3 [ 82.063944][ T8528] ? preempt_schedule_common+0x59/0xc0 [ 82.069423][ T8528] ? ntfs_read_locked_inode+0x49dc/0x58b0 [ 82.075179][ T8528] ? preempt_schedule_thunk+0x16/0x18 [ 82.080595][ T8528] ? trace_hardirqs_on+0x51/0x1c0 [ 82.085660][ T8528] ? ntfs_read_locked_inode+0x49dc/0x58b0 [ 82.091401][ T8528] ? ntfs_read_locked_inode+0x49dc/0x58b0 [ 82.097139][ T8528] end_report+0x58/0x5e [ 82.101310][ T8528] kasan_report.cold+0xd/0x37 [ 82.106006][ T8528] ? ntfs_read_locked_inode+0x49dc/0x58b0 [ 82.111745][ T8528] ntfs_read_locked_inode+0x49dc/0x58b0 [ 82.117302][ T8528] ? iget5_locked+0x115/0x220 [ 82.121988][ T8528] ? ntfs_test_inode+0x2f0/0x2f0 [ 82.126932][ T8528] ntfs_iget+0x12d/0x180 [ 82.131186][ T8528] ? ntfs_read_locked_inode+0x58b0/0x58b0 [ 82.136924][ T8528] ntfs_fill_super+0x255c/0x8560 [ 82.141886][ T8528] ? load_and_init_usnjrnl+0x1180/0x1180 [ 82.147529][ T8528] ? vsprintf+0x30/0x30 [ 82.151700][ T8528] ? wait_for_completion+0x260/0x260 [ 82.157628][ T8528] ? set_blocksize+0x1c1/0x400 [ 82.162410][ T8528] mount_bdev+0x32e/0x3f0 [ 82.166771][ T8528] ? load_and_init_usnjrnl+0x1180/0x1180 [ 82.172418][ T8528] ? ntfs_rl_punch_nolock+0x1d10/0x1d10 [ 82.177983][ T8528] legacy_get_tree+0x105/0x220 [ 82.182762][ T8528] vfs_get_tree+0x89/0x2f0 [ 82.187190][ T8528] path_mount+0x13ad/0x20c0 [ 82.191798][ T8528] ? strncpy_from_user+0x2a0/0x3e0 [ 82.197103][ T8528] ? finish_automount+0xac0/0xac0 [ 82.202138][ T8528] ? getname_flags.part.0+0x1dd/0x4f0 [ 82.208137][ T8528] __x64_sys_mount+0x27f/0x300 [ 82.212999][ T8528] ? copy_mnt_ns+0xa60/0xa60 [ 82.217951][ T8528] ? syscall_enter_from_user_mode+0x1d/0x50 [ 82.224285][ T8528] do_syscall_64+0x2d/0x70 [ 82.228717][ T8528] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 82.234639][ T8528] RIP: 0033:0x44954a [ 82.238545][ T8528] Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d a3 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 a3 fb ff c3 66 0f 1f 84 00 00 00 00 00 [ 82.258166][ T8528] RSP: 002b:00007ffe2910bd28 EFLAGS: 00000287 ORIG_RAX: 00000000000000a5 [ 82.266597][ T8528] RAX: ffffffffffffffda RBX: 00007ffe2910bd80 RCX: 000000000044954a [ 82.275134][ T8528] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffe2910bd40 [ 82.283244][ T8528] RBP: 00007ffe2910bd40 R08: 00007ffe2910bd80 R09: 0000000000000000 [ 82.291320][ T8528] R10: 0000000000000000 R11: 0000000000000287 R12: 00000000000000ac [ 82.299330][ T8528] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 82.307812][ T8528] Kernel Offset: disabled [ 82.312182][ T8528] Rebooting in 86400 seconds..