Warning: Permanently added '10.128.0.43' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 34.244466] ================================================================== [ 34.251965] BUG: KASAN: slab-out-of-bounds in squashfs_export_iget+0x274/0x2a0 [ 34.259338] Read of size 8 at addr ffff8880a21b0df8 by task syz-executor304/8119 [ 34.266877] [ 34.268515] CPU: 0 PID: 8119 Comm: syz-executor304 Not tainted 4.19.152-syzkaller #0 [ 34.276397] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.285756] Call Trace: [ 34.288354] dump_stack+0x1fc/0x2fe [ 34.291995] print_address_description.cold+0x54/0x219 [ 34.297283] kasan_report_error.cold+0x8a/0x1c7 [ 34.301953] ? squashfs_export_iget+0x274/0x2a0 [ 34.306609] __asan_report_load8_noabort+0x88/0x90 [ 34.311522] ? squashfs_export_iget+0x274/0x2a0 [ 34.316177] squashfs_export_iget+0x274/0x2a0 [ 34.320656] ? squashfs_readdir.cold+0x4c/0x4c [ 34.325219] ? depot_save_stack+0x258/0x40a [ 34.329523] ? __lock_acquire+0x6de/0x3ff0 [ 34.333763] squashfs_fh_to_dentry+0x78/0xb0 [ 34.338169] exportfs_decode_fh+0x126/0x7d8 [ 34.342470] ? drop_caches_sysctl_handler.cold+0x79/0x79 [ 34.347916] ? squashfs_get_parent+0xa0/0xa0 [ 34.352313] ? reconnect_path+0x7e0/0x7e0 [ 34.356448] ? debug_object_active_state+0x104/0x330 [ 34.361540] ? locks_remove_posix+0x2ad/0x5a0 [ 34.366020] ? do_lock_file_wait+0x4c0/0x4c0 [ 34.370410] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 34.374975] ? __might_fault+0x11f/0x1d0 [ 34.379015] ? lock_downgrade+0x720/0x720 [ 34.383148] ? lock_acquire+0x170/0x3c0 [ 34.387106] ? __might_fault+0xef/0x1d0 [ 34.391063] ? __might_fault+0x192/0x1d0 [ 34.395108] do_handle_open+0x2f4/0x650 [ 34.399065] ? do_sys_name_to_handle+0x480/0x480 [ 34.403801] ? fput+0x2b/0x190 [ 34.406977] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.411974] ? do_syscall_64+0x21/0x620 [ 34.415934] do_syscall_64+0xf9/0x620 [ 34.419719] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.424891] RIP: 0033:0x4443d9 [ 34.428066] Code: 8d d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 34.446946] RSP: 002b:00007fff8b4b0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 [ 34.454640] RAX: ffffffffffffffda RBX: 00000000004002e0 RCX: 00000000004443d9 [ 34.461985] RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005 [ 34.469340] RBP: 00000000006cf018 R08: 00007fff00000015 R09: 00000000004002e0 [ 34.476591] R10: 00007fff8b4b0010 R11: 0000000000000246 R12: 0000000000401fc0 [ 34.483838] R13: 0000000000402050 R14: 0000000000000000 R15: 0000000000000000 [ 34.491102] [ 34.492713] Allocated by task 6419: [ 34.496323] kmem_cache_alloc_trace+0x12f/0x380 [ 34.500973] single_open+0x49/0x1e0 [ 34.504582] proc_reg_open+0x1f7/0x5b0 [ 34.508457] do_dentry_open+0x4aa/0x1160 [ 34.512514] path_openat+0x793/0x2df0 [ 34.516300] do_filp_open+0x18c/0x3f0 [ 34.520087] do_sys_open+0x3b3/0x520 [ 34.523785] do_syscall_64+0xf9/0x620 [ 34.527571] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.532737] [ 34.534343] Freed by task 6419: [ 34.537603] kfree+0xcc/0x210 [ 34.540688] single_release+0x8c/0xb0 [ 34.544466] close_pdeo.part.0+0xda/0x2f0 [ 34.548594] proc_reg_release+0x21e/0x270 [ 34.552721] __fput+0x2ce/0x890 [ 34.555981] task_work_run+0x148/0x1c0 [ 34.559847] exit_to_usermode_loop+0x251/0x2a0 [ 34.564410] do_syscall_64+0x538/0x620 [ 34.568280] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.573446] [ 34.575056] The buggy address belongs to the object at ffff8880a21b0dc0 [ 34.575056] which belongs to the cache kmalloc-32 of size 32 [ 34.587554] The buggy address is located 24 bytes to the right of [ 34.587554] 32-byte region [ffff8880a21b0dc0, ffff8880a21b0de0) [ 34.599754] The buggy address belongs to the page: [ 34.604672] page:ffffea0002886c00 count:1 mapcount:0 mapping:ffff88813bff01c0 index:0xffff8880a21b0fc1 [ 34.614104] flags: 0xfff00000000100(slab) [ 34.618237] raw: 00fff00000000100 ffffea0002cb6d48 ffffea0002bbd448 ffff88813bff01c0 [ 34.626098] raw: ffff8880a21b0fc1 ffff8880a21b0000 0000000100000018 0000000000000000 [ 34.633994] page dumped because: kasan: bad access detected [ 34.639687] [ 34.641290] Memory state around the buggy address: [ 34.646199] ffff8880a21b0c80: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 34.653535] ffff8880a21b0d00: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 34.660873] >ffff8880a21b0d80: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 34.668225] ^ [ 34.675480] ffff8880a21b0e00: 00 fc fc fc fc fc fc fc 00 00 fc fc fc fc fc fc [ 34.682818] ffff8880a21b0e80: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 34.690154] ================================================================== [ 34.697488] Disabling lock debugging due to kernel taint [ 34.714363] Kernel panic - not syncing: panic_on_warn set ... [ 34.714363] [ 34.721767] CPU: 1 PID: 8119 Comm: syz-executor304 Tainted: G B 4.19.152-syzkaller #0 [ 34.731035] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.740382] Call Trace: [ 34.742954] dump_stack+0x1fc/0x2fe [ 34.746564] panic+0x26a/0x50e [ 34.749736] ? __warn_printk+0xf3/0xf3 [ 34.753611] ? preempt_schedule_common+0x45/0xc0 [ 34.758347] ? ___preempt_schedule+0x16/0x18 [ 34.762736] ? trace_hardirqs_on+0x55/0x210 [ 34.767091] kasan_end_report+0x43/0x49 [ 34.771049] kasan_report_error.cold+0xa7/0x1c7 [ 34.775710] ? squashfs_export_iget+0x274/0x2a0 [ 34.780357] __asan_report_load8_noabort+0x88/0x90 [ 34.785268] ? squashfs_export_iget+0x274/0x2a0 [ 34.789917] squashfs_export_iget+0x274/0x2a0 [ 34.794394] ? squashfs_readdir.cold+0x4c/0x4c [ 34.798955] ? depot_save_stack+0x258/0x40a [ 34.803258] ? __lock_acquire+0x6de/0x3ff0 [ 34.807474] squashfs_fh_to_dentry+0x78/0xb0 [ 34.811862] exportfs_decode_fh+0x126/0x7d8 [ 34.816168] ? drop_caches_sysctl_handler.cold+0x79/0x79 [ 34.821595] ? squashfs_get_parent+0xa0/0xa0 [ 34.826010] ? reconnect_path+0x7e0/0x7e0 [ 34.830138] ? debug_object_active_state+0x104/0x330 [ 34.835219] ? locks_remove_posix+0x2ad/0x5a0 [ 34.839694] ? do_lock_file_wait+0x4c0/0x4c0 [ 34.844081] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 34.848644] ? __might_fault+0x11f/0x1d0 [ 34.852687] ? lock_downgrade+0x720/0x720 [ 34.856814] ? lock_acquire+0x170/0x3c0 [ 34.860765] ? __might_fault+0xef/0x1d0 [ 34.864762] ? __might_fault+0x192/0x1d0 [ 34.868805] do_handle_open+0x2f4/0x650 [ 34.872758] ? do_sys_name_to_handle+0x480/0x480 [ 34.877492] ? fput+0x2b/0x190 [ 34.880666] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.885662] ? do_syscall_64+0x21/0x620 [ 34.889619] do_syscall_64+0xf9/0x620 [ 34.893399] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.898568] RIP: 0033:0x4443d9 [ 34.901742] Code: 8d d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 34.920619] RSP: 002b:00007fff8b4b0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000130 [ 34.928302] RAX: ffffffffffffffda RBX: 00000000004002e0 RCX: 00000000004443d9 [ 34.935671] RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000005 [ 34.942935] RBP: 00000000006cf018 R08: 00007fff00000015 R09: 00000000004002e0 [ 34.950292] R10: 00007fff8b4b0010 R11: 0000000000000246 R12: 0000000000401fc0 [ 34.957539] R13: 0000000000402050 R14: 0000000000000000 R15: 0000000000000000 [ 34.965407] Kernel Offset: disabled [ 34.969019] Rebooting in 86400 seconds..