./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1700698878 <...> forked to background, child pid 4645 no interfaces have a carrier [ 27.503565][ T4646] 8021q: adding VLAN 0 to HW filter on device bond0 [ 27.512787][ T4646] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.179' (ECDSA) to the list of known hosts. execve("./syz-executor1700698878", ["./syz-executor1700698878"], 0x7ffee40e1a50 /* 10 vars */) = 0 brk(NULL) = 0x5555566d1000 brk(0x5555566d1c40) = 0x5555566d1c40 arch_prctl(ARCH_SET_FS, 0x5555566d1300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor1700698878", 4096) = 28 brk(0x5555566f2c40) = 0x5555566f2c40 brk(0x5555566f3000) = 0x5555566f3000 mprotect(0x7f41e6e24000, 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) = 0x7f41de96a000 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"..., 524288) = 524288 munmap(0x7f41de96a000, 524288) = 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.732248][ T5067] loop0: detected capacity change from 0 to 1024 [ 53.741533][ T5067] ======================================================= [ 53.741533][ T5067] WARNING: The mand mount option has been deprecated and [ 53.741533][ T5067] and is ignored by this kernel. Remove the mand [ 53.741533][ T5067] option from the mount to silence this warning. [ 53.741533][ T5067] ======================================================= mount("/dev/loop0", "./file0", "udf", MS_NOSUID|MS_SYNCHRONOUS|MS_MANDLOCK|MS_REC|MS_STRICTATIME|MS_LAZYTIME, "noadinicb,utf8,noadinicb,volume=18446744073709551610,uid=ignore,") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 [ 53.778431][ T5067] UDF-fs: error (device loop0): udf_read_tagged: tag checksum failed, block 96: 0x73 != 0x9b [ 53.788833][ T5067] UDF-fs: error (device loop0): udf_process_sequence: Primary Volume Descriptor not found! [ 53.800696][ T5067] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 53.817184][ T5067] ================================================================== [ 53.825278][ T5067] BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x62d/0x7e0 [ 53.832868][ T5067] Write of size 4 at addr ffff8880206443f0 by task syz-executor170/5067 [ 53.841193][ T5067] [ 53.843500][ T5067] CPU: 0 PID: 5067 Comm: syz-executor170 Not tainted 6.1.0-syzkaller-13781-gaeba12b26c79 #0 [ 53.853548][ T5067] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 53.863605][ T5067] Call Trace: [ 53.866881][ T5067] [ 53.869800][ T5067] dump_stack_lvl+0x1b1/0x290 [ 53.874465][ T5067] ? nf_tcp_handle_invalid+0x630/0x630 [ 53.879905][ T5067] ? __wake_up_klogd+0xcd/0x100 [ 53.884753][ T5067] ? panic+0x710/0x710 [ 53.888801][ T5067] ? _printk+0xc0/0x100 [ 53.892938][ T5067] print_address_description+0x74/0x340 [ 53.898459][ T5067] print_report+0x107/0x1f0 [ 53.902940][ T5067] ? _raw_spin_lock+0x40/0x40 [ 53.907590][ T5067] ? udf_current_aext+0x5d0/0xa80 [ 53.912588][ T5067] ? __virt_addr_valid+0x21b/0x2d0 [ 53.917672][ T5067] ? __phys_addr+0xb5/0x160 [ 53.922152][ T5067] ? udf_write_aext+0x62d/0x7e0 [ 53.926977][ T5067] kasan_report+0xcd/0x100 [ 53.931372][ T5067] ? udf_write_aext+0x62d/0x7e0 [ 53.936197][ T5067] udf_write_aext+0x62d/0x7e0 [ 53.940851][ T5067] udf_add_entry+0x1712/0x3300 [ 53.945600][ T5067] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 53.951558][ T5067] ? __mark_inode_dirty+0x593/0x600 [ 53.956729][ T5067] ? udf_add_nondir+0x580/0x580 [ 53.961552][ T5067] ? udf_new_inode+0xb04/0xf30 [ 53.966303][ T5067] ? d_alloc+0x193/0x1d0 [ 53.970525][ T5067] udf_mkdir+0x13c/0x980 [ 53.974753][ T5067] ? udf_symlink+0x1680/0x1680 [ 53.979491][ T5067] ? from_kgid+0x193/0x6b0 [ 53.983882][ T5067] ? make_kgid+0x710/0x710 [ 53.988269][ T5067] ? __lookup_hash+0x123/0x240 [ 53.993011][ T5067] ? apparmor_path_mkdir+0x461/0x520 [ 53.998272][ T5067] ? generic_permission+0x229/0x500 [ 54.003446][ T5067] ? inode_permission+0xf5/0x450 [ 54.008358][ T5067] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 54.013356][ T5067] ? security_inode_mkdir+0xdd/0x120 [ 54.018628][ T5067] vfs_mkdir+0x3b3/0x590 [ 54.022864][ T5067] do_mkdirat+0x25b/0x530 [ 54.027168][ T5067] ? 0xffffffff81000000 [ 54.031293][ T5067] ? __check_object_size+0x15a/0x210 [ 54.036554][ T5067] ? vfs_mkdir+0x590/0x590 [ 54.040945][ T5067] ? getname_flags+0x1ea/0x4e0 [ 54.045685][ T5067] __x64_sys_mkdir+0x6a/0x80 [ 54.050252][ T5067] do_syscall_64+0x3d/0xb0 [ 54.054640][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.060505][ T5067] RIP: 0033:0x7f41e6db5e47 [ 54.064893][ 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 [ 54.084471][ T5067] RSP: 002b:00007ffc0499b4a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053 [ 54.092862][ T5067] RAX: ffffffffffffffda RBX: 00005555566d12c0 RCX: 00007f41e6db5e47 [ 54.100824][ T5067] RDX: 0000000001280000 RSI: 00000000000001ff RDI: 0000000020000080 [ 54.108772][ T5067] RBP: 00007ffc0499b540 R08: 0000000000000000 R09: 0000000000000000 [ 54.116717][ T5067] R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff [ 54.124672][ T5067] R13: 0000000020000080 R14: 0000000000000000 R15: 0000000000000000 [ 54.132621][ T5067] [ 54.135613][ T5067] [ 54.137910][ T5067] Allocated by task 5067: [ 54.142210][ T5067] kasan_set_track+0x3d/0x60 [ 54.146774][ T5067] __kasan_kmalloc+0x97/0xb0 [ 54.151340][ T5067] __kmalloc+0xaf/0x190 [ 54.155467][ T5067] tomoyo_init_log+0x1a16/0x1f80 [ 54.160377][ T5067] tomoyo_supervisor+0x38d/0x14f0 [ 54.165374][ T5067] tomoyo_path_number_perm+0x521/0x780 [ 54.170808][ T5067] security_file_ioctl+0x55/0xb0 [ 54.175723][ T5067] __se_sys_ioctl+0x48/0x170 [ 54.180287][ T5067] do_syscall_64+0x3d/0xb0 [ 54.184674][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.190540][ T5067] [ 54.192841][ T5067] Freed by task 5067: [ 54.196789][ T5067] kasan_set_track+0x3d/0x60 [ 54.201363][ T5067] kasan_save_free_info+0x27/0x40 [ 54.206356][ T5067] ____kasan_slab_free+0xd6/0x120 [ 54.211365][ T5067] slab_free_freelist_hook+0x12e/0x1a0 [ 54.216796][ T5067] __kmem_cache_free+0x71/0x110 [ 54.221631][ T5067] tomoyo_supervisor+0x127a/0x14f0 [ 54.226713][ T5067] tomoyo_path_number_perm+0x521/0x780 [ 54.232144][ T5067] security_file_ioctl+0x55/0xb0 [ 54.237055][ T5067] __se_sys_ioctl+0x48/0x170 [ 54.241618][ T5067] do_syscall_64+0x3d/0xb0 [ 54.246008][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.251872][ T5067] [ 54.254170][ T5067] The buggy address belongs to the object at ffff888020644000 [ 54.254170][ T5067] which belongs to the cache kmalloc-512 of size 512 [ 54.268195][ T5067] The buggy address is located 496 bytes to the right of [ 54.268195][ T5067] 512-byte region [ffff888020644000, ffff888020644200) [ 54.281959][ T5067] [ 54.284258][ T5067] The buggy address belongs to the physical page: [ 54.290640][ T5067] page:ffffea0000819100 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x20644 [ 54.300763][ T5067] head:ffffea0000819100 order:2 compound_mapcount:0 subpages_mapcount:0 compound_pincount:0 [ 54.310796][ T5067] anon flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 54.319190][ T5067] raw: 00fff00000010200 ffff888012841c80 0000000000000000 dead000000000001 [ 54.327754][ T5067] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 54.336304][ T5067] page dumped because: kasan: bad access detected [ 54.342688][ T5067] page_owner tracks the page as allocated [ 54.348373][ T5067] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1100, tgid 1100 (kworker/u4:1), ts 5891632924, free_ts 0 [ 54.368743][ T5067] get_page_from_freelist+0x742/0x7c0 [ 54.374088][ T5067] __alloc_pages+0x259/0x560 [ 54.378659][ T5067] alloc_slab_page+0xbd/0x190 [ 54.383314][ T5067] allocate_slab+0x5e/0x3c0 [ 54.387786][ T5067] ___slab_alloc+0x782/0xe20 [ 54.392351][ T5067] __kmem_cache_alloc_node+0x25b/0x340 [ 54.397782][ T5067] kmalloc_trace+0x26/0x60 [ 54.402170][ T5067] alloc_bprm+0x56/0x3b0 [ 54.406387][ T5067] kernel_execve+0x97/0xa00 [ 54.410862][ T5067] call_usermodehelper_exec_async+0x262/0x3b0 [ 54.416908][ T5067] ret_from_fork+0x1f/0x30 [ 54.421300][ T5067] page_owner free stack trace missing [ 54.426637][ T5067] [ 54.428935][ T5067] Memory state around the buggy address: [ 54.434543][ T5067] ffff888020644280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 54.442576][ T5067] ffff888020644300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 54.450618][ T5067] >ffff888020644380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 54.458655][ T5067] ^ [ 54.466344][ T5067] ffff888020644400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.474377][ T5067] ffff888020644480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 54.482408][ T5067] ================================================================== [ 54.490810][ T5067] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 54.498018][ T5067] CPU: 1 PID: 5067 Comm: syz-executor170 Not tainted 6.1.0-syzkaller-13781-gaeba12b26c79 #0 [ 54.508078][ T5067] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 54.518119][ T5067] Call Trace: [ 54.521383][ T5067] [ 54.524298][ T5067] dump_stack_lvl+0x1b1/0x290 [ 54.528969][ T5067] ? nf_tcp_handle_invalid+0x630/0x630 [ 54.534409][ T5067] ? panic+0x710/0x710 [ 54.538462][ T5067] ? lock_release+0x81/0x820 [ 54.543037][ T5067] ? vscnprintf+0x59/0x80 [ 54.547354][ T5067] panic+0x2d6/0x710 [ 54.551236][ T5067] ? check_panic_on_warn+0x1d/0xa0 [ 54.556331][ T5067] ? memcpy_page_flushcache+0x100/0x100 [ 54.561861][ T5067] ? _raw_spin_unlock_irqrestore+0x110/0x120 [ 54.567827][ T5067] ? _raw_spin_unlock+0x40/0x40 [ 54.572660][ T5067] ? print_report+0x1b4/0x1f0 [ 54.577328][ T5067] check_panic_on_warn+0x80/0xa0 [ 54.582253][ T5067] ? udf_write_aext+0x62d/0x7e0 [ 54.587089][ T5067] end_report+0x47/0x90 [ 54.591233][ T5067] kasan_report+0xda/0x100 [ 54.595635][ T5067] ? udf_write_aext+0x62d/0x7e0 [ 54.600472][ T5067] udf_write_aext+0x62d/0x7e0 [ 54.605137][ T5067] udf_add_entry+0x1712/0x3300 [ 54.609886][ T5067] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 54.615855][ T5067] ? __mark_inode_dirty+0x593/0x600 [ 54.621039][ T5067] ? udf_add_nondir+0x580/0x580 [ 54.625875][ T5067] ? udf_new_inode+0xb04/0xf30 [ 54.630626][ T5067] ? d_alloc+0x193/0x1d0 [ 54.634856][ T5067] udf_mkdir+0x13c/0x980 [ 54.639088][ T5067] ? udf_symlink+0x1680/0x1680 [ 54.643836][ T5067] ? from_kgid+0x193/0x6b0 [ 54.648239][ T5067] ? make_kgid+0x710/0x710 [ 54.652643][ T5067] ? __lookup_hash+0x123/0x240 [ 54.657394][ T5067] ? apparmor_path_mkdir+0x461/0x520 [ 54.662661][ T5067] ? generic_permission+0x229/0x500 [ 54.667846][ T5067] ? inode_permission+0xf5/0x450 [ 54.672769][ T5067] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 54.677779][ T5067] ? security_inode_mkdir+0xdd/0x120 [ 54.683053][ T5067] vfs_mkdir+0x3b3/0x590 [ 54.687282][ T5067] do_mkdirat+0x25b/0x530 [ 54.691601][ T5067] ? 0xffffffff81000000 [ 54.695747][ T5067] ? __check_object_size+0x15a/0x210 [ 54.701019][ T5067] ? vfs_mkdir+0x590/0x590 [ 54.705424][ T5067] ? getname_flags+0x1ea/0x4e0 [ 54.710175][ T5067] __x64_sys_mkdir+0x6a/0x80 [ 54.714753][ T5067] do_syscall_64+0x3d/0xb0 [ 54.719151][ T5067] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.725025][ T5067] RIP: 0033:0x7f41e6db5e47 [ 54.729424][ 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 [ 54.749012][ T5067] RSP: 002b:00007ffc0499b4a8 EFLAGS: 00000286 ORIG_RAX: 0000000000000053 [ 54.757413][ T5067] RAX: ffffffffffffffda RBX: 00005555566d12c0 RCX: 00007f41e6db5e47 [ 54.765369][ T5067] RDX: 0000000001280000 RSI: 00000000000001ff RDI: 0000000020000080 [ 54.773324][ T5067] RBP: 00007ffc0499b540 R08: 0000000000000000 R09: 0000000000000000 [ 54.781278][ T5067] R10: 0000000000000000 R11: 0000000000000286 R12: 00000000ffffffff [ 54.789234][ T5067] R13: 0000000020000080 R14: 0000000000000000 R15: 0000000000000000 [ 54.797194][ T5067] [ 54.800327][ T5067] Kernel Offset: disabled [ 54.804648][ T5067] Rebooting in 86400 seconds..