[ OK ] Reached target Login Prompts. [ 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. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.92' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 33.756000] audit: type=1400 audit(1601507644.427:8): avc: denied { execmem } for pid=6335 comm="syz-executor157" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 33.796408] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 33.805791] REISERFS (device loop0): using ordered data mode [ 33.811801] reiserfs: using flush barriers [ 33.818542] REISERFS (device loop0): journal params: device loop0, size 15748, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 33.837464] REISERFS (device loop0): checking transaction log (loop0) [ 35.024163] REISERFS warning (device loop0): vs-13075 reiserfs_read_locked_inode: dead inode read from disk [1 2 0x0 SD]. This is likely to be race with knfsd. Ignore [ 35.041267] REISERFS (device loop0): Using rupasov hash to sort names [ 35.048658] REISERFS (device loop0): using 3.5.x disk format executing program [ 35.303900] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 35.315139] REISERFS (device loop0): using ordered data mode [ 35.321497] reiserfs: using flush barriers [ 35.326962] REISERFS (device loop0): journal params: device loop0, size 15748, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 35.351428] REISERFS (device loop0): checking transaction log (loop0) [ 36.534905] ================================================================== [ 36.542797] BUG: KASAN: use-after-free in reiserfs_read_locked_inode+0x2028/0x2190 [ 36.550934] Read of size 4 at addr ffff888078602000 by task syz-executor157/6347 [ 36.558588] [ 36.560452] CPU: 0 PID: 6347 Comm: syz-executor157 Not tainted 4.14.198-syzkaller #0 [ 36.569082] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.578887] Call Trace: [ 36.581913] dump_stack+0x1b2/0x283 [ 36.585535] print_address_description.cold+0x54/0x1d3 [ 36.591073] kasan_report_error.cold+0x8a/0x194 [ 36.595894] ? reiserfs_read_locked_inode+0x2028/0x2190 [ 36.601521] __asan_report_load_n_noabort+0x6b/0x80 [ 36.606535] ? reiserfs_read_locked_inode+0x2028/0x2190 [ 36.612245] reiserfs_read_locked_inode+0x2028/0x2190 [ 36.617779] ? sd_attrs_to_i_attrs+0x230/0x230 [ 36.622399] ? __ww_mutex_wakeup_for_backoff+0x160/0x210 [ 36.627847] reiserfs_fill_super+0x1517/0x28b6 [ 36.632527] ? reiserfs_remount+0x1390/0x1390 [ 36.637078] ? lock_downgrade+0x740/0x740 [ 36.641393] ? snprintf+0xa5/0xd0 [ 36.644842] ? ns_test_super+0x50/0x50 [ 36.649179] ? set_blocksize+0x125/0x380 [ 36.653563] mount_bdev+0x2b3/0x360 [ 36.657400] ? reiserfs_remount+0x1390/0x1390 [ 36.662040] mount_fs+0x92/0x2a0 [ 36.665410] vfs_kern_mount.part.0+0x5b/0x470 [ 36.670107] do_mount+0xe53/0x2a00 [ 36.673957] ? copy_mount_string+0x40/0x40 [ 36.678225] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 36.683234] ? copy_mnt_ns+0xa30/0xa30 [ 36.687402] ? copy_mount_options+0x1fa/0x2f0 [ 36.691996] ? copy_mnt_ns+0xa30/0xa30 [ 36.696233] SyS_mount+0xa8/0x120 [ 36.699843] ? copy_mnt_ns+0xa30/0xa30 [ 36.703721] do_syscall_64+0x1d5/0x640 [ 36.708115] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 36.713359] RIP: 0033:0x447d8a [ 36.716549] RSP: 002b:00007fff6319c2c8 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 36.724390] RAX: ffffffffffffffda RBX: 00007fff6319c320 RCX: 0000000000447d8a [ 36.731944] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fff6319c2e0 [ 36.739501] RBP: 00007fff6319c2e0 R08: 00007fff6319c320 R09: 0000000000000000 [ 36.747017] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000006 [ 36.754691] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 36.762185] [ 36.763827] The buggy address belongs to the page: [ 36.768747] page:ffffea0001e18080 count:0 mapcount:0 mapping: (null) index:0x1 [ 36.777245] flags: 0xfffe0000000000() [ 36.781105] raw: 00fffe0000000000 0000000000000000 0000000000000001 00000000ffffffff [ 36.789164] raw: ffffea0001e180e0 ffff8880aea2ed48 0000000000000000 0000000000000000 [ 36.798476] page dumped because: kasan: bad access detected [ 36.804352] [ 36.805966] Memory state around the buggy address: [ 36.810904] ffff888078601f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 36.818735] ffff888078601f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 36.826276] >ffff888078602000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 36.833921] ^ [ 36.837278] ffff888078602080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 36.844805] ffff888078602100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 36.852283] ================================================================== [ 36.860511] Disabling lock debugging due to kernel taint [ 36.866464] Kernel panic - not syncing: panic_on_warn set ... [ 36.866464] [ 36.873940] CPU: 0 PID: 6347 Comm: syz-executor157 Tainted: G B 4.14.198-syzkaller #0 [ 36.883042] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.892841] Call Trace: [ 36.895424] dump_stack+0x1b2/0x283 [ 36.899041] panic+0x1f9/0x42d [ 36.902225] ? add_taint.cold+0x16/0x16 [ 36.906192] ? ___preempt_schedule+0x16/0x18 [ 36.910761] kasan_end_report+0x43/0x49 [ 36.914760] kasan_report_error.cold+0xa7/0x194 [ 36.919617] ? reiserfs_read_locked_inode+0x2028/0x2190 [ 36.925144] __asan_report_load_n_noabort+0x6b/0x80 [ 36.930258] ? reiserfs_read_locked_inode+0x2028/0x2190 [ 36.935828] reiserfs_read_locked_inode+0x2028/0x2190 [ 36.941012] ? sd_attrs_to_i_attrs+0x230/0x230 [ 36.946063] ? __ww_mutex_wakeup_for_backoff+0x160/0x210 [ 36.951838] reiserfs_fill_super+0x1517/0x28b6 [ 36.956597] ? reiserfs_remount+0x1390/0x1390 [ 36.961103] ? lock_downgrade+0x740/0x740 [ 36.965343] ? snprintf+0xa5/0xd0 [ 36.968803] ? ns_test_super+0x50/0x50 [ 36.972767] ? set_blocksize+0x125/0x380 [ 36.976998] mount_bdev+0x2b3/0x360 [ 36.980624] ? reiserfs_remount+0x1390/0x1390 [ 36.985568] mount_fs+0x92/0x2a0 [ 36.988930] vfs_kern_mount.part.0+0x5b/0x470 [ 36.993691] do_mount+0xe53/0x2a00 [ 36.997361] ? copy_mount_string+0x40/0x40 [ 37.001687] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 37.006790] ? copy_mnt_ns+0xa30/0xa30 [ 37.010840] ? copy_mount_options+0x1fa/0x2f0 [ 37.015333] ? copy_mnt_ns+0xa30/0xa30 [ 37.019355] SyS_mount+0xa8/0x120 [ 37.022967] ? copy_mnt_ns+0xa30/0xa30 [ 37.026860] do_syscall_64+0x1d5/0x640 [ 37.030739] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 37.037138] RIP: 0033:0x447d8a [ 37.040505] RSP: 002b:00007fff6319c2c8 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 37.048364] RAX: ffffffffffffffda RBX: 00007fff6319c320 RCX: 0000000000447d8a [ 37.057738] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fff6319c2e0 [ 37.065329] RBP: 00007fff6319c2e0 R08: 00007fff6319c320 R09: 0000000000000000 [ 37.073148] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000006 [ 37.081007] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 37.090106] Kernel Offset: disabled [ 37.093735] Rebooting in 86400 seconds..