./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3639120349
<...>
DUID 00:04:7c:8f:25:e4:1e:61:d4:15:b8:1c:50:2a:7f:f5:0b:01
forked to background, child pid 4645
[ 30.211502][ T4646] 8021q: adding VLAN 0 to HW filter on device bond0
[ 30.221536][ T4646] eql: remember to turn off Van-Jacobson compression on your slave devices
Starting sshd: OK
syzkaller
Warning: Permanently added '10.128.1.158' (ECDSA) to the list of known hosts.
execve("./syz-executor3639120349", ["./syz-executor3639120349"], 0x7ffd33182910 /* 10 vars */) = 0
brk(NULL) = 0x555555db4000
brk(0x555555db4c40) = 0x555555db4c40
arch_prctl(ARCH_SET_FS, 0x555555db4300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor3639120349", 4096) = 28
brk(0x555555dd5c40) = 0x555555dd5c40
brk(0x555555dd6000) = 0x555555dd6000
mprotect(0x7f734b13e000, 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) = 0x7f7342c83000
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(0x7f7342c83000, 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: [ 53.455237][ T5067] loop0: detected capacity change from 0 to 8192
[ 53.466611][ T5067] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
[ 53.474165][ T5067] UDF-fs: Scanning with blocksize 512 failed
[ 53.480933][ T5067] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
[ 53.488387][ T5067] UDF-fs: Scanning with blocksize 1024 failed
[ 53.494950][ T5067] 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
[ 53.502450][ T5067] UDF-fs: Scanning with blocksize 2048 failed
[ 53.511476][ T5067] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
[ 53.529019][ T5067] ==================================================================
[ 53.537112][ T5067] BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x62d/0x7e0
[ 53.544702][ T5067] Write of size 4 at addr ffff88802a8bbff0 by task syz-executor363/5067
[ 53.553027][ T5067]
[ 53.555336][ T5067] CPU: 1 PID: 5067 Comm: syz-executor363 Not tainted 6.1.0-syzkaller-14321-g0a924817d2ed #0
[ 53.565391][ T5067] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 53.575454][ T5067] Call Trace:
[ 53.578718][ T5067]
[ 53.581632][ T5067] dump_stack_lvl+0x1b1/0x290
[ 53.586308][ T5067] ? nf_tcp_handle_invalid+0x630/0x630
[ 53.591765][ T5067] ? __wake_up_klogd+0xcd/0x100
[ 53.596610][ T5067] ? panic+0x710/0x710
[ 53.600665][ T5067] ? _printk+0xc0/0x100
[ 53.604809][ T5067] print_address_description+0x74/0x340
[ 53.610350][ T5067] print_report+0x107/0x1f0
[ 53.614838][ T5067] ? _raw_spin_lock+0x40/0x40
[ 53.619501][ T5067] ? udf_current_aext+0x5d0/0xa80
[ 53.624507][ T5067] ? __virt_addr_valid+0x21b/0x2d0
[ 53.629600][ T5067] ? __phys_addr+0xb5/0x160
[ 53.634094][ T5067] ? udf_write_aext+0x62d/0x7e0
[ 53.638938][ T5067] kasan_report+0xcd/0x100
[ 53.643364][ T5067] ? udf_write_aext+0x62d/0x7e0
[ 53.648206][ T5067] udf_write_aext+0x62d/0x7e0
[ 53.652877][ T5067] udf_add_entry+0x1712/0x3300
[ 53.657635][ T5067] ? __bpf_trace_rcu_stall_warning+0x10/0x10
[ 53.663603][ T5067] ? __mark_inode_dirty+0x593/0x600
[ 53.668785][ T5067] ? udf_add_nondir+0x580/0x580
[ 53.673616][ T5067] ? udf_new_inode+0xb04/0xf30
[ 53.678450][ T5067] udf_mkdir+0x13c/0x980
[ 53.682676][ T5067] ? udf_symlink+0x1680/0x1680
[ 53.687422][ T5067] ? from_kgid+0x193/0x6b0
[ 53.691820][ T5067] ? make_kgid+0x710/0x710
[ 53.696216][ T5067] ? __lookup_hash+0x62/0x240
[ 53.700877][ T5067] ? apparmor_path_mkdir+0x461/0x520
[ 53.706144][ T5067] ? generic_permission+0x229/0x500
[ 53.711325][ T5067] ? inode_permission+0xf5/0x450
[ 53.716242][ T5067] ? bpf_lsm_inode_mkdir+0x5/0x10
[ 53.721245][ T5067] ? security_inode_mkdir+0xdd/0x120
[ 53.726511][ T5067] vfs_mkdir+0x3b3/0x590
[ 53.730737][ T5067] do_mkdirat+0x25b/0x530
[ 53.735048][ T5067] ? __check_object_size+0x15a/0x210
[ 53.740330][ T5067] ? vfs_mkdir+0x590/0x590
[ 53.744738][ T5067] ? getname_flags+0x1ea/0x4e0
[ 53.749493][ T5067] __x64_sys_mkdirat+0x85/0x90
[ 53.754245][ T5067] do_syscall_64+0x3d/0xb0
[ 53.758652][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 53.764527][ T5067] RIP: 0033:0x7f734b0cfa69
[ 53.768920][ T5067] 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
[ 53.788525][ T5067] RSP: 002b:00007ffe3e46fad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
[ 53.796919][ T5067] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f734b0cfa69
[ 53.804884][ T5067] RDX: 0000000000000004 RSI: 0000000020000100 RDI: 00000000ffffff9c
[ 53.812845][ T5067] RBP: 00007f734b08f070 R08: 0000000000000000 R09: 0000000000000000
[ 53.820806][ T5067] R10: 000000000000189e R11: 0000000000000246 R12: 00007f734b08f100
[ 53.828760][ T5067] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 53.836720][ T5067]
[ 53.839730][ T5067]
[ 53.842040][ T5067] Allocated by task 5067:
[ 53.846340][ T5067] kasan_set_track+0x3d/0x60
[ 53.850927][ T5067] __kasan_kmalloc+0x97/0xb0
[ 53.855495][ T5067] tomoyo_init_log+0x16a/0x1f80
[ 53.860323][ T5067] tomoyo_supervisor+0x38d/0x14f0
[ 53.865324][ T5067] tomoyo_path_number_perm+0x521/0x780
[ 53.870765][ T5067] tomoyo_path_mkdir+0xe3/0x120
[ 53.875594][ T5067] security_path_mkdir+0xd5/0x160
[ 53.880611][ T5067] do_mkdirat+0x1aa/0x530
[ 53.884930][ T5067] __x64_sys_mkdirat+0x85/0x90
[ 53.889677][ T5067] do_syscall_64+0x3d/0xb0
[ 53.894082][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 53.899959][ T5067]
[ 53.902265][ T5067] Freed by task 5067:
[ 53.906218][ T5067] kasan_set_track+0x3d/0x60
[ 53.910806][ T5067] kasan_save_free_info+0x27/0x40
[ 53.915829][ T5067] ____kasan_slab_free+0xd6/0x120
[ 53.920935][ T5067] slab_free_freelist_hook+0x12e/0x1a0
[ 53.926377][ T5067] __kmem_cache_free+0x71/0x110
[ 53.931207][ T5067] tomoyo_init_log+0x1be7/0x1f80
[ 53.936152][ T5067] tomoyo_supervisor+0x38d/0x14f0
[ 53.941245][ T5067] tomoyo_path_number_perm+0x521/0x780
[ 53.946815][ T5067] tomoyo_path_mkdir+0xe3/0x120
[ 53.951650][ T5067] security_path_mkdir+0xd5/0x160
[ 53.956655][ T5067] do_mkdirat+0x1aa/0x530
[ 53.960967][ T5067] __x64_sys_mkdirat+0x85/0x90
[ 53.965717][ T5067] do_syscall_64+0x3d/0xb0
[ 53.970200][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 53.976088][ T5067]
[ 53.978392][ T5067] The buggy address belongs to the object at ffff88802a8ba000
[ 53.978392][ T5067] which belongs to the cache kmalloc-4k of size 4096
[ 53.992420][ T5067] The buggy address is located 4080 bytes to the right of
[ 53.992420][ T5067] 4096-byte region [ffff88802a8ba000, ffff88802a8bb000)
[ 54.006364][ T5067]
[ 54.008670][ T5067] The buggy address belongs to the physical page:
[ 54.015062][ T5067] page:ffffea0000aa2e00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2a8b8
[ 54.025188][ T5067] head:ffffea0000aa2e00 order:3 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0
[ 54.035231][ T5067] anon flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff)
[ 54.043638][ T5067] raw: 00fff00000010200 ffff888012842140 0000000000000000 dead000000000001
[ 54.052203][ T5067] raw: 0000000000000000 0000000080040004 00000001ffffffff 0000000000000000
[ 54.060757][ T5067] page dumped because: kasan: bad access detected
[ 54.067142][ T5067] page_owner tracks the page as allocated
[ 54.072833][ T5067] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4445, tgid 4445 (udevd), ts 27256177172, free_ts 27249607837
[ 54.092862][ T5067] get_page_from_freelist+0x742/0x7c0
[ 54.098217][ T5067] __alloc_pages+0x259/0x560
[ 54.102785][ T5067] alloc_slab_page+0xbd/0x190
[ 54.107443][ T5067] allocate_slab+0x5e/0x3c0
[ 54.111924][ T5067] ___slab_alloc+0x782/0xe20
[ 54.116491][ T5067] __kmem_cache_alloc_node+0x25b/0x340
[ 54.121938][ T5067] __kmalloc+0x9e/0x190
[ 54.126073][ T5067] tomoyo_realpath_from_path+0xcd/0x5f0
[ 54.131596][ T5067] tomoyo_path_number_perm+0x1e3/0x780
[ 54.137034][ T5067] tomoyo_path_mknod+0x179/0x1b0
[ 54.142124][ T5067] security_path_mknod+0xdc/0x160
[ 54.147131][ T5067] path_openat+0xc02/0x2dd0
[ 54.151616][ T5067] do_filp_open+0x264/0x4f0
[ 54.156098][ T5067] do_sys_openat2+0x124/0x4e0
[ 54.160754][ T5067] __x64_sys_openat+0x243/0x290
[ 54.165582][ T5067] do_syscall_64+0x3d/0xb0
[ 54.169977][ T5067] page last free stack trace:
[ 54.174622][ T5067] free_pcp_prepare+0x751/0x780
[ 54.179453][ T5067] free_unref_page+0x19/0x4c0
[ 54.184105][ T5067] __unfreeze_partials+0x1a5/0x1e0
[ 54.189199][ T5067] put_cpu_partial+0x106/0x170
[ 54.193946][ T5067] qlist_free_all+0x2b/0x70
[ 54.198426][ T5067] kasan_quarantine_reduce+0x156/0x170
[ 54.203863][ T5067] __kasan_slab_alloc+0x1f/0x70
[ 54.208698][ T5067] kmem_cache_alloc+0x1b3/0x350
[ 54.213525][ T5067] getname_flags+0xb8/0x4e0
[ 54.218005][ T5067] __se_sys_newfstatat+0xcb/0x7d0
[ 54.223073][ T5067] do_syscall_64+0x3d/0xb0
[ 54.227470][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 54.233345][ T5067]
[ 54.235645][ T5067] Memory state around the buggy address:
[ 54.241257][ T5067] ffff88802a8bbe80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 54.249347][ T5067] ffff88802a8bbf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 54.257399][ T5067] >ffff88802a8bbf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 54.265443][ T5067] ^
[ 54.273135][ T5067] ffff88802a8bc000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 54.281170][ T5067] ffff88802a8bc080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 54.289208][ T5067] ==================================================================
[ 54.297620][ T5067] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 54.304828][ T5067] CPU: 0 PID: 5067 Comm: syz-executor363 Not tainted 6.1.0-syzkaller-14321-g0a924817d2ed #0
[ 54.314904][ T5067] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 54.324946][ T5067] Call Trace:
[ 54.328219][ T5067]
[ 54.331138][ T5067] dump_stack_lvl+0x1b1/0x290
[ 54.335816][ T5067] ? nf_tcp_handle_invalid+0x630/0x630
[ 54.341268][ T5067] ? panic+0x710/0x710
[ 54.345322][ T5067] ? lock_release+0x81/0x820
[ 54.349910][ T5067] ? vscnprintf+0x59/0x80
[ 54.354228][ T5067] panic+0x2d6/0x710
[ 54.358111][ T5067] ? check_panic_on_warn+0x1d/0xa0
[ 54.363217][ T5067] ? memcpy_page_flushcache+0x100/0x100
[ 54.368772][ T5067] ? _raw_spin_unlock_irqrestore+0x110/0x120
[ 54.374762][ T5067] ? _raw_spin_unlock+0x40/0x40
[ 54.379614][ T5067] ? print_report+0x1b4/0x1f0
[ 54.384296][ T5067] check_panic_on_warn+0x80/0xa0
[ 54.389234][ T5067] ? udf_write_aext+0x62d/0x7e0
[ 54.394077][ T5067] end_report+0x47/0x90
[ 54.398229][ T5067] kasan_report+0xda/0x100
[ 54.402638][ T5067] ? udf_write_aext+0x62d/0x7e0
[ 54.407495][ T5067] udf_write_aext+0x62d/0x7e0
[ 54.412173][ T5067] udf_add_entry+0x1712/0x3300
[ 54.416935][ T5067] ? __bpf_trace_rcu_stall_warning+0x10/0x10
[ 54.422911][ T5067] ? __mark_inode_dirty+0x593/0x600
[ 54.428103][ T5067] ? udf_add_nondir+0x580/0x580
[ 54.432942][ T5067] ? udf_new_inode+0xb04/0xf30
[ 54.437711][ T5067] udf_mkdir+0x13c/0x980
[ 54.441947][ T5067] ? udf_symlink+0x1680/0x1680
[ 54.446709][ T5067] ? from_kgid+0x193/0x6b0
[ 54.451117][ T5067] ? make_kgid+0x710/0x710
[ 54.455523][ T5067] ? __lookup_hash+0x62/0x240
[ 54.460193][ T5067] ? apparmor_path_mkdir+0x461/0x520
[ 54.465468][ T5067] ? generic_permission+0x229/0x500
[ 54.470660][ T5067] ? inode_permission+0xf5/0x450
[ 54.475594][ T5067] ? bpf_lsm_inode_mkdir+0x5/0x10
[ 54.480610][ T5067] ? security_inode_mkdir+0xdd/0x120
[ 54.485889][ T5067] vfs_mkdir+0x3b3/0x590
[ 54.490127][ T5067] do_mkdirat+0x25b/0x530
[ 54.494448][ T5067] ? __check_object_size+0x15a/0x210
[ 54.499815][ T5067] ? vfs_mkdir+0x590/0x590
[ 54.504226][ T5067] ? getname_flags+0x1ea/0x4e0
[ 54.508983][ T5067] __x64_sys_mkdirat+0x85/0x90
[ 54.513742][ T5067] do_syscall_64+0x3d/0xb0
[ 54.518154][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 54.524039][ T5067] RIP: 0033:0x7f734b0cfa69
[ 54.528444][ T5067] 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
[ 54.548036][ T5067] RSP: 002b:00007ffe3e46fad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
[ 54.556441][ T5067] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f734b0cfa69
[ 54.564404][ T5067] RDX: 0000000000000004 RSI: 0000000020000100 RDI: 00000000ffffff9c
[ 54.572362][ T5067] RBP: 00007f734b08f070 R08: 0000000000000000 R09: 0000000000000000
[ 54.580323][ T5067] R10: 000000000000189e R11: 0000000000000246 R12: 00007f734b08f100
[ 54.588282][ T5067] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 54.596249][ T5067]
[ 54.599401][ T5067] Kernel Offset: disabled
[ 54.603716][ T5067] Rebooting in 86400 seconds..