Warning: Permanently added '10.128.0.233' (ECDSA) to the list of known hosts. executing program [ 49.332103] UDF-fs: error (device loop0): udf_process_sequence: Block 100 of volume descriptor sequence is corrupted or we could not read it [ 49.350791] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 49.365498] audit: type=1800 audit(1669322225.320:2): pid=7980 uid=0 auid=4294967295 ses=4294967295 op="collect_data" cause="failed(directio)" comm="syz-executor566" name=789CECDD4F6C1CD77D07F0DF1B922229B715133B8ADDC6C5A62D5299B15CFD8BA95885BBAA69B601649908C5DC02704552EAC214499054231B69C1F4D2430F018AA2879C08B44681140D8CA6087A645B17482E3E1439F544B4B011143DB045809C020633FB565C5294458BA444DA9F8F4D7D6767DF9B796F663C230B7AF302 dev="loop0" ino=1318 res=0 [ 49.389133] ================================================================== [ 49.412804] BUG: KASAN: slab-out-of-bounds in udf_find_entry+0x8fb/0xef0 [ 49.419635] Write of size 165 at addr ffff8880b49b9cda by task syz-executor566/7980 [ 49.427399] [ 49.429002] CPU: 0 PID: 7980 Comm: syz-executor566 Not tainted 4.14.299-syzkaller #0 [ 49.436853] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 49.446178] Call Trace: [ 49.448756] dump_stack+0x1b2/0x281 [ 49.452375] print_address_description.cold+0x54/0x1d3 [ 49.457645] kasan_report_error.cold+0x8a/0x191 [ 49.462385] ? udf_find_entry+0x8fb/0xef0 [ 49.466511] kasan_report+0x6f/0x80 [ 49.470113] ? udf_find_entry+0x8fb/0xef0 [ 49.474262] memcpy+0x35/0x50 [ 49.477341] udf_find_entry+0x8fb/0xef0 [ 49.481293] ? empty_dir+0x6e0/0x6e0 [ 49.484981] ? lock_downgrade+0x740/0x740 [ 49.489102] ? d_alloc_parallel+0x82e/0x16b0 [ 49.493594] udf_lookup+0x11b/0x210 [ 49.497192] ? udf_tmpfile+0x170/0x170 [ 49.501059] ? apparmor_path_mknod+0x148/0x200 [ 49.505787] ? param_get_aalockpolicy+0x70/0x70 [ 49.510428] ? map_id_up+0xe9/0x180 [ 49.514030] ? security_inode_create+0xca/0x100 [ 49.518670] ? udf_tmpfile+0x170/0x170 [ 49.522530] lookup_open+0x5c4/0x1750 [ 49.526312] ? vfs_mkdir+0x6e0/0x6e0 [ 49.530006] path_openat+0xe08/0x2970 [ 49.533883] ? path_lookupat+0x780/0x780 [ 49.537918] ? trace_hardirqs_on+0x10/0x10 [ 49.542128] ? __might_fault+0x104/0x1b0 [ 49.546167] do_filp_open+0x179/0x3c0 [ 49.549939] ? may_open_dev+0xe0/0xe0 [ 49.553717] ? lock_downgrade+0x740/0x740 [ 49.557839] ? do_raw_spin_unlock+0x164/0x220 [ 49.562399] ? _raw_spin_unlock+0x29/0x40 [ 49.566526] ? __alloc_fd+0x1be/0x490 [ 49.570395] ? is_prefetch.part.0+0x1ab/0x2f0 [ 49.574869] do_sys_open+0x296/0x410 [ 49.578644] ? filp_open+0x60/0x60 [ 49.582164] ? __do_page_fault+0x159/0xad0 [ 49.586380] ? do_syscall_64+0x4c/0x640 [ 49.590326] ? compat_SyS_openat+0x30/0x30 [ 49.594535] do_syscall_64+0x1d5/0x640 [ 49.598589] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 49.603771] [ 49.605381] Allocated by task 7980: [ 49.608983] kasan_kmalloc+0xeb/0x160 [ 49.612759] kmem_cache_alloc_trace+0x131/0x3d0 [ 49.617444] udf_find_entry+0x959/0xef0 [ 49.621406] udf_lookup+0x11b/0x210 [ 49.625012] lookup_open+0x5c4/0x1750 [ 49.628788] path_openat+0xe08/0x2970 [ 49.632560] do_filp_open+0x179/0x3c0 [ 49.636334] do_sys_open+0x296/0x410 [ 49.640019] do_syscall_64+0x1d5/0x640 [ 49.643882] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 49.649049] [ 49.650654] Freed by task 6228: [ 49.654340] kasan_slab_free+0xc3/0x1a0 [ 49.658295] kfree+0xc9/0x250 [ 49.661373] seq_release+0x57/0x70 [ 49.664892] kernfs_fop_release+0xdc/0x180 [ 49.669187] __fput+0x25f/0x7a0 [ 49.672454] task_work_run+0x11f/0x190 [ 49.676316] exit_to_usermode_loop+0x1ad/0x200 [ 49.680871] do_syscall_64+0x4a3/0x640 [ 49.684735] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 49.689893] [ 49.691504] The buggy address belongs to the object at ffff8880b49b9c80 [ 49.691504] which belongs to the cache kmalloc-256 of size 256 [ 49.704139] The buggy address is located 90 bytes inside of [ 49.704139] 256-byte region [ffff8880b49b9c80, ffff8880b49b9d80) [ 49.715898] The buggy address belongs to the page: [ 49.720801] page:ffffea0002d26e40 count:1 mapcount:0 mapping:ffff8880b49b9000 index:0xffff8880b49b9a00 [ 49.730230] flags: 0xfff00000000100(slab) [ 49.734363] raw: 00fff00000000100 ffff8880b49b9000 ffff8880b49b9a00 0000000100000007 [ 49.742341] raw: ffffea0002d83ee0 ffffea0002c23da0 ffff88813fe747c0 0000000000000000 [ 49.750199] page dumped because: kasan: bad access detected [ 49.755882] [ 49.757482] Memory state around the buggy address: [ 49.762396] ffff8880b49b9c00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 49.769977] ffff8880b49b9c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 49.777334] >ffff8880b49b9d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 [ 49.784672] ^ [ 49.791920] ffff8880b49b9d80: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 49.799260] ffff8880b49b9e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 49.806623] ================================================================== [ 49.813962] Disabling lock debugging due to kernel taint [ 49.819800] Kernel panic - not syncing: panic_on_warn set ... [ 49.819800] [ 49.827156] CPU: 0 PID: 7980 Comm: syz-executor566 Tainted: G B 4.14.299-syzkaller #0 [ 49.836238] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 49.845580] Call Trace: [ 49.848155] dump_stack+0x1b2/0x281 [ 49.851940] panic+0x1f9/0x42d [ 49.855172] ? add_taint.cold+0x16/0x16 [ 49.859231] ? ___preempt_schedule+0x16/0x18 [ 49.863616] kasan_end_report+0x43/0x49 [ 49.867561] kasan_report_error.cold+0xa7/0x191 [ 49.872205] ? udf_find_entry+0x8fb/0xef0 [ 49.876501] kasan_report+0x6f/0x80 [ 49.880111] ? udf_find_entry+0x8fb/0xef0 [ 49.884230] memcpy+0x35/0x50 [ 49.887314] udf_find_entry+0x8fb/0xef0 [ 49.891263] ? empty_dir+0x6e0/0x6e0 [ 49.894950] ? lock_downgrade+0x740/0x740 [ 49.899190] ? d_alloc_parallel+0x82e/0x16b0 [ 49.903593] udf_lookup+0x11b/0x210 [ 49.907225] ? udf_tmpfile+0x170/0x170 [ 49.911112] ? apparmor_path_mknod+0x148/0x200 [ 49.915692] ? param_get_aalockpolicy+0x70/0x70 [ 49.920339] ? map_id_up+0xe9/0x180 [ 49.923959] ? security_inode_create+0xca/0x100 [ 49.928720] ? udf_tmpfile+0x170/0x170 [ 49.932627] lookup_open+0x5c4/0x1750 [ 49.936409] ? vfs_mkdir+0x6e0/0x6e0 [ 49.940103] path_openat+0xe08/0x2970 [ 49.943884] ? path_lookupat+0x780/0x780 [ 49.947920] ? trace_hardirqs_on+0x10/0x10 [ 49.952133] ? __might_fault+0x104/0x1b0 [ 49.956256] do_filp_open+0x179/0x3c0 [ 49.960028] ? may_open_dev+0xe0/0xe0 [ 49.963827] ? lock_downgrade+0x740/0x740 [ 49.967963] ? do_raw_spin_unlock+0x164/0x220 [ 49.972437] ? _raw_spin_unlock+0x29/0x40 [ 49.976564] ? __alloc_fd+0x1be/0x490 [ 49.980351] ? is_prefetch.part.0+0x1ab/0x2f0 [ 49.985429] do_sys_open+0x296/0x410 [ 49.989118] ? filp_open+0x60/0x60 [ 49.992633] ? __do_page_fault+0x159/0xad0 [ 49.996857] ? do_syscall_64+0x4c/0x640 [ 50.000812] ? compat_SyS_openat+0x30/0x30 [ 50.005027] do_syscall_64+0x1d5/0x640 [ 50.008905] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 50.014241] Kernel Offset: disabled [ 50.017887] Rebooting in 86400 seconds..