./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4135853001
<...>
Warning: Permanently added '10.128.0.171' (ECDSA) to the list of known hosts.
execve("./syz-executor4135853001", ["./syz-executor4135853001"], 0x7ffff40c9de0 /* 10 vars */) = 0
brk(NULL) = 0x555556a4b000
brk(0x555556a4bc40) = 0x555556a4bc40
arch_prctl(ARCH_SET_FS, 0x555556a4b300) = 0
uname({sysname="Linux", nodename="syzkaller", ...}) = 0
readlink("/proc/self/exe", "/root/syz-executor4135853001", 4096) = 28
brk(0x555556a6cc40) = 0x555556a6cc40
brk(0x555556a6d000) = 0x555556a6d000
mprotect(0x7fba947fd000, 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) = 0x7fba8c344000
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(0x7fba8c344000, 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: [ 49.583857][ T5074] loop0: detected capacity change from 0 to 512
[ 49.595489][ T5074] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
[ 49.603052][ T5074] UDF-fs: Scanning with blocksize 512 failed
[ 49.609710][ T5074] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
[ 49.617668][ T5074] UDF-fs: Scanning with blocksize 1024 failed
[ 49.624587][ T5074] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found
mount("/dev/loop0", "./file0", "udf", MS_POSIXACL|MS_KERNMOUNT, "unhide,gid=00000000000000000000,uid=00000000000000000000,noadinicb,uid=ignore,") = 0
openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3
chdir("./file0") = 0
ioctl(4, LOOP_CLR_FD) = 0
close(4) = 0
[ 49.632046][ T5074] UDF-fs: Scanning with blocksize 2048 failed
[ 49.638528][ T5074] UDF-fs: error (device loop0): udf_read_tagged: read failed, block=256, location=256
[ 49.649376][ T5074] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
[ 49.665876][ T5074] ==================================================================
[ 49.673983][ T5074] BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x62d/0x7e0
[ 49.681563][ T5074] Write of size 4 at addr ffff88802b241ff0 by task syz-executor413/5074
[ 49.689898][ T5074]
[ 49.692254][ T5074] CPU: 1 PID: 5074 Comm: syz-executor413 Not tainted 6.1.0-syzkaller-13139-gf9ff5644bcc0 #0
[ 49.702316][ T5074] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 49.712442][ T5074] Call Trace:
[ 49.715711][ T5074]
[ 49.718628][ T5074] dump_stack_lvl+0x1b1/0x290
[ 49.723300][ T5074] ? nf_tcp_handle_invalid+0x630/0x630
[ 49.728748][ T5074] ? __wake_up_klogd+0xcd/0x100
[ 49.733584][ T5074] ? panic+0x710/0x710
[ 49.737638][ T5074] ? _printk+0xc0/0x100
[ 49.741779][ T5074] print_address_description+0x74/0x340
[ 49.747309][ T5074] print_report+0x107/0x1f0
[ 49.751795][ T5074] ? _raw_spin_lock+0x40/0x40
[ 49.756476][ T5074] ? udf_current_aext+0x5d0/0xa80
[ 49.761480][ T5074] ? __virt_addr_valid+0x21b/0x2d0
[ 49.766576][ T5074] ? __phys_addr+0xb5/0x160
[ 49.771063][ T5074] ? udf_write_aext+0x62d/0x7e0
[ 49.775897][ T5074] kasan_report+0xcd/0x100
[ 49.780310][ T5074] ? udf_write_aext+0x62d/0x7e0
[ 49.785245][ T5074] udf_write_aext+0x62d/0x7e0
[ 49.789916][ T5074] udf_add_entry+0x1712/0x3300
[ 49.794673][ T5074] ? __bpf_trace_rcu_stall_warning+0x10/0x10
[ 49.800648][ T5074] ? __mark_inode_dirty+0x593/0x600
[ 49.805841][ T5074] ? udf_add_nondir+0x580/0x580
[ 49.810681][ T5074] ? udf_new_inode+0xb04/0xf30
[ 49.815435][ T5074] ? d_alloc+0x193/0x1d0
[ 49.819674][ T5074] udf_mkdir+0x13c/0x980
[ 49.823923][ T5074] ? udf_symlink+0x1680/0x1680
[ 49.828677][ T5074] ? from_kgid+0x193/0x6b0
[ 49.833084][ T5074] ? make_kgid+0x710/0x710
[ 49.837486][ T5074] ? __lookup_hash+0x123/0x240
[ 49.842241][ T5074] ? apparmor_path_mkdir+0x461/0x520
[ 49.847512][ T5074] ? generic_permission+0x229/0x500
[ 49.852700][ T5074] ? inode_permission+0xf5/0x450
[ 49.857626][ T5074] ? bpf_lsm_inode_mkdir+0x5/0x10
[ 49.862644][ T5074] ? security_inode_mkdir+0xdd/0x120
[ 49.867927][ T5074] vfs_mkdir+0x3b3/0x590
[ 49.872176][ T5074] do_mkdirat+0x25b/0x530
[ 49.876496][ T5074] ? 0xffffffff81000000
[ 49.880632][ T5074] ? __check_object_size+0x15a/0x210
[ 49.885908][ T5074] ? vfs_mkdir+0x590/0x590
[ 49.890316][ T5074] ? getname_flags+0x1ea/0x4e0
[ 49.895069][ T5074] __x64_sys_mkdir+0x6a/0x80
[ 49.899650][ T5074] do_syscall_64+0x3d/0xb0
[ 49.904065][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 49.909956][ T5074] RIP: 0033:0x7fba9478fe77
[ 49.914355][ T5074] 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
[ 49.933956][ T5074] RSP: 002b:00007ffcc73e1f38 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
[ 49.942383][ T5074] RAX: ffffffffffffffda RBX: 0000555556a4b2c0 RCX: 00007fba9478fe77
[ 49.950342][ T5074] RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000040
[ 49.958298][ T5074] RBP: 00007ffcc73e1fd0 R08: 0000000000000000 R09: 0000000000000000
[ 49.966254][ T5074] R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
[ 49.974212][ T5074] R13: 0000000020000040 R14: 00000000200002c0 R15: 0000000000000000
[ 49.982177][ T5074]
[ 49.985182][ T5074]
[ 49.987490][ T5074] Allocated by task 4789:
[ 49.991797][ T5074] kasan_set_track+0x3d/0x60
[ 49.996377][ T5074] __kasan_kmalloc+0x97/0xb0
[ 50.000953][ T5074] __kmalloc+0xaf/0x190
[ 50.005093][ T5074] tomoyo_realpath_from_path+0xcd/0x5f0
[ 50.010624][ T5074] tomoyo_path_perm+0x22e/0x670
[ 50.015475][ T5074] security_inode_getattr+0xc0/0x140
[ 50.020747][ T5074] vfs_statx+0x188/0x4a0
[ 50.024975][ T5074] __se_sys_newfstatat+0xed/0x7d0
[ 50.029983][ T5074] do_syscall_64+0x3d/0xb0
[ 50.034384][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 50.040261][ T5074]
[ 50.042572][ T5074] The buggy address belongs to the object at ffff88802b240000
[ 50.042572][ T5074] which belongs to the cache kmalloc-4k of size 4096
[ 50.056696][ T5074] The buggy address is located 4080 bytes to the right of
[ 50.056696][ T5074] 4096-byte region [ffff88802b240000, ffff88802b241000)
[ 50.070652][ T5074]
[ 50.072960][ T5074] The buggy address belongs to the physical page:
[ 50.079359][ T5074] page:ffffea0000ac9000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2b240
[ 50.089494][ T5074] head:ffffea0000ac9000 order:3 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0
[ 50.099536][ T5074] anon flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff)
[ 50.107952][ T5074] raw: 00fff00000010200 ffff888012842140 0000000000000000 0000000000000001
[ 50.116520][ T5074] raw: 0000000000000000 0000000080040004 00000001ffffffff 0000000000000000
[ 50.125086][ T5074] page dumped because: kasan: bad access detected
[ 50.131493][ T5074] page_owner tracks the page as allocated
[ 50.137187][ T5074] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4789, tgid 4789 (dhcpcd-run-hook), ts 32870828700, free_ts 32803429761
[ 50.158010][ T5074] get_page_from_freelist+0x742/0x7c0
[ 50.163374][ T5074] __alloc_pages+0x259/0x560
[ 50.167949][ T5074] alloc_slab_page+0xbd/0x190
[ 50.172611][ T5074] allocate_slab+0x5e/0x3c0
[ 50.177103][ T5074] ___slab_alloc+0x782/0xe20
[ 50.181676][ T5074] __kmem_cache_alloc_node+0x25b/0x340
[ 50.187118][ T5074] __kmalloc+0x9e/0x190
[ 50.191261][ T5074] tomoyo_realpath_from_path+0xcd/0x5f0
[ 50.196807][ T5074] tomoyo_path_perm+0x22e/0x670
[ 50.201673][ T5074] security_inode_getattr+0xc0/0x140
[ 50.206964][ T5074] vfs_statx+0x188/0x4a0
[ 50.211206][ T5074] __se_sys_newfstatat+0xed/0x7d0
[ 50.216232][ T5074] do_syscall_64+0x3d/0xb0
[ 50.220651][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 50.226540][ T5074] page last free stack trace:
[ 50.231203][ T5074] free_pcp_prepare+0x751/0x780
[ 50.236061][ T5074] free_unref_page+0x19/0x4c0
[ 50.240730][ T5074] qlist_free_all+0x2b/0x70
[ 50.245223][ T5074] kasan_quarantine_reduce+0x156/0x170
[ 50.250672][ T5074] __kasan_slab_alloc+0x1f/0x70
[ 50.255508][ T5074] kmem_cache_alloc_node+0x1dc/0x390
[ 50.260778][ T5074] __alloc_skb+0xd7/0x2c0
[ 50.265093][ T5074] alloc_skb_with_frags+0xb4/0x780
[ 50.270185][ T5074] sock_alloc_send_pskb+0x938/0xa70
[ 50.275370][ T5074] unix_dgram_sendmsg+0x5ab/0x2010
[ 50.280466][ T5074] sock_write_iter+0x3d4/0x540
[ 50.285215][ T5074] do_iter_write+0x6c2/0xc20
[ 50.289791][ T5074] do_writev+0x23e/0x430
[ 50.294028][ T5074] do_syscall_64+0x3d/0xb0
[ 50.298438][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 50.304316][ T5074]
[ 50.306628][ T5074] Memory state around the buggy address:
[ 50.312249][ T5074] ffff88802b241e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 50.320298][ T5074] ffff88802b241f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 50.328366][ T5074] >ffff88802b241f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[ 50.336431][ T5074] ^
[ 50.344137][ T5074] ffff88802b242000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 50.352187][ T5074] ffff88802b242080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 50.360234][ T5074] ==================================================================
[ 50.368485][ T5074] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 50.375695][ T5074] CPU: 0 PID: 5074 Comm: syz-executor413 Not tainted 6.1.0-syzkaller-13139-gf9ff5644bcc0 #0
[ 50.385768][ T5074] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 50.395813][ T5074] Call Trace:
[ 50.399084][ T5074]
[ 50.402004][ T5074] dump_stack_lvl+0x1b1/0x290
[ 50.406676][ T5074] ? nf_tcp_handle_invalid+0x630/0x630
[ 50.412123][ T5074] ? panic+0x710/0x710
[ 50.416182][ T5074] ? lock_release+0x81/0x820
[ 50.420781][ T5074] ? vscnprintf+0x59/0x80
[ 50.425100][ T5074] panic+0x2d6/0x710
[ 50.428985][ T5074] ? check_panic_on_warn+0x1d/0xa0
[ 50.434084][ T5074] ? memcpy_page_flushcache+0x100/0x100
[ 50.439624][ T5074] ? _raw_spin_unlock_irqrestore+0x110/0x120
[ 50.445591][ T5074] ? _raw_spin_unlock+0x40/0x40
[ 50.450443][ T5074] ? print_report+0x1b4/0x1f0
[ 50.455127][ T5074] check_panic_on_warn+0x80/0xa0
[ 50.460071][ T5074] ? udf_write_aext+0x62d/0x7e0
[ 50.464922][ T5074] end_report+0x47/0x90
[ 50.469089][ T5074] kasan_report+0xda/0x100
[ 50.473509][ T5074] ? udf_write_aext+0x62d/0x7e0
[ 50.478365][ T5074] udf_write_aext+0x62d/0x7e0
[ 50.483046][ T5074] udf_add_entry+0x1712/0x3300
[ 50.487803][ T5074] ? __bpf_trace_rcu_stall_warning+0x10/0x10
[ 50.493778][ T5074] ? __mark_inode_dirty+0x593/0x600
[ 50.498965][ T5074] ? udf_add_nondir+0x580/0x580
[ 50.503806][ T5074] ? udf_new_inode+0xb04/0xf30
[ 50.508590][ T5074] ? d_alloc+0x193/0x1d0
[ 50.512829][ T5074] udf_mkdir+0x13c/0x980
[ 50.517063][ T5074] ? udf_symlink+0x1680/0x1680
[ 50.521817][ T5074] ? from_kgid+0x193/0x6b0
[ 50.526231][ T5074] ? make_kgid+0x710/0x710
[ 50.530635][ T5074] ? __lookup_hash+0x123/0x240
[ 50.535393][ T5074] ? apparmor_path_mkdir+0x461/0x520
[ 50.540671][ T5074] ? generic_permission+0x229/0x500
[ 50.545858][ T5074] ? inode_permission+0xf5/0x450
[ 50.550783][ T5074] ? bpf_lsm_inode_mkdir+0x5/0x10
[ 50.555797][ T5074] ? security_inode_mkdir+0xdd/0x120
[ 50.561073][ T5074] vfs_mkdir+0x3b3/0x590
[ 50.565308][ T5074] do_mkdirat+0x25b/0x530
[ 50.569625][ T5074] ? 0xffffffff81000000
[ 50.573767][ T5074] ? __check_object_size+0x15a/0x210
[ 50.579043][ T5074] ? vfs_mkdir+0x590/0x590
[ 50.583450][ T5074] ? getname_flags+0x1ea/0x4e0
[ 50.588203][ T5074] __x64_sys_mkdir+0x6a/0x80
[ 50.592784][ T5074] do_syscall_64+0x3d/0xb0
[ 50.597187][ T5074] entry_SYSCALL_64_after_hwframe+0x63/0xcd
[ 50.603069][ T5074] RIP: 0033:0x7fba9478fe77
[ 50.607475][ T5074] 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
[ 50.627070][ T5074] RSP: 002b:00007ffcc73e1f38 EFLAGS: 00000286 ORIG_RAX: 0000000000000053
[ 50.635468][ T5074] RAX: ffffffffffffffda RBX: 0000555556a4b2c0 RCX: 00007fba9478fe77
[ 50.643450][ T5074] RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000040
[ 50.651409][ T5074] RBP: 00007ffcc73e1fd0 R08: 0000000000000000 R09: 0000000000000000
[ 50.659368][ T5074] R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff
[ 50.667440][ T5074] R13: 0000000020000040 R14: 00000000200002c0 R15: 0000000000000000
[ 50.675404][ T5074]
[ 50.678472][ T5074] Kernel Offset: disabled
[ 50.682784][ T5074] Rebooting in 86400 seconds..