[ 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.64' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 551.022899] ================================================================== [ 551.030375] BUG: KASAN: use-after-free in dbNextAG+0x2ff/0x370 [ 551.036338] Read of size 4 at addr ffff8880b5724798 by task syz-executor141/7973 [ 551.043842] [ 551.045448] CPU: 1 PID: 7973 Comm: syz-executor141 Not tainted 4.14.295-syzkaller #0 [ 551.053308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 [ 551.062640] Call Trace: [ 551.065240] dump_stack+0x1b2/0x281 [ 551.068854] print_address_description.cold+0x54/0x1d3 [ 551.074107] kasan_report_error.cold+0x8a/0x191 [ 551.078793] ? dbNextAG+0x2ff/0x370 [ 551.082396] __asan_report_load4_noabort+0x68/0x70 [ 551.087301] ? dbNextAG+0x2ff/0x370 [ 551.090900] dbNextAG+0x2ff/0x370 [ 551.094332] diAlloc+0x87a/0x1230 [ 551.097764] ? do_raw_spin_unlock+0x164/0x220 [ 551.102236] ialloc+0x7b/0x940 [ 551.105408] jfs_mkdir.part.0+0xfd/0x7e0 [ 551.109451] ? lock_acquire+0x170/0x3f0 [ 551.113406] ? lock_downgrade+0x740/0x740 [ 551.117767] ? jfs_mknod+0x60/0x60 [ 551.121459] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 551.126539] ? debug_check_no_obj_freed+0x2c0/0x680 [ 551.131527] ? lock_acquire+0x170/0x3f0 [ 551.136516] ? lock_downgrade+0x740/0x740 [ 551.140637] ? __dquot_initialize+0x228/0xa70 [ 551.145126] ? common_perm+0x3b9/0x560 [ 551.148986] ? dquot_initialize_needed+0x240/0x240 [ 551.153887] ? map_id_up+0xe9/0x180 [ 551.157492] ? security_inode_permission+0xb5/0xf0 [ 551.162396] jfs_mkdir+0x35/0x50 [ 551.165741] vfs_mkdir+0x463/0x6e0 [ 551.169255] SyS_mkdirat+0x1fd/0x270 [ 551.172998] ? SyS_mknod+0x30/0x30 [ 551.176517] ? __close_fd+0x159/0x230 [ 551.180292] ? do_syscall_64+0x4c/0x640 [ 551.184245] ? SyS_mknod+0x30/0x30 [ 551.187759] do_syscall_64+0x1d5/0x640 [ 551.191623] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 551.196797] RIP: 0033:0x7f591db2b009 [ 551.200482] RSP: 002b:00007fff29984658 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 551.208163] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f591db2b009 [ 551.215410] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 551.222677] RBP: 00007f591daea870 R08: 0000000000000000 R09: 00007f591daea870 [ 551.229939] R10: 0000555555b8c2c0 R11: 0000000000000246 R12: 0000000000000000 [ 551.237185] R13: 0000000000000000 R14: 00080000000000f4 R15: 0000000000000000 [ 551.244432] [ 551.246047] Allocated by task 1: [ 551.249387] kasan_kmalloc+0xeb/0x160 [ 551.253166] kmem_cache_alloc+0x124/0x3c0 [ 551.257285] getname_flags+0xc8/0x550 [ 551.261059] do_sys_open+0x1ce/0x410 [ 551.264750] do_syscall_64+0x1d5/0x640 [ 551.268611] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 551.273769] [ 551.275370] Freed by task 1: [ 551.278359] kasan_slab_free+0xc3/0x1a0 [ 551.282306] kmem_cache_free+0x7c/0x2b0 [ 551.286252] putname+0xcd/0x110 [ 551.289504] do_sys_open+0x203/0x410 [ 551.293238] do_syscall_64+0x1d5/0x640 [ 551.297165] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 551.302417] [ 551.304020] The buggy address belongs to the object at ffff8880b57243c0 [ 551.304020] which belongs to the cache names_cache of size 4096 [ 551.316733] The buggy address is located 984 bytes inside of [ 551.316733] 4096-byte region [ffff8880b57243c0, ffff8880b57253c0) [ 551.328664] The buggy address belongs to the page: [ 551.333568] page:ffffea0002d5c900 count:1 mapcount:0 mapping:ffff8880b57243c0 index:0x0 compound_mapcount: 0 [ 551.343510] flags: 0xfff00000008100(slab|head) [ 551.348073] raw: 00fff00000008100 ffff8880b57243c0 0000000000000000 0000000100000001 [ 551.355930] raw: ffffea0002d5ad20 ffffea0002d41620 ffff88823f8c1200 0000000000000000 [ 551.363800] page dumped because: kasan: bad access detected [ 551.369483] [ 551.371176] Memory state around the buggy address: [ 551.376083] ffff8880b5724680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 551.383417] ffff8880b5724700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 551.390750] >ffff8880b5724780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 551.398164] ^ [ 551.402304] ffff8880b5724800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 551.409637] ffff8880b5724880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 551.416967] ================================================================== [ 551.424299] Disabling lock debugging due to kernel taint [ 551.440632] Kernel panic - not syncing: panic_on_warn set ... [ 551.440632] [ 551.447995] CPU: 1 PID: 7973 Comm: syz-executor141 Tainted: G B 4.14.295-syzkaller #0 [ 551.457075] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 [ 551.466492] Call Trace: [ 551.469057] dump_stack+0x1b2/0x281 [ 551.472661] panic+0x1f9/0x42d [ 551.475826] ? add_taint.cold+0x16/0x16 [ 551.479774] ? ___preempt_schedule+0x16/0x18 [ 551.484160] kasan_end_report+0x43/0x49 [ 551.488112] kasan_report_error.cold+0xa7/0x191 [ 551.492756] ? dbNextAG+0x2ff/0x370 [ 551.496356] __asan_report_load4_noabort+0x68/0x70 [ 551.501345] ? dbNextAG+0x2ff/0x370 [ 551.504943] dbNextAG+0x2ff/0x370 [ 551.508369] diAlloc+0x87a/0x1230 [ 551.511795] ? do_raw_spin_unlock+0x164/0x220 [ 551.516281] ialloc+0x7b/0x940 [ 551.519446] jfs_mkdir.part.0+0xfd/0x7e0 [ 551.523480] ? lock_acquire+0x170/0x3f0 [ 551.527441] ? lock_downgrade+0x740/0x740 [ 551.531561] ? jfs_mknod+0x60/0x60 [ 551.535075] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 551.540151] ? debug_check_no_obj_freed+0x2c0/0x680 [ 551.545147] ? lock_acquire+0x170/0x3f0 [ 551.549090] ? lock_downgrade+0x740/0x740 [ 551.553211] ? __dquot_initialize+0x228/0xa70 [ 551.557692] ? common_perm+0x3b9/0x560 [ 551.561553] ? dquot_initialize_needed+0x240/0x240 [ 551.566460] ? map_id_up+0xe9/0x180 [ 551.570060] ? security_inode_permission+0xb5/0xf0 [ 551.574968] jfs_mkdir+0x35/0x50 [ 551.578309] vfs_mkdir+0x463/0x6e0 [ 551.581824] SyS_mkdirat+0x1fd/0x270 [ 551.585509] ? SyS_mknod+0x30/0x30 [ 551.589020] ? __close_fd+0x159/0x230 [ 551.592791] ? do_syscall_64+0x4c/0x640 [ 551.596744] ? SyS_mknod+0x30/0x30 [ 551.600261] do_syscall_64+0x1d5/0x640 [ 551.604129] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 551.609288] RIP: 0033:0x7f591db2b009 [ 551.612972] RSP: 002b:00007fff29984658 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 551.620817] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f591db2b009 [ 551.628065] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 [ 551.635308] RBP: 00007f591daea870 R08: 0000000000000000 R09: 00007f591daea870 [ 551.642549] R10: 0000555555b8c2c0 R11: 0000000000000246 R12: 0000000000000000 [ 551.649789] R13: 0000000000000000 R14: 00080000000000f4 R15: 0000000000000000 [ 551.657250] Kernel Offset: disabled [ 551.660854] Rebooting in 86400 seconds..