./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor144673824
<...>
Warning: Permanently added '10.128.0.160' (ECDSA) to the list of known hosts.
execve("./syz-executor144673824", ["./syz-executor144673824"], 0x7ffd4088f650 /* 10 vars */) = 0
brk(NULL) = 0x55555726c000
brk(0x55555726cc40) = 0x55555726cc40
arch_prctl(ARCH_SET_FS, 0x55555726c300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor144673824", 4096) = 27
brk(0x55555728dc40) = 0x55555728dc40
brk(0x55555728e000) = 0x55555728e000
mprotect(0x7f04fff16000, 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
openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3
ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address)
close(3) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55555726c5d0) = 5069
./strace-static-x86_64: Process 5069 attached
[pid 5069] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0
[pid 5069] setpgid(0, 0) = 0
[pid 5069] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3
[pid 5069] write(3, "1000", 4) = 4
[pid 5069] close(3) = 0
[pid 5069] memfd_create("syzkaller", 0) = 3
[pid 5069] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f04f7a5a000
[pid 5069] 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
[pid 5069] munmap(0x7f04f7a5a000, 4194304) = 0
[pid 5069] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4
[pid 5069] ioctl(4, LOOP_SET_FD, 3) = 0
[pid 5069] close(3) = 0
[pid 5069] mkdir("./file0", 0777) = 0
[ 53.120666][ T5069] loop0: detected capacity change from 0 to 8192
[ 53.133009][ T5069] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
[ 53.140676][ T5069] UDF-fs: Scanning with blocksize 512 failed
[ 53.147726][ T5069] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
[ 53.155179][ T5069] UDF-fs: Scanning with blocksize 1024 failed
[ 53.161659][ T5069] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
[pid 5069] mount("/dev/loop0", "./file0", "udf", 0, "noadinicb,umask=00000000000000000000002,") = 0
[pid 5069] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3
[pid 5069] chdir("./file0") = 0
[pid 5069] ioctl(4, LOOP_CLR_FD) = 0
[pid 5069] close(4) = 0
[pid 5069] unlink("./file1") = 0
[ 53.169299][ T5069] UDF-fs: Scanning with blocksize 2048 failed
[ 53.177482][ T5069] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
[ 53.207744][ T5069] ==================================================================
[ 53.215828][ T5069] BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x62d/0x7e0
[ 53.223374][ T5069] Write of size 4 at addr ffff88807b3adff0 by task syz-executor144/5069
[ 53.231672][ T5069]
[ 53.233975][ T5069] CPU: 0 PID: 5069 Comm: syz-executor144 Not tainted 6.2.0-rc1-syzkaller #0
[ 53.242623][ T5069] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 53.252759][ T5069] Call Trace:
[ 53.256032][ T5069]
[ 53.258960][ T5069] dump_stack_lvl+0x1b1/0x290
[ 53.263623][ T5069] ? nf_tcp_handle_invalid+0x630/0x630
[ 53.269060][ T5069] ? __wake_up_klogd+0xcd/0x100
[ 53.273889][ T5069] ? panic+0x710/0x710
[ 53.277933][ T5069] ? _printk+0xc0/0x100
[ 53.282081][ T5069] print_address_description+0x74/0x340
[ 53.287606][ T5069] print_report+0x107/0x1f0
[ 53.292093][ T5069] ? _raw_spin_lock+0x40/0x40
[ 53.296764][ T5069] ? udf_current_aext+0x5d0/0xa80
[ 53.301768][ T5069] ? __virt_addr_valid+0x21b/0x2d0
[ 53.306866][ T5069] ? __phys_addr+0xb5/0x160
[ 53.311348][ T5069] ? udf_write_aext+0x62d/0x7e0
[ 53.316175][ T5069] kasan_report+0xcd/0x100
[ 53.320577][ T5069] ? udf_write_aext+0x62d/0x7e0
[ 53.325417][ T5069] udf_write_aext+0x62d/0x7e0
[ 53.330087][ T5069] udf_add_entry+0x1712/0x3300
[ 53.334826][ T5069] ? __bpf_trace_rcu_stall_warning+0x10/0x10
[ 53.340783][ T5069] ? __mark_inode_dirty+0x593/0x600
[ 53.345958][ T5069] ? udf_add_nondir+0x580/0x580
[ 53.350793][ T5069] ? udf_new_inode+0xb04/0xf30
[ 53.355537][ T5069] udf_mkdir+0x13c/0x980
[ 53.359767][ T5069] ? udf_symlink+0x1680/0x1680
[ 53.364522][ T5069] ? from_kgid+0x193/0x6b0
[ 53.368915][ T5069] ? make_kgid+0x710/0x710
[ 53.373313][ T5069] ? __lookup_hash+0x62/0x240
[ 53.377980][ T5069] ? apparmor_path_mkdir+0x461/0x520
[ 53.383246][ T5069] ? generic_permission+0x229/0x500
[ 53.388445][ T5069] ? inode_permission+0xf5/0x450
[ 53.393357][ T5069] ? bpf_lsm_inode_mkdir+0x5/0x10
[ 53.398544][ T5069] ? security_inode_mkdir+0xdd/0x120
[ 53.403823][ T5069] vfs_mkdir+0x3b3/0x590
[ 53.408061][ T5069] do_mkdirat+0x25b/0x530
[ 53.412378][ T5069] ? 0xffffffff81000000
[ 53.416520][ T5069] ? __check_object_size+0x15a/0x210
[ 53.421803][ T5069] ? vfs_mkdir+0x590/0x590
[ 53.426202][ T5069] ? getname_flags+0x1ea/0x4e0
[ 53.430951][ T5069] __x64_sys_mkdir+0x6a/0x80
[ 53.435530][ T5069] do_syscall_64+0x3d/0xb0
[ 53.439936][ T5069] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 53.445827][ T5069] RIP: 0033:0x7f04ffea6837
[ 53.450221][ T5069] 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
[ 53.469998][ T5069] RSP: 002b:00007fff13ddf408 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
[ 53.478490][ T5069] RAX: ffffffffffffffda RBX: 000055555726c2c0 RCX: 00007f04ffea6837
[ 53.486470][ T5069] RDX: 0000000000046000 RSI: 00000000000001ff RDI: 0000000020000300
[ 53.494422][ T5069] RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
[ 53.502480][ T5069] R10: 00007fff13ddf4a0 R11: 0000000000000286 R12: 0000000020000300
[ 53.510440][ T5069] R13: 0000000000000000 R14: 0000000000000000 R15: 00007fff13ddf4a0
[ 53.518394][ T5069]
[ 53.521408][ T5069]
[ 53.523721][ T5069] Allocated by task 4785:
[ 53.528022][ T5069] kasan_set_track+0x3d/0x60
[ 53.532610][ T5069] __kasan_kmalloc+0x97/0xb0
[ 53.537174][ T5069] __kmalloc+0xaf/0x190
[ 53.541334][ T5069] tomoyo_realpath_from_path+0xcd/0x5f0
[ 53.546892][ T5069] tomoyo_path_perm+0x22e/0x670
[ 53.551742][ T5069] security_inode_getattr+0xc0/0x140
[ 53.557030][ T5069] vfs_statx+0x188/0x4a0
[ 53.561249][ T5069] __se_sys_newfstatat+0xed/0x7d0
[ 53.566260][ T5069] do_syscall_64+0x3d/0xb0
[ 53.570662][ T5069] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 53.576556][ T5069]
[ 53.578884][ T5069] The buggy address belongs to the object at ffff88807b3ac000
[ 53.578884][ T5069] which belongs to the cache kmalloc-4k of size 4096
[ 53.592928][ T5069] The buggy address is located 4080 bytes to the right of
[ 53.592928][ T5069] 4096-byte region [ffff88807b3ac000, ffff88807b3ad000)
[ 53.606871][ T5069]
[ 53.609179][ T5069] The buggy address belongs to the physical page:
[ 53.615658][ T5069] page:ffffea0001ecea00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7b3a8
[ 53.626574][ T5069] head:ffffea0001ecea00 order:3 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0
[ 53.636629][ T5069] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff)
[ 53.644628][ T5069] raw: 00fff00000010200 ffff888012842140 dead000000000100 dead000000000122
[ 53.653216][ T5069] raw: 0000000000000000 0000000080040004 00000001ffffffff 0000000000000000
[ 53.661797][ T5069] page dumped because: kasan: bad access detected
[ 53.668206][ T5069] page_owner tracks the page as allocated
[ 53.673904][ T5069] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4440, tgid 4440 (udevd), ts 24362147217, free_ts 18368741174
[ 53.694640][ T5069] get_page_from_freelist+0x742/0x7c0
[ 53.700000][ T5069] __alloc_pages+0x259/0x560
[ 53.704570][ T5069] alloc_slab_page+0xbd/0x190
[ 53.709255][ T5069] allocate_slab+0x5e/0x3c0
[ 53.713851][ T5069] ___slab_alloc+0x782/0xe20
[ 53.718423][ T5069] __kmem_cache_alloc_node+0x25b/0x340
[ 53.723887][ T5069] kmalloc_trace+0x26/0x60
[ 53.728304][ T5069] uevent_show+0x163/0x310
[ 53.732737][ T5069] dev_attr_show+0x50/0xc0
[ 53.737168][ T5069] sysfs_kf_seq_show+0x324/0x4a0
[ 53.742184][ T5069] seq_read_iter+0x43a/0xd30
[ 53.746770][ T5069] vfs_read+0x7ac/0xbf0
[ 53.750916][ T5069] ksys_read+0x177/0x2a0
[ 53.755144][ T5069] do_syscall_64+0x3d/0xb0
[ 53.759559][ T5069] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 53.765461][ T5069] page last free stack trace:
[ 53.770124][ T5069] free_pcp_prepare+0x751/0x780
[ 53.774969][ T5069] free_unref_page+0x19/0x4c0
[ 53.779629][ T5069] __unfreeze_partials+0x1a5/0x1e0
[ 53.784734][ T5069] put_cpu_partial+0x106/0x170
[ 53.789478][ T5069] qlist_free_all+0x2b/0x70
[ 53.793972][ T5069] kasan_quarantine_reduce+0x156/0x170
[ 53.799410][ T5069] __kasan_slab_alloc+0x1f/0x70
[ 53.804252][ T5069] kmem_cache_alloc+0x1b3/0x350
[ 53.809086][ T5069] vm_area_dup+0x23/0x1b0
[ 53.813405][ T5069] __split_vma+0xcc/0x530
[ 53.817719][ T5069] do_mas_align_munmap+0x876/0x14e0
[ 53.822904][ T5069] do_mas_munmap+0x245/0x2b0
[ 53.827478][ T5069] mmap_region+0x7b0/0x1e20
[ 53.831972][ T5069] do_mmap+0x8d9/0xf30
[ 53.836054][ T5069] vm_mmap_pgoff+0x19e/0x2b0
[ 53.840650][ T5069] ksys_mmap_pgoff+0x48c/0x6d0
[ 53.845405][ T5069]
[ 53.847725][ T5069] Memory state around the buggy address:
[ 53.853335][ T5069] ffff88807b3ade80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 53.861382][ T5069] ffff88807b3adf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 53.869443][ T5069] >ffff88807b3adf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 53.877497][ T5069] ^
[ 53.885200][ T5069] ffff88807b3ae000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 53.893236][ T5069] ffff88807b3ae080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 53.901274][ T5069] ==================================================================
[ 53.914708][ T5069] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 53.921911][ T5069] CPU: 0 PID: 5069 Comm: syz-executor144 Not tainted 6.2.0-rc1-syzkaller #0
[ 53.930620][ T5069] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 53.940685][ T5069] Call Trace:
[ 53.943959][ T5069]
[ 53.946890][ T5069] dump_stack_lvl+0x1b1/0x290
[ 53.951552][ T5069] ? nf_tcp_handle_invalid+0x630/0x630
[ 53.957013][ T5069] ? panic+0x710/0x710
[ 53.961071][ T5069] ? lock_release+0x81/0x820
[ 53.965657][ T5069] ? vscnprintf+0x59/0x80
[ 53.969971][ T5069] panic+0x2d6/0x710
[ 53.973858][ T5069] ? check_panic_on_warn+0x1d/0xa0
[ 53.979953][ T5069] ? memcpy_page_flushcache+0x100/0x100
[ 53.985742][ T5069] ? _raw_spin_unlock_irqrestore+0x110/0x120
[ 53.991707][ T5069] ? _raw_spin_unlock+0x40/0x40
[ 53.996538][ T5069] ? print_report+0x1b4/0x1f0
[ 54.001197][ T5069] check_panic_on_warn+0x80/0xa0
[ 54.006114][ T5069] ? udf_write_aext+0x62d/0x7e0
[ 54.010948][ T5069] end_report+0x47/0x90
[ 54.015095][ T5069] kasan_report+0xda/0x100
[ 54.019491][ T5069] ? udf_write_aext+0x62d/0x7e0
[ 54.024322][ T5069] udf_write_aext+0x62d/0x7e0
[ 54.028989][ T5069] udf_add_entry+0x1712/0x3300
[ 54.033747][ T5069] ? __bpf_trace_rcu_stall_warning+0x10/0x10
[ 54.039738][ T5069] ? __mark_inode_dirty+0x593/0x600
[ 54.045185][ T5069] ? udf_add_nondir+0x580/0x580
[ 54.050804][ T5069] ? udf_new_inode+0xb04/0xf30
[ 54.055563][ T5069] udf_mkdir+0x13c/0x980
[ 54.059795][ T5069] ? udf_symlink+0x1680/0x1680
[ 54.064543][ T5069] ? from_kgid+0x193/0x6b0
[ 54.068954][ T5069] ? make_kgid+0x710/0x710
[ 54.073358][ T5069] ? __lookup_hash+0x62/0x240
[ 54.078027][ T5069] ? apparmor_path_mkdir+0x461/0x520
[ 54.083299][ T5069] ? generic_permission+0x229/0x500
[ 54.088488][ T5069] ? inode_permission+0xf5/0x450
[ 54.093585][ T5069] ? bpf_lsm_inode_mkdir+0x5/0x10
[ 54.098681][ T5069] ? security_inode_mkdir+0xdd/0x120
[ 54.103957][ T5069] vfs_mkdir+0x3b3/0x590
[ 54.108192][ T5069] do_mkdirat+0x25b/0x530
[ 54.112505][ T5069] ? 0xffffffff81000000
[ 54.116638][ T5069] ? __check_object_size+0x15a/0x210
[ 54.121910][ T5069] ? vfs_mkdir+0x590/0x590
[ 54.126328][ T5069] ? getname_flags+0x1ea/0x4e0
[ 54.131083][ T5069] __x64_sys_mkdir+0x6a/0x80
[ 54.135662][ T5069] do_syscall_64+0x3d/0xb0
[ 54.140759][ T5069] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 54.146642][ T5069] RIP: 0033:0x7f04ffea6837
[ 54.151040][ T5069] 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
[ 54.170725][ T5069] RSP: 002b:00007fff13ddf408 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
[ 54.179995][ T5069] RAX: ffffffffffffffda RBX: 000055555726c2c0 RCX: 00007f04ffea6837
[ 54.187953][ T5069] RDX: 0000000000046000 RSI: 00000000000001ff RDI: 0000000020000300
[ 54.195906][ T5069] RBP: 00000000ffffffff R08: 0000000000000000 R09: 0000000000000000
[ 54.203867][ T5069] R10: 00007fff13ddf4a0 R11: 0000000000000286 R12: 0000000020000300
[ 54.211821][ T5069] R13: 0000000000000000 R14: 0000000000000000 R15: 00007fff13ddf4a0
[ 54.219781][ T5069]
[ 54.222915][ T5069] Kernel Offset: disabled
[ 54.227230][ T5069] Rebooting in 86400 seconds..