Warning: Permanently added '10.128.0.52' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 40.515485] audit: type=1400 audit(1602888621.885:8): avc: denied { execmem } for pid=6499 comm="syz-executor614" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 40.543261] REISERFS (device loop0): found reiserfs format "3.5" with standard journal [ 40.553026] REISERFS (device loop0): using ordered data mode [ 40.558905] reiserfs: using flush barriers [ 40.566303] REISERFS (device loop0): journal params: device loop0, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 [ 40.591265] REISERFS (device loop0): checking transaction log (loop0) [ 41.461117] ================================================================== [ 41.468583] BUG: KASAN: use-after-free in reiserfs_read_locked_inode+0x216f/0x2220 [ 41.476297] Read of size 4 at addr ffff88807c172000 by task syz-executor614/6500 [ 41.483818] [ 41.485442] CPU: 1 PID: 6500 Comm: syz-executor614 Not tainted 4.19.150-syzkaller #0 [ 41.493302] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.502637] Call Trace: [ 41.505211] dump_stack+0x22c/0x33e [ 41.508864] print_address_description.cold+0x56/0x25c [ 41.514129] kasan_report_error.cold+0x66/0xb9 [ 41.518734] ? reiserfs_read_locked_inode+0x216f/0x2220 [ 41.524110] __asan_report_load_n_noabort+0x8b/0xa0 [ 41.529116] ? reiserfs_read_locked_inode+0x216f/0x2220 [ 41.534463] reiserfs_read_locked_inode+0x216f/0x2220 [ 41.539638] ? sd_attrs_to_i_attrs+0x260/0x260 [ 41.544199] ? reiserfs_write_lock+0x75/0xf0 [ 41.548595] ? ww_mutex_unlock+0x230/0x2f0 [ 41.552938] ? do_raw_spin_lock+0xcb/0x220 [ 41.557170] reiserfs_fill_super+0x172e/0x2e60 [ 41.561740] ? reiserfs_remount+0x1640/0x1640 [ 41.566230] ? lock_downgrade+0x750/0x750 [ 41.570984] ? snprintf+0xbb/0xf0 [ 41.574419] ? vsprintf+0x30/0x30 [ 41.577859] ? __mutex_add_waiter+0x160/0x160 [ 41.582340] mount_bdev+0x2fc/0x3b0 [ 41.585950] ? reiserfs_remount+0x1640/0x1640 [ 41.590429] mount_fs+0xa3/0x318 [ 41.593783] vfs_kern_mount.part.0+0x68/0x470 [ 41.598261] do_mount+0x51c/0x2f10 [ 41.601797] ? check_preemption_disabled+0x41/0x2b0 [ 41.606805] ? copy_mount_string+0x40/0x40 [ 41.611026] ? kmem_cache_alloc_trace+0x379/0x4b0 [ 41.616130] ? _copy_from_user+0xd2/0x130 [ 41.620276] ? copy_mount_options+0x261/0x370 [ 41.624766] ksys_mount+0xcf/0x130 [ 41.628288] __x64_sys_mount+0xba/0x150 [ 41.632244] ? lockdep_hardirqs_on+0x3c1/0x5e0 [ 41.636836] do_syscall_64+0xf9/0x670 [ 41.640635] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 41.645804] RIP: 0033:0x447d7a [ 41.648997] 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 [ 41.668066] RSP: 002b:00007ffc7fd77f28 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 41.675759] RAX: ffffffffffffffda RBX: 00007ffc7fd77f80 RCX: 0000000000447d7a [ 41.683228] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffc7fd77f40 [ 41.690527] RBP: 00007ffc7fd77f40 R08: 00007ffc7fd77f80 R09: 0000000000000000 [ 41.697783] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000006 [ 41.705045] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 41.712337] [ 41.713943] The buggy address belongs to the page: [ 41.718894] page:ffffea0001f05c80 count:0 mapcount:0 mapping:0000000000000000 index:0x1 [ 41.727044] flags: 0xfffe0000000000() [ 41.730874] raw: 00fffe0000000000 ffffea0001f05cc8 ffff8880ae32fc88 0000000000000000 [ 41.738735] raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 [ 41.746591] page dumped because: kasan: bad access detected [ 41.752299] [ 41.753918] Memory state around the buggy address: [ 41.759435] ffff88807c171f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 41.766774] ffff88807c171f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 41.774114] >ffff88807c172000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 41.781450] ^ [ 41.784800] ffff88807c172080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 41.792138] ffff88807c172100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 41.799471] ================================================================== [ 41.806807] Disabling lock debugging due to kernel taint [ 41.812738] Kernel panic - not syncing: panic_on_warn set ... [ 41.812738] [ 41.820119] CPU: 1 PID: 6500 Comm: syz-executor614 Tainted: G B 4.19.150-syzkaller #0 [ 41.830169] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 41.839544] Call Trace: [ 41.842137] dump_stack+0x22c/0x33e [ 41.845763] panic+0x2ac/0x565 [ 41.848937] ? __warn_printk+0xf3/0xf3 [ 41.852852] ? preempt_schedule_common+0x45/0xc0 [ 41.857596] ? ___preempt_schedule+0x16/0x18 [ 41.861995] ? trace_hardirqs_on+0x55/0x210 [ 41.866299] kasan_end_report+0x43/0x49 [ 41.870256] kasan_report_error.cold+0x83/0xb9 [ 41.874821] ? reiserfs_read_locked_inode+0x216f/0x2220 [ 41.880165] __asan_report_load_n_noabort+0x8b/0xa0 [ 41.887419] ? reiserfs_read_locked_inode+0x216f/0x2220 [ 41.892761] reiserfs_read_locked_inode+0x216f/0x2220 [ 41.897944] ? sd_attrs_to_i_attrs+0x260/0x260 [ 41.902516] ? reiserfs_write_lock+0x75/0xf0 [ 41.906918] ? ww_mutex_unlock+0x230/0x2f0 [ 41.911135] ? do_raw_spin_lock+0xcb/0x220 [ 41.915356] reiserfs_fill_super+0x172e/0x2e60 [ 41.920058] ? reiserfs_remount+0x1640/0x1640 [ 41.924535] ? lock_downgrade+0x750/0x750 [ 41.928664] ? snprintf+0xbb/0xf0 [ 41.932133] ? vsprintf+0x30/0x30 [ 41.935582] ? __mutex_add_waiter+0x160/0x160 [ 41.940065] mount_bdev+0x2fc/0x3b0 [ 41.943682] ? reiserfs_remount+0x1640/0x1640 [ 41.948167] mount_fs+0xa3/0x318 [ 41.951531] vfs_kern_mount.part.0+0x68/0x470 [ 41.956008] do_mount+0x51c/0x2f10 [ 41.959545] ? check_preemption_disabled+0x41/0x2b0 [ 41.964548] ? copy_mount_string+0x40/0x40 [ 41.968790] ? kmem_cache_alloc_trace+0x379/0x4b0 [ 41.973626] ? _copy_from_user+0xd2/0x130 [ 41.977754] ? copy_mount_options+0x261/0x370 [ 41.982228] ksys_mount+0xcf/0x130 [ 41.985761] __x64_sys_mount+0xba/0x150 [ 41.989719] ? lockdep_hardirqs_on+0x3c1/0x5e0 [ 41.994284] do_syscall_64+0xf9/0x670 [ 41.998068] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.003236] RIP: 0033:0x447d7a [ 42.006408] 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 [ 42.025309] RSP: 002b:00007ffc7fd77f28 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 42.033020] RAX: ffffffffffffffda RBX: 00007ffc7fd77f80 RCX: 0000000000447d7a [ 42.040317] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffc7fd77f40 [ 42.047602] RBP: 00007ffc7fd77f40 R08: 00007ffc7fd77f80 R09: 0000000000000000 [ 42.054887] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000006 [ 42.062138] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 42.070472] Kernel Offset: disabled [ 42.074086] Rebooting in 86400 seconds..