./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3313905525 <...> Warning: Permanently added '10.128.0.230' (ECDSA) to the list of known hosts. execve("./syz-executor3313905525", ["./syz-executor3313905525"], 0x7fff6d87ffc0 /* 10 vars */) = 0 brk(NULL) = 0x55555717b000 brk(0x55555717bc40) = 0x55555717bc40 arch_prctl(ARCH_SET_FS, 0x55555717b300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor3313905525", 4096) = 28 brk(0x55555719cc40) = 0x55555719cc40 brk(0x55555719d000) = 0x55555719d000 mprotect(0x7f9becd15000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9be485a000 write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 4194304) = 4194304 munmap(0x7f9be485a000, 4194304) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 syzkaller login: [ 68.848310][ T5076] loop0: detected capacity change from 0 to 8192 [ 68.861593][ T5076] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found [ 68.869138][ T5076] UDF-fs: Scanning with blocksize 512 failed [ 68.875942][ T5076] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found [ 68.884194][ T5076] UDF-fs: Scanning with blocksize 1024 failed [ 68.891481][ T5076] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found mount("/dev/loop0", "./file0", "udf", 0, "noadinicb,mode=00000000000000000000777,shortad,") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 [ 68.899100][ T5076] UDF-fs: Scanning with blocksize 2048 failed [ 68.908795][ T5076] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 68.932136][ T5076] ================================================================== [ 68.940261][ T5076] BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x6e6/0x7e0 [ 68.947877][ T5076] Write of size 4 at addr ffff888026aa7ff8 by task syz-executor331/5076 [ 68.956231][ T5076] [ 68.958562][ T5076] CPU: 0 PID: 5076 Comm: syz-executor331 Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 [ 68.969005][ T5076] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 68.979082][ T5076] Call Trace: [ 68.982396][ T5076] [ 68.985359][ T5076] dump_stack_lvl+0x1b1/0x290 [ 68.990345][ T5076] ? nf_tcp_handle_invalid+0x630/0x630 [ 68.995862][ T5076] ? __wake_up_klogd+0xcd/0x100 [ 69.000842][ T5076] ? panic+0x710/0x710 [ 69.004991][ T5076] ? _printk+0xc0/0x100 [ 69.009417][ T5076] print_address_description+0x74/0x340 [ 69.015154][ T5076] print_report+0x107/0x1f0 [ 69.019755][ T5076] ? _raw_spin_lock+0x40/0x40 [ 69.024466][ T5076] ? udf_current_aext+0x5c9/0xa80 [ 69.029591][ T5076] ? __virt_addr_valid+0x21b/0x2d0 [ 69.034807][ T5076] ? __phys_addr+0xb5/0x160 [ 69.039322][ T5076] ? udf_write_aext+0x6e6/0x7e0 [ 69.044193][ T5076] kasan_report+0xcd/0x100 [ 69.048622][ T5076] ? udf_write_aext+0x6e6/0x7e0 [ 69.053741][ T5076] udf_write_aext+0x6e6/0x7e0 [ 69.058425][ T5076] udf_add_entry+0x1712/0x3300 [ 69.063218][ T5076] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 69.069209][ T5076] ? __mark_inode_dirty+0x593/0x600 [ 69.074417][ T5076] ? udf_add_nondir+0x580/0x580 [ 69.079382][ T5076] ? udf_new_inode+0xb04/0xf30 [ 69.084155][ T5076] ? d_alloc+0x193/0x1d0 [ 69.088403][ T5076] udf_mkdir+0x13c/0x980 [ 69.092655][ T5076] ? udf_symlink+0x1680/0x1680 [ 69.097506][ T5076] ? from_kgid+0x193/0x6b0 [ 69.102016][ T5076] ? make_kgid+0x710/0x710 [ 69.106432][ T5076] ? __lookup_hash+0x123/0x240 [ 69.111225][ T5076] ? apparmor_path_mkdir+0x461/0x520 [ 69.116599][ T5076] ? generic_permission+0x229/0x500 [ 69.121806][ T5076] ? inode_permission+0xf5/0x450 [ 69.126837][ T5076] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 69.131865][ T5076] ? security_inode_mkdir+0xdd/0x120 [ 69.137158][ T5076] vfs_mkdir+0x3b3/0x590 [ 69.141410][ T5076] do_mkdirat+0x25b/0x530 [ 69.145740][ T5076] ? 0xffffffff81000000 [ 69.149889][ T5076] ? __check_object_size+0x15a/0x210 [ 69.155182][ T5076] ? vfs_mkdir+0x590/0x590 [ 69.159692][ T5076] ? getname_flags+0x1ea/0x4e0 [ 69.164488][ T5076] __x64_sys_mkdir+0x6a/0x80 [ 69.169093][ T5076] do_syscall_64+0x3d/0xb0 [ 69.173522][ T5076] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.179592][ T5076] RIP: 0033:0x7f9becca5e07 [ 69.184017][ T5076] Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 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 [ 69.204242][ T5076] RSP: 002b:00007ffe973c9938 EFLAGS: 00000286 ORIG_RAX: 0000000000000053 [ 69.212746][ T5076] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9becca5e07 [ 69.220718][ T5076] RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000040 [ 69.228695][ T5076] RBP: 00007ffe973c99e0 R08: 0000000000000000 R09: 0000000020000000 [ 69.236814][ T5076] R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff [ 69.244804][ T5076] R13: 0000000020000040 R14: 0000000020000000 R15: 0000000000000000 [ 69.252962][ T5076] [ 69.255978][ T5076] [ 69.258302][ T5076] Allocated by task 5018: [ 69.262640][ T5076] kasan_set_track+0x3d/0x60 [ 69.267239][ T5076] __kasan_slab_alloc+0x65/0x70 [ 69.272105][ T5076] kmem_cache_alloc+0x1b3/0x350 [ 69.276967][ T5076] getname_flags+0xb8/0x4e0 [ 69.281484][ T5076] __se_sys_newfstatat+0xcb/0x7d0 [ 69.286513][ T5076] do_syscall_64+0x3d/0xb0 [ 69.290940][ T5076] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.296927][ T5076] [ 69.299282][ T5076] Freed by task 5018: [ 69.303251][ T5076] kasan_set_track+0x3d/0x60 [ 69.307840][ T5076] kasan_save_free_info+0x27/0x40 [ 69.312878][ T5076] ____kasan_slab_free+0xd6/0x120 [ 69.317929][ T5076] slab_free_freelist_hook+0x12e/0x1a0 [ 69.323389][ T5076] kmem_cache_free+0x94/0x1d0 [ 69.328067][ T5076] __se_sys_newfstatat+0xf7/0x7d0 [ 69.333101][ T5076] do_syscall_64+0x3d/0xb0 [ 69.337522][ T5076] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.343418][ T5076] [ 69.345735][ T5076] The buggy address belongs to the object at ffff888026aa6600 [ 69.345735][ T5076] which belongs to the cache names_cache of size 4096 [ 69.359879][ T5076] The buggy address is located 2552 bytes to the right of [ 69.359879][ T5076] 4096-byte region [ffff888026aa6600, ffff888026aa7600) [ 69.374035][ T5076] [ 69.376357][ T5076] The buggy address belongs to the physical page: [ 69.382853][ T5076] page:ffffea00009aa800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x26aa0 [ 69.393001][ T5076] head:ffffea00009aa800 order:3 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 [ 69.403232][ T5076] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 69.411219][ T5076] raw: 00fff00000010200 ffff8880129eb640 ffffea0001e37600 dead000000000002 [ 69.419814][ T5076] raw: 0000000000000000 0000000000070007 00000001ffffffff 0000000000000000 [ 69.428394][ T5076] page dumped because: kasan: bad access detected [ 69.434804][ T5076] page_owner tracks the page as allocated [ 69.440511][ T5076] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 2258, tgid 2258 (kworker/u4:0), ts 14122412727, free_ts 0 [ 69.461040][ T5076] get_page_from_freelist+0x742/0x7c0 [ 69.466421][ T5076] __alloc_pages+0x259/0x560 [ 69.471016][ T5076] alloc_slab_page+0xbd/0x190 [ 69.475698][ T5076] allocate_slab+0x5e/0x3c0 [ 69.480208][ T5076] ___slab_alloc+0x782/0xe20 [ 69.484798][ T5076] kmem_cache_alloc+0x268/0x350 [ 69.489655][ T5076] getname_kernel+0x55/0x2d0 [ 69.494268][ T5076] kernel_execve+0x6d/0xa00 [ 69.498779][ T5076] call_usermodehelper_exec_async+0x262/0x3b0 [ 69.504863][ T5076] ret_from_fork+0x1f/0x30 [ 69.509290][ T5076] page_owner free stack trace missing [ 69.514666][ T5076] [ 69.517011][ T5076] Memory state around the buggy address: [ 69.522651][ T5076] ffff888026aa7e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 69.530709][ T5076] ffff888026aa7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 69.538941][ T5076] >ffff888026aa7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 69.547002][ T5076] ^ [ 69.554986][ T5076] ffff888026aa8000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 69.563051][ T5076] ffff888026aa8080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 69.571103][ T5076] ================================================================== [ 69.579796][ T5076] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 69.587110][ T5076] CPU: 0 PID: 5076 Comm: syz-executor331 Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 [ 69.597543][ T5076] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 69.607601][ T5076] Call Trace: [ 69.610880][ T5076] [ 69.613812][ T5076] dump_stack_lvl+0x1b1/0x290 [ 69.618499][ T5076] ? nf_tcp_handle_invalid+0x630/0x630 [ 69.624145][ T5076] ? panic+0x710/0x710 [ 69.628214][ T5076] ? lock_release+0x81/0x820 [ 69.632827][ T5076] ? vscnprintf+0x59/0x80 [ 69.637159][ T5076] panic+0x2d6/0x710 [ 69.641084][ T5076] ? check_panic_on_warn+0x1d/0xa0 [ 69.646196][ T5076] ? memcpy_page_flushcache+0x100/0x100 [ 69.651848][ T5076] ? _raw_spin_unlock_irqrestore+0x110/0x120 [ 69.657854][ T5076] ? _raw_spin_unlock+0x40/0x40 [ 69.662720][ T5076] ? print_report+0x1b4/0x1f0 [ 69.667407][ T5076] check_panic_on_warn+0x80/0xa0 [ 69.672525][ T5076] ? udf_write_aext+0x6e6/0x7e0 [ 69.677380][ T5076] end_report+0x47/0x90 [ 69.681628][ T5076] kasan_report+0xda/0x100 [ 69.686492][ T5076] ? udf_write_aext+0x6e6/0x7e0 [ 69.691351][ T5076] udf_write_aext+0x6e6/0x7e0 [ 69.696043][ T5076] udf_add_entry+0x1712/0x3300 [ 69.700821][ T5076] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 69.707076][ T5076] ? __mark_inode_dirty+0x593/0x600 [ 69.712286][ T5076] ? udf_add_nondir+0x580/0x580 [ 69.717168][ T5076] ? udf_new_inode+0xb04/0xf30 [ 69.721950][ T5076] ? d_alloc+0x193/0x1d0 [ 69.726209][ T5076] udf_mkdir+0x13c/0x980 [ 69.730469][ T5076] ? udf_symlink+0x1680/0x1680 [ 69.735264][ T5076] ? from_kgid+0x193/0x6b0 [ 69.739699][ T5076] ? make_kgid+0x710/0x710 [ 69.744125][ T5076] ? __lookup_hash+0x123/0x240 [ 69.748904][ T5076] ? apparmor_path_mkdir+0x461/0x520 [ 69.754198][ T5076] ? generic_permission+0x229/0x500 [ 69.759410][ T5076] ? inode_permission+0xf5/0x450 [ 69.764364][ T5076] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 69.769671][ T5076] ? security_inode_mkdir+0xdd/0x120 [ 69.775074][ T5076] vfs_mkdir+0x3b3/0x590 [ 69.779334][ T5076] do_mkdirat+0x25b/0x530 [ 69.783674][ T5076] ? 0xffffffff81000000 [ 69.788008][ T5076] ? __check_object_size+0x15a/0x210 [ 69.793328][ T5076] ? vfs_mkdir+0x590/0x590 [ 69.797868][ T5076] ? getname_flags+0x1ea/0x4e0 [ 69.802669][ T5076] __x64_sys_mkdir+0x6a/0x80 [ 69.807278][ T5076] do_syscall_64+0x3d/0xb0 [ 69.811709][ T5076] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.817614][ T5076] RIP: 0033:0x7f9becca5e07 [ 69.822044][ T5076] Code: ff ff ff ff c3 66 0f 1f 44 00 00 48 c7 c0 c0 ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 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 [ 69.842089][ T5076] RSP: 002b:00007ffe973c9938 EFLAGS: 00000286 ORIG_RAX: 0000000000000053 [ 69.850510][ T5076] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9becca5e07 [ 69.858504][ T5076] RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000040 [ 69.866477][ T5076] RBP: 00007ffe973c99e0 R08: 0000000000000000 R09: 0000000020000000 [ 69.874453][ T5076] R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff [ 69.882426][ T5076] R13: 0000000020000040 R14: 0000000020000000 R15: 0000000000000000 [ 69.890409][ T5076] [ 69.893497][ T5076] Kernel Offset: disabled [ 69.897822][ T5076] Rebooting in 86400 seconds..