./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3566951609 <...> Warning: Permanently added '10.128.1.43' (ED25519) to the list of known hosts. execve("./syz-executor3566951609", ["./syz-executor3566951609"], 0x7fff43be4230 /* 10 vars */) = 0 brk(NULL) = 0x555556a46000 brk(0x555556a46d00) = 0x555556a46d00 arch_prctl(ARCH_SET_FS, 0x555556a46380) = 0 set_tid_address(0x555556a46650) = 5065 set_robust_list(0x555556a46660, 24) = 0 rseq(0x555556a46ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3566951609", 4096) = 28 getrandom("\xf0\xb4\x69\xe8\x2c\x7f\xd0\xa3", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555556a46d00 brk(0x555556a67d00) = 0x555556a67d00 brk(0x555556a68000) = 0x555556a68000 mprotect(0x7f6414102000, 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 mkdir("./syzkaller.11UxDM", 0700) = 0 chmod("./syzkaller.11UxDM", 0777) = 0 chdir("./syzkaller.11UxDM") = 0 mkdir("./0", 0777) = 0 [ 104.769795][ T27] audit: type=1400 audit(1701824365.776:83): avc: denied { execmem } for pid=5065 comm="syz-executor356" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 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./strace-static-x86_64: Process 5066 attached [pid 5066] set_robust_list(0x555556a46660, 24) = 0 [pid 5065] <... clone resumed>, child_tidptr=0x555556a46650) = 5066 [pid 5066] chdir("./0") = 0 [pid 5066] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5066] setpgid(0, 0) = 0 [pid 5066] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5066] write(3, "1000", 4) = 4 [pid 5066] close(3) = 0 [ 104.825834][ T27] audit: type=1400 audit(1701824365.826:84): avc: denied { read write } for pid=5065 comm="syz-executor356" name="loop0" dev="devtmpfs" ino=648 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 104.851174][ T27] audit: type=1400 audit(1701824365.826:85): avc: denied { open } for pid=5065 comm="syz-executor356" path="/dev/loop0" dev="devtmpfs" ino=648 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [pid 5066] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5066] memfd_create("syzkaller", 0) = 3 [pid 5066] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f640bc2f000 [pid 5066] 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"..., 1048576) = 1048576 [pid 5066] munmap(0x7f640bc2f000, 138412032) = 0 [pid 5066] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 104.877110][ T27] audit: type=1400 audit(1701824365.826:86): avc: denied { ioctl } for pid=5065 comm="syz-executor356" path="/dev/loop0" dev="devtmpfs" ino=648 ioctlcmd=0x4c01 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [pid 5066] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5066] close(3) = 0 [pid 5066] mkdir("./file0", 0777) = 0 [ 104.931732][ T5066] loop0: detected capacity change from 0 to 2048 [ 104.947651][ T27] audit: type=1400 audit(1701824365.946:87): avc: denied { mounton } for pid=5066 comm="syz-executor356" path="/root/syzkaller.11UxDM/0/file0" dev="sda1" ino=1930 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 104.955491][ T5066] UDF-fs: error (device loop0): udf_read_tagged: tag version 0x0000 != 0x0002 || 0x0003, block 0 [ 104.984227][ T5066] UDF-fs: warning (device loop0): udf_load_vrs: No anchor found [ 104.992043][ T5066] UDF-fs: Scanning with blocksize 512 failed [ 105.002292][ T5066] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [pid 5066] mount("/dev/loop0", "./file0", "udf", MS_NODEV, "novrs,") = 0 [ 105.014980][ T27] audit: type=1400 audit(1701824366.016:88): avc: denied { mount } for pid=5066 comm="syz-executor356" name="/" dev="loop0" ino=832 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:iso9660_t tclass=filesystem permissive=1 [ 105.037952][ T27] audit: type=1400 audit(1701824366.026:89): avc: denied { append } for pid=4494 comm="syslogd" name="messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [pid 5066] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5066] chdir("./file0") = 0 [pid 5066] ioctl(4, LOOP_CLR_FD) = 0 [pid 5066] close(4) = 0 [pid 5066] open("./bus", O_RDWR|O_CREAT|O_NOCTTY|O_SYNC|O_NOATIME|FASYNC, 000) = 4 [pid 5066] mount("/dev/loop0", "./bus", NULL, MS_BIND, NULL) = 0 [ 105.060685][ T27] audit: type=1400 audit(1701824366.026:90): avc: denied { open } for pid=4494 comm="syslogd" path="/tmp/messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 105.084445][ T27] audit: type=1400 audit(1701824366.026:91): avc: denied { getattr } for pid=4494 comm="syslogd" path="/tmp/messages" dev="tmpfs" ino=3 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [pid 5066] memfd_create("syzkaller", 0) = 5 [pid 5066] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f640bc2f000 [ 105.122585][ T27] audit: type=1400 audit(1701824366.126:92): avc: denied { mounton } for pid=5066 comm="syz-executor356" path="/root/syzkaller.11UxDM/0/file0/bus" dev="loop0" ino=851 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:iso9660_t tclass=file permissive=1 [pid 5066] write(5, "\xeb\x52\x90\x4e\x54\x46\x53\x20\x20\x20\x20\x00\x10\x01\x00\x00\x00\x00\x00\x00\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x80\x00\xff\x01\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x78\x5f\xaa\x3b\xd7\x0e\xce\x68\x00\x00\x00\x00\x0e\x1f\xbe\x71\x7c\xac\x22\xc0\x74\x0b\x56\xb4\x0e\xbb\x07\x00"..., 2097152) = 2097152 [pid 5066] munmap(0x7f640bc2f000, 138412032) = 0 [pid 5066] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 6 [pid 5066] ioctl(6, LOOP_SET_FD, 5) = -1 EBUSY (Device or resource busy) [pid 5066] ioctl(6, LOOP_CLR_FD) = 0 [pid 5066] ioctl(6, LOOP_SET_FD, 5) = -1 EBUSY (Device or resource busy) [pid 5066] close(6) = 0 [pid 5066] close(5) = 0 [pid 5066] open("./bus", O_RDWR|O_NOCTTY|O_SYNC|O_NOATIME|0x3c) = 5 [pid 5066] write(5, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 34136651) = 1048576 [pid 5066] exit_group(0) = ? [pid 5066] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5066, si_uid=0, si_status=0, si_utime=0, si_stime=27 /* 0.27 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x555556a476f0 /* 4 entries */, 32768) = 112 umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./0/binderfs") = 0 [ 105.538911][ T5065] ================================================================== [ 105.547027][ T5065] BUG: KASAN: use-after-free in crc_itu_t+0xd7/0xe0 [ 105.553682][ T5065] Read of size 1 at addr ffff88807bda9000 by task syz-executor356/5065 [ 105.561952][ T5065] [ 105.564292][ T5065] CPU: 0 PID: 5065 Comm: syz-executor356 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0 [ 105.574730][ T5065] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 105.584802][ T5065] Call Trace: [ 105.588095][ T5065] [ 105.591041][ T5065] dump_stack_lvl+0xd9/0x1b0 [ 105.595665][ T5065] print_report+0xc4/0x620 [ 105.600106][ T5065] ? __virt_addr_valid+0x5e/0x2d0 [ 105.605160][ T5065] ? __phys_addr+0xc6/0x140 [ 105.609693][ T5065] kasan_report+0xda/0x110 [ 105.614128][ T5065] ? crc_itu_t+0xd7/0xe0 [ 105.618400][ T5065] ? crc_itu_t+0xd7/0xe0 [ 105.622682][ T5065] crc_itu_t+0xd7/0xe0 [ 105.626785][ T5065] udf_finalize_lvid+0xf2/0x1f0 [ 105.631677][ T5065] ? udf_mount+0x40/0x40 [ 105.635950][ T5065] udf_sync_fs+0xea/0x150 [ 105.640306][ T5065] ? udf_finalize_lvid+0x1f0/0x1f0 [ 105.645442][ T5065] sync_filesystem+0x109/0x280 [ 105.650257][ T5065] generic_shutdown_super+0x7e/0x3d0 [ 105.655574][ T5065] kill_block_super+0x3b/0x90 [ 105.660308][ T5065] deactivate_locked_super+0xbc/0x1a0 [ 105.665717][ T5065] deactivate_super+0xde/0x100 [ 105.670535][ T5065] cleanup_mnt+0x222/0x450 [ 105.675357][ T5065] task_work_run+0x14d/0x240 [ 105.679996][ T5065] ? task_work_cancel+0x30/0x30 [ 105.684886][ T5065] ptrace_notify+0x10d/0x130 [ 105.689505][ T5065] syscall_exit_to_user_mode_prepare+0x126/0x230 [ 105.695865][ T5065] syscall_exit_to_user_mode+0xe/0x60 [ 105.701275][ T5065] do_syscall_64+0x4d/0x110 [ 105.705806][ T5065] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 105.711738][ T5065] RIP: 0033:0x7f641406f5c7 [ 105.716168][ T5065] Code: 09 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 [ 105.735795][ T5065] RSP: 002b:00007fffbf6511d8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 105.744245][ T5065] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f641406f5c7 [ 105.752233][ T5065] RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007fffbf651290 [ 105.760220][ T5065] RBP: 00007fffbf651290 R08: 0000000000000000 R09: 0000000000000000 [ 105.768213][ T5065] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007fffbf652300 [ 105.776204][ T5065] R13: 0000555556a476c0 R14: 431bde82d7b634db R15: 00007fffbf652320 [ 105.784197][ T5065] [ 105.787247][ T5065] [ 105.789579][ T5065] The buggy address belongs to the physical page: [ 105.795996][ T5065] page:ffffea0001ef6a40 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x7bda9 [ 105.806161][ T5065] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) [ 105.813280][ T5065] page_type: 0xffffffff() [ 105.817711][ T5065] raw: 00fff00000000000 ffffea0001ff1808 ffffea0001fbcc88 0000000000000000 [ 105.826399][ T5065] raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 [ 105.834992][ T5065] page dumped because: kasan: bad access detected [ 105.841409][ T5065] page_owner tracks the page as freed [ 105.847042][ T5065] page last allocated via order 0, migratetype Movable, gfp_mask 0x140dca(GFP_HIGHUSER_MOVABLE|__GFP_COMP|__GFP_ZERO), pid 5066, tgid 5066 (syz-executor356), ts 105171007915, free_ts 105214451002 [ 105.866168][ T5065] post_alloc_hook+0x2d0/0x350 [ 105.870959][ T5065] get_page_from_freelist+0xa25/0x36d0 [ 105.876439][ T5065] __alloc_pages+0x22e/0x2420 [ 105.881139][ T5065] alloc_pages_mpol+0x258/0x5f0 [ 105.886007][ T5065] vma_alloc_folio+0xad/0x220 [ 105.890702][ T5065] __handle_mm_fault+0xe07/0x3d70 [ 105.895750][ T5065] handle_mm_fault+0x47a/0xa10 [ 105.900538][ T5065] do_user_addr_fault+0x30b/0x1000 [ 105.905667][ T5065] exc_page_fault+0x5d/0xc0 [ 105.910200][ T5065] asm_exc_page_fault+0x26/0x30 [ 105.915082][ T5065] page last free stack trace: [ 105.919785][ T5065] free_unref_page_prepare+0x4fa/0xaa0 [ 105.925285][ T5065] free_unref_page_list+0xe6/0xb40 [ 105.930418][ T5065] release_pages+0x32a/0x14f0 [ 105.935125][ T5065] tlb_batch_pages_flush+0x9a/0x190 [ 105.940345][ T5065] tlb_finish_mmu+0x14b/0x6f0 [ 105.945037][ T5065] unmap_region.constprop.0+0x2e6/0x3b0 [ 105.950642][ T5065] do_vmi_align_munmap+0xde6/0x1600 [ 105.955872][ T5065] do_vmi_munmap+0x20e/0x450 [ 105.960480][ T5065] __vm_munmap+0x144/0x390 [ 105.964920][ T5065] __x64_sys_munmap+0x62/0x80 [ 105.969612][ T5065] do_syscall_64+0x40/0x110 [ 105.974139][ T5065] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 105.980065][ T5065] [ 105.982394][ T5065] Memory state around the buggy address: [ 105.988032][ T5065] ffff88807bda8f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 105.996153][ T5065] ffff88807bda8f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 106.004226][ T5065] >ffff88807bda9000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 106.012296][ T5065] ^ [ 106.016370][ T5065] ffff88807bda9080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 106.024445][ T5065] ffff88807bda9100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 106.032512][ T5065] ================================================================== [ 106.041023][ T5065] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 106.048251][ T5065] CPU: 0 PID: 5065 Comm: syz-executor356 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0 [ 106.058737][ T5065] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 106.068828][ T5065] Call Trace: [ 106.072122][ T5065] [ 106.075061][ T5065] dump_stack_lvl+0xd9/0x1b0 [ 106.079683][ T5065] panic+0x6dc/0x790 [ 106.083605][ T5065] ? panic_smp_self_stop+0xa0/0xa0 [ 106.088742][ T5065] ? preempt_schedule_thunk+0x1a/0x30 [ 106.094151][ T5065] ? preempt_schedule_common+0x45/0xc0 [ 106.099640][ T5065] ? check_panic_on_warn+0x1f/0xb0 [ 106.104777][ T5065] check_panic_on_warn+0xab/0xb0 [ 106.109741][ T5065] end_report+0x108/0x150 [ 106.114091][ T5065] kasan_report+0xea/0x110 [ 106.118525][ T5065] ? crc_itu_t+0xd7/0xe0 [ 106.122797][ T5065] ? crc_itu_t+0xd7/0xe0 [ 106.127069][ T5065] crc_itu_t+0xd7/0xe0 [ 106.131167][ T5065] udf_finalize_lvid+0xf2/0x1f0 [ 106.136043][ T5065] ? udf_mount+0x40/0x40 [ 106.140308][ T5065] udf_sync_fs+0xea/0x150 [ 106.144658][ T5065] ? udf_finalize_lvid+0x1f0/0x1f0 [ 106.149793][ T5065] sync_filesystem+0x109/0x280 [ 106.154586][ T5065] generic_shutdown_super+0x7e/0x3d0 [ 106.159907][ T5065] kill_block_super+0x3b/0x90 [ 106.164613][ T5065] deactivate_locked_super+0xbc/0x1a0 [ 106.170017][ T5065] deactivate_super+0xde/0x100 [ 106.174813][ T5065] cleanup_mnt+0x222/0x450 [ 106.179258][ T5065] task_work_run+0x14d/0x240 [ 106.183883][ T5065] ? task_work_cancel+0x30/0x30 [ 106.188774][ T5065] ptrace_notify+0x10d/0x130 [ 106.193384][ T5065] syscall_exit_to_user_mode_prepare+0x126/0x230 [ 106.199742][ T5065] syscall_exit_to_user_mode+0xe/0x60 [ 106.205149][ T5065] do_syscall_64+0x4d/0x110 [ 106.209676][ T5065] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 106.215603][ T5065] RIP: 0033:0x7f641406f5c7 [ 106.220034][ T5065] Code: 09 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 [ 106.239662][ T5065] RSP: 002b:00007fffbf6511d8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 106.248091][ T5065] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f641406f5c7 [ 106.256077][ T5065] RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007fffbf651290 [ 106.264063][ T5065] RBP: 00007fffbf651290 R08: 0000000000000000 R09: 0000000000000000 [ 106.272047][ T5065] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007fffbf652300 [ 106.280034][ T5065] R13: 0000555556a476c0 R14: 431bde82d7b634db R15: 00007fffbf652320 [ 106.288029][ T5065] [ 106.291307][ T5065] Kernel Offset: disabled [ 106.295634][ T5065] Rebooting in 86400 seconds..