[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.219' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 41.248975] audit: type=1400 audit(1600976756.529:8): avc: denied { execmem } for pid=6496 comm="syz-executor121" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 41.279984] REISERFS (device loop0): found reiserfs format "3.5" with standard journal [ 41.288483] REISERFS (device loop0): using ordered data mode [ 41.294378] reiserfs: using flush barriers [ 41.300487] 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 [ 41.319121] REISERFS (device loop0): checking transaction log (loop0) [ 42.103387] ================================================================== [ 42.110904] BUG: KASAN: use-after-free in reiserfs_read_locked_inode+0x216f/0x2220 [ 42.118604] Read of size 4 at addr ffff88807c2e4000 by task syz-executor121/6497 [ 42.126115] [ 42.127742] CPU: 1 PID: 6497 Comm: syz-executor121 Not tainted 4.19.147-syzkaller #0 [ 42.135662] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.145538] Call Trace: [ 42.148121] dump_stack+0x22c/0x33e [ 42.151771] print_address_description.cold+0x56/0x25c [ 42.157058] kasan_report_error.cold+0x66/0xb9 [ 42.161652] ? reiserfs_read_locked_inode+0x216f/0x2220 [ 42.167017] __asan_report_load_n_noabort+0x8b/0xa0 [ 42.172023] ? reiserfs_read_locked_inode+0x216f/0x2220 [ 42.177394] reiserfs_read_locked_inode+0x216f/0x2220 [ 42.182590] ? sd_attrs_to_i_attrs+0x260/0x260 [ 42.187431] ? reiserfs_write_lock+0x75/0xf0 [ 42.191851] ? ww_mutex_unlock+0x220/0x2f0 [ 42.196272] ? do_raw_spin_lock+0xcb/0x220 [ 42.200509] reiserfs_fill_super+0x172e/0x2e60 [ 42.205234] ? reiserfs_remount+0x1640/0x1640 [ 42.209743] ? lock_downgrade+0x750/0x750 [ 42.214103] ? snprintf+0xbb/0xf0 [ 42.217545] ? vsprintf+0x30/0x30 [ 42.220986] ? __mutex_add_waiter+0x160/0x160 [ 42.225481] mount_bdev+0x2fc/0x3b0 [ 42.229346] ? reiserfs_remount+0x1640/0x1640 [ 42.233861] mount_fs+0xa3/0x318 [ 42.237256] vfs_kern_mount.part.0+0x68/0x470 [ 42.241759] do_mount+0x51c/0x2f10 [ 42.245302] ? __do_page_fault+0x1ca/0xe00 [ 42.249542] ? copy_mount_string+0x40/0x40 [ 42.253882] ? copy_mount_options+0x1c3/0x370 [ 42.258375] ? copy_mount_options+0x1d0/0x370 [ 42.262856] ? memset+0x20/0x40 [ 42.266334] ? copy_mount_options+0x261/0x370 [ 42.270936] ksys_mount+0xcf/0x130 [ 42.274509] __x64_sys_mount+0xba/0x150 [ 42.278502] ? lockdep_hardirqs_on+0x3c1/0x5e0 [ 42.283186] do_syscall_64+0xf9/0x670 [ 42.286983] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.292159] RIP: 0033:0x447d7a [ 42.295338] 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.314222] RSP: 002b:00007ffed15f11d8 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 42.321927] RAX: ffffffffffffffda RBX: 00007ffed15f1230 RCX: 0000000000447d7a [ 42.329280] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffed15f11f0 [ 42.336647] RBP: 00007ffed15f11f0 R08: 00007ffed15f1230 R09: 0000000000000000 [ 42.344033] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000006 [ 42.351314] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 42.358639] [ 42.360472] The buggy address belongs to the page: [ 42.365435] page:ffffea0001f0b900 count:0 mapcount:0 mapping:0000000000000000 index:0x1 [ 42.373566] flags: 0xfffe0000000000() [ 42.377378] raw: 00fffe0000000000 ffffea0001f0b948 ffff8880ae32fc88 0000000000000000 [ 42.385411] raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 [ 42.393363] page dumped because: kasan: bad access detected [ 42.399132] [ 42.400778] Memory state around the buggy address: [ 42.405702] ffff88807c2e3f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.413140] ffff88807c2e3f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 42.420507] >ffff88807c2e4000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 42.428145] ^ [ 42.431591] ffff88807c2e4080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 42.438949] ffff88807c2e4100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 42.446296] ================================================================== [ 42.453649] Disabling lock debugging due to kernel taint [ 42.465696] Kernel panic - not syncing: panic_on_warn set ... [ 42.465696] [ 42.473091] CPU: 0 PID: 6497 Comm: syz-executor121 Tainted: G B 4.19.147-syzkaller #0 [ 42.482357] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.491849] Call Trace: [ 42.494425] dump_stack+0x22c/0x33e [ 42.498105] panic+0x2ac/0x565 [ 42.501297] ? __warn_printk+0xf3/0xf3 [ 42.505241] ? preempt_schedule_common+0x45/0xc0 [ 42.509981] ? ___preempt_schedule+0x16/0x18 [ 42.514552] ? trace_hardirqs_on+0x55/0x210 [ 42.518893] kasan_end_report+0x43/0x49 [ 42.522891] kasan_report_error.cold+0x83/0xb9 [ 42.527472] ? reiserfs_read_locked_inode+0x216f/0x2220 [ 42.532833] __asan_report_load_n_noabort+0x8b/0xa0 [ 42.537843] ? reiserfs_read_locked_inode+0x216f/0x2220 [ 42.543303] reiserfs_read_locked_inode+0x216f/0x2220 [ 42.548478] ? sd_attrs_to_i_attrs+0x260/0x260 [ 42.553065] ? reiserfs_write_lock+0x75/0xf0 [ 42.557563] ? ww_mutex_unlock+0x220/0x2f0 [ 42.561801] ? do_raw_spin_lock+0xcb/0x220 [ 42.566039] reiserfs_fill_super+0x172e/0x2e60 [ 42.570612] ? reiserfs_remount+0x1640/0x1640 [ 42.575205] ? lock_downgrade+0x750/0x750 [ 42.579334] ? snprintf+0xbb/0xf0 [ 42.582766] ? vsprintf+0x30/0x30 [ 42.586201] ? __mutex_add_waiter+0x160/0x160 [ 42.590705] mount_bdev+0x2fc/0x3b0 [ 42.594401] ? reiserfs_remount+0x1640/0x1640 [ 42.599003] mount_fs+0xa3/0x318 [ 42.602379] vfs_kern_mount.part.0+0x68/0x470 [ 42.606872] do_mount+0x51c/0x2f10 [ 42.610420] ? __do_page_fault+0x1ca/0xe00 [ 42.614646] ? copy_mount_string+0x40/0x40 [ 42.618881] ? copy_mount_options+0x1c3/0x370 [ 42.623575] ? copy_mount_options+0x1d0/0x370 [ 42.628259] ? memset+0x20/0x40 [ 42.631519] ? copy_mount_options+0x261/0x370 [ 42.636003] ksys_mount+0xcf/0x130 [ 42.639523] __x64_sys_mount+0xba/0x150 [ 42.643509] ? lockdep_hardirqs_on+0x3c1/0x5e0 [ 42.648113] do_syscall_64+0xf9/0x670 [ 42.651911] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 42.657225] RIP: 0033:0x447d7a [ 42.660407] 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.679560] RSP: 002b:00007ffed15f11d8 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 42.687257] RAX: ffffffffffffffda RBX: 00007ffed15f1230 RCX: 0000000000447d7a [ 42.694539] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffed15f11f0 [ 42.701808] RBP: 00007ffed15f11f0 R08: 00007ffed15f1230 R09: 0000000000000000 [ 42.709076] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000006 [ 42.716345] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 42.725136] Kernel Offset: disabled [ 42.728833] Rebooting in 86400 seconds..