./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3092264259 <...> forked to background, child pid 4645 no interfaces have a carrier [ 31.035782][ T4646] 8021q: adding VLAN 0 to HW filter on device bond0 [ 31.048744][ T4646] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.170' (ECDSA) to the list of known hosts. execve("./syz-executor3092264259", ["./syz-executor3092264259"], 0x7ffdc55a5670 /* 10 vars */) = 0 brk(NULL) = 0x555555f2f000 brk(0x555555f2fc40) = 0x555555f2fc40 arch_prctl(ARCH_SET_FS, 0x555555f2f300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor3092264259", 4096) = 28 brk(0x555555f50c40) = 0x555555f50c40 brk(0x555555f51000) = 0x555555f51000 mprotect(0x7f6792ba6000, 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=0x555555f2f5d0) = 5071 ./strace-static-x86_64: Process 5071 attached [pid 5071] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5071] setpgid(0, 0) = 0 [pid 5071] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5071] write(3, "1000", 4) = 4 [pid 5071] close(3) = 0 [pid 5071] memfd_create("syzkaller", 0) = 3 [pid 5071] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f678a6e9000 [pid 5071] 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"..., 8388608) = 8388608 [pid 5071] munmap(0x7f678a6e9000, 8388608) = 0 [pid 5071] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5071] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5071] close(3) = 0 [pid 5071] mkdir("./file0", 0777) = 0 syzkaller login: [ 52.032318][ T5071] loop0: detected capacity change from 0 to 16384 [ 52.045141][ T5071] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found [ 52.052876][ T5071] UDF-fs: Scanning with blocksize 512 failed [ 52.059660][ T5071] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found [ 52.067620][ T5071] UDF-fs: Scanning with blocksize 1024 failed [ 52.074408][ T5071] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found [pid 5071] mount("/dev/loop0", "./file0", "udf", MS_DIRSYNC, "noadinicb,uid=00000000000000000000,uid=ignore,anchor=00000000000000000001,") = 0 [pid 5071] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5071] chdir("./file0") = 0 [pid 5071] ioctl(4, LOOP_CLR_FD) = 0 [pid 5071] close(4) = 0 [ 52.082273][ T5071] UDF-fs: Scanning with blocksize 2048 failed [ 52.093473][ T5071] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 52.111914][ T5071] ================================================================== [ 52.119997][ T5071] BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x62d/0x7e0 [ 52.127579][ T5071] Write of size 4 at addr ffff8880769ddff0 by task syz-executor309/5071 [ 52.135910][ T5071] [ 52.138220][ T5071] CPU: 1 PID: 5071 Comm: syz-executor309 Not tainted 6.1.0-syzkaller-13781-gaeba12b26c79 #0 [ 52.148258][ T5071] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 52.158292][ T5071] Call Trace: [ 52.161557][ T5071] [ 52.164470][ T5071] dump_stack_lvl+0x1b1/0x290 [ 52.169130][ T5071] ? nf_tcp_handle_invalid+0x630/0x630 [ 52.174569][ T5071] ? __wake_up_klogd+0xcd/0x100 [ 52.179401][ T5071] ? panic+0x710/0x710 [ 52.183452][ T5071] ? _printk+0xc0/0x100 [ 52.187589][ T5071] print_address_description+0x74/0x340 [ 52.193117][ T5071] print_report+0x107/0x1f0 [ 52.197602][ T5071] ? _raw_spin_lock+0x40/0x40 [ 52.202262][ T5071] ? udf_current_aext+0x5d0/0xa80 [ 52.207266][ T5071] ? __virt_addr_valid+0x21b/0x2d0 [ 52.212362][ T5071] ? __phys_addr+0xb5/0x160 [ 52.216846][ T5071] ? udf_write_aext+0x62d/0x7e0 [ 52.221681][ T5071] kasan_report+0xcd/0x100 [ 52.226104][ T5071] ? udf_write_aext+0x62d/0x7e0 [ 52.230938][ T5071] udf_write_aext+0x62d/0x7e0 [ 52.235597][ T5071] udf_add_entry+0x1712/0x3300 [ 52.240345][ T5071] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 52.246307][ T5071] ? __mark_inode_dirty+0x593/0x600 [ 52.251486][ T5071] ? udf_add_nondir+0x580/0x580 [ 52.256317][ T5071] ? udf_new_inode+0xb04/0xf30 [ 52.261064][ T5071] ? d_alloc+0x193/0x1d0 [ 52.265311][ T5071] udf_mkdir+0x13c/0x980 [ 52.269553][ T5071] ? udf_symlink+0x1680/0x1680 [ 52.274315][ T5071] ? from_kgid+0x193/0x6b0 [ 52.278722][ T5071] ? make_kgid+0x710/0x710 [ 52.283122][ T5071] ? __lookup_hash+0x123/0x240 [ 52.287874][ T5071] ? apparmor_path_mkdir+0x461/0x520 [ 52.293145][ T5071] ? generic_permission+0x229/0x500 [ 52.298328][ T5071] ? inode_permission+0xf5/0x450 [ 52.303285][ T5071] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 52.308292][ T5071] ? security_inode_mkdir+0xdd/0x120 [ 52.313562][ T5071] vfs_mkdir+0x3b3/0x590 [ 52.317791][ T5071] do_mkdirat+0x25b/0x530 [ 52.322102][ T5071] ? 0xffffffff81000000 [ 52.326233][ T5071] ? __check_object_size+0x15a/0x210 [ 52.331500][ T5071] ? vfs_mkdir+0x590/0x590 [ 52.335900][ T5071] ? getname_flags+0x1ea/0x4e0 [ 52.340674][ T5071] __x64_sys_mkdir+0x6a/0x80 [ 52.345250][ T5071] do_syscall_64+0x3d/0xb0 [ 52.350343][ T5071] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 52.356216][ T5071] RIP: 0033:0x7f6792b358a7 [ 52.360612][ T5071] 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 [ 52.380194][ T5071] RSP: 002b:00007ffd31762838 EFLAGS: 00000286 ORIG_RAX: 0000000000000053 [ 52.388584][ T5071] RAX: ffffffffffffffda RBX: 0000555555f2f2c0 RCX: 00007f6792b358a7 [ 52.396536][ T5071] RDX: 0000000000008000 RSI: 00000000000001ff RDI: 0000000020000000 [ 52.404484][ T5071] RBP: 00007ffd317628d0 R08: 0000000000000000 R09: 0000000000000000 [ 52.412436][ T5071] R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff [ 52.420498][ T5071] R13: 0000000020000000 R14: 0000000020000040 R15: 0000000000000000 [ 52.428454][ T5071] [ 52.431456][ T5071] [ 52.433763][ T5071] Allocated by task 5071: [ 52.438063][ T5071] kasan_set_track+0x3d/0x60 [ 52.442636][ T5071] __kasan_kmalloc+0x97/0xb0 [ 52.447203][ T5071] tomoyo_init_log+0x16a/0x1f80 [ 52.452033][ T5071] tomoyo_supervisor+0x38d/0x14f0 [ 52.457046][ T5071] tomoyo_path_number_perm+0x521/0x780 [ 52.462493][ T5071] tomoyo_path_mkdir+0xe3/0x120 [ 52.467319][ T5071] security_path_mkdir+0xd5/0x160 [ 52.472322][ T5071] do_mkdirat+0x1aa/0x530 [ 52.476641][ T5071] __x64_sys_mkdir+0x6a/0x80 [ 52.481304][ T5071] do_syscall_64+0x3d/0xb0 [ 52.485699][ T5071] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 52.491656][ T5071] [ 52.493961][ T5071] Freed by task 5071: [ 52.497917][ T5071] kasan_set_track+0x3d/0x60 [ 52.502582][ T5071] kasan_save_free_info+0x27/0x40 [ 52.507582][ T5071] ____kasan_slab_free+0xd6/0x120 [ 52.512589][ T5071] slab_free_freelist_hook+0x12e/0x1a0 [ 52.518023][ T5071] __kmem_cache_free+0x71/0x110 [ 52.522849][ T5071] tomoyo_init_log+0x1be7/0x1f80 [ 52.527770][ T5071] tomoyo_supervisor+0x38d/0x14f0 [ 52.532774][ T5071] tomoyo_path_number_perm+0x521/0x780 [ 52.538213][ T5071] tomoyo_path_mkdir+0xe3/0x120 [ 52.543043][ T5071] security_path_mkdir+0xd5/0x160 [ 52.548046][ T5071] do_mkdirat+0x1aa/0x530 [ 52.552375][ T5071] __x64_sys_mkdir+0x6a/0x80 [ 52.556950][ T5071] do_syscall_64+0x3d/0xb0 [ 52.561354][ T5071] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 52.567229][ T5071] [ 52.569539][ T5071] The buggy address belongs to the object at ffff8880769dc000 [ 52.569539][ T5071] which belongs to the cache kmalloc-4k of size 4096 [ 52.583567][ T5071] The buggy address is located 4080 bytes to the right of [ 52.583567][ T5071] 4096-byte region [ffff8880769dc000, ffff8880769dd000) [ 52.597515][ T5071] [ 52.599819][ T5071] The buggy address belongs to the physical page: [ 52.606210][ T5071] page:ffffea0001da7600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x769d8 [ 52.616510][ T5071] head:ffffea0001da7600 order:3 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 [ 52.626547][ T5071] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 52.634682][ T5071] raw: 00fff00000010200 ffff888012842140 dead000000000122 0000000000000000 [ 52.643242][ T5071] raw: 0000000000000000 0000000080040004 00000001ffffffff 0000000000000000 [ 52.651800][ T5071] page dumped because: kasan: bad access detected [ 52.658186][ T5071] page_owner tracks the page as allocated [ 52.663879][ T5071] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5071, tgid 5071 (syz-executor309), ts 52107122119, free_ts 52040474742 [ 52.684688][ T5071] get_page_from_freelist+0x742/0x7c0 [ 52.690057][ T5071] __alloc_pages+0x259/0x560 [ 52.694626][ T5071] alloc_slab_page+0xbd/0x190 [ 52.699283][ T5071] allocate_slab+0x5e/0x3c0 [ 52.703766][ T5071] ___slab_alloc+0x782/0xe20 [ 52.708334][ T5071] __kmem_cache_alloc_node+0x25b/0x340 [ 52.713771][ T5071] __kmalloc+0x9e/0x190 [ 52.717903][ T5071] tomoyo_realpath_from_path+0xcd/0x5f0 [ 52.723426][ T5071] tomoyo_path_number_perm+0x1e3/0x780 [ 52.728864][ T5071] security_file_ioctl+0x55/0xb0 [ 52.733781][ T5071] __se_sys_ioctl+0x48/0x170 [ 52.738350][ T5071] do_syscall_64+0x3d/0xb0 [ 52.742745][ T5071] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 52.748616][ T5071] page last free stack trace: [ 52.753264][ T5071] free_pcp_prepare+0x751/0x780 [ 52.758094][ T5071] free_unref_page+0x19/0x4c0 [ 52.762749][ T5071] page_to_skb+0x661/0xb80 [ 52.767146][ T5071] receive_mergeable+0x353/0x26b0 [ 52.772148][ T5071] receive_buf+0x152/0x1d40 [ 52.776632][ T5071] virtnet_poll+0x64b/0x1280 [ 52.781201][ T5071] __napi_poll+0xbe/0x4b0 [ 52.785517][ T5071] net_rx_action+0x75c/0x10d0 [ 52.790175][ T5071] __do_softirq+0x277/0x738 [ 52.794656][ T5071] [ 52.796961][ T5071] Memory state around the buggy address: [ 52.802567][ T5071] ffff8880769dde80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 52.810606][ T5071] ffff8880769ddf00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 52.818660][ T5071] >ffff8880769ddf80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 52.826693][ T5071] ^ [ 52.834384][ T5071] ffff8880769de000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 52.842434][ T5071] ffff8880769de080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 52.850476][ T5071] ================================================================== [ 52.859448][ T5071] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 52.866654][ T5071] CPU: 1 PID: 5071 Comm: syz-executor309 Not tainted 6.1.0-syzkaller-13781-gaeba12b26c79 #0 [ 52.876791][ T5071] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 52.886834][ T5071] Call Trace: [ 52.890099][ T5071] [ 52.893019][ T5071] dump_stack_lvl+0x1b1/0x290 [ 52.897776][ T5071] ? nf_tcp_handle_invalid+0x630/0x630 [ 52.903228][ T5071] ? panic+0x710/0x710 [ 52.907300][ T5071] ? lock_release+0x81/0x820 [ 52.911885][ T5071] ? vscnprintf+0x59/0x80 [ 52.916212][ T5071] panic+0x2d6/0x710 [ 52.920364][ T5071] ? check_panic_on_warn+0x1d/0xa0 [ 52.925465][ T5071] ? memcpy_page_flushcache+0x100/0x100 [ 52.931001][ T5071] ? _raw_spin_unlock_irqrestore+0x110/0x120 [ 52.936971][ T5071] ? _raw_spin_unlock+0x40/0x40 [ 52.941810][ T5071] ? print_report+0x1b4/0x1f0 [ 52.946481][ T5071] check_panic_on_warn+0x80/0xa0 [ 52.951408][ T5071] ? udf_write_aext+0x62d/0x7e0 [ 52.956266][ T5071] end_report+0x47/0x90 [ 52.960436][ T5071] kasan_report+0xda/0x100 [ 52.964863][ T5071] ? udf_write_aext+0x62d/0x7e0 [ 52.969717][ T5071] udf_write_aext+0x62d/0x7e0 [ 52.974477][ T5071] udf_add_entry+0x1712/0x3300 [ 52.979239][ T5071] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 52.985217][ T5071] ? __mark_inode_dirty+0x593/0x600 [ 52.990411][ T5071] ? udf_add_nondir+0x580/0x580 [ 52.995341][ T5071] ? udf_new_inode+0xb04/0xf30 [ 53.000098][ T5071] ? d_alloc+0x193/0x1d0 [ 53.004342][ T5071] udf_mkdir+0x13c/0x980 [ 53.008580][ T5071] ? udf_symlink+0x1680/0x1680 [ 53.013422][ T5071] ? from_kgid+0x193/0x6b0 [ 53.017831][ T5071] ? make_kgid+0x710/0x710 [ 53.022236][ T5071] ? __lookup_hash+0x123/0x240 [ 53.026995][ T5071] ? apparmor_path_mkdir+0x461/0x520 [ 53.032273][ T5071] ? generic_permission+0x229/0x500 [ 53.037466][ T5071] ? inode_permission+0xf5/0x450 [ 53.042397][ T5071] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 53.047412][ T5071] ? security_inode_mkdir+0xdd/0x120 [ 53.052691][ T5071] vfs_mkdir+0x3b3/0x590 [ 53.056933][ T5071] do_mkdirat+0x25b/0x530 [ 53.061259][ T5071] ? 0xffffffff81000000 [ 53.065399][ T5071] ? __check_object_size+0x15a/0x210 [ 53.070681][ T5071] ? vfs_mkdir+0x590/0x590 [ 53.075098][ T5071] ? getname_flags+0x1ea/0x4e0 [ 53.079868][ T5071] __x64_sys_mkdir+0x6a/0x80 [ 53.084455][ T5071] do_syscall_64+0x3d/0xb0 [ 53.088862][ T5071] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 53.094764][ T5071] RIP: 0033:0x7f6792b358a7 [ 53.099183][ T5071] 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.118790][ T5071] RSP: 002b:00007ffd31762838 EFLAGS: 00000286 ORIG_RAX: 0000000000000053 [ 53.127195][ T5071] RAX: ffffffffffffffda RBX: 0000555555f2f2c0 RCX: 00007f6792b358a7 [ 53.135162][ T5071] RDX: 0000000000008000 RSI: 00000000000001ff RDI: 0000000020000000 [ 53.143121][ T5071] RBP: 00007ffd317628d0 R08: 0000000000000000 R09: 0000000000000000 [ 53.151084][ T5071] R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff [ 53.159050][ T5071] R13: 0000000020000000 R14: 0000000020000040 R15: 0000000000000000 [ 53.167014][ T5071] [ 53.170169][ T5071] Kernel Offset: disabled [ 53.174482][ T5071] Rebooting in 86400 seconds..