./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3199012345
<...>
DUID 00:04:f8:b5:8a:47:ae:09:95:3a:43:2d:d7:42:86:31:94:89
forked to background, child pid 4645
[ 30.342136][ T4646] 8021q: adding VLAN 0 to HW filter on device bond0
[ 30.351781][ T4646] eql: remember to turn off Van-Jacobson compression on your slave devices
Starting sshd: OK
syzkaller
Warning: Permanently added '10.128.0.243' (ECDSA) to the list of known hosts.
execve("./syz-executor3199012345", ["./syz-executor3199012345"], 0x7ffe1d6c6a80 /* 10 vars */) = 0
brk(NULL) = 0x555556362000
brk(0x555556362c40) = 0x555556362c40
arch_prctl(ARCH_SET_FS, 0x555556362300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor3199012345", 4096) = 28
brk(0x555556383c40) = 0x555556383c40
brk(0x555556384000) = 0x555556384000
mprotect(0x7f09f2c89000, 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) = 0x7f09ea7d0000
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"..., 262144) = 262144
munmap(0x7f09ea7d0000, 262144) = 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: [ 59.564694][ T5067] loop0: detected capacity change from 0 to 512
[ 59.575597][ T5067] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
[ 59.583187][ T5067] UDF-fs: Scanning with blocksize 512 failed
[ 59.590082][ T5067] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
[ 59.597551][ T5067] UDF-fs: Scanning with blocksize 1024 failed
[ 59.604126][ T5067] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
mount("/dev/loop0", "./file0", "udf", MS_POSIXACL|MS_KERNMOUNT, "iocharset=iso8859-9,utf8,noadinicb,iocharset=cp437,iocharset=macceltic,") = 0
openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3
chdir("./file0") = 0
ioctl(4, LOOP_CLR_FD) = 0
close(4) = 0
[ 59.611583][ T5067] UDF-fs: Scanning with blocksize 2048 failed
[ 59.618257][ T5067] UDF-fs: error (device loop0): udf_read_tagged: read failed, block=256, location=256
[ 59.629739][ T5067] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
[ 59.648779][ T5067] ==================================================================
[ 59.656864][ T5067] BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x62d/0x7e0
[ 59.664442][ T5067] Write of size 4 at addr ffff888026403ff0 by task syz-executor319/5067
[ 59.672760][ T5067]
[ 59.675067][ T5067] CPU: 1 PID: 5067 Comm: syz-executor319 Not tainted 6.1.0-syzkaller-13781-gaeba12b26c79 #0
[ 59.685109][ T5067] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 59.695145][ T5067] Call Trace:
[ 59.698407][ T5067]
[ 59.701318][ T5067] dump_stack_lvl+0x1b1/0x290
[ 59.705979][ T5067] ? nf_tcp_handle_invalid+0x630/0x630
[ 59.711417][ T5067] ? __wake_up_klogd+0xcd/0x100
[ 59.716249][ T5067] ? panic+0x710/0x710
[ 59.720298][ T5067] ? _printk+0xc0/0x100
[ 59.724441][ T5067] print_address_description+0x74/0x340
[ 59.729968][ T5067] print_report+0x107/0x1f0
[ 59.734450][ T5067] ? _raw_spin_lock+0x40/0x40
[ 59.739107][ T5067] ? udf_current_aext+0x5d0/0xa80
[ 59.744113][ T5067] ? __virt_addr_valid+0x21b/0x2d0
[ 59.749209][ T5067] ? __phys_addr+0xb5/0x160
[ 59.753705][ T5067] ? udf_write_aext+0x62d/0x7e0
[ 59.758546][ T5067] kasan_report+0xcd/0x100
[ 59.762959][ T5067] ? udf_write_aext+0x62d/0x7e0
[ 59.767800][ T5067] udf_write_aext+0x62d/0x7e0
[ 59.772467][ T5067] udf_add_entry+0x1712/0x3300
[ 59.777220][ T5067] ? __bpf_trace_rcu_stall_warning+0x10/0x10
[ 59.783193][ T5067] ? __mark_inode_dirty+0x593/0x600
[ 59.788385][ T5067] ? udf_add_nondir+0x580/0x580
[ 59.793224][ T5067] ? udf_new_inode+0xb04/0xf30
[ 59.797981][ T5067] ? d_alloc+0x193/0x1d0
[ 59.802216][ T5067] udf_mkdir+0x13c/0x980
[ 59.806452][ T5067] ? udf_symlink+0x1680/0x1680
[ 59.811205][ T5067] ? from_kgid+0x193/0x6b0
[ 59.815615][ T5067] ? make_kgid+0x710/0x710
[ 59.820021][ T5067] ? __lookup_hash+0x123/0x240
[ 59.824779][ T5067] ? apparmor_path_mkdir+0x461/0x520
[ 59.830055][ T5067] ? generic_permission+0x229/0x500
[ 59.835248][ T5067] ? inode_permission+0xf5/0x450
[ 59.840176][ T5067] ? bpf_lsm_inode_mkdir+0x5/0x10
[ 59.845191][ T5067] ? security_inode_mkdir+0xdd/0x120
[ 59.850472][ T5067] vfs_mkdir+0x3b3/0x590
[ 59.854710][ T5067] do_mkdirat+0x25b/0x530
[ 59.859033][ T5067] ? 0xffffffff81000000
[ 59.863179][ T5067] ? __check_object_size+0x15a/0x210
[ 59.868458][ T5067] ? vfs_mkdir+0x590/0x590
[ 59.872867][ T5067] ? getname_flags+0x1ea/0x4e0
[ 59.877624][ T5067] __x64_sys_mkdir+0x6a/0x80
[ 59.882207][ T5067] do_syscall_64+0x3d/0xb0
[ 59.886614][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 59.892496][ T5067] RIP: 0033:0x7f09f2c1bbf7
[ 59.896902][ T5067] 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
[ 59.916497][ T5067] RSP: 002b:00007ffda44991f8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
[ 59.924901][ T5067] RAX: ffffffffffffffda RBX: 00005555563622c0 RCX: 00007f09f2c1bbf7
[ 59.932859][ T5067] RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000040
[ 59.940815][ T5067] RBP: 00007ffda4499290 R08: 0000000000000000 R09: 0000000000000000
[ 59.948773][ T5067] R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
[ 59.956729][ T5067] R13: 0000000020000040 R14: 00000000200002c0 R15: 0000000000000000
[ 59.964697][ T5067]
[ 59.967702][ T5067]
[ 59.970009][ T5067] Allocated by task 5067:
[ 59.974317][ T5067] kasan_set_track+0x3d/0x60
[ 59.978900][ T5067] __kasan_kmalloc+0x97/0xb0
[ 59.983481][ T5067] tomoyo_init_log+0x16a/0x1f80
[ 59.988325][ T5067] tomoyo_supervisor+0x38d/0x14f0
[ 59.993344][ T5067] tomoyo_path_number_perm+0x521/0x780
[ 59.998795][ T5067] tomoyo_path_mkdir+0xe3/0x120
[ 60.003631][ T5067] security_path_mkdir+0xd5/0x160
[ 60.008643][ T5067] do_mkdirat+0x1aa/0x530
[ 60.012965][ T5067] __x64_sys_mkdir+0x6a/0x80
[ 60.017570][ T5067] do_syscall_64+0x3d/0xb0
[ 60.021971][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 60.027851][ T5067]
[ 60.030160][ T5067] Freed by task 5067:
[ 60.034120][ T5067] kasan_set_track+0x3d/0x60
[ 60.038700][ T5067] kasan_save_free_info+0x27/0x40
[ 60.043713][ T5067] ____kasan_slab_free+0xd6/0x120
[ 60.048727][ T5067] slab_free_freelist_hook+0x12e/0x1a0
[ 60.054174][ T5067] __kmem_cache_free+0x71/0x110
[ 60.059012][ T5067] tomoyo_init_log+0x1be7/0x1f80
[ 60.063938][ T5067] tomoyo_supervisor+0x38d/0x14f0
[ 60.068949][ T5067] tomoyo_path_number_perm+0x521/0x780
[ 60.074401][ T5067] tomoyo_path_mkdir+0xe3/0x120
[ 60.079237][ T5067] security_path_mkdir+0xd5/0x160
[ 60.084252][ T5067] do_mkdirat+0x1aa/0x530
[ 60.088571][ T5067] __x64_sys_mkdir+0x6a/0x80
[ 60.093149][ T5067] do_syscall_64+0x3d/0xb0
[ 60.097553][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 60.103432][ T5067]
[ 60.105740][ T5067] The buggy address belongs to the object at ffff888026402000
[ 60.105740][ T5067] which belongs to the cache kmalloc-4k of size 4096
[ 60.119777][ T5067] The buggy address is located 4080 bytes to the right of
[ 60.119777][ T5067] 4096-byte region [ffff888026402000, ffff888026403000)
[ 60.133730][ T5067]
[ 60.136039][ T5067] The buggy address belongs to the physical page:
[ 60.142431][ T5067] page:ffffea0000990000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x26400
[ 60.152566][ T5067] head:ffffea0000990000 order:3 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0
[ 60.162614][ T5067] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff)
[ 60.170582][ T5067] raw: 00fff00000010200 ffff888012842140 dead000000000122 0000000000000000
[ 60.179501][ T5067] raw: 0000000000000000 0000000080040004 00000001ffffffff 0000000000000000
[ 60.188065][ T5067] page dumped because: kasan: bad access detected
[ 60.194457][ T5067] page_owner tracks the page as allocated
[ 60.200156][ T5067] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5067, tgid 5067 (syz-executor319), ts 59647509033, free_ts 59545135398
[ 60.220975][ T5067] get_page_from_freelist+0x742/0x7c0
[ 60.226341][ T5067] __alloc_pages+0x259/0x560
[ 60.230922][ T5067] alloc_slab_page+0xbd/0x190
[ 60.235601][ T5067] allocate_slab+0x5e/0x3c0
[ 60.240102][ T5067] ___slab_alloc+0x782/0xe20
[ 60.244686][ T5067] __kmem_cache_alloc_node+0x25b/0x340
[ 60.250142][ T5067] __kmalloc+0x9e/0x190
[ 60.254305][ T5067] tomoyo_realpath_from_path+0xcd/0x5f0
[ 60.259845][ T5067] tomoyo_path_number_perm+0x1e3/0x780
[ 60.265296][ T5067] tomoyo_path_mkdir+0xe3/0x120
[ 60.270135][ T5067] security_path_mkdir+0xd5/0x160
[ 60.275152][ T5067] do_mkdirat+0x1aa/0x530
[ 60.279475][ T5067] __x64_sys_mkdir+0x6a/0x80
[ 60.284058][ T5067] do_syscall_64+0x3d/0xb0
[ 60.288466][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 60.294346][ T5067] page last free stack trace:
[ 60.299000][ T5067] free_pcp_prepare+0x751/0x780
[ 60.303846][ T5067] free_unref_page+0x19/0x4c0
[ 60.308513][ T5067] __unfreeze_partials+0x1a5/0x1e0
[ 60.313615][ T5067] put_cpu_partial+0x106/0x170
[ 60.318370][ T5067] qlist_free_all+0x2b/0x70
[ 60.322859][ T5067] kasan_quarantine_reduce+0x156/0x170
[ 60.328304][ T5067] __kasan_slab_alloc+0x1f/0x70
[ 60.333144][ T5067] __kmem_cache_alloc_node+0x1e0/0x340
[ 60.338587][ T5067] __kmalloc+0x9e/0x190
[ 60.342729][ T5067] tomoyo_supervisor+0xf4d/0x14f0
[ 60.347743][ T5067] tomoyo_env_perm+0x15b/0x1f0
[ 60.352513][ T5067] tomoyo_find_next_domain+0x169e/0x1d80
[ 60.358136][ T5067] tomoyo_bprm_check_security+0xf1/0x150
[ 60.363753][ T5067] security_bprm_check+0x50/0xb0
[ 60.368677][ T5067] bprm_execve+0x817/0x1590
[ 60.373165][ T5067] do_execveat_common+0x598/0x750
[ 60.378177][ T5067]
[ 60.380487][ T5067] Memory state around the buggy address:
[ 60.386098][ T5067] ffff888026403e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 60.394143][ T5067] ffff888026403f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 60.402186][ T5067] >ffff888026403f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 60.410226][ T5067] ^
[ 60.417919][ T5067] ffff888026404000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 60.426041][ T5067] ffff888026404080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 60.434101][ T5067] ==================================================================
[ 60.443354][ T5067] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 60.450561][ T5067] CPU: 1 PID: 5067 Comm: syz-executor319 Not tainted 6.1.0-syzkaller-13781-gaeba12b26c79 #0
[ 60.460625][ T5067] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 60.470684][ T5067] Call Trace:
[ 60.473952][ T5067]
[ 60.476876][ T5067] dump_stack_lvl+0x1b1/0x290
[ 60.481550][ T5067] ? nf_tcp_handle_invalid+0x630/0x630
[ 60.487001][ T5067] ? panic+0x710/0x710
[ 60.491065][ T5067] ? lock_release+0x81/0x820
[ 60.495653][ T5067] ? vscnprintf+0x59/0x80
[ 60.499982][ T5067] panic+0x2d6/0x710
[ 60.503873][ T5067] ? check_panic_on_warn+0x1d/0xa0
[ 60.508978][ T5067] ? memcpy_page_flushcache+0x100/0x100
[ 60.514516][ T5067] ? _raw_spin_unlock_irqrestore+0x110/0x120
[ 60.520494][ T5067] ? _raw_spin_unlock+0x40/0x40
[ 60.525332][ T5067] ? print_report+0x1b4/0x1f0
[ 60.530002][ T5067] check_panic_on_warn+0x80/0xa0
[ 60.534929][ T5067] ? udf_write_aext+0x62d/0x7e0
[ 60.539782][ T5067] end_report+0x47/0x90
[ 60.543930][ T5067] kasan_report+0xda/0x100
[ 60.548340][ T5067] ? udf_write_aext+0x62d/0x7e0
[ 60.553183][ T5067] udf_write_aext+0x62d/0x7e0
[ 60.557857][ T5067] udf_add_entry+0x1712/0x3300
[ 60.562611][ T5067] ? __bpf_trace_rcu_stall_warning+0x10/0x10
[ 60.568585][ T5067] ? __mark_inode_dirty+0x593/0x600
[ 60.573774][ T5067] ? udf_add_nondir+0x580/0x580
[ 60.578616][ T5067] ? udf_new_inode+0xb04/0xf30
[ 60.583375][ T5067] ? d_alloc+0x193/0x1d0
[ 60.587613][ T5067] udf_mkdir+0x13c/0x980
[ 60.591851][ T5067] ? udf_symlink+0x1680/0x1680
[ 60.596604][ T5067] ? from_kgid+0x193/0x6b0
[ 60.601013][ T5067] ? make_kgid+0x710/0x710
[ 60.605418][ T5067] ? __lookup_hash+0x123/0x240
[ 60.610177][ T5067] ? apparmor_path_mkdir+0x461/0x520
[ 60.615453][ T5067] ? generic_permission+0x229/0x500
[ 60.620644][ T5067] ? inode_permission+0xf5/0x450
[ 60.625570][ T5067] ? bpf_lsm_inode_mkdir+0x5/0x10
[ 60.630585][ T5067] ? security_inode_mkdir+0xdd/0x120
[ 60.635865][ T5067] vfs_mkdir+0x3b3/0x590
[ 60.640105][ T5067] do_mkdirat+0x25b/0x530
[ 60.644428][ T5067] ? 0xffffffff81000000
[ 60.648568][ T5067] ? __check_object_size+0x15a/0x210
[ 60.653847][ T5067] ? vfs_mkdir+0x590/0x590
[ 60.658258][ T5067] ? getname_flags+0x1ea/0x4e0
[ 60.663014][ T5067] __x64_sys_mkdir+0x6a/0x80
[ 60.667596][ T5067] do_syscall_64+0x3d/0xb0
[ 60.672003][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 60.677883][ T5067] RIP: 0033:0x7f09f2c1bbf7
[ 60.682287][ T5067] 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
[ 60.701882][ T5067] RSP: 002b:00007ffda44991f8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
[ 60.710286][ T5067] RAX: ffffffffffffffda RBX: 00005555563622c0 RCX: 00007f09f2c1bbf7
[ 60.718255][ T5067] RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000040
[ 60.726214][ T5067] RBP: 00007ffda4499290 R08: 0000000000000000 R09: 0000000000000000
[ 60.734171][ T5067] R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
[ 60.742214][ T5067] R13: 0000000020000040 R14: 00000000200002c0 R15: 0000000000000000
[ 60.750181][ T5067]
[ 60.753328][ T5067] Kernel Offset: disabled
[ 60.757640][ T5067] Rebooting in 86400 seconds..