./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3672060768 <...> Warning: Permanently added '10.128.0.185' (ECDSA) to the list of known hosts. execve("./syz-executor3672060768", ["./syz-executor3672060768"], 0x7ffd011ba400 /* 10 vars */) = 0 brk(NULL) = 0x5555565df000 brk(0x5555565dfc40) = 0x5555565dfc40 arch_prctl(ARCH_SET_FS, 0x5555565df300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor3672060768", 4096) = 28 brk(0x555556600c40) = 0x555556600c40 brk(0x555556601000) = 0x555556601000 mprotect(0x7fc27a941000, 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 getpid() = 5068 openat(AT_FDCWD, "/sys/kernel/debug/x86/nmi_longest_ns", O_WRONLY|O_CLOEXEC) = 3 write(3, "10000000000", 11) = 11 close(3) = 0 openat(AT_FDCWD, "/proc/sys/kernel/hung_task_check_interval_secs", O_WRONLY|O_CLOEXEC) = 3 write(3, "20", 2) = 2 close(3) = 0 openat(AT_FDCWD, "/proc/sys/net/core/bpf_jit_kallsyms", O_WRONLY|O_CLOEXEC) = 3 write(3, "1", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/proc/sys/net/core/bpf_jit_harden", O_WRONLY|O_CLOEXEC) = 3 write(3, "0", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/proc/sys/kernel/kptr_restrict", O_WRONLY|O_CLOEXEC) = 3 write(3, "0", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/proc/sys/kernel/softlockup_all_cpu_backtrace", O_WRONLY|O_CLOEXEC) = 3 write(3, "1", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/proc/sys/fs/mount-max", O_WRONLY|O_CLOEXEC) = 3 write(3, "100", 3) = 3 close(3) = 0 openat(AT_FDCWD, "/proc/sys/vm/oom_dump_tasks", O_WRONLY|O_CLOEXEC) = 3 write(3, "0", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/proc/sys/debug/exception-trace", O_WRONLY|O_CLOEXEC) = 3 write(3, "0", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/proc/sys/kernel/printk", O_WRONLY|O_CLOEXEC) = 3 write(3, "7 4 1 3", 7) = 7 close(3) = 0 openat(AT_FDCWD, "/proc/sys/kernel/keys/gc_delay", O_WRONLY|O_CLOEXEC) = 3 write(3, "1", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/proc/sys/vm/oom_kill_allocating_task", O_WRONLY|O_CLOEXEC) = 3 write(3, "1", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/proc/sys/kernel/ctrl-alt-del", O_WRONLY|O_CLOEXEC) = 3 write(3, "0", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/proc/sys/kernel/cad_pid", O_WRONLY|O_CLOEXEC) = 3 write(3, "5068", 4) = 4 close(3) = 0 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc272486000 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(0x7fc272486000, 4194304) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 51.631409][ T5068] loop0: detected capacity change from 0 to 8192 [ 51.642145][ T5068] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found [ 51.649784][ T5068] UDF-fs: Scanning with blocksize 512 failed [ 51.656828][ T5068] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found [ 51.664208][ T5068] UDF-fs: Scanning with blocksize 1024 failed [ 51.670852][ T5068] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found mount("/dev/loop0", "./file0", "udf", 0, "noadinicb,umask=00000000000000000000002,") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 unlink("./file1") = 0 [ 51.678285][ T5068] UDF-fs: Scanning with blocksize 2048 failed [ 51.687476][ T5068] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 51.704150][ T5068] ================================================================== [ 51.712223][ T5068] BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x62d/0x7e0 [ 51.719792][ T5068] Write of size 4 at addr ffff88802c513ff0 by task syz-executor367/5068 [ 51.728117][ T5068] [ 51.730441][ T5068] CPU: 0 PID: 5068 Comm: syz-executor367 Not tainted 6.2.0-rc1-syzkaller #0 [ 51.739110][ T5068] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 51.749144][ T5068] Call Trace: [ 51.752405][ T5068] [ 51.755316][ T5068] dump_stack_lvl+0x1b1/0x290 [ 51.759982][ T5068] ? nf_tcp_handle_invalid+0x630/0x630 [ 51.765435][ T5068] ? __wake_up_klogd+0xcd/0x100 [ 51.770275][ T5068] ? panic+0x710/0x710 [ 51.774331][ T5068] ? _printk+0xc0/0x100 [ 51.778476][ T5068] print_address_description+0x74/0x340 [ 51.784014][ T5068] print_report+0x107/0x1f0 [ 51.788512][ T5068] ? _raw_spin_lock+0x40/0x40 [ 51.793181][ T5068] ? udf_current_aext+0x5d0/0xa80 [ 51.798196][ T5068] ? __virt_addr_valid+0x21b/0x2d0 [ 51.803301][ T5068] ? __phys_addr+0xb5/0x160 [ 51.807799][ T5068] ? udf_write_aext+0x62d/0x7e0 [ 51.812639][ T5068] kasan_report+0xcd/0x100 [ 51.817050][ T5068] ? udf_write_aext+0x62d/0x7e0 [ 51.821905][ T5068] udf_write_aext+0x62d/0x7e0 [ 51.826578][ T5068] udf_add_entry+0x1712/0x3300 [ 51.831332][ T5068] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 51.837310][ T5068] ? __mark_inode_dirty+0x593/0x600 [ 51.842503][ T5068] ? udf_add_nondir+0x580/0x580 [ 51.847345][ T5068] ? udf_new_inode+0xb04/0xf30 [ 51.852105][ T5068] udf_mkdir+0x13c/0x980 [ 51.856344][ T5068] ? udf_symlink+0x1680/0x1680 [ 51.861100][ T5068] ? from_kgid+0x193/0x6b0 [ 51.865511][ T5068] ? make_kgid+0x710/0x710 [ 51.869917][ T5068] ? __lookup_hash+0x62/0x240 [ 51.874589][ T5068] ? apparmor_path_mkdir+0x461/0x520 [ 51.879863][ T5068] ? generic_permission+0x229/0x500 [ 51.885055][ T5068] ? inode_permission+0xf5/0x450 [ 51.889986][ T5068] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 51.895001][ T5068] ? security_inode_mkdir+0xdd/0x120 [ 51.900279][ T5068] vfs_mkdir+0x3b3/0x590 [ 51.904517][ T5068] do_mkdirat+0x25b/0x530 [ 51.908836][ T5068] ? 0xffffffff81000000 [ 51.912978][ T5068] ? __check_object_size+0x15a/0x210 [ 51.918253][ T5068] ? vfs_mkdir+0x590/0x590 [ 51.922662][ T5068] ? getname_flags+0x1ea/0x4e0 [ 51.927427][ T5068] __x64_sys_mkdir+0x6a/0x80 [ 51.932017][ T5068] do_syscall_64+0x3d/0xb0 [ 51.936429][ T5068] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.942322][ T5068] RIP: 0033:0x7fc27a8da819 [ 51.946724][ T5068] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 17 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.966313][ T5068] RSP: 002b:00007ffebbb4fb28 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 [ 51.974714][ T5068] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007fc27a8da819 [ 51.982674][ T5068] RDX: 00007fc27a8da819 RSI: 0000000000000096 RDI: 0000000020000100 [ 51.990656][ T5068] RBP: 00007fc27a9160cf R08: 0000000038363035 R09: 0000000038363035 [ 51.998632][ T5068] R10: 000000000000189e R11: 0000000000000246 R12: 00007ffebbb4fc30 [ 52.006601][ T5068] R13: 00007fc27a9160e8 R14: 0000000000000000 R15: 0000000000000000 [ 52.014574][ T5068] [ 52.017582][ T5068] [ 52.019904][ T5068] Allocated by task 4782: [ 52.024216][ T5068] kasan_set_track+0x3d/0x60 [ 52.028800][ T5068] __kasan_kmalloc+0x97/0xb0 [ 52.033383][ T5068] __kmalloc+0xaf/0x190 [ 52.037525][ T5068] tomoyo_realpath_from_path+0xcd/0x5f0 [ 52.043061][ T5068] tomoyo_check_open_permission+0x1f3/0x480 [ 52.048946][ T5068] security_file_open+0x50/0x560 [ 52.053879][ T5068] do_dentry_open+0x306/0x11b0 [ 52.058633][ T5068] path_openat+0x25ba/0x2dd0 [ 52.063215][ T5068] do_filp_open+0x264/0x4f0 [ 52.067707][ T5068] do_sys_openat2+0x124/0x4e0 [ 52.072369][ T5068] __x64_sys_openat+0x243/0x290 [ 52.077473][ T5068] do_syscall_64+0x3d/0xb0 [ 52.081908][ T5068] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 52.087791][ T5068] [ 52.090100][ T5068] The buggy address belongs to the object at ffff88802c512000 [ 52.090100][ T5068] which belongs to the cache kmalloc-4k of size 4096 [ 52.104141][ T5068] The buggy address is located 4080 bytes to the right of [ 52.104141][ T5068] 4096-byte region [ffff88802c512000, ffff88802c513000) [ 52.118099][ T5068] [ 52.120409][ T5068] The buggy address belongs to the physical page: [ 52.126803][ T5068] page:ffffea0000b14400 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88802c510000 pfn:0x2c510 [ 52.138242][ T5068] head:ffffea0000b14400 order:3 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 [ 52.148284][ T5068] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 52.156253][ T5068] raw: 00fff00000010200 ffff888012842140 dead000000000100 dead000000000122 [ 52.164821][ T5068] raw: ffff88802c510000 0000000080040003 00000001ffffffff 0000000000000000 [ 52.173386][ T5068] page dumped because: kasan: bad access detected [ 52.179778][ T5068] page_owner tracks the page as allocated [ 52.185496][ T5068] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 10497951507, free_ts 0 [ 52.205213][ T5068] get_page_from_freelist+0x742/0x7c0 [ 52.210581][ T5068] __alloc_pages+0x259/0x560 [ 52.215171][ T5068] alloc_page_interleave+0x22/0x1c0 [ 52.220378][ T5068] alloc_slab_page+0xbd/0x190 [ 52.225048][ T5068] allocate_slab+0x5e/0x3c0 [ 52.229546][ T5068] ___slab_alloc+0x782/0xe20 [ 52.234124][ T5068] __kmem_cache_alloc_node+0x25b/0x340 [ 52.239576][ T5068] kmalloc_trace+0x26/0x60 [ 52.243984][ T5068] kobject_uevent_env+0x33a/0x8e0 [ 52.249007][ T5068] kernel_add_sysfs_param+0x106/0x130 [ 52.254379][ T5068] param_sysfs_builtin+0x1fb/0x2b0 [ 52.259483][ T5068] param_sysfs_builtin_init+0x29/0x30 [ 52.264854][ T5068] do_one_initcall+0x1d1/0x410 [ 52.269620][ T5068] do_initcall_level+0x168/0x220 [ 52.274555][ T5068] do_initcalls+0x43/0x90 [ 52.278878][ T5068] kernel_init_freeable+0x428/0x5e0 [ 52.284081][ T5068] page_owner free stack trace missing [ 52.289434][ T5068] [ 52.291742][ T5068] Memory state around the buggy address: [ 52.297353][ T5068] ffff88802c513e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 52.305407][ T5068] ffff88802c513f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 52.313461][ T5068] >ffff88802c513f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 52.321510][ T5068] ^ [ 52.329208][ T5068] ffff88802c514000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 52.337254][ T5068] ffff88802c514080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 52.345295][ T5068] ================================================================== [ 52.354317][ T5068] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 52.361519][ T5068] CPU: 1 PID: 5068 Comm: syz-executor367 Not tainted 6.2.0-rc1-syzkaller #0 [ 52.370190][ T5068] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 52.380239][ T5068] Call Trace: [ 52.383510][ T5068] [ 52.386432][ T5068] dump_stack_lvl+0x1b1/0x290 [ 52.391110][ T5068] ? nf_tcp_handle_invalid+0x630/0x630 [ 52.396563][ T5068] ? panic+0x710/0x710 [ 52.400616][ T5068] ? lock_release+0x81/0x820 [ 52.405201][ T5068] ? vscnprintf+0x59/0x80 [ 52.409521][ T5068] panic+0x2d6/0x710 [ 52.413408][ T5068] ? check_panic_on_warn+0x1d/0xa0 [ 52.418511][ T5068] ? memcpy_page_flushcache+0x100/0x100 [ 52.424054][ T5068] ? _raw_spin_unlock_irqrestore+0x110/0x120 [ 52.430039][ T5068] ? _raw_spin_unlock+0x40/0x40 [ 52.434886][ T5068] ? print_report+0x1b4/0x1f0 [ 52.439561][ T5068] check_panic_on_warn+0x80/0xa0 [ 52.444493][ T5068] ? udf_write_aext+0x62d/0x7e0 [ 52.449341][ T5068] end_report+0x47/0x90 [ 52.453491][ T5068] kasan_report+0xda/0x100 [ 52.457903][ T5068] ? udf_write_aext+0x62d/0x7e0 [ 52.462749][ T5068] udf_write_aext+0x62d/0x7e0 [ 52.467420][ T5068] udf_add_entry+0x1712/0x3300 [ 52.472175][ T5068] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 52.478153][ T5068] ? __mark_inode_dirty+0x593/0x600 [ 52.483356][ T5068] ? udf_add_nondir+0x580/0x580 [ 52.488204][ T5068] ? udf_new_inode+0xb04/0xf30 [ 52.492968][ T5068] udf_mkdir+0x13c/0x980 [ 52.497218][ T5068] ? udf_symlink+0x1680/0x1680 [ 52.501979][ T5068] ? from_kgid+0x193/0x6b0 [ 52.506395][ T5068] ? make_kgid+0x710/0x710 [ 52.510804][ T5068] ? __lookup_hash+0x62/0x240 [ 52.515477][ T5068] ? apparmor_path_mkdir+0x461/0x520 [ 52.520756][ T5068] ? generic_permission+0x229/0x500 [ 52.525948][ T5068] ? inode_permission+0xf5/0x450 [ 52.530883][ T5068] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 52.535910][ T5068] ? security_inode_mkdir+0xdd/0x120 [ 52.541192][ T5068] vfs_mkdir+0x3b3/0x590 [ 52.545435][ T5068] do_mkdirat+0x25b/0x530 [ 52.549759][ T5068] ? 0xffffffff81000000 [ 52.553901][ T5068] ? __check_object_size+0x15a/0x210 [ 52.559182][ T5068] ? vfs_mkdir+0x590/0x590 [ 52.563594][ T5068] ? getname_flags+0x1ea/0x4e0 [ 52.568363][ T5068] __x64_sys_mkdir+0x6a/0x80 [ 52.572952][ T5068] do_syscall_64+0x3d/0xb0 [ 52.577362][ T5068] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 52.583244][ T5068] RIP: 0033:0x7fc27a8da819 [ 52.587645][ T5068] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 41 17 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 [ 52.607326][ T5068] RSP: 002b:00007ffebbb4fb28 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 [ 52.615727][ T5068] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007fc27a8da819 [ 52.623690][ T5068] RDX: 00007fc27a8da819 RSI: 0000000000000096 RDI: 0000000020000100 [ 52.631649][ T5068] RBP: 00007fc27a9160cf R08: 0000000038363035 R09: 0000000038363035 [ 52.639606][ T5068] R10: 000000000000189e R11: 0000000000000246 R12: 00007ffebbb4fc30 [ 52.647568][ T5068] R13: 00007fc27a9160e8 R14: 0000000000000000 R15: 0000000000000000 [ 52.655541][ T5068] [ 52.658707][ T5068] Kernel Offset: disabled [ 52.663023][ T5068] Rebooting in 86400 seconds..