Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.2' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 30.986194] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 31.061175] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) executing program executing program [ 31.140692] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 31.210954] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 31.240553] ================================================================== [ 31.248032] BUG: KASAN: slab-out-of-bounds in udf_close_lvid+0x67c/0x770 [ 31.254868] Write of size 1 at addr ffff8880aa4f1790 by task syz-executor102/8090 [ 31.262473] [ 31.264096] CPU: 1 PID: 8090 Comm: syz-executor102 Not tainted 4.19.211-syzkaller #0 [ 31.271961] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 [ 31.281296] Call Trace: [ 31.283865] dump_stack+0x1fc/0x2ef [ 31.287476] print_address_description.cold+0x54/0x219 [ 31.292730] kasan_report_error.cold+0x8a/0x1b9 [ 31.297386] ? udf_close_lvid+0x67c/0x770 [ 31.301514] __asan_report_store1_noabort+0x88/0x90 [ 31.306524] ? udf_close_lvid+0x67c/0x770 [ 31.310648] udf_close_lvid+0x67c/0x770 [ 31.314594] ? evict_inodes+0x341/0x430 [ 31.318540] ? udf_open_lvid+0x4f0/0x4f0 [ 31.322577] ? dispose_list+0x1f0/0x1f0 [ 31.326543] ? iput+0x16/0x860 [ 31.329718] udf_put_super+0x217/0x290 [ 31.333581] ? udf_sb_free_partitions.isra.0+0xba0/0xba0 [ 31.339006] generic_shutdown_super+0x144/0x370 [ 31.343650] kill_block_super+0x97/0xf0 [ 31.347601] deactivate_locked_super+0x94/0x160 [ 31.352263] deactivate_super+0x174/0x1a0 [ 31.356394] ? deactivate_locked_super+0x160/0x160 [ 31.361316] ? dput+0x31/0x640 [ 31.364577] cleanup_mnt+0x1a8/0x290 [ 31.368271] task_work_run+0x148/0x1c0 [ 31.372158] exit_to_usermode_loop+0x251/0x2a0 [ 31.376722] do_syscall_64+0x538/0x620 [ 31.380586] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 31.385754] RIP: 0033:0x7f365b81df17 [ 31.389447] Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 31.408333] RSP: 002b:00007fff9a737828 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 31.416023] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f365b81df17 [ 31.423267] RDX: 00007fff9a7378e9 RSI: 000000000000000a RDI: 00007fff9a7378e0 [ 31.430606] RBP: 00007fff9a7378e0 R08: 00000000ffffffff R09: 00007fff9a7376c0 [ 31.437852] R10: 0000555555e88683 R11: 0000000000000206 R12: 00007fff9a738950 [ 31.445096] R13: 0000555555e885f0 R14: 00007fff9a737850 R15: 0000000000000004 [ 31.452382] [ 31.453985] Allocated by task 6328: [ 31.457589] kmem_cache_alloc+0x122/0x370 [ 31.461715] getname_flags+0xce/0x590 [ 31.465492] user_path_at_empty+0x2a/0x50 [ 31.469612] vfs_statx+0x113/0x210 [ 31.473127] __se_sys_newlstat+0x96/0x120 [ 31.477250] do_syscall_64+0xf9/0x620 [ 31.481028] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 31.486195] [ 31.487795] Freed by task 6328: [ 31.491045] kmem_cache_free+0x7f/0x260 [ 31.494994] putname+0xe1/0x120 [ 31.498262] filename_lookup+0x3d0/0x5a0 [ 31.502315] vfs_statx+0x113/0x210 [ 31.505957] __se_sys_newlstat+0x96/0x120 [ 31.510080] do_syscall_64+0xf9/0x620 [ 31.513859] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 31.519019] [ 31.520633] The buggy address belongs to the object at ffff8880aa4f0400 [ 31.520633] which belongs to the cache names_cache of size 4096 [ 31.533352] The buggy address is located 912 bytes to the right of [ 31.533352] 4096-byte region [ffff8880aa4f0400, ffff8880aa4f1400) [ 31.545817] The buggy address belongs to the page: [ 31.550721] page:ffffea0002a93c00 count:1 mapcount:0 mapping:ffff88823b843380 index:0x0 compound_mapcount: 0 [ 31.560668] flags: 0xfff00000008100(slab|head) [ 31.565226] raw: 00fff00000008100 ffffea0002a48a88 ffffea0002a93c88 ffff88823b843380 [ 31.573081] raw: 0000000000000000 ffff8880aa4f0400 0000000100000001 0000000000000000 [ 31.580932] page dumped because: kasan: bad access detected [ 31.586616] [ 31.588218] Memory state around the buggy address: [ 31.593121] ffff8880aa4f1680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.600453] ffff8880aa4f1700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.607786] >ffff8880aa4f1780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.615117] ^ [ 31.618975] ffff8880aa4f1800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.626313] ffff8880aa4f1880: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 31.633674] ================================================================== [ 31.641006] Disabling lock debugging due to kernel taint [ 31.652241] Kernel panic - not syncing: panic_on_warn set ... [ 31.652241] [ 31.659609] CPU: 0 PID: 8090 Comm: syz-executor102 Tainted: G B 4.19.211-syzkaller #0 [ 31.668861] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 [ 31.678187] Call Trace: [ 31.680750] dump_stack+0x1fc/0x2ef [ 31.684364] panic+0x26a/0x50e [ 31.687558] ? __warn_printk+0xf3/0xf3 [ 31.691425] ? preempt_schedule_common+0x45/0xc0 [ 31.696161] ? ___preempt_schedule+0x16/0x18 [ 31.700550] ? trace_hardirqs_on+0x55/0x210 [ 31.704846] kasan_end_report+0x43/0x49 [ 31.708794] kasan_report_error.cold+0xa7/0x1b9 [ 31.713455] ? udf_close_lvid+0x67c/0x770 [ 31.717591] __asan_report_store1_noabort+0x88/0x90 [ 31.722582] ? udf_close_lvid+0x67c/0x770 [ 31.726703] udf_close_lvid+0x67c/0x770 [ 31.730656] ? evict_inodes+0x341/0x430 [ 31.734606] ? udf_open_lvid+0x4f0/0x4f0 [ 31.738651] ? dispose_list+0x1f0/0x1f0 [ 31.742596] ? iput+0x16/0x860 [ 31.745761] udf_put_super+0x217/0x290 [ 31.749620] ? udf_sb_free_partitions.isra.0+0xba0/0xba0 [ 31.755044] generic_shutdown_super+0x144/0x370 [ 31.759685] kill_block_super+0x97/0xf0 [ 31.763635] deactivate_locked_super+0x94/0x160 [ 31.768278] deactivate_super+0x174/0x1a0 [ 31.772404] ? deactivate_locked_super+0x160/0x160 [ 31.777324] ? dput+0x31/0x640 [ 31.780502] cleanup_mnt+0x1a8/0x290 [ 31.784194] task_work_run+0x148/0x1c0 [ 31.788062] exit_to_usermode_loop+0x251/0x2a0 [ 31.792632] do_syscall_64+0x538/0x620 [ 31.796508] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 31.801682] RIP: 0033:0x7f365b81df17 [ 31.805383] Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 31.824371] RSP: 002b:00007fff9a737828 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 31.832060] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f365b81df17 [ 31.839323] RDX: 00007fff9a7378e9 RSI: 000000000000000a RDI: 00007fff9a7378e0 [ 31.846589] RBP: 00007fff9a7378e0 R08: 00000000ffffffff R09: 00007fff9a7376c0 [ 31.853859] R10: 0000555555e88683 R11: 0000000000000206 R12: 00007fff9a738950 [ 31.861106] R13: 0000555555e885f0 R14: 00007fff9a737850 R15: 0000000000000004 [ 31.868628] Kernel Offset: disabled [ 31.872273] Rebooting in 86400 seconds..