./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor471776923 <...> Warning: Permanently added '10.128.0.28' (ED25519) to the list of known hosts. execve("./syz-executor471776923", ["./syz-executor471776923"], 0x7ffc8ba2eeb0 /* 10 vars */) = 0 brk(NULL) = 0x55555743e000 brk(0x55555743ed00) = 0x55555743ed00 arch_prctl(ARCH_SET_FS, 0x55555743e380) = 0 set_tid_address(0x55555743e650) = 293 set_robust_list(0x55555743e660, 24) = 0 rseq(0x55555743eca0, 0x20, 0, 0x53053053) = -1 ENOSYS (Function not implemented) prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor471776923", 4096) = 27 getrandom("\x6d\x65\xe6\x20\x1f\x2b\x1b\xf8", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555743ed00 brk(0x55555745fd00) = 0x55555745fd00 brk(0x555557460000) = 0x555557460000 mprotect(0x7f6468e26000, 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.UGbbvy", 0700) = 0 chmod("./syzkaller.UGbbvy", 0777) = 0 chdir("./syzkaller.UGbbvy") = 0 mkdir("./0", 0777) = 0 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=0x55555743e650) = 295 ./strace-static-x86_64: Process 295 attached [pid 295] set_robust_list(0x55555743e660, 24) = 0 [pid 295] chdir("./0") = 0 [pid 295] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 295] setpgid(0, 0) = 0 [pid 295] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 295] write(3, "1000", 4) = 4 [pid 295] close(3) = 0 [pid 295] symlink("/dev/binderfs", "./binderfs") = 0 [pid 295] write(1, "executing program\n", 18executing program ) = 18 [pid 295] memfd_create("syzkaller", 0) = 3 [pid 295] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6460973000 [pid 295] 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 [pid 295] munmap(0x7f6460973000, 138412032) = 0 [pid 295] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 22.225385][ T30] audit: type=1400 audit(1720905265.613:66): avc: denied { execmem } for pid=293 comm="syz-executor471" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 22.247587][ T30] audit: type=1400 audit(1720905265.643:67): avc: denied { read write } for pid=293 comm="syz-executor471" name="loop0" dev="devtmpfs" ino=112 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [pid 295] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 295] close(3) = 0 [pid 295] close(4) = 0 [pid 295] mkdir("./file0", 0777) = 0 [ 22.264672][ T295] loop0: detected capacity change from 0 to 512 [ 22.271614][ T30] audit: type=1400 audit(1720905265.643:68): avc: denied { open } for pid=293 comm="syz-executor471" path="/dev/loop0" dev="devtmpfs" ino=112 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 22.301780][ T30] audit: type=1400 audit(1720905265.643:69): avc: denied { ioctl } for pid=293 comm="syz-executor471" path="/dev/loop0" dev="devtmpfs" ino=112 ioctlcmd=0x4c01 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 22.327211][ T30] audit: type=1400 audit(1720905265.703:70): avc: denied { mounton } for pid=295 comm="syz-executor471" path="/root/syzkaller.UGbbvy/0/file0" dev="sda1" ino=1930 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 22.372593][ T295] EXT4-fs (loop0): Ignoring removed nobh option [ 22.380886][ T295] EXT4-fs error (device loop0): ext4_xattr_inode_iget:404: comm syz-executor471: inode #1: comm syz-executor471: iget: illegal inode # [ 22.394761][ T295] EXT4-fs error (device loop0): ext4_xattr_inode_iget:409: comm syz-executor471: error while reading EA inode 1 err=-117 [ 22.407401][ T295] EXT4-fs (loop0): 1 orphan inode deleted [pid 295] mount("/dev/loop0", "./file0", "ext4", MS_NOSYMFOLLOW|MS_NOATIME|MS_I_VERSION|0x200, "journal_ioprio=0x0000000000000005,journal_dev=0x0000000000008000,nobh,minixdf,resgid=0x0000000000000"...) = 0 [pid 295] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 295] chdir("./file0") = 0 [pid 295] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 295] ioctl(4, LOOP_CLR_FD) = 0 [pid 295] close(4) = 0 [pid 295] mount("./file0", "./file0", "incremental-fs", 0, NULL) = 0 [pid 295] exit_group(0) = ? [pid 295] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=295, si_uid=0, si_status=0, si_utime=0, si_stime=6} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./0", MNT_FORCE|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, 0x55555743f6f0 /* 4 entries */, 32768) = 112 umount2("./0/binderfs", MNT_FORCE|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 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0755, st_size=1024, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=1024, ...}, AT_EMPTY_PATH) = 0 getdents64(4, 0x555557447730 /* 5 entries */, 32768) = 144 [ 22.412920][ T295] EXT4-fs (loop0): mounted filesystem without journal. Opts: journal_ioprio=0x0000000000000005,journal_dev=0x0000000000008000,nobh,minixdf,resgid=0x0000000000000000,grpquota,usrjquota=,,errors=continue. Quota mode: writeback. [ 22.434791][ T30] audit: type=1400 audit(1720905265.823:71): avc: denied { mount } for pid=295 comm="syz-executor471" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 [ 22.446096][ T293] EXT4-fs error (device loop0): htree_dirblock_to_tree:1111: inode #2: block 13: comm syz-executor471: bad entry in directory: rec_len is smaller than minimal - offset=76, inode=0, rec_len=0, size=1024 fake=0 umount2("./0/file0/lost+found", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/file0/lost+found", {st_mode=S_IFBLK|S_ISVTX|0614, st_rdev=makedev(0, 0xe), ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./0/file0/lost+found") = 0 umount2("./0/file0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/file0/file1", {st_mode=S_IFDIR|0700, st_size=60, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0/file0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 newfstatat(5, "", {st_mode=S_IFDIR|0700, st_size=60, ...}, AT_EMPTY_PATH) = 0 getdents64(5, 0x55555744f770 /* 2 entries */, 32768) = 48 getdents64(5, 0x55555744f770 /* 0 entries */, 32768) = 0 close(5) = 0 rmdir("./0/file0/file1") = 0 [ 22.456657][ T30] audit: type=1400 audit(1720905265.823:72): avc: denied { mounton } for pid=295 comm="syz-executor471" path="/root/syzkaller.UGbbvy/0/file0/file0" dev="loop0" ino=12 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 22.501734][ T293] ------------[ cut here ]------------ [ 22.501933][ T30] audit: type=1400 audit(1720905265.833:73): avc: denied { write } for pid=295 comm="syz-executor471" name="file0" dev="loop0" ino=12 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 22.508164][ T293] kernel BUG at fs/namei.c:2933! [ 22.529316][ T30] audit: type=1400 audit(1720905265.833:74): avc: denied { add_name } for pid=295 comm="syz-executor471" name=".index" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 22.534288][ T293] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 22.554806][ T30] audit: type=1400 audit(1720905265.833:75): avc: denied { create } for pid=295 comm="syz-executor471" name=".index" scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=dir permissive=1 [ 22.560749][ T293] CPU: 0 PID: 293 Comm: syz-executor471 Not tainted 5.15.151-syzkaller-00415-gdb06c48ab67e #0 [ 22.560766][ T293] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 [ 22.560782][ T293] RIP: 0010:may_delete+0x6eb/0x6f0 [ 22.605979][ T293] Code: 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 7f fe ff ff 4c 89 e7 e8 46 74 f4 ff e9 72 fe ff ff e8 ac 3a b2 ff 0f 0b e8 a5 3a b2 ff <0f> 0b 0f 1f 00 55 48 89 e5 41 56 53 48 89 fb e8 91 3a b2 ff 4c 8d [ 22.625418][ T293] RSP: 0018:ffffc90000987bb0 EFLAGS: 00010293 [ 22.631318][ T293] RAX: ffffffff81bdfd1b RBX: ffff88811cdcdcf0 RCX: ffff888121fc3b40 [ 22.639129][ T293] RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 [ 22.647036][ T293] RBP: ffffc90000987c18 R08: ffffffff81bdf6af R09: 0000000000000003 [ 22.654846][ T293] R10: fffff52000130f58 R11: dffffc0000000001 R12: ffff88811cdcddd0 [ 22.662655][ T293] R13: 1ffff110239b9bba R14: ffff88810f26ded8 R15: dffffc0000000000 [ 22.670469][ T293] FS: 000055555743e380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 22.679229][ T293] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.685651][ T293] CR2: 000055b590cc90a8 CR3: 0000000121d51000 CR4: 00000000003506b0 [ 22.693467][ T293] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 22.701292][ T293] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 22.709086][ T293] Call Trace: [ 22.712213][ T293] [ 22.714991][ T293] ? __die_body+0x62/0xb0 [ 22.719154][ T293] ? die+0x88/0xb0 [ 22.722714][ T293] ? do_trap+0x103/0x330 [ 22.726791][ T293] ? may_delete+0x6eb/0x6f0 [ 22.731129][ T293] ? handle_invalid_op+0x95/0xc0 [ 22.735905][ T293] ? may_delete+0x6eb/0x6f0 [ 22.740244][ T293] ? exc_invalid_op+0x32/0x50 [ 22.744756][ T293] ? asm_exc_invalid_op+0x1b/0x20 [ 22.749624][ T293] ? may_delete+0x7f/0x6f0 [ 22.753869][ T293] ? may_delete+0x6eb/0x6f0 [ 22.758209][ T293] ? may_delete+0x6eb/0x6f0 [ 22.762550][ T293] vfs_rmdir+0x32/0x470 [ 22.766543][ T293] incfs_kill_sb+0x113/0x230 [ 22.770968][ T293] deactivate_locked_super+0xad/0x110 [ 22.776181][ T293] deactivate_super+0xbe/0xf0 [ 22.780689][ T293] cleanup_mnt+0x45c/0x510 [ 22.784944][ T293] __cleanup_mnt+0x19/0x20 [ 22.789195][ T293] task_work_run+0x129/0x190 [ 22.793624][ T293] ptrace_notify+0x29e/0x350 [ 22.798048][ T293] ? do_notify_parent+0xa30/0xa30 [ 22.802907][ T293] ? user_path_at_empty+0x14e/0x1a0 [ 22.807944][ T293] ? __x64_sys_umount+0x122/0x170 [ 22.812802][ T293] ? path_umount+0xea0/0xea0 [ 22.817227][ T293] ? __kasan_check_read+0x11/0x20 [ 22.822089][ T293] syscall_exit_to_user_mode+0xac/0x160 [ 22.827471][ T293] do_syscall_64+0x49/0xb0 [ 22.831724][ T293] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 22.837451][ T293] RIP: 0033:0x7f6468db34c7 [ 22.841708][ T293] Code: 07 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 [ 22.861146][ T293] RSP: 002b:00007ffc11e45cb8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 22.869389][ T293] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f6468db34c7 [ 22.877202][ T293] RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc11e45d70 [ 22.885019][ T293] RBP: 00007ffc11e45d70 R08: 0000000000000000 R09: 0000000000000000 [ 22.892823][ T293] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffc11e46e60 [ 22.900636][ T293] R13: 0000555557447700 R14: 431bde82d7b634db R15: 00007ffc11e47ef0 [ 22.908458][ T293] [ 22.911311][ T293] Modules linked in: [ 22.915303][ T293] ---[ end trace 673b799cedb73032 ]--- [ 22.920862][ T293] RIP: 0010:may_delete+0x6eb/0x6f0 [ 22.925819][ T293] Code: 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 7f fe ff ff 4c 89 e7 e8 46 74 f4 ff e9 72 fe ff ff e8 ac 3a b2 ff 0f 0b e8 a5 3a b2 ff <0f> 0b 0f 1f 00 55 48 89 e5 41 56 53 48 89 fb e8 91 3a b2 ff 4c 8d [ 22.945245][ T293] RSP: 0018:ffffc90000987bb0 EFLAGS: 00010293 [ 22.951170][ T293] RAX: ffffffff81bdfd1b RBX: ffff88811cdcdcf0 RCX: ffff888121fc3b40 [ 22.959017][ T293] RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 [ 22.966781][ T293] RBP: ffffc90000987c18 R08: ffffffff81bdf6af R09: 0000000000000003 [ 22.974551][ T293] R10: fffff52000130f58 R11: dffffc0000000001 R12: ffff88811cdcddd0 [ 22.982387][ T293] R13: 1ffff110239b9bba R14: ffff88810f26ded8 R15: dffffc0000000000 [ 22.990214][ T293] FS: 000055555743e380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 22.999115][ T293] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.005472][ T293] CR2: 000055b590cc90a8 CR3: 0000000121d51000 CR4: 00000000003506b0 [ 23.013368][ T293] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 23.021119][ T293] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 23.029082][ T293] Kernel panic - not syncing: Fatal exception [ 23.035085][ T293] Kernel Offset: disabled [ 23.039204][ T293] Rebooting in 86400 seconds..