[ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.212' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 1257.843138] ================================================================== [ 1257.850610] BUG: KASAN: slab-out-of-bounds in udf_find_entry+0xa33/0x1070 [ 1257.857521] Write of size 165 at addr ffff8880b3d669da by task syz-executor416/14271 [ 1257.865385] [ 1257.866999] CPU: 0 PID: 14271 Comm: syz-executor416 Not tainted 4.19.211-syzkaller #0 [ 1257.874964] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 [ 1257.884308] Call Trace: [ 1257.886881] dump_stack+0x1fc/0x2ef [ 1257.890502] print_address_description.cold+0x54/0x219 [ 1257.895765] kasan_report_error.cold+0x8a/0x1b9 [ 1257.900417] ? udf_find_entry+0xa33/0x1070 [ 1257.904628] kasan_report+0x8f/0xa0 [ 1257.908235] ? rcu_read_lock_sched_held+0xa1/0x1d0 [ 1257.913145] ? udf_find_entry+0xa33/0x1070 [ 1257.917373] memcpy+0x35/0x50 [ 1257.920459] udf_find_entry+0xa33/0x1070 [ 1257.924510] ? empty_dir+0x7e0/0x7e0 [ 1257.928217] ? __d_lookup_rcu+0x382/0x6b0 [ 1257.932380] ? check_preemption_disabled+0x41/0x280 [ 1257.937382] ? d_alloc_parallel+0x954/0x19e0 [ 1257.941784] udf_lookup+0x156/0x270 [ 1257.945397] ? udf_tmpfile+0x190/0x190 [ 1257.949272] ? __d_lookup_rcu+0x6b0/0x6b0 [ 1257.953409] ? __lockdep_init_map+0x100/0x5a0 [ 1257.957888] ? __lockdep_init_map+0x100/0x5a0 [ 1257.962397] __lookup_slow+0x246/0x4a0 [ 1257.966276] ? follow_dotdot_rcu+0x1040/0x1040 [ 1257.970848] ? lookup_fast+0x4e9/0x1080 [ 1257.974808] ? walk_component+0x798/0xda0 [ 1257.978944] walk_component+0x7ac/0xda0 [ 1257.982909] ? lookup_fast+0x1080/0x1080 [ 1257.986954] ? capable_wrt_inode_uidgid+0x1d2/0x220 [ 1257.991954] ? generic_permission+0x116/0x4d0 [ 1257.996439] ? security_inode_permission+0xc5/0xf0 [ 1258.001360] ? inode_permission.part.0+0x10c/0x450 [ 1258.006277] link_path_walk.part.0+0x901/0x1230 [ 1258.011024] ? walk_component+0xda0/0xda0 [ 1258.015155] path_openat+0x1db/0x2df0 [ 1258.018945] ? path_lookupat+0x8d0/0x8d0 [ 1258.022989] ? mark_held_locks+0xf0/0xf0 [ 1258.027033] ? check_preemption_disabled+0x41/0x280 [ 1258.032031] do_filp_open+0x18c/0x3f0 [ 1258.035811] ? may_open_dev+0xf0/0xf0 [ 1258.039597] ? lock_downgrade+0x720/0x720 [ 1258.043724] ? lock_acquire+0x170/0x3c0 [ 1258.047678] ? __alloc_fd+0x34/0x570 [ 1258.051385] ? do_raw_spin_unlock+0x171/0x230 [ 1258.055860] ? _raw_spin_unlock+0x29/0x40 [ 1258.059988] ? __alloc_fd+0x28d/0x570 [ 1258.063775] do_sys_open+0x3b3/0x520 [ 1258.067473] ? filp_open+0x70/0x70 [ 1258.070996] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 1258.076342] ? trace_hardirqs_off_caller+0x6e/0x210 [ 1258.081339] ? do_syscall_64+0x21/0x620 [ 1258.085293] do_syscall_64+0xf9/0x620 [ 1258.089075] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1258.094245] RIP: 0033:0x7f0552d85999 [ 1258.097943] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 1258.116832] RSP: 002b:00007f0552d2e208 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 1258.124547] RAX: ffffffffffffffda RBX: 00007f0552e0b4c8 RCX: 00007f0552d85999 [ 1258.131798] RDX: 000000000000275a RSI: 0000000020000140 RDI: 00000000ffffff9c [ 1258.139050] RBP: 00007f0552e0b4c0 R08: 00007f0552e0b4c0 R09: 0000000000000000 [ 1258.146308] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0552e0b4cc [ 1258.153557] R13: 00007ffc8846fc1f R14: 00007f0552d2e300 R15: 0000000000022000 [ 1258.160815] [ 1258.162421] Allocated by task 14271: [ 1258.166119] kmem_cache_alloc_trace+0x12f/0x380 [ 1258.170767] udf_find_entry+0xa82/0x1070 [ 1258.174810] udf_lookup+0x156/0x270 [ 1258.178417] __lookup_slow+0x246/0x4a0 [ 1258.182285] walk_component+0x7ac/0xda0 [ 1258.186242] link_path_walk.part.0+0x901/0x1230 [ 1258.190893] path_openat+0x1db/0x2df0 [ 1258.194671] do_filp_open+0x18c/0x3f0 [ 1258.198450] do_sys_open+0x3b3/0x520 [ 1258.202143] do_syscall_64+0xf9/0x620 [ 1258.205922] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1258.211089] [ 1258.212696] Freed by task 13793: [ 1258.216042] kfree+0xcc/0x210 [ 1258.219125] udf_add_entry+0x38a/0x2a20 [ 1258.223076] udf_add_nondir+0xf9/0x400 [ 1258.226943] udf_create+0x130/0x180 [ 1258.230637] lookup_open+0x893/0x1a20 [ 1258.234418] path_openat+0x1094/0x2df0 [ 1258.238288] do_filp_open+0x18c/0x3f0 [ 1258.242064] do_sys_open+0x3b3/0x520 [ 1258.245758] do_syscall_64+0xf9/0x620 [ 1258.249541] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1258.254715] [ 1258.256328] The buggy address belongs to the object at ffff8880b3d66980 [ 1258.256328] which belongs to the cache kmalloc-256 of size 256 [ 1258.268972] The buggy address is located 90 bytes inside of [ 1258.268972] 256-byte region [ffff8880b3d66980, ffff8880b3d66a80) [ 1258.280741] The buggy address belongs to the page: [ 1258.285648] page:ffffea0002cf5980 count:1 mapcount:0 mapping:ffff88813bff07c0 index:0x0 [ 1258.293781] flags: 0xfff00000000100(slab) [ 1258.297911] raw: 00fff00000000100 ffffea0002d08588 ffffea0002cf1588 ffff88813bff07c0 [ 1258.305832] raw: 0000000000000000 ffff8880b3d660c0 000000010000000c 0000000000000000 [ 1258.313698] page dumped because: kasan: bad access detected [ 1258.319384] [ 1258.320987] Memory state around the buggy address: [ 1258.325895] ffff8880b3d66900: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 1258.333236] ffff8880b3d66980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 1258.340574] >ffff8880b3d66a00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 [ 1258.347909] ^ [ 1258.355162] ffff8880b3d66a80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 1258.362614] ffff8880b3d66b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1258.369947] ================================================================== [ 1258.377281] Disabling lock debugging due to kernel taint [ 1258.383993] Kernel panic - not syncing: panic_on_warn set ... [ 1258.383993] [ 1258.391446] CPU: 0 PID: 14271 Comm: syz-executor416 Tainted: G B 4.19.211-syzkaller #0 [ 1258.400793] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 [ 1258.410145] Call Trace: [ 1258.412738] dump_stack+0x1fc/0x2ef [ 1258.416367] panic+0x26a/0x50e [ 1258.419549] ? __warn_printk+0xf3/0xf3 [ 1258.423417] ? preempt_schedule_common+0x45/0xc0 [ 1258.428152] ? ___preempt_schedule+0x16/0x18 [ 1258.432540] ? trace_hardirqs_on+0x55/0x210 [ 1258.436843] kasan_end_report+0x43/0x49 [ 1258.440798] kasan_report_error.cold+0xa7/0x1b9 [ 1258.445444] ? udf_find_entry+0xa33/0x1070 [ 1258.449657] kasan_report+0x8f/0xa0 [ 1258.453264] ? rcu_read_lock_sched_held+0xa1/0x1d0 [ 1258.458170] ? udf_find_entry+0xa33/0x1070 [ 1258.462385] memcpy+0x35/0x50 [ 1258.465468] udf_find_entry+0xa33/0x1070 [ 1258.469508] ? empty_dir+0x7e0/0x7e0 [ 1258.473200] ? __d_lookup_rcu+0x382/0x6b0 [ 1258.477332] ? check_preemption_disabled+0x41/0x280 [ 1258.482327] ? d_alloc_parallel+0x954/0x19e0 [ 1258.486716] udf_lookup+0x156/0x270 [ 1258.490320] ? udf_tmpfile+0x190/0x190 [ 1258.494184] ? __d_lookup_rcu+0x6b0/0x6b0 [ 1258.498315] ? __lockdep_init_map+0x100/0x5a0 [ 1258.502793] ? __lockdep_init_map+0x100/0x5a0 [ 1258.507269] __lookup_slow+0x246/0x4a0 [ 1258.511137] ? follow_dotdot_rcu+0x1040/0x1040 [ 1258.515700] ? lookup_fast+0x4e9/0x1080 [ 1258.519671] ? walk_component+0x798/0xda0 [ 1258.523798] walk_component+0x7ac/0xda0 [ 1258.527752] ? lookup_fast+0x1080/0x1080 [ 1258.531800] ? capable_wrt_inode_uidgid+0x1d2/0x220 [ 1258.536809] ? generic_permission+0x116/0x4d0 [ 1258.541283] ? security_inode_permission+0xc5/0xf0 [ 1258.546190] ? inode_permission.part.0+0x10c/0x450 [ 1258.551100] link_path_walk.part.0+0x901/0x1230 [ 1258.555767] ? walk_component+0xda0/0xda0 [ 1258.559896] path_openat+0x1db/0x2df0 [ 1258.563683] ? path_lookupat+0x8d0/0x8d0 [ 1258.567726] ? mark_held_locks+0xf0/0xf0 [ 1258.571766] ? check_preemption_disabled+0x41/0x280 [ 1258.576762] do_filp_open+0x18c/0x3f0 [ 1258.580539] ? may_open_dev+0xf0/0xf0 [ 1258.584319] ? lock_downgrade+0x720/0x720 [ 1258.588446] ? lock_acquire+0x170/0x3c0 [ 1258.592397] ? __alloc_fd+0x34/0x570 [ 1258.596087] ? do_raw_spin_unlock+0x171/0x230 [ 1258.600559] ? _raw_spin_unlock+0x29/0x40 [ 1258.604682] ? __alloc_fd+0x28d/0x570 [ 1258.608464] do_sys_open+0x3b3/0x520 [ 1258.612154] ? filp_open+0x70/0x70 [ 1258.615675] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 1258.621017] ? trace_hardirqs_off_caller+0x6e/0x210 [ 1258.626012] ? do_syscall_64+0x21/0x620 [ 1258.629968] do_syscall_64+0xf9/0x620 [ 1258.633750] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 1258.638919] RIP: 0033:0x7f0552d85999 [ 1258.642613] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 1258.661493] RSP: 002b:00007f0552d2e208 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 1258.669265] RAX: ffffffffffffffda RBX: 00007f0552e0b4c8 RCX: 00007f0552d85999 [ 1258.676511] RDX: 000000000000275a RSI: 0000000020000140 RDI: 00000000ffffff9c [ 1258.683757] RBP: 00007f0552e0b4c0 R08: 00007f0552e0b4c0 R09: 0000000000000000 [ 1258.691006] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0552e0b4cc [ 1258.698251] R13: 00007ffc8846fc1f R14: 00007f0552d2e300 R15: 0000000000022000 [ 1258.705696] Kernel Offset: disabled [ 1258.709304] Rebooting in 86400 seconds..