[ 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.1.20' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 41.013838] audit: type=1400 audit(1602007472.326:8): avc: denied { execmem } for pid=6500 comm="syz-executor536" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 41.045803] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 41.056720] REISERFS (device loop0): using ordered data mode [ 41.064237] reiserfs: using flush barriers [ 41.070554] REISERFS (device loop0): journal params: device loop0, size 15748, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 [ 41.090465] REISERFS (device loop0): checking transaction log (loop0) [ 42.771527] REISERFS (device loop0): Using r5 hash to sort names [ 42.778036] REISERFS (device loop0): using 3.5.x disk format [ 42.784207] ================================================================== [ 42.791651] BUG: KASAN: use-after-free in search_by_entry_key+0xcf4/0xf50 [ 42.798570] Read of size 4 at addr ffff8880786f97bd by task syz-executor536/6501 [ 42.806090] [ 42.807717] CPU: 1 PID: 6501 Comm: syz-executor536 Not tainted 4.19.149-syzkaller #0 [ 42.815597] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 42.825220] Call Trace: [ 42.827809] dump_stack+0x22c/0x33e [ 42.831437] print_address_description.cold+0x56/0x25c [ 42.836712] kasan_report_error.cold+0x66/0xb9 [ 42.841466] ? search_by_entry_key+0xcf4/0xf50 [ 42.847339] __asan_report_load_n_noabort+0x8b/0xa0 [ 42.852382] ? search_by_entry_key+0xcf4/0xf50 [ 42.856990] search_by_entry_key+0xcf4/0xf50 [ 42.861411] reiserfs_find_entry.part.0+0x143/0x1400 [ 42.866552] ? reiserfs_write_lock+0x75/0xf0 [ 42.870969] ? find_held_lock+0x2d/0x110 [ 42.875041] ? find_held_lock+0x2d/0x110 [ 42.879529] ? search_by_entry_key+0xf50/0xf50 [ 42.884133] ? lock_downgrade+0x750/0x750 [ 42.888295] reiserfs_lookup+0x24a/0x490 [ 42.892345] ? reiserfs_unlink+0x760/0x760 [ 42.897064] ? mark_held_locks+0xf0/0xf0 [ 42.901753] ? __lockdep_init_map+0x100/0x5c0 [ 42.906242] ? __lockdep_init_map+0x100/0x5c0 [ 42.910895] __lookup_slow+0x246/0x4a0 [ 42.914795] ? legitimize_path+0x200/0x200 [ 42.920106] ? check_preemption_disabled+0x41/0x2b0 [ 42.925118] ? __d_lookup+0x489/0x790 [ 42.928924] ? d_lookup+0x18e/0x280 [ 42.932555] lookup_one_len+0x163/0x190 [ 42.936532] ? try_lookup_one_len+0x180/0x180 [ 42.941075] reiserfs_lookup_privroot+0x92/0x280 [ 42.945858] reiserfs_fill_super+0x21e8/0x2e60 [ 42.950475] ? reiserfs_remount+0x1640/0x1640 [ 42.955000] ? lock_downgrade+0x750/0x750 [ 42.959227] ? snprintf+0xbb/0xf0 [ 42.962687] ? __mutex_add_waiter+0x160/0x160 [ 42.967192] mount_bdev+0x2fc/0x3b0 [ 42.970831] ? reiserfs_remount+0x1640/0x1640 [ 42.975350] mount_fs+0xa3/0x318 [ 42.978713] vfs_kern_mount.part.0+0x68/0x470 [ 42.983208] do_mount+0x51c/0x2f10 [ 42.986773] ? __do_page_fault+0x1ca/0xe00 [ 42.991024] ? copy_mount_string+0x40/0x40 [ 42.995255] ? copy_mount_options+0x1c3/0x370 [ 42.999763] ? copy_mount_options+0x1d0/0x370 [ 43.004272] ? memset+0x20/0x40 [ 43.007555] ? copy_mount_options+0x261/0x370 [ 43.012052] ksys_mount+0xcf/0x130 [ 43.015595] __x64_sys_mount+0xba/0x150 [ 43.019567] ? lockdep_hardirqs_on+0x3c1/0x5e0 [ 43.024144] do_syscall_64+0xf9/0x670 [ 43.027944] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.033152] RIP: 0033:0x447d9a [ 43.036334] 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 [ 43.055434] RSP: 002b:00007ffe22e07138 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 43.063148] RAX: ffffffffffffffda RBX: 00007ffe22e07190 RCX: 0000000000447d9a [ 43.070431] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffe22e07150 [ 43.077721] RBP: 00007ffe22e07150 R08: 00007ffe22e07190 R09: 0000000000000000 [ 43.085076] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000006 [ 43.092575] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 43.099863] [ 43.101489] The buggy address belongs to the page: [ 43.106600] page:ffffea0001e1be40 count:0 mapcount:0 mapping:0000000000000000 index:0x1 [ 43.114969] flags: 0xfffe0000000000() [ 43.118770] raw: 00fffe0000000000 ffffea0001e1be88 ffffea0001e1be08 0000000000000000 [ 43.126835] raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 [ 43.134709] page dumped because: kasan: bad access detected [ 43.140407] [ 43.142032] Memory state around the buggy address: [ 43.147320] ffff8880786f9680: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 43.154677] ffff8880786f9700: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 43.162043] >ffff8880786f9780: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 43.169427] ^ [ 43.174607] ffff8880786f9800: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 43.181986] ffff8880786f9880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 43.189346] ================================================================== [ 43.196707] Disabling lock debugging due to kernel taint [ 43.203459] Kernel panic - not syncing: panic_on_warn set ... [ 43.203459] [ 43.210856] CPU: 1 PID: 6501 Comm: syz-executor536 Tainted: G B 4.19.149-syzkaller #0 [ 43.220133] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 43.229495] Call Trace: [ 43.232092] dump_stack+0x22c/0x33e [ 43.235743] panic+0x2ac/0x565 [ 43.239065] ? __warn_printk+0xf3/0xf3 [ 43.242968] ? preempt_schedule_common+0x45/0xc0 [ 43.247738] ? ___preempt_schedule+0x16/0x18 [ 43.252159] ? trace_hardirqs_on+0x55/0x210 [ 43.256484] kasan_end_report+0x43/0x49 [ 43.260461] kasan_report_error.cold+0x83/0xb9 [ 43.265028] ? search_by_entry_key+0xcf4/0xf50 [ 43.269637] __asan_report_load_n_noabort+0x8b/0xa0 [ 43.274732] ? search_by_entry_key+0xcf4/0xf50 [ 43.279317] search_by_entry_key+0xcf4/0xf50 [ 43.283717] reiserfs_find_entry.part.0+0x143/0x1400 [ 43.288839] ? reiserfs_write_lock+0x75/0xf0 [ 43.293274] ? find_held_lock+0x2d/0x110 [ 43.297384] ? find_held_lock+0x2d/0x110 [ 43.301560] ? search_by_entry_key+0xf50/0xf50 [ 43.306164] ? lock_downgrade+0x750/0x750 [ 43.310384] reiserfs_lookup+0x24a/0x490 [ 43.314552] ? reiserfs_unlink+0x760/0x760 [ 43.318785] ? mark_held_locks+0xf0/0xf0 [ 43.322893] ? __lockdep_init_map+0x100/0x5c0 [ 43.327464] ? __lockdep_init_map+0x100/0x5c0 [ 43.331957] __lookup_slow+0x246/0x4a0 [ 43.336018] ? legitimize_path+0x200/0x200 [ 43.340247] ? check_preemption_disabled+0x41/0x2b0 [ 43.345261] ? __d_lookup+0x489/0x790 [ 43.349143] ? d_lookup+0x18e/0x280 [ 43.352765] lookup_one_len+0x163/0x190 [ 43.356732] ? try_lookup_one_len+0x180/0x180 [ 43.361223] reiserfs_lookup_privroot+0x92/0x280 [ 43.366019] reiserfs_fill_super+0x21e8/0x2e60 [ 43.370610] ? reiserfs_remount+0x1640/0x1640 [ 43.375102] ? lock_downgrade+0x750/0x750 [ 43.379242] ? snprintf+0xbb/0xf0 [ 43.382681] ? __mutex_add_waiter+0x160/0x160 [ 43.387190] mount_bdev+0x2fc/0x3b0 [ 43.390804] ? reiserfs_remount+0x1640/0x1640 [ 43.395287] mount_fs+0xa3/0x318 [ 43.398640] vfs_kern_mount.part.0+0x68/0x470 [ 43.403119] do_mount+0x51c/0x2f10 [ 43.406643] ? __do_page_fault+0x1ca/0xe00 [ 43.410862] ? copy_mount_string+0x40/0x40 [ 43.415078] ? copy_mount_options+0x1c3/0x370 [ 43.419555] ? copy_mount_options+0x1d0/0x370 [ 43.424031] ? memset+0x20/0x40 [ 43.427293] ? copy_mount_options+0x261/0x370 [ 43.431775] ksys_mount+0xcf/0x130 [ 43.435310] __x64_sys_mount+0xba/0x150 [ 43.439361] ? lockdep_hardirqs_on+0x3c1/0x5e0 [ 43.444027] do_syscall_64+0xf9/0x670 [ 43.447836] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 43.453183] RIP: 0033:0x447d9a [ 43.456368] 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 [ 43.475260] RSP: 002b:00007ffe22e07138 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5 [ 43.482960] RAX: ffffffffffffffda RBX: 00007ffe22e07190 RCX: 0000000000447d9a [ 43.490234] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffe22e07150 [ 43.497617] RBP: 00007ffe22e07150 R08: 00007ffe22e07190 R09: 0000000000000000 [ 43.504886] R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000006 [ 43.512163] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 43.520709] Kernel Offset: disabled [ 43.524345] Rebooting in 86400 seconds..