[ 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.2' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 34.806414] ================================================================== [ 34.813861] BUG: KASAN: slab-out-of-bounds in udf_find_entry+0xa33/0x1070 [ 34.820764] Write of size 105 at addr ffff8880a3181b16 by task syz-executor752/8094 [ 34.828539] [ 34.830170] CPU: 0 PID: 8094 Comm: syz-executor752 Not tainted 4.19.211-syzkaller #0 [ 34.838036] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 [ 34.847367] Call Trace: [ 34.849940] dump_stack+0x1fc/0x2ef [ 34.853549] print_address_description.cold+0x54/0x219 [ 34.858808] kasan_report_error.cold+0x8a/0x1b9 [ 34.863458] ? udf_find_entry+0xa33/0x1070 [ 34.867670] kasan_report+0x8f/0xa0 [ 34.871277] ? rcu_read_lock_sched_held+0xa1/0x1d0 [ 34.876195] ? udf_find_entry+0xa33/0x1070 [ 34.880410] memcpy+0x35/0x50 [ 34.883497] udf_find_entry+0xa33/0x1070 [ 34.887542] ? empty_dir+0x7e0/0x7e0 [ 34.891239] ? __d_lookup_rcu+0x382/0x6b0 [ 34.895372] ? check_preemption_disabled+0x41/0x280 [ 34.900372] ? common_perm+0x4be/0x800 [ 34.904245] ? apparmor_file_open+0xc90/0xc90 [ 34.908759] udf_lookup+0x156/0x270 [ 34.912366] ? udf_tmpfile+0x190/0x190 [ 34.916234] ? userns_put+0xb0/0xb0 [ 34.919842] ? apparmor_path_mknod+0x16a/0x240 [ 34.924403] ? param_get_aalockpolicy+0x90/0x90 [ 34.929143] ? security_inode_permission+0xc5/0xf0 [ 34.934051] ? inode_permission.part.0+0x10c/0x450 [ 34.938956] ? security_inode_create+0xd6/0x100 [ 34.943603] ? udf_tmpfile+0x190/0x190 [ 34.947471] lookup_open+0x698/0x1a20 [ 34.951256] ? vfs_mkdir+0x7a0/0x7a0 [ 34.954946] ? unlazy_walk+0x1a4/0x540 [ 34.958813] ? check_preemption_disabled+0x41/0x280 [ 34.963812] path_openat+0x1094/0x2df0 [ 34.967682] ? path_lookupat+0x8d0/0x8d0 [ 34.971724] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.977069] ? mark_held_locks+0xf0/0xf0 [ 34.981109] ? mark_held_locks+0xf0/0xf0 [ 34.985148] ? __lock_acquire+0x6de/0x3ff0 [ 34.989366] do_filp_open+0x18c/0x3f0 [ 34.993146] ? may_open_dev+0xf0/0xf0 [ 34.996927] ? lock_downgrade+0x720/0x720 [ 35.001050] ? lock_acquire+0x170/0x3c0 [ 35.004998] ? __alloc_fd+0x34/0x570 [ 35.008689] ? do_raw_spin_unlock+0x171/0x230 [ 35.013165] ? _raw_spin_unlock+0x29/0x40 [ 35.017290] ? __alloc_fd+0x28d/0x570 [ 35.021077] do_sys_open+0x3b3/0x520 [ 35.024771] ? filp_open+0x70/0x70 [ 35.028327] ? fput+0x2b/0x190 [ 35.031502] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.036847] ? trace_hardirqs_off_caller+0x6e/0x210 [ 35.041840] ? do_syscall_64+0x21/0x620 [ 35.045792] do_syscall_64+0xf9/0x620 [ 35.049574] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.054740] RIP: 0033:0x7f01a83bc4e9 [ 35.058434] 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 c0 ff ff ff f7 d8 64 89 01 48 [ 35.077311] RSP: 002b:00007fff2a8153c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 [ 35.084993] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f01a83bc4e9 [ 35.092239] RDX: 00007f01a83bc4e9 RSI: 0000000000000000 RDI: 0000000020000180 [ 35.099491] RBP: 00007f01a837bac0 R08: 0000000000000000 R09: 0000000000000000 [ 35.106739] R10: 00005555564e42c0 R11: 0000000000000246 R12: 00007f01a837bb50 [ 35.114072] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 35.121334] [ 35.122940] Allocated by task 8094: [ 35.126556] kmem_cache_alloc_trace+0x12f/0x380 [ 35.131204] udf_find_entry+0xa82/0x1070 [ 35.135243] udf_lookup+0x156/0x270 [ 35.138847] lookup_open+0x698/0x1a20 [ 35.142623] path_openat+0x1094/0x2df0 [ 35.146485] do_filp_open+0x18c/0x3f0 [ 35.150262] do_sys_open+0x3b3/0x520 [ 35.153952] do_syscall_64+0xf9/0x620 [ 35.157743] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.162911] [ 35.164514] Freed by task 6413: [ 35.167773] kfree+0xcc/0x210 [ 35.170857] __do_execve_file+0x187a/0x2360 [ 35.175156] do_execve+0x35/0x50 [ 35.178500] call_usermodehelper_exec_async+0x50e/0x6a0 [ 35.183839] ret_from_fork+0x24/0x30 [ 35.187523] [ 35.189128] The buggy address belongs to the object at ffff8880a3181a80 [ 35.189128] which belongs to the cache kmalloc-256 of size 256 [ 35.201759] The buggy address is located 150 bytes inside of [ 35.201759] 256-byte region [ffff8880a3181a80, ffff8880a3181b80) [ 35.213606] The buggy address belongs to the page: [ 35.218511] page:ffffea00028c6040 count:1 mapcount:0 mapping:ffff88813bff07c0 index:0xffff8880a3181080 [ 35.228018] flags: 0xfff00000000100(slab) [ 35.232230] raw: 00fff00000000100 ffffea0002d37908 ffffea0002d6e548 ffff88813bff07c0 [ 35.240176] raw: ffff8880a3181080 ffff8880a3181080 0000000100000007 0000000000000000 [ 35.248030] page dumped because: kasan: bad access detected [ 35.253714] [ 35.255316] Memory state around the buggy address: [ 35.260220] ffff8880a3181a00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 35.267553] ffff8880a3181a80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 35.274889] >ffff8880a3181b00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 [ 35.282220] ^ [ 35.289467] ffff8880a3181b80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 35.297412] ffff8880a3181c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.304744] ================================================================== [ 35.312075] Disabling lock debugging due to kernel taint [ 35.317853] Kernel panic - not syncing: panic_on_warn set ... [ 35.317853] [ 35.325218] CPU: 0 PID: 8094 Comm: syz-executor752 Tainted: G B 4.19.211-syzkaller #0 [ 35.334478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 [ 35.343822] Call Trace: [ 35.346490] dump_stack+0x1fc/0x2ef [ 35.350118] panic+0x26a/0x50e [ 35.353310] ? __warn_printk+0xf3/0xf3 [ 35.357190] ? preempt_schedule_common+0x45/0xc0 [ 35.361940] ? ___preempt_schedule+0x16/0x18 [ 35.366342] ? trace_hardirqs_on+0x55/0x210 [ 35.370651] kasan_end_report+0x43/0x49 [ 35.374603] kasan_report_error.cold+0xa7/0x1b9 [ 35.379248] ? udf_find_entry+0xa33/0x1070 [ 35.383460] kasan_report+0x8f/0xa0 [ 35.387065] ? rcu_read_lock_sched_held+0xa1/0x1d0 [ 35.391970] ? udf_find_entry+0xa33/0x1070 [ 35.396179] memcpy+0x35/0x50 [ 35.399264] udf_find_entry+0xa33/0x1070 [ 35.403301] ? empty_dir+0x7e0/0x7e0 [ 35.406991] ? __d_lookup_rcu+0x382/0x6b0 [ 35.411120] ? check_preemption_disabled+0x41/0x280 [ 35.416149] ? common_perm+0x4be/0x800 [ 35.420014] ? apparmor_file_open+0xc90/0xc90 [ 35.424486] udf_lookup+0x156/0x270 [ 35.428091] ? udf_tmpfile+0x190/0x190 [ 35.431955] ? userns_put+0xb0/0xb0 [ 35.435557] ? apparmor_path_mknod+0x16a/0x240 [ 35.440117] ? param_get_aalockpolicy+0x90/0x90 [ 35.444766] ? security_inode_permission+0xc5/0xf0 [ 35.449672] ? inode_permission.part.0+0x10c/0x450 [ 35.454575] ? security_inode_create+0xd6/0x100 [ 35.459216] ? udf_tmpfile+0x190/0x190 [ 35.463083] lookup_open+0x698/0x1a20 [ 35.466862] ? vfs_mkdir+0x7a0/0x7a0 [ 35.470552] ? unlazy_walk+0x1a4/0x540 [ 35.474419] ? check_preemption_disabled+0x41/0x280 [ 35.479418] path_openat+0x1094/0x2df0 [ 35.483286] ? path_lookupat+0x8d0/0x8d0 [ 35.487323] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.492661] ? mark_held_locks+0xf0/0xf0 [ 35.496696] ? mark_held_locks+0xf0/0xf0 [ 35.500734] ? __lock_acquire+0x6de/0x3ff0 [ 35.504945] do_filp_open+0x18c/0x3f0 [ 35.508720] ? may_open_dev+0xf0/0xf0 [ 35.512498] ? lock_downgrade+0x720/0x720 [ 35.516624] ? lock_acquire+0x170/0x3c0 [ 35.520574] ? __alloc_fd+0x34/0x570 [ 35.524264] ? do_raw_spin_unlock+0x171/0x230 [ 35.528735] ? _raw_spin_unlock+0x29/0x40 [ 35.532857] ? __alloc_fd+0x28d/0x570 [ 35.536633] do_sys_open+0x3b3/0x520 [ 35.540325] ? filp_open+0x70/0x70 [ 35.543840] ? fput+0x2b/0x190 [ 35.547015] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.552355] ? trace_hardirqs_off_caller+0x6e/0x210 [ 35.557345] ? do_syscall_64+0x21/0x620 [ 35.561293] do_syscall_64+0xf9/0x620 [ 35.565070] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.570236] RIP: 0033:0x7f01a83bc4e9 [ 35.573931] 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 c0 ff ff ff f7 d8 64 89 01 48 [ 35.592808] RSP: 002b:00007fff2a8153c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 [ 35.600490] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f01a83bc4e9 [ 35.607736] RDX: 00007f01a83bc4e9 RSI: 0000000000000000 RDI: 0000000020000180 [ 35.614982] RBP: 00007f01a837bac0 R08: 0000000000000000 R09: 0000000000000000 [ 35.622229] R10: 00005555564e42c0 R11: 0000000000000246 R12: 00007f01a837bb50 [ 35.629478] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 35.636959] Kernel Offset: disabled [ 35.640583] Rebooting in 86400 seconds..