./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1955726021 <...> Warning: Permanently added '10.128.0.174' (ECDSA) to the list of known hosts. execve("./syz-executor1955726021", ["./syz-executor1955726021"], 0x7fff22159e80 /* 10 vars */) = 0 brk(NULL) = 0x555557116000 brk(0x555557116c40) = 0x555557116c40 arch_prctl(ARCH_SET_FS, 0x555557116300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor1955726021", 4096) = 28 brk(0x555557137c40) = 0x555557137c40 brk(0x555557138000) = 0x555557138000 mprotect(0x7f90ae5fd000, 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) = 0x7f90a6143000 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"..., 524288) = 524288 munmap(0x7f90a6143000, 524288) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 50.011987][ T5068] loop0: detected capacity change from 0 to 1024 [ 50.021262][ T5068] ======================================================= [ 50.021262][ T5068] WARNING: The mand mount option has been deprecated and [ 50.021262][ T5068] and is ignored by this kernel. Remove the mand [ 50.021262][ T5068] option from the mount to silence this warning. [ 50.021262][ T5068] ======================================================= mount("/dev/loop0", "./file0", "udf", MS_NOSUID|MS_SYNCHRONOUS|MS_MANDLOCK|MS_REC|MS_STRICTATIME|MS_LAZYTIME, "noadinicb,utf8,noadinicb,volume=18446744073709551614,iocharset=iso8859-14,") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 open(".", O_RDONLY) = 4 [ 50.058747][ T5068] UDF-fs: error (device loop0): udf_read_tagged: tag checksum failed, block 96: 0x73 != 0x9b [ 50.069031][ T5068] UDF-fs: error (device loop0): udf_process_sequence: Primary Volume Descriptor not found! [ 50.080503][ T5068] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 50.106184][ T5068] ================================================================== [ 50.114282][ T5068] BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x62d/0x7e0 [ 50.121862][ T5068] Write of size 4 at addr ffff8880777db7f0 by task syz-executor195/5068 [ 50.130185][ T5068] [ 50.132494][ T5068] CPU: 0 PID: 5068 Comm: syz-executor195 Not tainted 6.2.0-rc1-syzkaller-00043-g2258c2dc850b #0 [ 50.142880][ T5068] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 50.152916][ T5068] Call Trace: [ 50.156179][ T5068] [ 50.159095][ T5068] dump_stack_lvl+0x1b1/0x290 [ 50.163764][ T5068] ? nf_tcp_handle_invalid+0x630/0x630 [ 50.169211][ T5068] ? __wake_up_klogd+0xcd/0x100 [ 50.174048][ T5068] ? panic+0x710/0x710 [ 50.178099][ T5068] ? _printk+0xc0/0x100 [ 50.182237][ T5068] print_address_description+0x74/0x340 [ 50.187769][ T5068] print_report+0x107/0x1f0 [ 50.192267][ T5068] ? _raw_spin_lock+0x40/0x40 [ 50.196935][ T5068] ? udf_current_aext+0x5d0/0xa80 [ 50.201954][ T5068] ? __virt_addr_valid+0x21b/0x2d0 [ 50.207051][ T5068] ? __phys_addr+0xb5/0x160 [ 50.211552][ T5068] ? udf_write_aext+0x62d/0x7e0 [ 50.216401][ T5068] kasan_report+0xcd/0x100 [ 50.221002][ T5068] ? udf_write_aext+0x62d/0x7e0 [ 50.225840][ T5068] udf_write_aext+0x62d/0x7e0 [ 50.230506][ T5068] udf_add_entry+0x1712/0x3300 [ 50.235257][ T5068] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 50.241231][ T5068] ? __mark_inode_dirty+0x593/0x600 [ 50.246426][ T5068] ? udf_add_nondir+0x580/0x580 [ 50.251261][ T5068] ? udf_new_inode+0xb04/0xf30 [ 50.256010][ T5068] ? d_alloc+0x193/0x1d0 [ 50.260238][ T5068] udf_mkdir+0x13c/0x980 [ 50.264467][ T5068] ? udf_symlink+0x1680/0x1680 [ 50.269217][ T5068] ? from_kgid+0x193/0x6b0 [ 50.273618][ T5068] ? make_kgid+0x710/0x710 [ 50.278013][ T5068] ? __lookup_hash+0x123/0x240 [ 50.282761][ T5068] ? apparmor_path_mkdir+0x461/0x520 [ 50.288025][ T5068] ? generic_permission+0x229/0x500 [ 50.293206][ T5068] ? inode_permission+0xf5/0x450 [ 50.298124][ T5068] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 50.303128][ T5068] ? security_inode_mkdir+0xdd/0x120 [ 50.308397][ T5068] vfs_mkdir+0x3b3/0x590 [ 50.312629][ T5068] do_mkdirat+0x25b/0x530 [ 50.316960][ T5068] ? __check_object_size+0x15a/0x210 [ 50.322230][ T5068] ? vfs_mkdir+0x590/0x590 [ 50.326629][ T5068] ? getname_flags+0x1ea/0x4e0 [ 50.331378][ T5068] __x64_sys_mkdirat+0x85/0x90 [ 50.336132][ T5068] do_syscall_64+0x3d/0xb0 [ 50.340531][ T5068] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.346411][ T5068] RIP: 0033:0x7f90ae58fb59 [ 50.350807][ T5068] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 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 [ 50.370407][ T5068] RSP: 002b:00007ffc14c609a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 50.378803][ T5068] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f90ae58fb59 [ 50.386765][ T5068] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000004 [ 50.394720][ T5068] RBP: 00007f90ae54f160 R08: 0000000000000000 R09: 0000000000000000 [ 50.402677][ T5068] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f90ae54f1f0 [ 50.410638][ T5068] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 50.418600][ T5068] [ 50.421608][ T5068] [ 50.423914][ T5068] Allocated by task 4434: [ 50.428222][ T5068] kasan_set_track+0x3d/0x60 [ 50.432800][ T5068] __kasan_kmalloc+0x97/0xb0 [ 50.437373][ T5068] kernfs_fop_open+0x3f8/0xc80 [ 50.442124][ T5068] do_dentry_open+0x85f/0x11b0 [ 50.446865][ T5068] path_openat+0x25ba/0x2dd0 [ 50.451439][ T5068] do_filp_open+0x264/0x4f0 [ 50.455925][ T5068] do_sys_openat2+0x124/0x4e0 [ 50.460579][ T5068] __x64_sys_openat+0x243/0x290 [ 50.465408][ T5068] do_syscall_64+0x3d/0xb0 [ 50.469804][ T5068] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.475680][ T5068] [ 50.477986][ T5068] The buggy address belongs to the object at ffff8880777db400 [ 50.477986][ T5068] which belongs to the cache kmalloc-512 of size 512 [ 50.492016][ T5068] The buggy address is located 496 bytes to the right of [ 50.492016][ T5068] 512-byte region [ffff8880777db400, ffff8880777db600) [ 50.505786][ T5068] [ 50.508088][ T5068] The buggy address belongs to the physical page: [ 50.514482][ T5068] page:ffffea0001ddf600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x777d8 [ 50.524611][ T5068] head:ffffea0001ddf600 order:2 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 [ 50.534647][ T5068] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 50.542612][ T5068] raw: 00fff00000010200 ffff888012841c80 dead000000000100 dead000000000122 [ 50.551177][ T5068] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 50.559734][ T5068] page dumped because: kasan: bad access detected [ 50.566121][ T5068] page_owner tracks the page as allocated [ 50.571813][ T5068] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4434, tgid 4434 (udevd), ts 27706030801, free_ts 27151995929 [ 50.592536][ T5068] get_page_from_freelist+0x742/0x7c0 [ 50.597890][ T5068] __alloc_pages+0x259/0x560 [ 50.602464][ T5068] alloc_slab_page+0xbd/0x190 [ 50.607119][ T5068] allocate_slab+0x5e/0x3c0 [ 50.611601][ T5068] ___slab_alloc+0x782/0xe20 [ 50.616171][ T5068] __kmem_cache_alloc_node+0x25b/0x340 [ 50.621607][ T5068] kmalloc_trace+0x26/0x60 [ 50.626011][ T5068] kernfs_fop_open+0x3f8/0xc80 [ 50.630759][ T5068] do_dentry_open+0x85f/0x11b0 [ 50.635500][ T5068] path_openat+0x25ba/0x2dd0 [ 50.640072][ T5068] do_filp_open+0x264/0x4f0 [ 50.644561][ T5068] do_sys_openat2+0x124/0x4e0 [ 50.649215][ T5068] __x64_sys_openat+0x243/0x290 [ 50.654043][ T5068] do_syscall_64+0x3d/0xb0 [ 50.658441][ T5068] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.664316][ T5068] page last free stack trace: [ 50.668964][ T5068] free_pcp_prepare+0x751/0x780 [ 50.673796][ T5068] free_unref_page+0x19/0x4c0 [ 50.678454][ T5068] __unfreeze_partials+0x1a5/0x1e0 [ 50.683546][ T5068] put_cpu_partial+0x106/0x170 [ 50.688289][ T5068] qlist_free_all+0x2b/0x70 [ 50.692769][ T5068] kasan_quarantine_reduce+0x156/0x170 [ 50.698206][ T5068] __kasan_slab_alloc+0x1f/0x70 [ 50.703036][ T5068] __kmem_cache_alloc_node+0x1e0/0x340 [ 50.708475][ T5068] kmalloc_trace+0x26/0x60 [ 50.712869][ T5068] kernfs_fop_open+0x3f8/0xc80 [ 50.717616][ T5068] do_dentry_open+0x85f/0x11b0 [ 50.722363][ T5068] path_openat+0x25ba/0x2dd0 [ 50.726935][ T5068] do_filp_open+0x264/0x4f0 [ 50.731419][ T5068] do_sys_openat2+0x124/0x4e0 [ 50.736076][ T5068] __x64_sys_openat+0x243/0x290 [ 50.740904][ T5068] do_syscall_64+0x3d/0xb0 [ 50.745300][ T5068] [ 50.747605][ T5068] Memory state around the buggy address: [ 50.753213][ T5068] ffff8880777db680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 50.761251][ T5068] ffff8880777db700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 50.769291][ T5068] >ffff8880777db780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 50.777328][ T5068] ^ [ 50.785023][ T5068] ffff8880777db800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 50.793060][ T5068] ffff8880777db880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 50.801094][ T5068] ================================================================== [ 50.809624][ T5068] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 50.816822][ T5068] CPU: 0 PID: 5068 Comm: syz-executor195 Not tainted 6.2.0-rc1-syzkaller-00043-g2258c2dc850b #0 [ 50.827219][ T5068] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 50.837261][ T5068] Call Trace: [ 50.840529][ T5068] [ 50.843453][ T5068] dump_stack_lvl+0x1b1/0x290 [ 50.848130][ T5068] ? nf_tcp_handle_invalid+0x630/0x630 [ 50.853581][ T5068] ? panic+0x710/0x710 [ 50.857639][ T5068] ? lock_release+0x81/0x820 [ 50.862224][ T5068] ? vscnprintf+0x59/0x80 [ 50.866546][ T5068] panic+0x2d6/0x710 [ 50.870431][ T5068] ? check_panic_on_warn+0x1d/0xa0 [ 50.875534][ T5068] ? memcpy_page_flushcache+0x100/0x100 [ 50.881068][ T5068] ? _raw_spin_unlock_irqrestore+0x110/0x120 [ 50.887047][ T5068] ? _raw_spin_unlock+0x40/0x40 [ 50.891892][ T5068] ? print_report+0x1b4/0x1f0 [ 50.896566][ T5068] check_panic_on_warn+0x80/0xa0 [ 50.901499][ T5068] ? udf_write_aext+0x62d/0x7e0 [ 50.906347][ T5068] end_report+0x47/0x90 [ 50.910498][ T5068] kasan_report+0xda/0x100 [ 50.914906][ T5068] ? udf_write_aext+0x62d/0x7e0 [ 50.919749][ T5068] udf_write_aext+0x62d/0x7e0 [ 50.924418][ T5068] udf_add_entry+0x1712/0x3300 [ 50.929174][ T5068] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 50.935156][ T5068] ? __mark_inode_dirty+0x593/0x600 [ 50.940351][ T5068] ? udf_add_nondir+0x580/0x580 [ 50.945191][ T5068] ? udf_new_inode+0xb04/0xf30 [ 50.949951][ T5068] ? d_alloc+0x193/0x1d0 [ 50.954186][ T5068] udf_mkdir+0x13c/0x980 [ 50.958425][ T5068] ? udf_symlink+0x1680/0x1680 [ 50.963177][ T5068] ? from_kgid+0x193/0x6b0 [ 50.967583][ T5068] ? make_kgid+0x710/0x710 [ 50.971990][ T5068] ? __lookup_hash+0x123/0x240 [ 50.976747][ T5068] ? apparmor_path_mkdir+0x461/0x520 [ 50.982019][ T5068] ? generic_permission+0x229/0x500 [ 50.987212][ T5068] ? inode_permission+0xf5/0x450 [ 50.992138][ T5068] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 50.997159][ T5068] ? security_inode_mkdir+0xdd/0x120 [ 51.002436][ T5068] vfs_mkdir+0x3b3/0x590 [ 51.006679][ T5068] do_mkdirat+0x25b/0x530 [ 51.011002][ T5068] ? __check_object_size+0x15a/0x210 [ 51.016281][ T5068] ? vfs_mkdir+0x590/0x590 [ 51.020690][ T5068] ? getname_flags+0x1ea/0x4e0 [ 51.025449][ T5068] __x64_sys_mkdirat+0x85/0x90 [ 51.030206][ T5068] do_syscall_64+0x3d/0xb0 [ 51.034613][ T5068] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.040495][ T5068] RIP: 0033:0x7f90ae58fb59 [ 51.044896][ T5068] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 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 [ 51.064488][ T5068] RSP: 002b:00007ffc14c609a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 51.072890][ T5068] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f90ae58fb59 [ 51.080935][ T5068] RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000004 [ 51.088891][ T5068] RBP: 00007f90ae54f160 R08: 0000000000000000 R09: 0000000000000000 [ 51.096848][ T5068] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f90ae54f1f0 [ 51.104803][ T5068] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 51.112764][ T5068] [ 51.115921][ T5068] Kernel Offset: disabled [ 51.120233][ T5068] Rebooting in 86400 seconds..