./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3926934327 <...> Warning: Permanently added '10.128.0.205' (ED25519) to the list of known hosts. execve("./syz-executor3926934327", ["./syz-executor3926934327"], 0x7ffee964e870 /* 10 vars */) = 0 brk(NULL) = 0x555555a60000 brk(0x555555a60d00) = 0x555555a60d00 arch_prctl(ARCH_SET_FS, 0x555555a60380) = 0 set_tid_address(0x555555a60650) = 292 set_robust_list(0x555555a60660, 24) = 0 rseq(0x555555a60ca0, 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-executor3926934327", 4096) = 28 getrandom("\x9b\xda\xcf\x9b\xf6\x6e\x4a\x33", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555a60d00 brk(0x555555a81d00) = 0x555555a81d00 brk(0x555555a82000) = 0x555555a82000 mprotect(0x7f35759c5000, 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, "/sys/kernel/debug/failslab/ignore-gfp-wait", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_futex/ignore-private", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/ignore-gfp-wait", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/min-order", O_WRONLY|O_CLOEXEC) = 3 write(3, "0", 1) = 1 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 293 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 293 attached ./strace-static-x86_64: Process 294 attached , child_tidptr=0x555555a60650) = 294 [pid 292] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] set_robust_list(0x555555a60660, 24 [pid 293] set_robust_list(0x555555a60660, 24./strace-static-x86_64: Process 295 attached [pid 292] <... clone resumed>, child_tidptr=0x555555a60650) = 295 [pid 292] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] <... set_robust_list resumed>) = 0 [pid 293] <... set_robust_list resumed>) = 0 ./strace-static-x86_64: Process 296 attached [pid 295] set_robust_list(0x555555a60660, 24 [pid 292] <... clone resumed>, child_tidptr=0x555555a60650) = 296 [pid 295] <... set_robust_list resumed>) = 0 [pid 292] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] mkdir("./syzkaller.EozRx3", 0700./strace-static-x86_64: Process 297 attached [pid 296] set_robust_list(0x555555a60660, 24 [pid 295] <... mkdir resumed>) = 0 [pid 294] mkdir("./syzkaller.H4lj3R", 0700 [pid 293] mkdir("./syzkaller.kZPbFn", 0700 [pid 292] <... clone resumed>, child_tidptr=0x555555a60650) = 297 [pid 295] chmod("./syzkaller.EozRx3", 0777 [pid 292] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] <... chmod resumed>) = 0 [pid 295] chdir("./syzkaller.EozRx3" [pid 292] <... clone resumed>, child_tidptr=0x555555a60650) = 298 [pid 295] <... chdir resumed>) = 0 [pid 295] mkdir("./0", 0777) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 298 attached ./strace-static-x86_64: Process 299 attached [pid 297] set_robust_list(0x555555a60660, 24 [pid 296] <... set_robust_list resumed>) = 0 [pid 294] <... mkdir resumed>) = 0 [pid 293] <... mkdir resumed>) = 0 [pid 299] set_robust_list(0x555555a60660, 24 [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 299 [pid 299] <... set_robust_list resumed>) = 0 [pid 299] chdir("./0") = 0 [pid 299] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 299] setpgid(0, 0) = 0 [pid 299] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 294] chmod("./syzkaller.H4lj3R", 0777 [pid 293] chmod("./syzkaller.kZPbFn", 0777 [pid 299] <... openat resumed>) = 3 [pid 293] <... chmod resumed>) = 0 [pid 294] <... chmod resumed>) = 0 [pid 299] write(3, "1000", 4) = 4 [pid 299] close(3) = 0 [pid 299] symlink("/dev/binderfs", "./binderfs") = 0 [pid 297] <... set_robust_list resumed>) = 0 [pid 294] chdir("./syzkaller.H4lj3R" [pid 293] chdir("./syzkaller.kZPbFn" [pid 294] <... chdir resumed>) = 0 [pid 293] <... chdir resumed>) = 0 [pid 299] mkdir("./file0", 000) = 0 [pid 293] mkdir("./0", 0777 [pid 294] mkdir("./0", 0777 [pid 299] open("./file0", O_RDONLY) = 3 [pid 299] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 293] <... mkdir resumed>) = 0 [pid 298] set_robust_list(0x555555a60660, 24 [pid 297] mkdir("./syzkaller.ib05pZ", 0700 [pid 296] mkdir("./syzkaller.UJiZAb", 0700 [pid 294] <... mkdir resumed>) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 297] <... mkdir resumed>) = 0 [pid 296] <... mkdir resumed>) = 0 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 298] <... set_robust_list resumed>) = 0 [pid 297] chmod("./syzkaller.ib05pZ", 0777 [pid 296] chmod("./syzkaller.UJiZAb", 0777 [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 300 [pid 298] mkdir("./syzkaller.COvzXK", 0700 [pid 297] <... chmod resumed>) = 0 [pid 296] <... chmod resumed>) = 0 [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 301 ./strace-static-x86_64: Process 301 attached ./strace-static-x86_64: Process 300 attached [pid 299] <... ioctl resumed>) = 0 [pid 298] <... mkdir resumed>) = 0 [pid 297] chdir("./syzkaller.ib05pZ" [pid 296] chdir("./syzkaller.UJiZAb" [pid 300] set_robust_list(0x555555a60660, 24 [pid 298] chmod("./syzkaller.COvzXK", 0777 [pid 297] <... chdir resumed>) = 0 [pid 296] <... chdir resumed>) = 0 [pid 299] chdir("./file0" [pid 301] set_robust_list(0x555555a60660, 24 [pid 300] <... set_robust_list resumed>) = 0 [pid 298] <... chmod resumed>) = 0 [pid 297] mkdir("./0", 0777 [pid 296] mkdir("./0", 0777 [pid 301] <... set_robust_list resumed>) = 0 [pid 300] chdir("./0" [pid 299] <... chdir resumed>) = 0 [pid 301] chdir("./0" [pid 300] <... chdir resumed>) = 0 [pid 299] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 296] <... mkdir resumed>) = 0 [pid 300] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 298] chdir("./syzkaller.COvzXK" [pid 297] <... mkdir resumed>) = 0 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 301] <... chdir resumed>) = 0 [pid 300] <... prctl resumed>) = 0 [pid 299] <... add_key resumed>) = 504591174 [pid 298] <... chdir resumed>) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 302 attached [pid 301] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 300] setpgid(0, 0 [pid 299] open("./bus", O_RDONLY [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 302 ./strace-static-x86_64: Process 303 attached [pid 302] set_robust_list(0x555555a60660, 24 [pid 301] <... prctl resumed>) = 0 [pid 300] <... setpgid resumed>) = 0 [pid 298] mkdir("./0", 0777 [pid 303] set_robust_list(0x555555a60660, 24 [pid 298] <... mkdir resumed>) = 0 [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 303 [pid 303] <... set_robust_list resumed>) = 0 [pid 300] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 302] <... set_robust_list resumed>) = 0 [pid 301] setpgid(0, 0 [pid 300] <... openat resumed>) = 3 [pid 302] chdir("./0" [pid 301] <... setpgid resumed>) = 0 [pid 300] write(3, "1000", 4 [pid 302] <... chdir resumed>) = 0 [pid 301] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 300] <... write resumed>) = 4 [pid 302] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 301] <... openat resumed>) = 3 [pid 300] close(3 [pid 302] <... prctl resumed>) = 0 [pid 301] write(3, "1000", 4 [pid 300] <... close resumed>) = 0 [pid 302] setpgid(0, 0 [pid 301] <... write resumed>) = 4 [pid 300] symlink("/dev/binderfs", "./binderfs" [pid 302] <... setpgid resumed>) = 0 [pid 301] close(3 [pid 300] <... symlink resumed>) = 0 [pid 302] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 301] <... close resumed>) = 0 [pid 300] mkdir("./file0", 000 [pid 302] <... openat resumed>) = 3 [pid 301] symlink("/dev/binderfs", "./binderfs" [pid 300] <... mkdir resumed>) = 0 [pid 302] write(3, "1000", 4 [pid 301] <... symlink resumed>) = 0 [pid 300] open("./file0", O_RDONLY [pid 302] <... write resumed>) = 4 [pid 301] mkdir("./file0", 000 [pid 300] <... open resumed>) = 3 [ 20.881603][ T30] audit: type=1400 audit(1702680852.249:66): avc: denied { execmem } for pid=292 comm="syz-executor392" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 20.885456][ T30] audit: type=1400 audit(1702680852.249:67): avc: denied { integrity } for pid=292 comm="syz-executor392" lockdown_reason="debugfs access" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=lockdown permissive=1 [ 20.900202][ T299] syz-executor392 (pid 299) is setting deprecated v1 encryption policy; recommend upgrading to v2. [pid 302] close(3 [pid 301] <... mkdir resumed>) = 0 [pid 300] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 302] <... close resumed>) = 0 [pid 301] open("./file0", O_RDONLY [pid 300] <... ioctl resumed>) = 0 [pid 302] symlink("/dev/binderfs", "./binderfs" [pid 301] <... open resumed>) = 3 [pid 300] chdir("./file0" [pid 302] <... symlink resumed>) = 0 [pid 301] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 300] <... chdir resumed>) = 0 [pid 302] mkdir("./file0", 000 [pid 301] <... ioctl resumed>) = 0 [pid 300] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 302] <... mkdir resumed>) = 0 [pid 301] chdir("./file0" [pid 300] <... add_key resumed>) = 201211544 [pid 302] open("./file0", O_RDONLY [pid 301] <... chdir resumed>) = 0 [pid 300] open("./bus", O_RDONLY [pid 302] <... open resumed>) = 3 [pid 301] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 302] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 301] <... add_key resumed>) = 594141762 [pid 302] <... ioctl resumed>) = 0 [pid 301] open("./bus", O_RDONLY [pid 302] chdir("./file0") = 0 [pid 302] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 989912502 [pid 302] open("./bus", O_RDONLY./strace-static-x86_64: Process 306 attached [pid 303] chdir("./0" [pid 302] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 301] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 299] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 306] set_robust_list(0x555555a60660, 24 [pid 303] <... chdir resumed>) = 0 [pid 302] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 301] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 299] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 298] <... clone resumed>, child_tidptr=0x555555a60650) = 306 [pid 306] <... set_robust_list resumed>) = 0 [pid 303] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 302] <... openat resumed>) = 4 [pid 301] <... openat resumed>) = 4 [pid 299] <... openat resumed>) = 4 [pid 306] chdir("./0" [pid 303] <... prctl resumed>) = 0 [pid 302] write(4, "24", 2 [pid 301] write(4, "24", 2 [pid 299] write(4, "24", 2 [pid 306] <... chdir resumed>) = 0 [pid 303] setpgid(0, 0 [pid 302] <... write resumed>) = 2 [pid 301] <... write resumed>) = 2 [pid 299] <... write resumed>) = 2 [pid 306] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 303] <... setpgid resumed>) = 0 [pid 302] symlink("./file0", "./file0" [pid 301] symlink("./file0", "./file0" [pid 299] symlink("./file0", "./file0" [pid 306] <... prctl resumed>) = 0 [pid 303] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 300] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 300] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [ 20.913901][ T30] audit: type=1400 audit(1702680852.279:68): avc: denied { module_request } for pid=299 comm="syz-executor392" kmod="crypto-cryptd(__ecb-aes-aesni)" scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:kernel_t tclass=system permissive=1 [ 20.930699][ T300] fscrypt: AES-128-CTS-CBC using implementation "cts-cbc-aes-aesni" [ 20.941964][ T302] FAULT_INJECTION: forcing a failure. [ 20.941964][ T302] name failslab, interval 1, probability 0, space 0, times 1 [ 20.946406][ T300] FAULT_INJECTION: forcing a failure. [ 20.946406][ T300] name failslab, interval 1, probability 0, space 0, times 1 [ 20.958134][ T299] FAULT_INJECTION: forcing a failure. [pid 300] write(4, "24", 2) = 2 [pid 300] symlink("./file0", "./file0" [pid 306] setpgid(0, 0 [pid 303] <... openat resumed>) = 3 [ 20.958134][ T299] name failslab, interval 1, probability 0, space 0, times 1 [ 20.970626][ T301] FAULT_INJECTION: forcing a failure. [ 20.970626][ T301] name failslab, interval 1, probability 0, space 0, times 1 [ 20.982334][ T299] CPU: 0 PID: 299 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 21.004767][ T299] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 21.014659][ T299] Call Trace: [ 21.017784][ T299] [ 21.020566][ T299] dump_stack_lvl+0x151/0x1b7 [ 21.025078][ T299] ? io_uring_drop_tctx_refs+0x190/0x190 [ 21.030544][ T299] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 21.036271][ T299] dump_stack+0x15/0x17 [ 21.040267][ T299] should_fail+0x3c6/0x510 [ 21.044516][ T299] __should_failslab+0xa4/0xe0 [ 21.049115][ T299] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 21.054238][ T299] should_failslab+0x9/0x20 [ 21.058576][ T299] slab_pre_alloc_hook+0x37/0xd0 [ 21.063349][ T299] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 21.068469][ T299] kmem_cache_alloc+0x44/0x200 [ 21.073070][ T299] ext4_mb_new_blocks+0xd97/0x43f0 [ 21.078024][ T299] ? ext4_mb_pa_callback+0xd0/0xd0 [ 21.082964][ T299] ? ext4_xattr_ibody_set+0x390/0x390 [ 21.088174][ T299] ext4_new_meta_blocks+0x206/0x4f0 [ 21.093206][ T299] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 21.098673][ T299] ? __entry_find+0x398/0x3f0 [ 21.103186][ T299] ? __kmalloc+0x13a/0x270 [ 21.107445][ T299] ext4_xattr_block_set+0x233e/0x3760 [ 21.112653][ T299] ? __ext4_journal_ensure_credits+0x470/0x470 [ 21.118637][ T299] ? ext4_xattr_block_find+0x520/0x520 [ 21.123930][ T299] ? __xattr_check_inode+0x3d5/0x440 [pid 303] write(3, "1000", 4) = 4 [pid 303] close(3) = 0 [pid 303] symlink("/dev/binderfs", "./binderfs") = 0 [pid 303] mkdir("./file0", 000) = 0 [pid 303] open("./file0", O_RDONLY) = 3 [pid 303] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 303] chdir("./file0") = 0 [pid 303] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 818424743 [pid 303] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 303] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 303] write(4, "24", 2) = 2 [ 21.129058][ T299] ext4_xattr_set_handle+0xdac/0x1560 [ 21.134259][ T299] ? sidtab_sid2str_put+0x2d7/0x640 [ 21.139300][ T299] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 21.141522][ T303] FAULT_INJECTION: forcing a failure. [ 21.141522][ T303] name failslab, interval 1, probability 0, space 0, times 1 [ 21.144678][ T299] ? selinux_inode_init_security+0x52d/0x780 [ 21.144707][ T299] ? selinux_inode_free_security+0x210/0x210 [ 21.144730][ T299] ext4_initxattrs+0xa7/0x120 [ 21.144750][ T299] security_inode_init_security+0x252/0x390 [pid 303] symlink("./file0", "./file0" [pid 306] <... setpgid resumed>) = 0 [pid 306] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 306] write(3, "1000", 4) = 4 [pid 306] close(3) = 0 [pid 306] symlink("/dev/binderfs", "./binderfs") = 0 [pid 306] mkdir("./file0", 000) = 0 [pid 306] open("./file0", O_RDONLY) = 3 [pid 306] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 306] chdir("./file0") = 0 [ 21.178959][ T299] ? ext4_init_security+0x40/0x40 [ 21.183821][ T299] ? security_dentry_create_files_as+0xc0/0xc0 [ 21.189817][ T299] ? fscrypt_set_context+0x439/0x740 [ 21.194929][ T299] ? __ext4_set_acl+0x5e0/0x5e0 [ 21.199622][ T299] ? prandom_u32+0x24c/0x290 [ 21.204046][ T299] ext4_init_security+0x34/0x40 [ 21.204361][ T306] FAULT_INJECTION: forcing a failure. [ 21.204361][ T306] name failslab, interval 1, probability 0, space 0, times 1 [ 21.208822][ T299] __ext4_new_inode+0x31f0/0x40a0 [ 21.208849][ T299] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 21.231732][ T299] ? dquot_initialize+0x20/0x20 [ 21.236415][ T299] ? selinux_determine_inode_label+0x29c/0x3b0 [ 21.242408][ T299] ext4_symlink+0x4c3/0xed0 [ 21.246748][ T299] ? ext4_unlink+0x3f0/0x3f0 [ 21.251171][ T299] ? selinux_inode_symlink+0x22/0x30 [ 21.256293][ T299] ? security_inode_symlink+0xb8/0x100 [ 21.261590][ T299] vfs_symlink+0x29f/0x480 [ 21.265839][ T299] do_symlinkat+0x1ea/0x5a0 [ 21.270184][ T299] ? __check_object_size+0x2ec/0x3d0 [ 21.275302][ T299] ? vfs_symlink+0x480/0x480 [ 21.279723][ T299] ? getname_flags+0x1fd/0x520 [ 21.284324][ T299] __x64_sys_symlink+0x7e/0x90 [ 21.288932][ T299] do_syscall_64+0x3d/0xb0 [ 21.293180][ T299] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 21.298905][ T299] RIP: 0033:0x7f3575952459 [ 21.303159][ T299] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 21.322597][ T299] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 306] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 504682457 [pid 306] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 306] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 306] write(4, "24", 2) = 2 [ 21.330870][ T299] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 21.338655][ T299] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 21.346467][ T299] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 21.354281][ T299] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000001 [ 21.362091][ T299] R13: 00007ffca7133ae8 R14: 00007ffca7133770 R15: 0000000000000000 [ 21.369912][ T299] [ 21.372764][ T301] CPU: 1 PID: 301 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 21.382836][ T301] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 21.392727][ T301] Call Trace: [ 21.395852][ T301] [ 21.398630][ T301] dump_stack_lvl+0x151/0x1b7 [ 21.403143][ T301] ? io_uring_drop_tctx_refs+0x190/0x190 [ 21.408612][ T301] dump_stack+0x15/0x17 [ 21.412603][ T301] should_fail+0x3c6/0x510 [ 21.416860][ T301] __should_failslab+0xa4/0xe0 [ 21.421460][ T301] ? jbd2__journal_start+0x150/0x710 [ 21.426575][ T301] should_failslab+0x9/0x20 [ 21.430917][ T301] slab_pre_alloc_hook+0x37/0xd0 [ 21.435692][ T301] ? jbd2__journal_start+0x150/0x710 [ 21.440811][ T301] kmem_cache_alloc+0x44/0x200 [ 21.445419][ T301] jbd2__journal_start+0x150/0x710 [ 21.450358][ T301] __ext4_journal_start_sb+0xfa/0x2c0 [ 21.455697][ T301] __ext4_new_inode+0x135d/0x40a0 [ 21.460561][ T301] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 21.466110][ T301] ? dquot_initialize+0x20/0x20 [ 21.470800][ T301] ? selinux_determine_inode_label+0x29c/0x3b0 [ 21.476788][ T301] ext4_symlink+0x4c3/0xed0 [ 21.481126][ T301] ? ext4_unlink+0x3f0/0x3f0 [ 21.485549][ T301] ? selinux_inode_symlink+0x22/0x30 [ 21.490673][ T301] ? security_inode_symlink+0xb8/0x100 [ 21.495963][ T301] vfs_symlink+0x29f/0x480 [ 21.500222][ T301] do_symlinkat+0x1ea/0x5a0 [ 21.504559][ T301] ? __check_object_size+0x2ec/0x3d0 [ 21.509679][ T301] ? vfs_symlink+0x480/0x480 [ 21.514105][ T301] ? getname_flags+0x1fd/0x520 [ 21.518708][ T301] __x64_sys_symlink+0x7e/0x90 [ 21.523305][ T301] do_syscall_64+0x3d/0xb0 [ 21.527560][ T301] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 21.533286][ T301] RIP: 0033:0x7f3575952459 [ 21.537632][ T301] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 21.557273][ T301] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 21.565515][ T301] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 21.573329][ T301] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 21.581139][ T301] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 21.588952][ T301] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000001 [ 21.596763][ T301] R13: 00007ffca7133ae8 R14: 00007ffca7133770 R15: 0000000000000000 [ 21.604580][ T301] [ 21.607575][ T306] CPU: 1 PID: 306 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 21.617621][ T306] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 21.627514][ T306] Call Trace: [ 21.630640][ T306] [ 21.633443][ T306] dump_stack_lvl+0x151/0x1b7 [ 21.637929][ T306] ? io_uring_drop_tctx_refs+0x190/0x190 [ 21.643401][ T306] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 21.649127][ T306] dump_stack+0x15/0x17 [ 21.653118][ T306] should_fail+0x3c6/0x510 [ 21.657373][ T306] __should_failslab+0xa4/0xe0 [ 21.661973][ T306] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 21.667093][ T306] should_failslab+0x9/0x20 [ 21.671432][ T306] slab_pre_alloc_hook+0x37/0xd0 [ 21.676202][ T306] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 21.681327][ T306] kmem_cache_alloc+0x44/0x200 [ 21.685925][ T306] ext4_mb_new_blocks+0xd97/0x43f0 [ 21.690879][ T306] ? ext4_mb_pa_callback+0xd0/0xd0 [ 21.695821][ T306] ? ext4_xattr_ibody_set+0x390/0x390 [ 21.701031][ T306] ext4_new_meta_blocks+0x206/0x4f0 [ 21.706072][ T306] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 21.711530][ T306] ? __entry_find+0x398/0x3f0 [ 21.716040][ T306] ? __kmalloc+0x13a/0x270 [ 21.720296][ T306] ext4_xattr_block_set+0x233e/0x3760 [ 21.725513][ T306] ? __ext4_journal_ensure_credits+0x470/0x470 [ 21.731499][ T306] ? ext4_xattr_block_find+0x520/0x520 [ 21.736787][ T306] ? __xattr_check_inode+0x3d5/0x440 [ 21.741909][ T306] ext4_xattr_set_handle+0xdac/0x1560 [ 21.747118][ T306] ? sidtab_sid2str_put+0x2d7/0x640 [ 21.752162][ T306] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 21.757533][ T306] ? selinux_inode_init_security+0x52d/0x780 [ 21.763344][ T306] ? selinux_inode_free_security+0x210/0x210 [ 21.769522][ T306] ext4_initxattrs+0xa7/0x120 [ 21.774022][ T306] security_inode_init_security+0x252/0x390 [ 21.779754][ T306] ? ext4_init_security+0x40/0x40 [ 21.784611][ T306] ? security_dentry_create_files_as+0xc0/0xc0 [ 21.790599][ T306] ? fscrypt_set_context+0x439/0x740 [ 21.795718][ T306] ? __ext4_set_acl+0x5e0/0x5e0 [ 21.800413][ T306] ? prandom_u32+0x24c/0x290 [ 21.804829][ T306] ext4_init_security+0x34/0x40 [ 21.809519][ T306] __ext4_new_inode+0x31f0/0x40a0 [ 21.814472][ T306] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 21.820018][ T306] ? dquot_initialize+0x20/0x20 [ 21.824706][ T306] ? selinux_determine_inode_label+0x29c/0x3b0 [ 21.830695][ T306] ext4_symlink+0x4c3/0xed0 [ 21.835038][ T306] ? ext4_unlink+0x3f0/0x3f0 [ 21.839590][ T306] ? selinux_inode_symlink+0x22/0x30 [ 21.844699][ T306] ? security_inode_symlink+0xb8/0x100 [ 21.849994][ T306] vfs_symlink+0x29f/0x480 [ 21.854249][ T306] do_symlinkat+0x1ea/0x5a0 [ 21.858587][ T306] ? __check_object_size+0x2ec/0x3d0 [ 21.863707][ T306] ? vfs_symlink+0x480/0x480 [ 21.868134][ T306] ? getname_flags+0x1fd/0x520 [ 21.872735][ T306] __x64_sys_symlink+0x7e/0x90 [ 21.877337][ T306] do_syscall_64+0x3d/0xb0 [ 21.881589][ T306] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 21.887315][ T306] RIP: 0033:0x7f3575952459 [ 21.891571][ T306] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 21.911011][ T306] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 21.920905][ T306] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 21.928716][ T306] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 21.936526][ T306] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 21.944339][ T306] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000001 [ 21.952245][ T306] R13: 00007ffca7133ae8 R14: 00007ffca7133770 R15: 0000000000000000 [ 21.960060][ T306] [ 21.963553][ T303] CPU: 1 PID: 303 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 21.973647][ T303] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 21.983537][ T303] Call Trace: [ 21.986658][ T303] [ 21.989435][ T303] dump_stack_lvl+0x151/0x1b7 [ 21.993954][ T303] ? io_uring_drop_tctx_refs+0x190/0x190 [ 21.999430][ T303] ? wb_get_create+0xe0a/0xe40 [ 22.004018][ T303] ? sb_end_intwrite+0x120/0x120 [ 22.008795][ T303] dump_stack+0x15/0x17 [ 22.012789][ T303] should_fail+0x3c6/0x510 [ 22.017037][ T303] __should_failslab+0xa4/0xe0 [ 22.021638][ T303] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 22.026756][ T303] should_failslab+0x9/0x20 [ 22.031096][ T303] slab_pre_alloc_hook+0x37/0xd0 [ 22.035870][ T303] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 22.040995][ T303] kmem_cache_alloc+0x44/0x200 [ 22.045589][ T303] ext4_mb_new_blocks+0x4ed/0x43f0 [ 22.050541][ T303] ? ext4_mb_pa_callback+0xd0/0xd0 [ 22.055485][ T303] ? ext4_xattr_ibody_set+0x390/0x390 [ 22.060696][ T303] ext4_new_meta_blocks+0x206/0x4f0 [ 22.065739][ T303] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 22.071195][ T303] ? __entry_find+0x398/0x3f0 [ 22.075707][ T303] ? __kmalloc+0x13a/0x270 [ 22.079963][ T303] ext4_xattr_block_set+0x233e/0x3760 [ 22.085172][ T303] ? __ext4_journal_ensure_credits+0x470/0x470 [ 22.091163][ T303] ? ext4_xattr_block_find+0x520/0x520 [ 22.096454][ T303] ? __xattr_check_inode+0x3d5/0x440 [ 22.101578][ T303] ext4_xattr_set_handle+0xdac/0x1560 [ 22.106784][ T303] ? sidtab_sid2str_put+0x2d7/0x640 [ 22.111820][ T303] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 22.117202][ T303] ? selinux_inode_init_security+0x52d/0x780 [ 22.123013][ T303] ? selinux_inode_free_security+0x210/0x210 [ 22.128825][ T303] ext4_initxattrs+0xa7/0x120 [ 22.133346][ T303] security_inode_init_security+0x252/0x390 [ 22.139066][ T303] ? ext4_init_security+0x40/0x40 [ 22.143930][ T303] ? security_dentry_create_files_as+0xc0/0xc0 [ 22.149916][ T303] ? fscrypt_set_context+0x439/0x740 [ 22.155040][ T303] ? __ext4_set_acl+0x5e0/0x5e0 [ 22.159723][ T303] ? prandom_u32+0x24c/0x290 [ 22.164148][ T303] ext4_init_security+0x34/0x40 [ 22.168836][ T303] __ext4_new_inode+0x31f0/0x40a0 [ 22.173703][ T303] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 22.179250][ T303] ? dquot_initialize+0x20/0x20 [ 22.183939][ T303] ? selinux_determine_inode_label+0x29c/0x3b0 [ 22.189930][ T303] ext4_symlink+0x4c3/0xed0 [ 22.194271][ T303] ? ext4_unlink+0x3f0/0x3f0 [ 22.198696][ T303] ? selinux_inode_symlink+0x22/0x30 [ 22.203811][ T303] ? security_inode_symlink+0xb8/0x100 [ 22.209197][ T303] vfs_symlink+0x29f/0x480 [ 22.213452][ T303] do_symlinkat+0x1ea/0x5a0 [ 22.217800][ T303] ? __check_object_size+0x2ec/0x3d0 [ 22.222924][ T303] ? vfs_symlink+0x480/0x480 [ 22.227338][ T303] ? getname_flags+0x1fd/0x520 [ 22.231935][ T303] __x64_sys_symlink+0x7e/0x90 [ 22.236536][ T303] do_syscall_64+0x3d/0xb0 [ 22.240786][ T303] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 22.246518][ T303] RIP: 0033:0x7f3575952459 [ 22.250772][ T303] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 22.270212][ T303] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 22.278454][ T303] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 306] symlink("./file0", "./file0" [pid 299] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 299] exit_group(0) = ? [pid 299] +++ exited with 0 +++ [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=299, si_uid=0, si_status=0, si_utime=0, si_stime=3} --- [pid 295] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 295] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./0/binderfs") = 0 [pid 295] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 295] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 306] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 303] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 301] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 295] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] close(4) = 0 [pid 295] rmdir("./0/file0") = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3) = 0 [pid 295] rmdir("./0") = 0 [pid 295] mkdir("./1", 0777) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 308 ./strace-static-x86_64: Process 308 attached [pid 308] set_robust_list(0x555555a60660, 24) = 0 [ 22.286266][ T303] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 22.294082][ T303] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 22.301889][ T303] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000001 [ 22.309709][ T303] R13: 00007ffca7133ae8 R14: 00007ffca7133770 R15: 0000000000000000 [ 22.317525][ T303] [ 22.321037][ T301] EXT4-fs error (device sda1) in __ext4_new_inode:1085: Out of memory [pid 308] chdir("./1") = 0 [pid 308] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 308] setpgid(0, 0) = 0 [pid 308] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 308] write(3, "1000", 4) = 4 [pid 308] close(3) = 0 [pid 308] symlink("/dev/binderfs", "./binderfs") = 0 [pid 308] mkdir("./file0", 000) = 0 [pid 308] open("./file0", O_RDONLY) = 3 [pid 308] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 308] chdir("./file0") = 0 [pid 308] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 1760509 [pid 308] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 308] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 308] write(4, "24", 2) = 2 [pid 308] symlink("./file0", "./file0" [pid 306] exit_group(0 [pid 303] exit_group(0 [pid 306] <... exit_group resumed>) = ? [pid 303] <... exit_group resumed>) = ? [pid 306] +++ exited with 0 +++ [pid 303] +++ exited with 0 +++ [ 22.329561][ T302] CPU: 1 PID: 302 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 22.339623][ T302] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 22.349512][ T302] Call Trace: [ 22.352641][ T302] [ 22.354642][ T308] FAULT_INJECTION: forcing a failure. [ 22.354642][ T308] name failslab, interval 1, probability 0, space 0, times 0 [ 22.355413][ T302] dump_stack_lvl+0x151/0x1b7 [ 22.372428][ T302] ? io_uring_drop_tctx_refs+0x190/0x190 [ 22.377891][ T302] ? wb_get_create+0xe0a/0xe40 [ 22.382492][ T302] ? sb_end_intwrite+0x120/0x120 [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=306, si_uid=0, si_status=0, si_utime=0, si_stime=4} --- [pid 298] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 298] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./0/binderfs") = 0 [pid 298] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 298] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4) = 0 [pid 298] rmdir("./0/file0") = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3) = 0 [pid 298] rmdir("./0") = 0 [pid 298] mkdir("./1", 0777) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 309 ./strace-static-x86_64: Process 309 attached [pid 309] set_robust_list(0x555555a60660, 24) = 0 [pid 309] chdir("./1") = 0 [pid 309] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 309] setpgid(0, 0) = 0 [pid 309] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 309] write(3, "1000", 4) = 4 [pid 309] close(3) = 0 [pid 309] symlink("/dev/binderfs", "./binderfs") = 0 [pid 309] mkdir("./file0", 000) = 0 [pid 309] open("./file0", O_RDONLY) = 3 [pid 309] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 309] chdir("./file0") = 0 [pid 309] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 587446589 [pid 309] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 309] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 309] write(4, "24", 2) = 2 [ 22.387266][ T302] dump_stack+0x15/0x17 [ 22.391258][ T302] should_fail+0x3c6/0x510 [ 22.395512][ T302] __should_failslab+0xa4/0xe0 [ 22.400113][ T302] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 22.405234][ T302] should_failslab+0x9/0x20 [ 22.409573][ T302] slab_pre_alloc_hook+0x37/0xd0 [ 22.414346][ T302] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 22.419466][ T302] kmem_cache_alloc+0x44/0x200 [ 22.424081][ T302] ext4_mb_new_blocks+0x4ed/0x43f0 [ 22.429023][ T302] ? ext4_mb_pa_callback+0xd0/0xd0 [ 22.433964][ T302] ? ext4_xattr_ibody_set+0x390/0x390 [ 22.438799][ T309] FAULT_INJECTION: forcing a failure. [ 22.438799][ T309] name failslab, interval 1, probability 0, space 0, times 0 [ 22.439170][ T302] ext4_new_meta_blocks+0x206/0x4f0 [ 22.439196][ T302] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 22.462083][ T302] ? __entry_find+0x398/0x3f0 [ 22.466593][ T302] ? __kmalloc+0x13a/0x270 [ 22.470854][ T302] ext4_xattr_block_set+0x233e/0x3760 [ 22.476062][ T302] ? __ext4_journal_ensure_credits+0x470/0x470 [ 22.482045][ T302] ? ext4_xattr_block_find+0x520/0x520 [ 22.487340][ T302] ? __xattr_check_inode+0x3d5/0x440 [ 22.492552][ T302] ext4_xattr_set_handle+0xdac/0x1560 [ 22.497926][ T302] ? sidtab_sid2str_put+0x2d7/0x640 [ 22.502963][ T302] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 22.508371][ T302] ? selinux_inode_init_security+0x52d/0x780 [ 22.514158][ T302] ? selinux_inode_free_security+0x210/0x210 [ 22.519973][ T302] ext4_initxattrs+0xa7/0x120 [ 22.524487][ T302] security_inode_init_security+0x252/0x390 [ 22.530214][ T302] ? ext4_init_security+0x40/0x40 [pid 309] symlink("./file0", "./file0" [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=303, si_uid=0, si_status=0, si_utime=0, si_stime=3} --- [pid 297] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 297] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 297] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] unlink("./0/binderfs") = 0 [pid 297] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 297] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] close(4) = 0 [pid 297] rmdir("./0/file0") = 0 [pid 297] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] close(3) = 0 [pid 297] rmdir("./0") = 0 [pid 297] mkdir("./1", 0777) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 310 [ 22.535073][ T302] ? security_dentry_create_files_as+0xc0/0xc0 [ 22.541062][ T302] ? fscrypt_set_context+0x439/0x740 [ 22.546187][ T302] ? __ext4_set_acl+0x5e0/0x5e0 [ 22.550882][ T302] ? prandom_u32+0x24c/0x290 [ 22.555301][ T302] ext4_init_security+0x34/0x40 [ 22.559992][ T302] __ext4_new_inode+0x31f0/0x40a0 [ 22.564847][ T302] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 22.570402][ T302] ? dquot_initialize+0x20/0x20 [ 22.575087][ T302] ? selinux_determine_inode_label+0x29c/0x3b0 [ 22.581084][ T302] ext4_symlink+0x4c3/0xed0 [ 22.585421][ T302] ? ext4_unlink+0x3f0/0x3f0 [ 22.589846][ T302] ? selinux_inode_symlink+0x22/0x30 [ 22.594962][ T302] ? security_inode_symlink+0xb8/0x100 [ 22.600256][ T302] vfs_symlink+0x29f/0x480 [ 22.604510][ T302] do_symlinkat+0x1ea/0x5a0 [ 22.608853][ T302] ? __check_object_size+0x2ec/0x3d0 [ 22.613969][ T302] ? vfs_symlink+0x480/0x480 [ 22.618398][ T302] ? getname_flags+0x1fd/0x520 [ 22.622994][ T302] __x64_sys_symlink+0x7e/0x90 [ 22.627596][ T302] do_syscall_64+0x3d/0xb0 [ 22.631852][ T302] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 22.637578][ T302] RIP: 0033:0x7f3575952459 [ 22.641833][ T302] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 22.661274][ T302] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 22.669529][ T302] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 22.677327][ T302] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 ./strace-static-x86_64: Process 310 attached [pid 302] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 301] exit_group(0 [pid 310] set_robust_list(0x555555a60660, 24) = 0 [pid 310] chdir("./1") = 0 [pid 310] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 310] setpgid(0, 0) = 0 [pid 310] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 310] write(3, "1000", 4) = 4 [pid 310] close(3) = 0 [pid 310] symlink("/dev/binderfs", "./binderfs") = 0 [pid 310] mkdir("./file0", 000) = 0 [pid 310] open("./file0", O_RDONLY) = 3 [pid 310] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 310] chdir("./file0") = 0 [pid 310] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 526734779 [pid 310] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 310] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 310] write(4, "24", 2) = 2 [ 22.685155][ T302] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 22.692950][ T302] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000001 [ 22.700877][ T302] R13: 00007ffca7133ae8 R14: 00007ffca7133770 R15: 0000000000000000 [ 22.708865][ T302] [ 22.712143][ T309] CPU: 1 PID: 309 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 22.722201][ T309] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 22.732101][ T309] Call Trace: [ 22.735224][ T309] [ 22.737997][ T309] dump_stack_lvl+0x151/0x1b7 [ 22.739754][ T310] FAULT_INJECTION: forcing a failure. [ 22.739754][ T310] name failslab, interval 1, probability 0, space 0, times 0 [ 22.742517][ T309] ? io_uring_drop_tctx_refs+0x190/0x190 [ 22.760394][ T309] ? wb_get_create+0xe0a/0xe40 [ 22.764985][ T309] ? sb_end_intwrite+0x120/0x120 [ 22.769760][ T309] dump_stack+0x15/0x17 [ 22.773759][ T309] should_fail+0x3c6/0x510 [ 22.778007][ T309] __should_failslab+0xa4/0xe0 [ 22.782607][ T309] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 22.787726][ T309] should_failslab+0x9/0x20 [ 22.792152][ T309] slab_pre_alloc_hook+0x37/0xd0 [ 22.796927][ T309] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 22.802050][ T309] kmem_cache_alloc+0x44/0x200 [ 22.806664][ T309] ext4_mb_new_blocks+0x4ed/0x43f0 [ 22.811603][ T309] ? ext4_mb_pa_callback+0xd0/0xd0 [ 22.816544][ T309] ? ext4_xattr_ibody_set+0x390/0x390 [ 22.821749][ T309] ext4_new_meta_blocks+0x206/0x4f0 [ 22.826798][ T309] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 22.832258][ T309] ? __entry_find+0x398/0x3f0 [ 22.836764][ T309] ? __kmalloc+0x13a/0x270 [ 22.841018][ T309] ext4_xattr_block_set+0x233e/0x3760 [ 22.846229][ T309] ? __ext4_journal_ensure_credits+0x470/0x470 [ 22.852216][ T309] ? ext4_xattr_block_find+0x520/0x520 [ 22.857510][ T309] ? __xattr_check_inode+0x3d5/0x440 [ 22.862633][ T309] ext4_xattr_set_handle+0xdac/0x1560 [ 22.867839][ T309] ? sidtab_sid2str_put+0x2d7/0x640 [ 22.872879][ T309] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 22.878256][ T309] ? selinux_inode_init_security+0x52d/0x780 [ 22.884067][ T309] ? selinux_inode_free_security+0x210/0x210 [ 22.889887][ T309] ext4_initxattrs+0xa7/0x120 [ 22.894401][ T309] security_inode_init_security+0x252/0x390 [ 22.900123][ T309] ? ext4_init_security+0x40/0x40 [ 22.905072][ T309] ? security_dentry_create_files_as+0xc0/0xc0 [ 22.911059][ T309] ? fscrypt_set_context+0x439/0x740 [ 22.916181][ T309] ? __ext4_set_acl+0x5e0/0x5e0 [ 22.920871][ T309] ? prandom_u32+0x24c/0x290 [ 22.925296][ T309] ext4_init_security+0x34/0x40 [ 22.929983][ T309] __ext4_new_inode+0x31f0/0x40a0 [ 22.934848][ T309] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 22.940396][ T309] ? dquot_initialize+0x20/0x20 [ 22.945087][ T309] ? selinux_determine_inode_label+0x29c/0x3b0 [ 22.951074][ T309] ext4_symlink+0x4c3/0xed0 [ 22.955411][ T309] ? ext4_unlink+0x3f0/0x3f0 [ 22.959836][ T309] ? selinux_inode_symlink+0x22/0x30 [ 22.964962][ T309] ? security_inode_symlink+0xb8/0x100 [ 22.970256][ T309] vfs_symlink+0x29f/0x480 [ 22.974604][ T309] do_symlinkat+0x1ea/0x5a0 [ 22.978936][ T309] ? __check_object_size+0x2ec/0x3d0 [ 22.984060][ T309] ? vfs_symlink+0x480/0x480 [ 22.988482][ T309] ? getname_flags+0x1fd/0x520 [ 22.993082][ T309] __x64_sys_symlink+0x7e/0x90 [ 22.997679][ T309] do_syscall_64+0x3d/0xb0 [ 23.001933][ T309] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 23.007667][ T309] RIP: 0033:0x7f3575952459 [ 23.011914][ T309] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 23.031358][ T309] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 23.039595][ T309] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 23.047410][ T309] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 23.055220][ T309] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 23.063035][ T309] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 23.070848][ T309] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000001 [ 23.078662][ T309] [ 23.081522][ T300] CPU: 0 PID: 300 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 23.091589][ T300] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 23.101483][ T300] Call Trace: [ 23.104605][ T300] [ 23.107383][ T300] dump_stack_lvl+0x151/0x1b7 [ 23.111896][ T300] ? io_uring_drop_tctx_refs+0x190/0x190 [ 23.117366][ T300] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 23.123090][ T300] dump_stack+0x15/0x17 [ 23.127086][ T300] should_fail+0x3c6/0x510 [ 23.131342][ T300] __should_failslab+0xa4/0xe0 [ 23.135935][ T300] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 23.141057][ T300] should_failslab+0x9/0x20 [ 23.145399][ T300] slab_pre_alloc_hook+0x37/0xd0 [ 23.150170][ T300] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 23.155309][ T300] kmem_cache_alloc+0x44/0x200 [ 23.159891][ T300] ext4_mb_new_blocks+0xd97/0x43f0 [ 23.164844][ T300] ? ext4_mb_pa_callback+0xd0/0xd0 [ 23.169788][ T300] ? ext4_xattr_ibody_set+0x390/0x390 [ 23.174993][ T300] ext4_new_meta_blocks+0x206/0x4f0 [ 23.180028][ T300] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 23.185496][ T300] ? __entry_find+0x398/0x3f0 [ 23.190015][ T300] ? __kmalloc+0x13a/0x270 [ 23.194263][ T300] ext4_xattr_block_set+0x233e/0x3760 [ 23.199474][ T300] ? __ext4_journal_ensure_credits+0x470/0x470 [ 23.205458][ T300] ? ext4_xattr_block_find+0x520/0x520 [ 23.210755][ T300] ? __xattr_check_inode+0x3d5/0x440 [ 23.215874][ T300] ext4_xattr_set_handle+0xdac/0x1560 [ 23.221079][ T300] ? sidtab_sid2str_put+0x2d7/0x640 [ 23.226120][ T300] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 23.231694][ T300] ? selinux_inode_init_security+0x52d/0x780 [ 23.237508][ T300] ? selinux_inode_free_security+0x210/0x210 [ 23.243322][ T300] ext4_initxattrs+0xa7/0x120 [ 23.247838][ T300] security_inode_init_security+0x252/0x390 [ 23.253561][ T300] ? ext4_init_security+0x40/0x40 [ 23.258439][ T300] ? security_dentry_create_files_as+0xc0/0xc0 [ 23.264409][ T300] ? fscrypt_set_context+0x439/0x740 [ 23.269535][ T300] ? __ext4_set_acl+0x5e0/0x5e0 [ 23.274220][ T300] ? prandom_u32+0x24c/0x290 [ 23.278644][ T300] ext4_init_security+0x34/0x40 [ 23.283336][ T300] __ext4_new_inode+0x31f0/0x40a0 [ 23.288196][ T300] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 23.293750][ T300] ? dquot_initialize+0x20/0x20 [ 23.298433][ T300] ? selinux_determine_inode_label+0x29c/0x3b0 [ 23.304426][ T300] ext4_symlink+0x4c3/0xed0 [ 23.308767][ T300] ? ext4_unlink+0x3f0/0x3f0 [ 23.313191][ T300] ? selinux_inode_symlink+0x22/0x30 [ 23.318423][ T300] ? security_inode_symlink+0xb8/0x100 [ 23.323713][ T300] vfs_symlink+0x29f/0x480 [ 23.327967][ T300] do_symlinkat+0x1ea/0x5a0 [ 23.332306][ T300] ? __check_object_size+0x2ec/0x3d0 [ 23.337542][ T300] ? vfs_symlink+0x480/0x480 [ 23.341981][ T300] ? getname_flags+0x1fd/0x520 [ 23.346565][ T300] __x64_sys_symlink+0x7e/0x90 [ 23.351163][ T300] do_syscall_64+0x3d/0xb0 [ 23.355417][ T300] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 23.361146][ T300] RIP: 0033:0x7f3575952459 [ 23.365399][ T300] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 23.384838][ T300] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 310] symlink("./file0", "./file0" [pid 309] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 302] exit_group(0 [pid 301] <... exit_group resumed>) = ? [ 23.393084][ T300] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 23.400895][ T300] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 23.408708][ T300] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 23.416517][ T300] R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000001 [ 23.424329][ T300] R13: 00007ffca7133ae8 R14: 00007ffca7133770 R15: 0000000000000000 [ 23.432143][ T300] [pid 301] +++ exited with 0 +++ [pid 309] exit_group(0) = ? [pid 309] +++ exited with 0 +++ [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=309, si_uid=0, si_status=0, si_utime=0, si_stime=8} --- [pid 298] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 298] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 23.435443][ T310] CPU: 1 PID: 310 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 23.445514][ T310] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 23.455400][ T310] Call Trace: [ 23.458523][ T310] [ 23.461301][ T310] dump_stack_lvl+0x151/0x1b7 [ 23.465813][ T310] ? io_uring_drop_tctx_refs+0x190/0x190 [ 23.471281][ T310] ? wb_get_create+0xe0a/0xe40 [ 23.475880][ T310] ? sb_end_intwrite+0x120/0x120 [ 23.480657][ T310] dump_stack+0x15/0x17 [ 23.484644][ T310] should_fail+0x3c6/0x510 [ 23.488904][ T310] __should_failslab+0xa4/0xe0 [pid 298] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./1/binderfs") = 0 [pid 298] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 298] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4) = 0 [pid 298] rmdir("./1/file0") = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3) = 0 [pid 298] rmdir("./1") = 0 [pid 298] mkdir("./2", 0777) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 312 ./strace-static-x86_64: Process 312 attached [pid 312] set_robust_list(0x555555a60660, 24) = 0 [pid 312] chdir("./2") = 0 [pid 312] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 312] setpgid(0, 0) = 0 [pid 312] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 312] write(3, "1000", 4) = 4 [pid 312] close(3) = 0 [pid 312] symlink("/dev/binderfs", "./binderfs") = 0 [pid 312] mkdir("./file0", 000) = 0 [pid 312] open("./file0", O_RDONLY) = 3 [pid 312] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 312] chdir("./file0") = 0 [pid 312] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 191992917 [pid 312] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 312] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 312] write(4, "24", 2) = 2 [ 23.493588][ T310] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 23.498708][ T310] should_failslab+0x9/0x20 [ 23.503053][ T310] slab_pre_alloc_hook+0x37/0xd0 [ 23.507825][ T310] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 23.512943][ T310] kmem_cache_alloc+0x44/0x200 [ 23.517542][ T310] ext4_mb_new_blocks+0x4ed/0x43f0 [ 23.522494][ T310] ? ext4_mb_pa_callback+0xd0/0xd0 [ 23.527170][ T312] FAULT_INJECTION: forcing a failure. [ 23.527170][ T312] name failslab, interval 1, probability 0, space 0, times 0 [ 23.527435][ T310] ? ext4_xattr_ibody_set+0x390/0x390 [ 23.545061][ T310] ext4_new_meta_blocks+0x206/0x4f0 [ 23.550087][ T310] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 23.555558][ T310] ? __entry_find+0x398/0x3f0 [ 23.560068][ T310] ? __kmalloc+0x13a/0x270 [ 23.564325][ T310] ext4_xattr_block_set+0x233e/0x3760 [ 23.569541][ T310] ? __ext4_journal_ensure_credits+0x470/0x470 [ 23.575525][ T310] ? ext4_xattr_block_find+0x520/0x520 [ 23.580813][ T310] ? __xattr_check_inode+0x3d5/0x440 [ 23.585939][ T310] ext4_xattr_set_handle+0xdac/0x1560 [ 23.591146][ T310] ? sidtab_sid2str_put+0x2d7/0x640 [ 23.596275][ T310] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 23.601648][ T310] ? selinux_inode_init_security+0x52d/0x780 [ 23.607459][ T310] ? selinux_inode_free_security+0x210/0x210 [ 23.613277][ T310] ext4_initxattrs+0xa7/0x120 [ 23.617786][ T310] security_inode_init_security+0x252/0x390 [ 23.623514][ T310] ? ext4_init_security+0x40/0x40 [ 23.628380][ T310] ? security_dentry_create_files_as+0xc0/0xc0 [ 23.634366][ T310] ? fscrypt_set_context+0x439/0x740 [ 23.639496][ T310] ? __ext4_set_acl+0x5e0/0x5e0 [ 23.644179][ T310] ? prandom_u32+0x24c/0x290 [ 23.648602][ T310] ext4_init_security+0x34/0x40 [ 23.653291][ T310] __ext4_new_inode+0x31f0/0x40a0 [ 23.658154][ T310] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 23.663700][ T310] ? dquot_initialize+0x20/0x20 [ 23.668398][ T310] ? selinux_determine_inode_label+0x29c/0x3b0 [ 23.674391][ T310] ext4_symlink+0x4c3/0xed0 [ 23.678722][ T310] ? ext4_unlink+0x3f0/0x3f0 [ 23.683140][ T310] ? selinux_inode_symlink+0x22/0x30 [ 23.688265][ T310] ? security_inode_symlink+0xb8/0x100 [ 23.693556][ T310] vfs_symlink+0x29f/0x480 [ 23.697823][ T310] do_symlinkat+0x1ea/0x5a0 [ 23.702150][ T310] ? __check_object_size+0x2ec/0x3d0 [ 23.707271][ T310] ? vfs_symlink+0x480/0x480 [ 23.711705][ T310] ? getname_flags+0x1fd/0x520 [ 23.716302][ T310] __x64_sys_symlink+0x7e/0x90 [ 23.720900][ T310] do_syscall_64+0x3d/0xb0 [ 23.725148][ T310] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 23.730879][ T310] RIP: 0033:0x7f3575952459 [ 23.735130][ T310] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 23.754577][ T310] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 23.762915][ T310] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 23.770726][ T310] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 23.778540][ T310] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 23.786349][ T310] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 23.794160][ T310] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000001 [ 23.801977][ T310] [ 23.804838][ T312] CPU: 0 PID: 312 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 23.814905][ T312] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 23.824799][ T312] Call Trace: [ 23.827922][ T312] [ 23.830696][ T312] dump_stack_lvl+0x151/0x1b7 [ 23.835212][ T312] ? io_uring_drop_tctx_refs+0x190/0x190 [ 23.840681][ T312] ? wb_get_create+0xe0a/0xe40 [ 23.845289][ T312] ? sb_end_intwrite+0x120/0x120 [ 23.850051][ T312] dump_stack+0x15/0x17 [ 23.854047][ T312] should_fail+0x3c6/0x510 [ 23.858298][ T312] __should_failslab+0xa4/0xe0 [ 23.862896][ T312] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 23.868017][ T312] should_failslab+0x9/0x20 [ 23.872361][ T312] slab_pre_alloc_hook+0x37/0xd0 [ 23.877130][ T312] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 23.882255][ T312] kmem_cache_alloc+0x44/0x200 [ 23.886853][ T312] ext4_mb_new_blocks+0x4ed/0x43f0 [ 23.891803][ T312] ? ext4_mb_pa_callback+0xd0/0xd0 [ 23.896748][ T312] ? ext4_xattr_ibody_set+0x390/0x390 [ 23.901955][ T312] ext4_new_meta_blocks+0x206/0x4f0 [ 23.906988][ T312] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 23.912457][ T312] ? __entry_find+0x398/0x3f0 [ 23.916968][ T312] ? __kmalloc+0x13a/0x270 [ 23.921228][ T312] ext4_xattr_block_set+0x233e/0x3760 [ 23.926431][ T312] ? __ext4_journal_ensure_credits+0x470/0x470 [ 23.932417][ T312] ? ext4_xattr_block_find+0x520/0x520 [ 23.937710][ T312] ? __xattr_check_inode+0x3d5/0x440 [ 23.942835][ T312] ext4_xattr_set_handle+0xdac/0x1560 [ 23.948040][ T312] ? sidtab_sid2str_put+0x2d7/0x640 [ 23.953075][ T312] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 23.958456][ T312] ? selinux_inode_init_security+0x52d/0x780 [ 23.964275][ T312] ? selinux_inode_free_security+0x210/0x210 [ 23.970085][ T312] ext4_initxattrs+0xa7/0x120 [ 23.974600][ T312] security_inode_init_security+0x252/0x390 [ 23.980332][ T312] ? ext4_init_security+0x40/0x40 [ 23.985188][ T312] ? security_dentry_create_files_as+0xc0/0xc0 [ 23.991175][ T312] ? fscrypt_set_context+0x439/0x740 [ 23.996306][ T312] ? __ext4_set_acl+0x5e0/0x5e0 [ 24.000987][ T312] ? prandom_u32+0x24c/0x290 [ 24.005409][ T312] ext4_init_security+0x34/0x40 [ 24.010098][ T312] __ext4_new_inode+0x31f0/0x40a0 [ 24.014960][ T312] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 24.020512][ T312] ? dquot_initialize+0x20/0x20 [ 24.025205][ T312] ? selinux_determine_inode_label+0x29c/0x3b0 [ 24.031196][ T312] ext4_symlink+0x4c3/0xed0 [ 24.035530][ T312] ? ext4_unlink+0x3f0/0x3f0 [ 24.039953][ T312] ? selinux_inode_symlink+0x22/0x30 [ 24.045074][ T312] ? security_inode_symlink+0xb8/0x100 [ 24.050367][ T312] vfs_symlink+0x29f/0x480 [ 24.054623][ T312] do_symlinkat+0x1ea/0x5a0 [ 24.058965][ T312] ? __check_object_size+0x2ec/0x3d0 [ 24.064081][ T312] ? vfs_symlink+0x480/0x480 [ 24.068509][ T312] ? getname_flags+0x1fd/0x520 [ 24.073110][ T312] __x64_sys_symlink+0x7e/0x90 [ 24.077710][ T312] do_syscall_64+0x3d/0xb0 [ 24.081961][ T312] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 24.087690][ T312] RIP: 0033:0x7f3575952459 [ 24.091944][ T312] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 24.111470][ T312] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 24.119717][ T312] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 24.127529][ T312] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 24.135336][ T312] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [pid 312] symlink("./file0", "./file0" [pid 310] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 302] <... exit_group resumed>) = ? [pid 300] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=301, si_uid=0, si_status=0, si_utime=0, si_stime=10} --- [ 24.143150][ T312] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 24.150960][ T312] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000002 [ 24.158776][ T312] [ 24.162693][ T308] CPU: 0 PID: 308 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 24.172755][ T308] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 24.173765][ T314] FAULT_INJECTION: forcing a failure. [ 24.173765][ T314] name failslab, interval 1, probability 0, space 0, times 0 [ 24.182645][ T308] Call Trace: [ 24.182652][ T308] [ 24.182658][ T308] dump_stack_lvl+0x151/0x1b7 [ 24.182686][ T308] ? io_uring_drop_tctx_refs+0x190/0x190 [ 24.210941][ T308] ? wb_get_create+0xe0a/0xe40 [ 24.215537][ T308] ? sb_end_intwrite+0x120/0x120 [ 24.220313][ T308] dump_stack+0x15/0x17 [ 24.224304][ T308] should_fail+0x3c6/0x510 [ 24.228562][ T308] __should_failslab+0xa4/0xe0 [ 24.233161][ T308] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 24.238280][ T308] should_failslab+0x9/0x20 [ 24.242615][ T308] slab_pre_alloc_hook+0x37/0xd0 [ 24.247389][ T308] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 24.252515][ T308] kmem_cache_alloc+0x44/0x200 [ 24.257111][ T308] ext4_mb_new_blocks+0x4ed/0x43f0 [ 24.262063][ T308] ? ext4_mb_pa_callback+0xd0/0xd0 [ 24.267008][ T308] ? ext4_xattr_ibody_set+0x390/0x390 [ 24.272215][ T308] ext4_new_meta_blocks+0x206/0x4f0 [ 24.277270][ T308] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 24.282720][ T308] ? __entry_find+0x398/0x3f0 [ 24.287229][ T308] ? __kmalloc+0x13a/0x270 [ 24.291485][ T308] ext4_xattr_block_set+0x233e/0x3760 [pid 310] exit_group(0 [pid 302] +++ exited with 0 +++ [pid 300] exit_group(0 [pid 310] <... exit_group resumed>) = ? [pid 300] <... exit_group resumed>) = ? [pid 310] +++ exited with 0 +++ [pid 300] +++ exited with 0 +++ [pid 294] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 294] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] unlink("./0/binderfs") = 0 [pid 294] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 294] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] close(4) = 0 [pid 294] rmdir("./0/file0") = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] close(3) = 0 [pid 294] rmdir("./0") = 0 [pid 294] mkdir("./1", 0777) = 0 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 314 ./strace-static-x86_64: Process 314 attached [pid 314] set_robust_list(0x555555a60660, 24) = 0 [pid 314] chdir("./1") = 0 [pid 314] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 314] setpgid(0, 0) = 0 [pid 314] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 314] write(3, "1000", 4) = 4 [pid 314] close(3) = 0 [pid 314] symlink("/dev/binderfs", "./binderfs") = 0 [pid 314] mkdir("./file0", 000) = 0 [pid 314] open("./file0", O_RDONLY) = 3 [pid 314] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 314] chdir("./file0") = 0 [pid 314] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 817599070 [pid 314] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 314] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 314] write(4, "24", 2) = 2 [pid 314] symlink("./file0", "./file0" [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=310, si_uid=0, si_status=0, si_utime=0, si_stime=7} --- [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=302, si_uid=0, si_status=0, si_utime=0, si_stime=12} --- [pid 297] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=300, si_uid=0, si_status=0, si_utime=0, si_stime=27} --- [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... openat resumed>) = 3 [pid 296] <... openat resumed>) = 3 [pid 293] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] newfstatat(3, "", [pid 296] newfstatat(3, "", [pid 293] <... openat resumed>) = 3 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] newfstatat(3, "", [pid 297] getdents64(3, [pid 296] getdents64(3, [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] getdents64(3, [pid 297] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [ 24.296698][ T308] ? __ext4_journal_ensure_credits+0x470/0x470 [ 24.302683][ T308] ? ext4_xattr_block_find+0x520/0x520 [ 24.307972][ T308] ? __xattr_check_inode+0x3d5/0x440 [ 24.313098][ T308] ext4_xattr_set_handle+0xdac/0x1560 [ 24.318304][ T308] ? sidtab_sid2str_put+0x2d7/0x640 [ 24.323344][ T308] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 24.328722][ T308] ? selinux_inode_init_security+0x52d/0x780 [ 24.334537][ T308] ? selinux_inode_free_security+0x210/0x210 [ 24.340351][ T308] ext4_initxattrs+0xa7/0x120 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] newfstatat(AT_FDCWD, "./1/binderfs", [pid 296] newfstatat(AT_FDCWD, "./0/binderfs", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] newfstatat(AT_FDCWD, "./0/binderfs", [pid 297] unlink("./1/binderfs" [pid 296] unlink("./0/binderfs" [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] <... unlink resumed>) = 0 [pid 296] <... unlink resumed>) = 0 [pid 293] unlink("./0/binderfs" [pid 297] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [ 24.344861][ T308] security_inode_init_security+0x252/0x390 [ 24.350592][ T308] ? ext4_init_security+0x40/0x40 [ 24.355446][ T308] ? security_dentry_create_files_as+0xc0/0xc0 [ 24.361442][ T308] ? fscrypt_set_context+0x439/0x740 [ 24.366557][ T308] ? __ext4_set_acl+0x5e0/0x5e0 [ 24.371245][ T308] ? prandom_u32+0x24c/0x290 [ 24.375673][ T308] ext4_init_security+0x34/0x40 [ 24.380363][ T308] __ext4_new_inode+0x31f0/0x40a0 [ 24.385226][ T308] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 24.390772][ T308] ? dquot_initialize+0x20/0x20 [ 24.395458][ T308] ? selinux_determine_inode_label+0x29c/0x3b0 [ 24.401454][ T308] ext4_symlink+0x4c3/0xed0 [ 24.405791][ T308] ? ext4_unlink+0x3f0/0x3f0 [ 24.410217][ T308] ? selinux_inode_symlink+0x22/0x30 [ 24.415334][ T308] ? security_inode_symlink+0xb8/0x100 [ 24.420634][ T308] vfs_symlink+0x29f/0x480 [ 24.424882][ T308] do_symlinkat+0x1ea/0x5a0 [ 24.429224][ T308] ? __check_object_size+0x2ec/0x3d0 [ 24.434342][ T308] ? vfs_symlink+0x480/0x480 [ 24.438766][ T308] ? getname_flags+0x1fd/0x520 [ 24.443366][ T308] __x64_sys_symlink+0x7e/0x90 [ 24.447966][ T308] do_syscall_64+0x3d/0xb0 [ 24.452232][ T308] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 24.457958][ T308] RIP: 0033:0x7f3575952459 [ 24.462202][ T308] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 24.481837][ T308] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 24.490078][ T308] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 296] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... unlink resumed>) = 0 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] newfstatat(AT_FDCWD, "./1/file0", [pid 296] newfstatat(AT_FDCWD, "./0/file0", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] newfstatat(AT_FDCWD, "./0/file0", [pid 297] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... openat resumed>) = 4 [pid 296] <... openat resumed>) = 4 [pid 293] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] newfstatat(4, "", [pid 296] newfstatat(4, "", [pid 293] <... openat resumed>) = 4 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] newfstatat(4, "", [pid 297] getdents64(4, [pid 296] getdents64(4, [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] getdents64(4, [pid 297] getdents64(4, [pid 296] getdents64(4, [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] getdents64(4, [pid 297] close(4 [pid 296] close(4 [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] <... close resumed>) = 0 [pid 296] <... close resumed>) = 0 [pid 293] close(4 [pid 297] rmdir("./1/file0" [pid 296] rmdir("./0/file0" [pid 293] <... close resumed>) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 293] rmdir("./0/file0" [pid 297] getdents64(3, [pid 296] getdents64(3, [pid 293] <... rmdir resumed>) = 0 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] getdents64(3, [pid 297] close(3 [pid 296] close(3 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] <... close resumed>) = 0 [pid 296] <... close resumed>) = 0 [pid 293] close(3 [pid 297] rmdir("./1" [pid 296] rmdir("./0" [pid 293] <... close resumed>) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 293] rmdir("./0" [pid 297] mkdir("./2", 0777 [pid 296] mkdir("./1", 0777 [pid 293] <... rmdir resumed>) = 0 [pid 297] <... mkdir resumed>) = 0 [pid 296] <... mkdir resumed>) = 0 [pid 293] mkdir("./1", 0777 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 293] <... mkdir resumed>) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 315 [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 316 [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 317 [ 24.497889][ T308] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 24.505699][ T308] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 24.513512][ T308] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 24.521325][ T308] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000001 [ 24.529140][ T308] [ 24.534048][ T314] CPU: 1 PID: 314 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [pid 312] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 312] exit_group(0) = ? [pid 312] +++ exited with 0 +++ [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=312, si_uid=0, si_status=0, si_utime=0, si_stime=10} --- [pid 298] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./2/binderfs") = 0 [pid 298] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 298] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4) = 0 [pid 298] rmdir("./2/file0") = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3) = 0 [pid 298] rmdir("./2") = 0 [pid 298] mkdir("./3", 0777) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 318 ./strace-static-x86_64: Process 315 attached ./strace-static-x86_64: Process 316 attached ./strace-static-x86_64: Process 317 attached [pid 317] set_robust_list(0x555555a60660, 24 [pid 315] set_robust_list(0x555555a60660, 24 [pid 317] <... set_robust_list resumed>) = 0 [pid 317] chdir("./1" [pid 316] set_robust_list(0x555555a60660, 24 [pid 315] <... set_robust_list resumed>) = 0 [pid 315] chdir("./2" [pid 316] <... set_robust_list resumed>) = 0 [pid 316] chdir("./1" [pid 315] <... chdir resumed>) = 0 [pid 317] <... chdir resumed>) = 0 [pid 315] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 316] <... chdir resumed>) = 0 [pid 315] <... prctl resumed>) = 0 [pid 315] setpgid(0, 0 [pid 317] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 316] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 317] <... prctl resumed>) = 0 [pid 316] <... prctl resumed>) = 0 [pid 317] setpgid(0, 0 [pid 316] setpgid(0, 0 [pid 315] <... setpgid resumed>) = 0 [pid 315] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 317] <... setpgid resumed>) = 0 [pid 316] <... setpgid resumed>) = 0 [pid 316] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 317] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 316] <... openat resumed>) = 3 [pid 315] <... openat resumed>) = 3 [pid 317] <... openat resumed>) = 3 [pid 315] write(3, "1000", 4) = 4 [pid 316] write(3, "1000", 4 [pid 315] close(3 [pid 317] write(3, "1000", 4 [pid 316] <... write resumed>) = 4 [pid 315] <... close resumed>) = 0 [pid 317] <... write resumed>) = 4 [pid 316] close(3 [pid 317] close(3 [pid 315] symlink("/dev/binderfs", "./binderfs" [pid 317] <... close resumed>) = 0 [pid 315] <... symlink resumed>) = 0 [pid 316] <... close resumed>) = 0 [pid 317] symlink("/dev/binderfs", "./binderfs" [pid 316] symlink("/dev/binderfs", "./binderfs") = 0 [pid 316] mkdir("./file0", 000 [pid 315] mkdir("./file0", 000 [pid 317] <... symlink resumed>) = 0 [pid 315] <... mkdir resumed>) = 0 [pid 317] mkdir("./file0", 000) = 0 [pid 316] <... mkdir resumed>) = 0 [pid 315] open("./file0", O_RDONLY [pid 316] open("./file0", O_RDONLY [pid 317] open("./file0", O_RDONLY [pid 315] <... open resumed>) = 3 [pid 316] <... open resumed>) = 3 [pid 317] <... open resumed>) = 3 [pid 317] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 315] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 316] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 317] <... ioctl resumed>) = 0 [pid 316] <... ioctl resumed>) = 0 [pid 315] <... ioctl resumed>) = 0 [pid 316] chdir("./file0" [pid 315] chdir("./file0" [pid 316] <... chdir resumed>) = 0 [pid 315] <... chdir resumed>) = 0 [pid 317] chdir("./file0") = 0 [pid 316] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 315] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 316] <... add_key resumed>) = 930451717 [pid 315] <... add_key resumed>) = 989762883 [pid 317] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 904010234 [pid 315] open("./bus", O_RDONLY [pid 317] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 316] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 315] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 315] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 316] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 317] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 316] <... openat resumed>) = 4 [pid 317] <... openat resumed>) = 4 [pid 315] write(4, "24", 2 [pid 317] write(4, "24", 2 [pid 316] write(4, "24", 2 [pid 317] <... write resumed>) = 2 [pid 315] <... write resumed>) = 2 [pid 317] symlink("./file0", "./file0" [pid 315] symlink("./file0", "./file0" [pid 316] <... write resumed>) = 2 [ 24.544115][ T314] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 24.554014][ T314] Call Trace: [ 24.555904][ T317] FAULT_INJECTION: forcing a failure. [ 24.555904][ T317] name failslab, interval 1, probability 0, space 0, times 0 [ 24.557140][ T314] [ 24.557148][ T314] dump_stack_lvl+0x151/0x1b7 [ 24.557175][ T314] ? io_uring_drop_tctx_refs+0x190/0x190 [ 24.557196][ T314] ? wb_get_create+0xe0a/0xe40 [ 24.570742][ T315] FAULT_INJECTION: forcing a failure. [ 24.570742][ T315] name fail_page_alloc, interval 1, probability 0, space 0, times 1 [ 24.572318][ T314] ? sb_end_intwrite+0x120/0x120 [ 24.572344][ T314] dump_stack+0x15/0x17 [ 24.578422][ T316] FAULT_INJECTION: forcing a failure. [ 24.578422][ T316] name failslab, interval 1, probability 0, space 0, times 0 [ 24.582303][ T314] should_fail+0x3c6/0x510 [ 24.582327][ T314] __should_failslab+0xa4/0xe0 [ 24.629954][ T314] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 24.635068][ T314] should_failslab+0x9/0x20 [ 24.639409][ T314] slab_pre_alloc_hook+0x37/0xd0 [ 24.644185][ T314] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 24.649303][ T314] kmem_cache_alloc+0x44/0x200 [ 24.653909][ T314] ext4_mb_new_blocks+0x4ed/0x43f0 [ 24.658855][ T314] ? ext4_mb_pa_callback+0xd0/0xd0 [ 24.663801][ T314] ? ext4_xattr_ibody_set+0x390/0x390 [ 24.669007][ T314] ext4_new_meta_blocks+0x206/0x4f0 [ 24.674043][ T314] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 24.679510][ T314] ? __entry_find+0x398/0x3f0 [ 24.684020][ T314] ? __kmalloc+0x13a/0x270 [ 24.688276][ T314] ext4_xattr_block_set+0x233e/0x3760 [ 24.693489][ T314] ? __ext4_journal_ensure_credits+0x470/0x470 [ 24.699472][ T314] ? ext4_xattr_block_find+0x520/0x520 [ 24.704784][ T314] ? __xattr_check_inode+0x3d5/0x440 [ 24.709890][ T314] ext4_xattr_set_handle+0xdac/0x1560 [ 24.715095][ T314] ? sidtab_sid2str_put+0x2d7/0x640 [ 24.720131][ T314] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 24.725515][ T314] ? selinux_inode_init_security+0x52d/0x780 [ 24.731330][ T314] ? selinux_inode_free_security+0x210/0x210 [ 24.737161][ T314] ext4_initxattrs+0xa7/0x120 [ 24.741661][ T314] security_inode_init_security+0x252/0x390 [ 24.747382][ T314] ? ext4_init_security+0x40/0x40 [ 24.752247][ T314] ? security_dentry_create_files_as+0xc0/0xc0 [ 24.758233][ T314] ? fscrypt_set_context+0x439/0x740 [ 24.763351][ T314] ? __ext4_set_acl+0x5e0/0x5e0 [ 24.768044][ T314] ? prandom_u32+0x24c/0x290 [ 24.772467][ T314] ext4_init_security+0x34/0x40 [ 24.777162][ T314] __ext4_new_inode+0x31f0/0x40a0 [ 24.782018][ T314] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 24.787570][ T314] ? dquot_initialize+0x20/0x20 [ 24.792256][ T314] ? selinux_determine_inode_label+0x29c/0x3b0 [ 24.798362][ T314] ext4_symlink+0x4c3/0xed0 [ 24.802700][ T314] ? ext4_unlink+0x3f0/0x3f0 [ 24.807128][ T314] ? selinux_inode_symlink+0x22/0x30 [ 24.812249][ T314] ? security_inode_symlink+0xb8/0x100 [ 24.817542][ T314] vfs_symlink+0x29f/0x480 [ 24.821798][ T314] do_symlinkat+0x1ea/0x5a0 [ 24.826132][ T314] ? __check_object_size+0x2ec/0x3d0 [ 24.831254][ T314] ? vfs_symlink+0x480/0x480 [ 24.835681][ T314] ? getname_flags+0x1fd/0x520 [ 24.840281][ T314] __x64_sys_symlink+0x7e/0x90 [ 24.844882][ T314] do_syscall_64+0x3d/0xb0 [ 24.849135][ T314] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 24.854861][ T314] RIP: 0033:0x7f3575952459 [ 24.859201][ T314] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 24.878641][ T314] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 24.886887][ T314] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 316] symlink("./file0", "./file0"./strace-static-x86_64: Process 318 attached [pid 318] set_robust_list(0x555555a60660, 24) = 0 [pid 318] chdir("./3") = 0 [pid 318] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 318] setpgid(0, 0) = 0 [pid 318] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 318] write(3, "1000", 4) = 4 [pid 318] close(3) = 0 [pid 318] symlink("/dev/binderfs", "./binderfs") = 0 [pid 318] mkdir("./file0", 000) = 0 [pid 318] open("./file0", O_RDONLY) = 3 [ 24.894699][ T314] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 24.902514][ T314] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 24.910325][ T314] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 24.918132][ T314] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000001 [ 24.925950][ T314] [ 24.932959][ T317] CPU: 0 PID: 317 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 24.935511][ T318] FAULT_INJECTION: forcing a failure. [pid 318] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 318] chdir("./file0") = 0 [pid 318] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 497945779 [pid 318] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 318] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 318] write(4, "24", 2) = 2 [ 24.935511][ T318] name failslab, interval 1, probability 0, space 0, times 0 [ 24.943024][ T317] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 24.943038][ T317] Call Trace: [ 24.943044][ T317] [ 24.943050][ T317] dump_stack_lvl+0x151/0x1b7 [ 24.943077][ T317] ? io_uring_drop_tctx_refs+0x190/0x190 [ 24.981216][ T317] ? wb_get_create+0xe0a/0xe40 [ 24.985942][ T317] ? sb_end_intwrite+0x120/0x120 [ 24.990731][ T317] dump_stack+0x15/0x17 [ 24.994711][ T317] should_fail+0x3c6/0x510 [ 24.998966][ T317] __should_failslab+0xa4/0xe0 [ 25.003564][ T317] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 25.008682][ T317] should_failslab+0x9/0x20 [ 25.013023][ T317] slab_pre_alloc_hook+0x37/0xd0 [ 25.017797][ T317] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 25.022920][ T317] kmem_cache_alloc+0x44/0x200 [ 25.027523][ T317] ext4_mb_new_blocks+0x4ed/0x43f0 [ 25.032472][ T317] ? ext4_mb_pa_callback+0xd0/0xd0 [ 25.037413][ T317] ? ext4_xattr_ibody_set+0x390/0x390 [ 25.042624][ T317] ext4_new_meta_blocks+0x206/0x4f0 [ 25.047655][ T317] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 25.053124][ T317] ? __entry_find+0x398/0x3f0 [ 25.057639][ T317] ? __kmalloc+0x13a/0x270 [ 25.061897][ T317] ext4_xattr_block_set+0x233e/0x3760 [ 25.067099][ T317] ? __ext4_journal_ensure_credits+0x470/0x470 [ 25.073085][ T317] ? ext4_xattr_block_find+0x520/0x520 [ 25.078378][ T317] ? __xattr_check_inode+0x3d5/0x440 [ 25.083505][ T317] ext4_xattr_set_handle+0xdac/0x1560 [ 25.088714][ T317] ? sidtab_sid2str_put+0x2d7/0x640 [ 25.093746][ T317] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 25.099123][ T317] ? selinux_inode_init_security+0x52d/0x780 [ 25.104939][ T317] ? selinux_inode_free_security+0x210/0x210 [ 25.110752][ T317] ext4_initxattrs+0xa7/0x120 [ 25.115266][ T317] security_inode_init_security+0x252/0x390 [ 25.120999][ T317] ? ext4_init_security+0x40/0x40 [ 25.125857][ T317] ? security_dentry_create_files_as+0xc0/0xc0 [ 25.131853][ T317] ? fscrypt_set_context+0x439/0x740 [ 25.136965][ T317] ? __ext4_set_acl+0x5e0/0x5e0 [ 25.141651][ T317] ? prandom_u32+0x24c/0x290 [ 25.146082][ T317] ext4_init_security+0x34/0x40 [ 25.150766][ T317] __ext4_new_inode+0x31f0/0x40a0 [ 25.155634][ T317] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 25.161179][ T317] ? dquot_initialize+0x20/0x20 [ 25.165871][ T317] ? selinux_determine_inode_label+0x29c/0x3b0 [ 25.171861][ T317] ext4_symlink+0x4c3/0xed0 [ 25.176205][ T317] ? ext4_unlink+0x3f0/0x3f0 [ 25.180627][ T317] ? selinux_inode_symlink+0x22/0x30 [ 25.185745][ T317] ? security_inode_symlink+0xb8/0x100 [ 25.191039][ T317] vfs_symlink+0x29f/0x480 [ 25.195293][ T317] do_symlinkat+0x1ea/0x5a0 [ 25.199627][ T317] ? __check_object_size+0x2ec/0x3d0 [ 25.204751][ T317] ? vfs_symlink+0x480/0x480 [ 25.209175][ T317] ? getname_flags+0x1fd/0x520 [ 25.213780][ T317] __x64_sys_symlink+0x7e/0x90 [ 25.218374][ T317] do_syscall_64+0x3d/0xb0 [ 25.222630][ T317] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 25.228358][ T317] RIP: 0033:0x7f3575952459 [ 25.232618][ T317] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 25.252054][ T317] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 25.260297][ T317] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 25.268111][ T317] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 25.276074][ T317] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 25.283815][ T317] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 25.291626][ T317] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000001 [ 25.299540][ T317] [ 25.302403][ T318] CPU: 1 PID: 318 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 25.312469][ T318] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 25.322367][ T318] Call Trace: [ 25.325493][ T318] [ 25.328269][ T318] dump_stack_lvl+0x151/0x1b7 [ 25.332793][ T318] ? io_uring_drop_tctx_refs+0x190/0x190 [ 25.338255][ T318] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 25.343979][ T318] dump_stack+0x15/0x17 [ 25.347979][ T318] should_fail+0x3c6/0x510 [ 25.352222][ T318] __should_failslab+0xa4/0xe0 [ 25.356823][ T318] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 25.361939][ T318] should_failslab+0x9/0x20 [ 25.366278][ T318] slab_pre_alloc_hook+0x37/0xd0 [ 25.371058][ T318] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 25.376172][ T318] kmem_cache_alloc+0x44/0x200 [ 25.380781][ T318] ext4_mb_new_blocks+0xd97/0x43f0 [ 25.385745][ T318] ? ext4_mb_pa_callback+0xd0/0xd0 [ 25.390675][ T318] ? ext4_xattr_ibody_set+0x390/0x390 [ 25.395878][ T318] ext4_new_meta_blocks+0x206/0x4f0 [ 25.400912][ T318] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 25.406378][ T318] ? __entry_find+0x398/0x3f0 [ 25.410891][ T318] ? __kmalloc+0x13a/0x270 [ 25.415145][ T318] ext4_xattr_block_set+0x233e/0x3760 [ 25.420357][ T318] ? __ext4_journal_ensure_credits+0x470/0x470 [ 25.426342][ T318] ? ext4_xattr_block_find+0x520/0x520 [ 25.431639][ T318] ? __xattr_check_inode+0x3d5/0x440 [ 25.436764][ T318] ext4_xattr_set_handle+0xdac/0x1560 [ 25.442089][ T318] ? sidtab_sid2str_put+0x2d7/0x640 [ 25.447125][ T318] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 25.452597][ T318] ? selinux_inode_init_security+0x52d/0x780 [ 25.458408][ T318] ? selinux_inode_free_security+0x210/0x210 [ 25.464310][ T318] ext4_initxattrs+0xa7/0x120 [ 25.468823][ T318] security_inode_init_security+0x252/0x390 [ 25.474553][ T318] ? ext4_init_security+0x40/0x40 [ 25.479411][ T318] ? security_dentry_create_files_as+0xc0/0xc0 [ 25.485404][ T318] ? fscrypt_set_context+0x439/0x740 [ 25.490524][ T318] ? __ext4_set_acl+0x5e0/0x5e0 [ 25.495210][ T318] ? prandom_u32+0x24c/0x290 [ 25.499639][ T318] ext4_init_security+0x34/0x40 [ 25.504321][ T318] __ext4_new_inode+0x31f0/0x40a0 [ 25.509187][ T318] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 25.514735][ T318] ? dquot_initialize+0x20/0x20 [ 25.519421][ T318] ? selinux_determine_inode_label+0x29c/0x3b0 [ 25.525414][ T318] ext4_symlink+0x4c3/0xed0 [ 25.529754][ T318] ? ext4_unlink+0x3f0/0x3f0 [ 25.534177][ T318] ? selinux_inode_symlink+0x22/0x30 [ 25.539301][ T318] ? security_inode_symlink+0xb8/0x100 [ 25.544595][ T318] vfs_symlink+0x29f/0x480 [ 25.548850][ T318] do_symlinkat+0x1ea/0x5a0 [ 25.553185][ T318] ? __check_object_size+0x2ec/0x3d0 [ 25.558305][ T318] ? vfs_symlink+0x480/0x480 [ 25.562734][ T318] ? getname_flags+0x1fd/0x520 [ 25.567336][ T318] __x64_sys_symlink+0x7e/0x90 [ 25.571937][ T318] do_syscall_64+0x3d/0xb0 [ 25.576189][ T318] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 25.581917][ T318] RIP: 0033:0x7f3575952459 [ 25.586167][ T318] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 25.605606][ T318] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 25.613854][ T318] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 25.621671][ T318] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 25.629478][ T318] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 25.637289][ T318] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 25.645098][ T318] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000003 [pid 318] symlink("./file0", "./file0" [pid 308] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 308] exit_group(0) = ? [pid 308] +++ exited with 0 +++ [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=308, si_uid=0, si_status=0, si_utime=0, si_stime=49} --- [pid 295] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 295] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./1/binderfs") = 0 [pid 295] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 295] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] close(4) = 0 [pid 295] rmdir("./1/file0") = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3) = 0 [pid 295] rmdir("./1") = 0 [pid 295] mkdir("./2", 0777) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 320 ./strace-static-x86_64: Process 320 attached [pid 320] set_robust_list(0x555555a60660, 24) = 0 [pid 320] chdir("./2") = 0 [pid 320] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 320] setpgid(0, 0) = 0 [pid 320] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 320] write(3, "1000", 4) = 4 [pid 320] close(3) = 0 [pid 320] symlink("/dev/binderfs", "./binderfs") = 0 [pid 320] mkdir("./file0", 000) = 0 [pid 320] open("./file0", O_RDONLY) = 3 [pid 320] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 320] chdir("./file0") = 0 [ 25.652915][ T318] [ 25.655946][ T315] CPU: 0 PID: 315 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 25.666114][ T315] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 25.676003][ T315] Call Trace: [ 25.679125][ T315] [ 25.681905][ T315] dump_stack_lvl+0x151/0x1b7 [ 25.686413][ T315] ? io_uring_drop_tctx_refs+0x190/0x190 [ 25.691887][ T315] dump_stack+0x15/0x17 [ 25.693570][ T320] FAULT_INJECTION: forcing a failure. [ 25.693570][ T320] name failslab, interval 1, probability 0, space 0, times 0 [ 25.695871][ T315] should_fail+0x3c6/0x510 [ 25.695894][ T315] should_fail_alloc_page+0x5a/0x80 [ 25.717735][ T315] prepare_alloc_pages+0x15c/0x700 [ 25.722676][ T315] ? __alloc_pages_bulk+0xe40/0xe40 [ 25.727708][ T315] __alloc_pages+0x18c/0x8f0 [ 25.732137][ T315] ? prep_new_page+0x110/0x110 [ 25.736739][ T315] ? __find_get_block+0xd38/0x1180 [ 25.741686][ T315] ? stack_trace_save+0x1c0/0x1c0 [ 25.746546][ T315] ? __kernel_text_address+0x9b/0x110 [ 25.751835][ T315] new_slab+0x9a/0x4e0 [ 25.755744][ T315] ___slab_alloc+0x39e/0x830 [ 25.760312][ T315] ? ext4_xattr_block_set+0x340/0x3760 [ 25.765609][ T315] ? ext4_xattr_block_set+0x340/0x3760 [ 25.770894][ T315] __slab_alloc+0x4a/0x90 [ 25.775059][ T315] __kmalloc+0x16d/0x270 [ 25.779140][ T315] ? ext4_xattr_block_set+0x340/0x3760 [ 25.784434][ T315] ext4_xattr_block_set+0x340/0x3760 [ 25.789561][ T315] ? __ext4_journal_ensure_credits+0x470/0x470 [ 25.795545][ T315] ? ext4_xattr_block_find+0x520/0x520 [ 25.800840][ T315] ? __xattr_check_inode+0x3d5/0x440 [ 25.805969][ T315] ext4_xattr_set_handle+0xdac/0x1560 [ 25.811177][ T315] ? sidtab_sid2str_put+0x2d7/0x640 [ 25.816213][ T315] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 25.821583][ T315] ? selinux_inode_init_security+0x52d/0x780 [ 25.827398][ T315] ? selinux_inode_free_security+0x210/0x210 [ 25.829736][ T321] FAULT_INJECTION: forcing a failure. [ 25.829736][ T321] name failslab, interval 1, probability 0, space 0, times 0 [ 25.833211][ T315] ext4_initxattrs+0xa7/0x120 [pid 320] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 638646297 [pid 320] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 320] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 320] write(4, "24", 2) = 2 [pid 320] symlink("./file0", "./file0" [pid 314] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 314] exit_group(0) = ? [pid 314] +++ exited with 0 +++ [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=314, si_uid=0, si_status=0, si_utime=0, si_stime=21} --- [pid 294] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 25.833235][ T315] security_inode_init_security+0x252/0x390 [ 25.855868][ T315] ? ext4_init_security+0x40/0x40 [ 25.860812][ T315] ? security_dentry_create_files_as+0xc0/0xc0 [ 25.866800][ T315] ? fscrypt_set_context+0x439/0x740 [ 25.871922][ T315] ? __ext4_set_acl+0x5e0/0x5e0 [ 25.876613][ T315] ? prandom_u32+0x24c/0x290 [ 25.881043][ T315] ext4_init_security+0x34/0x40 [ 25.885722][ T315] __ext4_new_inode+0x31f0/0x40a0 [ 25.890586][ T315] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 25.896133][ T315] ? dquot_initialize+0x20/0x20 [ 25.900823][ T315] ? selinux_determine_inode_label+0x29c/0x3b0 [ 25.906817][ T315] ext4_symlink+0x4c3/0xed0 [ 25.911152][ T315] ? ext4_unlink+0x3f0/0x3f0 [ 25.915575][ T315] ? selinux_inode_symlink+0x22/0x30 [ 25.920698][ T315] ? security_inode_symlink+0xb8/0x100 [ 25.925990][ T315] vfs_symlink+0x29f/0x480 [ 25.930263][ T315] do_symlinkat+0x1ea/0x5a0 [ 25.934584][ T315] ? __check_object_size+0x2ec/0x3d0 [ 25.939705][ T315] ? vfs_symlink+0x480/0x480 [ 25.944219][ T315] ? getname_flags+0x1fd/0x520 [ 25.948822][ T315] __x64_sys_symlink+0x7e/0x90 [ 25.953419][ T315] do_syscall_64+0x3d/0xb0 [ 25.957668][ T315] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 25.963402][ T315] RIP: 0033:0x7f3575952459 [ 25.967649][ T315] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 25.987187][ T315] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 25.995434][ T315] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 294] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 294] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] unlink("./1/binderfs") = 0 [pid 294] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 294] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] close(4) = 0 [pid 294] rmdir("./1/file0") = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] close(3) = 0 [pid 294] rmdir("./1") = 0 [pid 294] mkdir("./2", 0777) = 0 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 321 ./strace-static-x86_64: Process 321 attached [pid 321] set_robust_list(0x555555a60660, 24) = 0 [pid 321] chdir("./2") = 0 [pid 321] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 321] setpgid(0, 0) = 0 [pid 321] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 321] write(3, "1000", 4) = 4 [pid 321] close(3) = 0 [pid 321] symlink("/dev/binderfs", "./binderfs") = 0 [pid 321] mkdir("./file0", 000) = 0 [pid 321] open("./file0", O_RDONLY) = 3 [pid 321] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 321] chdir("./file0") = 0 [pid 321] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 992318369 [pid 321] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 321] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 321] write(4, "24", 2) = 2 [ 26.003242][ T315] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 26.011066][ T315] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 26.018866][ T315] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 26.026684][ T315] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000002 [ 26.034492][ T315] [ 26.039339][ T320] CPU: 1 PID: 320 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 26.049402][ T320] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 26.059296][ T320] Call Trace: [ 26.062416][ T320] [ 26.065196][ T320] dump_stack_lvl+0x151/0x1b7 [ 26.069708][ T320] ? io_uring_drop_tctx_refs+0x190/0x190 [ 26.075176][ T320] ? wb_get_create+0xe0a/0xe40 [ 26.079775][ T320] ? sb_end_intwrite+0x120/0x120 [ 26.084553][ T320] dump_stack+0x15/0x17 [ 26.088541][ T320] should_fail+0x3c6/0x510 [ 26.092795][ T320] __should_failslab+0xa4/0xe0 [ 26.097395][ T320] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 26.102516][ T320] should_failslab+0x9/0x20 [ 26.106857][ T320] slab_pre_alloc_hook+0x37/0xd0 [ 26.111632][ T320] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 26.116750][ T320] kmem_cache_alloc+0x44/0x200 [ 26.121350][ T320] ext4_mb_new_blocks+0x4ed/0x43f0 [ 26.126302][ T320] ? ext4_mb_pa_callback+0xd0/0xd0 [ 26.131246][ T320] ? ext4_xattr_ibody_set+0x390/0x390 [ 26.136537][ T320] ext4_new_meta_blocks+0x206/0x4f0 [ 26.141586][ T320] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 26.147043][ T320] ? __entry_find+0x398/0x3f0 [ 26.151556][ T320] ? __kmalloc+0x13a/0x270 [ 26.155810][ T320] ext4_xattr_block_set+0x233e/0x3760 [ 26.161023][ T320] ? __ext4_journal_ensure_credits+0x470/0x470 [ 26.167002][ T320] ? ext4_xattr_block_find+0x520/0x520 [ 26.172297][ T320] ? __xattr_check_inode+0x3d5/0x440 [ 26.177429][ T320] ext4_xattr_set_handle+0xdac/0x1560 [ 26.182624][ T320] ? sidtab_sid2str_put+0x2d7/0x640 [ 26.187665][ T320] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 26.193042][ T320] ? selinux_inode_init_security+0x52d/0x780 [ 26.198857][ T320] ? selinux_inode_free_security+0x210/0x210 [ 26.204671][ T320] ext4_initxattrs+0xa7/0x120 [ 26.209186][ T320] security_inode_init_security+0x252/0x390 [ 26.214911][ T320] ? ext4_init_security+0x40/0x40 [ 26.219771][ T320] ? security_dentry_create_files_as+0xc0/0xc0 [ 26.225758][ T320] ? fscrypt_set_context+0x439/0x740 [ 26.230884][ T320] ? __ext4_set_acl+0x5e0/0x5e0 [ 26.235569][ T320] ? prandom_u32+0x24c/0x290 [ 26.239998][ T320] ext4_init_security+0x34/0x40 [ 26.244682][ T320] __ext4_new_inode+0x31f0/0x40a0 [ 26.249547][ T320] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 26.255099][ T320] ? dquot_initialize+0x20/0x20 [ 26.259801][ T320] ? selinux_determine_inode_label+0x29c/0x3b0 [ 26.265774][ T320] ext4_symlink+0x4c3/0xed0 [ 26.270116][ T320] ? ext4_unlink+0x3f0/0x3f0 [ 26.274535][ T320] ? selinux_inode_symlink+0x22/0x30 [ 26.279656][ T320] ? security_inode_symlink+0xb8/0x100 [ 26.284953][ T320] vfs_symlink+0x29f/0x480 [ 26.289216][ T320] do_symlinkat+0x1ea/0x5a0 [ 26.293546][ T320] ? __check_object_size+0x2ec/0x3d0 [ 26.298665][ T320] ? vfs_symlink+0x480/0x480 [ 26.303095][ T320] ? getname_flags+0x1fd/0x520 [ 26.307694][ T320] __x64_sys_symlink+0x7e/0x90 [ 26.312291][ T320] do_syscall_64+0x3d/0xb0 [ 26.316548][ T320] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 26.322271][ T320] RIP: 0033:0x7f3575952459 [ 26.326529][ T320] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 26.345970][ T320] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 26.354215][ T320] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 26.362034][ T320] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 26.369838][ T320] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 26.377647][ T320] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 26.385457][ T320] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000002 [ 26.393274][ T320] [ 26.396258][ T316] CPU: 0 PID: 316 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 26.406310][ T316] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 26.416211][ T316] Call Trace: [ 26.419331][ T316] [ 26.422108][ T316] dump_stack_lvl+0x151/0x1b7 [ 26.426619][ T316] ? io_uring_drop_tctx_refs+0x190/0x190 [ 26.432091][ T316] ? wb_get_create+0xe0a/0xe40 [ 26.436686][ T316] ? sb_end_intwrite+0x120/0x120 [ 26.441460][ T316] dump_stack+0x15/0x17 [ 26.445457][ T316] should_fail+0x3c6/0x510 [ 26.449704][ T316] __should_failslab+0xa4/0xe0 [ 26.454306][ T316] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 26.459532][ T316] should_failslab+0x9/0x20 [ 26.463877][ T316] slab_pre_alloc_hook+0x37/0xd0 [ 26.468648][ T316] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 26.473767][ T316] kmem_cache_alloc+0x44/0x200 [ 26.478369][ T316] ext4_mb_new_blocks+0x4ed/0x43f0 [ 26.483316][ T316] ? ext4_mb_pa_callback+0xd0/0xd0 [ 26.488257][ T316] ? ext4_xattr_ibody_set+0x390/0x390 [ 26.493467][ T316] ext4_new_meta_blocks+0x206/0x4f0 [ 26.498502][ T316] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 26.503969][ T316] ? __entry_find+0x398/0x3f0 [ 26.508483][ T316] ? __kmalloc+0x13a/0x270 [ 26.512736][ T316] ext4_xattr_block_set+0x233e/0x3760 [ 26.517943][ T316] ? __ext4_journal_ensure_credits+0x470/0x470 [ 26.523932][ T316] ? ext4_xattr_block_find+0x520/0x520 [ 26.529229][ T316] ? __xattr_check_inode+0x3d5/0x440 [ 26.534347][ T316] ext4_xattr_set_handle+0xdac/0x1560 [ 26.539552][ T316] ? sidtab_sid2str_put+0x2d7/0x640 [ 26.544592][ T316] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 26.549971][ T316] ? selinux_inode_init_security+0x52d/0x780 [ 26.555785][ T316] ? selinux_inode_free_security+0x210/0x210 [ 26.561602][ T316] ext4_initxattrs+0xa7/0x120 [ 26.566113][ T316] security_inode_init_security+0x252/0x390 [ 26.571847][ T316] ? ext4_init_security+0x40/0x40 [ 26.576704][ T316] ? security_dentry_create_files_as+0xc0/0xc0 [ 26.582687][ T316] ? fscrypt_set_context+0x439/0x740 [ 26.587817][ T316] ? __ext4_set_acl+0x5e0/0x5e0 [ 26.592503][ T316] ? prandom_u32+0x24c/0x290 [ 26.596923][ T316] ext4_init_security+0x34/0x40 [ 26.601612][ T316] __ext4_new_inode+0x31f0/0x40a0 [pid 321] symlink("./file0", "./file0" [pid 318] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 318] exit_group(0) = ? [pid 318] +++ exited with 0 +++ [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=318, si_uid=0, si_status=0, si_utime=0, si_stime=29} --- [pid 298] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 298] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 26.606476][ T316] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 26.612042][ T316] ? dquot_initialize+0x20/0x20 [ 26.616800][ T316] ? selinux_determine_inode_label+0x29c/0x3b0 [ 26.622793][ T316] ext4_symlink+0x4c3/0xed0 [ 26.627131][ T316] ? ext4_unlink+0x3f0/0x3f0 [ 26.631558][ T316] ? selinux_inode_symlink+0x22/0x30 [ 26.636676][ T316] ? security_inode_symlink+0xb8/0x100 [ 26.641978][ T316] vfs_symlink+0x29f/0x480 [ 26.646237][ T316] do_symlinkat+0x1ea/0x5a0 [ 26.650558][ T316] ? __check_object_size+0x2ec/0x3d0 [ 26.655685][ T316] ? vfs_symlink+0x480/0x480 [ 26.660107][ T316] ? getname_flags+0x1fd/0x520 [ 26.664707][ T316] __x64_sys_symlink+0x7e/0x90 [ 26.669322][ T316] do_syscall_64+0x3d/0xb0 [ 26.673560][ T316] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 26.679322][ T316] RIP: 0033:0x7f3575952459 [ 26.683555][ T316] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 26.702981][ T316] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 26.711315][ T316] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 26.719129][ T316] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 26.726940][ T316] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 26.734750][ T316] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 26.742559][ T316] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000001 [ 26.750376][ T316] [ 26.753237][ T321] CPU: 1 PID: 321 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 26.763303][ T321] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 26.773200][ T321] Call Trace: [ 26.776322][ T321] [ 26.779101][ T321] dump_stack_lvl+0x151/0x1b7 [ 26.783622][ T321] ? io_uring_drop_tctx_refs+0x190/0x190 [ 26.789082][ T321] ? wb_get_create+0xe0a/0xe40 [ 26.793684][ T321] ? sb_end_intwrite+0x120/0x120 [ 26.798460][ T321] dump_stack+0x15/0x17 [ 26.802453][ T321] should_fail+0x3c6/0x510 [ 26.806712][ T321] __should_failslab+0xa4/0xe0 [ 26.811298][ T321] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 26.816418][ T321] should_failslab+0x9/0x20 [ 26.820831][ T321] slab_pre_alloc_hook+0x37/0xd0 [ 26.825536][ T321] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 26.830657][ T321] kmem_cache_alloc+0x44/0x200 [ 26.835258][ T321] ext4_mb_new_blocks+0x4ed/0x43f0 [ 26.840296][ T321] ? ext4_mb_pa_callback+0xd0/0xd0 [ 26.845238][ T321] ? ext4_xattr_ibody_set+0x390/0x390 [ 26.850531][ T321] ext4_new_meta_blocks+0x206/0x4f0 [ 26.855564][ T321] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 26.861041][ T321] ? __entry_find+0x398/0x3f0 [ 26.865547][ T321] ? __kmalloc+0x13a/0x270 [ 26.869805][ T321] ext4_xattr_block_set+0x233e/0x3760 [ 26.875012][ T321] ? __ext4_journal_ensure_credits+0x470/0x470 [ 26.880997][ T321] ? ext4_xattr_block_find+0x520/0x520 [ 26.886288][ T321] ? __xattr_check_inode+0x3d5/0x440 [ 26.891423][ T321] ext4_xattr_set_handle+0xdac/0x1560 [ 26.896620][ T321] ? sidtab_sid2str_put+0x2d7/0x640 [ 26.901654][ T321] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 26.907040][ T321] ? selinux_inode_init_security+0x52d/0x780 [ 26.912849][ T321] ? selinux_inode_free_security+0x210/0x210 [ 26.918660][ T321] ext4_initxattrs+0xa7/0x120 [ 26.923177][ T321] security_inode_init_security+0x252/0x390 [ 26.928906][ T321] ? ext4_init_security+0x40/0x40 [ 26.933764][ T321] ? security_dentry_create_files_as+0xc0/0xc0 [ 26.939753][ T321] ? fscrypt_set_context+0x439/0x740 [ 26.944872][ T321] ? __ext4_set_acl+0x5e0/0x5e0 [ 26.949567][ T321] ? prandom_u32+0x24c/0x290 [ 26.953991][ T321] ext4_init_security+0x34/0x40 [ 26.958676][ T321] __ext4_new_inode+0x31f0/0x40a0 [ 26.963539][ T321] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 26.969087][ T321] ? dquot_initialize+0x20/0x20 [ 26.973777][ T321] ? selinux_determine_inode_label+0x29c/0x3b0 [ 26.979762][ T321] ext4_symlink+0x4c3/0xed0 [ 26.984104][ T321] ? ext4_unlink+0x3f0/0x3f0 [ 26.988533][ T321] ? selinux_inode_symlink+0x22/0x30 [ 26.993653][ T321] ? security_inode_symlink+0xb8/0x100 [ 26.998943][ T321] vfs_symlink+0x29f/0x480 [ 27.003198][ T321] do_symlinkat+0x1ea/0x5a0 [ 27.007539][ T321] ? __check_object_size+0x2ec/0x3d0 [ 27.012658][ T321] ? vfs_symlink+0x480/0x480 [ 27.017090][ T321] ? getname_flags+0x1fd/0x520 [ 27.021685][ T321] __x64_sys_symlink+0x7e/0x90 [ 27.026282][ T321] do_syscall_64+0x3d/0xb0 [ 27.030540][ T321] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 27.036268][ T321] RIP: 0033:0x7f3575952459 [ 27.040520][ T321] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [pid 298] getdents64(3, [pid 317] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 315] <... symlink resumed>) = 0 [pid 317] exit_group(0 [pid 315] exit_group(0 [pid 317] <... exit_group resumed>) = ? [pid 315] <... exit_group resumed>) = ? [pid 317] +++ exited with 0 +++ [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=317, si_uid=0, si_status=0, si_utime=0, si_stime=9} --- [pid 315] +++ exited with 0 +++ [pid 293] restart_syscall(<... resuming interrupted clone ...> [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=315, si_uid=0, si_status=0, si_utime=0, si_stime=18} --- [pid 321] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 293] <... restart_syscall resumed>) = 0 [pid 321] exit_group(0 [pid 316] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 320] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [ 27.059965][ T321] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 27.068205][ T321] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 27.076016][ T321] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 27.083826][ T321] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 27.091638][ T321] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 27.099456][ T321] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000002 [ 27.107266][ T321] [pid 321] <... exit_group resumed>) = ? [pid 293] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 293] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] getdents64(3, [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 297] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(3, [pid 316] exit_group(0) = ? [pid 316] +++ exited with 0 +++ [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=316, si_uid=0, si_status=0, si_utime=0, si_stime=36} --- [pid 296] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 296] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(3, [pid 320] exit_group(0) = ? [pid 320] +++ exited with 0 +++ [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=320, si_uid=0, si_status=0, si_utime=0, si_stime=14} --- [pid 295] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, [pid 321] +++ exited with 0 +++ [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=321, si_uid=0, si_status=0, si_utime=0, si_stime=26} --- [pid 294] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 294] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(3, [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./3/binderfs", [pid 297] newfstatat(AT_FDCWD, "./2/binderfs", [pid 296] newfstatat(AT_FDCWD, "./1/binderfs", [pid 295] newfstatat(AT_FDCWD, "./2/binderfs", [pid 294] newfstatat(AT_FDCWD, "./2/binderfs", [pid 293] newfstatat(AT_FDCWD, "./1/binderfs", [pid 298] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./3/binderfs" [pid 297] unlink("./2/binderfs" [pid 296] unlink("./1/binderfs" [pid 295] unlink("./2/binderfs" [pid 294] unlink("./2/binderfs" [pid 293] unlink("./1/binderfs" [pid 298] <... unlink resumed>) = 0 [pid 297] <... unlink resumed>) = 0 [pid 296] <... unlink resumed>) = 0 [pid 297] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... unlink resumed>) = 0 [pid 298] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... unlink resumed>) = 0 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./2/file0", [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... unlink resumed>) = 0 [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./3/file0", [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] newfstatat(AT_FDCWD, "./1/file0", [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] newfstatat(AT_FDCWD, "./1/file0", [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] newfstatat(AT_FDCWD, "./2/file0", [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] newfstatat(AT_FDCWD, "./2/file0", [pid 293] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] <... openat resumed>) = 4 [pid 296] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] <... openat resumed>) = 4 [pid 297] newfstatat(4, "", [pid 296] <... openat resumed>) = 4 [pid 295] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... openat resumed>) = 4 [pid 298] newfstatat(4, "", [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] newfstatat(4, "", [pid 295] <... openat resumed>) = 4 [pid 294] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] newfstatat(4, "", [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(4, [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] newfstatat(4, "", [pid 294] <... openat resumed>) = 4 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, [pid 297] <... getdents64 resumed>0x555555a69730 /* 3 entries */, 32768) = 80 [pid 296] getdents64(4, [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] newfstatat(4, "", [pid 293] getdents64(4, [pid 298] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] umount2("./2/file0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] getdents64(4, [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, [pid 293] getdents64(4, [pid 298] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] newfstatat(AT_FDCWD, "./2/file0/file0", [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] getdents64(4, [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4 [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=7, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] close(4 [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] getdents64(4, [pid 293] close(4 [pid 298] <... close resumed>) = 0 [pid 297] unlink("./2/file0/file0" [pid 296] <... close resumed>) = 0 [pid 295] close(4 [pid 294] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] <... close resumed>) = 0 [pid 298] rmdir("./3/file0" [pid 297] <... unlink resumed>) = 0 [pid 296] rmdir("./1/file0" [pid 295] <... close resumed>) = 0 [pid 294] close(4 [pid 293] rmdir("./1/file0" [pid 298] <... rmdir resumed>) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 295] rmdir("./2/file0" [pid 294] <... close resumed>) = 0 [pid 297] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] <... rmdir resumed>) = 0 [pid 297] close(4) = 0 [pid 297] rmdir("./2/file0" [pid 298] getdents64(3, [pid 296] getdents64(3, [pid 295] <... rmdir resumed>) = 0 [pid 294] rmdir("./2/file0" [pid 293] getdents64(3, [pid 298] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] getdents64(3, [pid 294] <... rmdir resumed>) = 0 [pid 298] close(3 [pid 297] getdents64(3, [pid 296] close(3 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] <... close resumed>) = 0 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] <... close resumed>) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] getdents64(3, [pid 293] close(3 [pid 298] rmdir("./3" [pid 297] close(3 [pid 296] rmdir("./1" [pid 295] close(3 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] <... close resumed>) = 0 [pid 293] <... close resumed>) = 0 [pid 297] rmdir("./2") = 0 [pid 297] mkdir("./3", 0777 [pid 298] <... rmdir resumed>) = 0 [pid 297] <... mkdir resumed>) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] <... close resumed>) = 0 [pid 294] close(3 [pid 293] rmdir("./1"./strace-static-x86_64: Process 323 attached [pid 298] mkdir("./4", 0777 [pid 296] mkdir("./2", 0777 [pid 295] rmdir("./2" [pid 294] <... close resumed>) = 0 [pid 293] <... rmdir resumed>) = 0 [pid 323] set_robust_list(0x555555a60660, 24 [pid 298] <... mkdir resumed>) = 0 [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 323 [pid 296] <... mkdir resumed>) = 0 [pid 295] <... rmdir resumed>) = 0 [pid 294] rmdir("./2" [pid 293] mkdir("./2", 0777 [pid 323] <... set_robust_list resumed>) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] mkdir("./3", 0777 [pid 294] <... rmdir resumed>) = 0 [pid 293] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 325 attached ./strace-static-x86_64: Process 324 attached [pid 323] chdir("./3" [pid 295] <... mkdir resumed>) = 0 [pid 294] mkdir("./3", 0777 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 325] set_robust_list(0x555555a60660, 24 [pid 324] set_robust_list(0x555555a60660, 24 [pid 323] <... chdir resumed>) = 0 [pid 298] <... clone resumed>, child_tidptr=0x555555a60650) = 324 [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 325 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] <... mkdir resumed>) = 0 [pid 325] <... set_robust_list resumed>) = 0 [pid 324] <... set_robust_list resumed>) = 0 [pid 323] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 326 ./strace-static-x86_64: Process 327 attached [pid 324] chdir("./4" [pid 323] <... prctl resumed>) = 0 [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 327 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 324] <... chdir resumed>) = 0 [pid 323] setpgid(0, 0 [pid 327] set_robust_list(0x555555a60660, 24) = 0 [pid 327] chdir("./3") = 0 [pid 323] <... setpgid resumed>) = 0 [pid 324] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 328 [pid 324] <... prctl resumed>) = 0 [pid 323] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 325] chdir("./2" [pid 327] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 327] setpgid(0, 0) = 0 [pid 324] setpgid(0, 0) = 0 [pid 323] <... openat resumed>) = 3 [pid 325] <... chdir resumed>) = 0 [pid 324] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 323] write(3, "1000", 4 [pid 327] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 324] <... openat resumed>) = 3 [pid 323] <... write resumed>) = 4 [pid 324] write(3, "1000", 4 [pid 323] close(3 [pid 324] <... write resumed>) = 4 [pid 327] <... openat resumed>) = 3 [pid 324] close(3 [pid 323] <... close resumed>) = 0 [pid 324] <... close resumed>) = 0 [pid 323] symlink("/dev/binderfs", "./binderfs" [pid 324] symlink("/dev/binderfs", "./binderfs" [pid 327] write(3, "1000", 4) = 4 [pid 327] close(3) = 0 [pid 327] symlink("/dev/binderfs", "./binderfs" [pid 323] <... symlink resumed>) = 0 [pid 324] <... symlink resumed>) = 0 [pid 323] mkdir("./file0", 000 [pid 324] mkdir("./file0", 000 [pid 327] <... symlink resumed>) = 0 [pid 327] mkdir("./file0", 000 [pid 323] <... mkdir resumed>) = 0 [pid 327] <... mkdir resumed>) = 0 [pid 324] <... mkdir resumed>) = 0 [pid 323] open("./file0", O_RDONLY [pid 324] open("./file0", O_RDONLY./strace-static-x86_64: Process 326 attached [pid 323] <... open resumed>) = 3 [pid 324] <... open resumed>) = 3 [pid 323] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 327] open("./file0", O_RDONLY [pid 326] set_robust_list(0x555555a60660, 24 [pid 324] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 327] <... open resumed>) = 3 [pid 323] <... ioctl resumed>) = 0 [pid 327] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 326] <... set_robust_list resumed>) = 0 [pid 324] <... ioctl resumed>) = 0 [pid 323] chdir("./file0" [pid 327] <... ioctl resumed>) = 0 [pid 326] chdir("./2" [pid 324] chdir("./file0" [pid 323] <... chdir resumed>) = 0 [pid 327] chdir("./file0" [pid 326] <... chdir resumed>) = 0 [pid 324] <... chdir resumed>) = 0 [pid 323] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING./strace-static-x86_64: Process 328 attached [pid 327] <... chdir resumed>) = 0 [pid 326] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 325] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 324] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 328] set_robust_list(0x555555a60660, 24 [pid 327] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 326] <... prctl resumed>) = 0 [pid 323] <... add_key resumed>) = 742092330 [pid 328] <... set_robust_list resumed>) = 0 [pid 327] <... add_key resumed>) = 23552772 [pid 326] setpgid(0, 0 [pid 324] <... add_key resumed>) = 606938927 [pid 323] open("./bus", O_RDONLY [pid 325] <... prctl resumed>) = 0 [pid 324] open("./bus", O_RDONLY [pid 328] chdir("./3" [pid 327] open("./bus", O_RDONLY [pid 326] <... setpgid resumed>) = 0 [pid 328] <... chdir resumed>) = 0 [pid 327] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 326] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 325] setpgid(0, 0 [pid 324] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 323] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 328] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 327] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 326] <... openat resumed>) = 3 [pid 325] <... setpgid resumed>) = 0 [pid 324] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 323] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 328] <... prctl resumed>) = 0 [pid 327] <... openat resumed>) = 4 [pid 326] write(3, "1000", 4 [pid 324] <... openat resumed>) = 4 [pid 328] setpgid(0, 0 [pid 327] write(4, "24", 2 [pid 326] <... write resumed>) = 4 [pid 324] write(4, "24", 2 [pid 323] <... openat resumed>) = 4 [pid 328] <... setpgid resumed>) = 0 [pid 327] <... write resumed>) = 2 [pid 326] close(3 [pid 325] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 324] <... write resumed>) = 2 [pid 328] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 327] symlink("./file0", "./file0" [pid 326] <... close resumed>) = 0 [ 27.115910][ T30] audit: type=1400 audit(1702680858.479:69): avc: denied { remove_name } for pid=82 comm="syslogd" name="messages" dev="tmpfs" ino=2 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=dir permissive=1 [ 27.138497][ T30] audit: type=1400 audit(1702680858.479:70): avc: denied { rename } for pid=82 comm="syslogd" name="messages" dev="tmpfs" ino=2 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 27.187686][ T327] FAULT_INJECTION: forcing a failure. [ 27.187686][ T327] name failslab, interval 1, probability 0, space 0, times 0 [ 27.197086][ T324] FAULT_INJECTION: forcing a failure. [ 27.197086][ T324] name failslab, interval 1, probability 0, space 0, times 0 [ 27.200142][ T327] CPU: 1 PID: 327 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 27.222569][ T327] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 27.232465][ T327] Call Trace: [pid 324] symlink("./file0", "./file0" [pid 323] write(4, "24", 2 [pid 328] <... openat resumed>) = 3 [pid 326] symlink("/dev/binderfs", "./binderfs" [pid 325] <... openat resumed>) = 3 [pid 323] <... write resumed>) = 2 [pid 325] write(3, "1000", 4 [pid 323] symlink("./file0", "./file0" [pid 325] <... write resumed>) = 4 [pid 325] close(3) = 0 [pid 325] symlink("/dev/binderfs", "./binderfs") = 0 [pid 325] mkdir("./file0", 000) = 0 [pid 325] open("./file0", O_RDONLY) = 3 [pid 325] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 325] chdir("./file0") = 0 [pid 325] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 389136928 [ 27.235583][ T327] [ 27.238361][ T327] dump_stack_lvl+0x151/0x1b7 [ 27.242876][ T327] ? io_uring_drop_tctx_refs+0x190/0x190 [ 27.248346][ T327] ? wb_get_create+0xe0a/0xe40 [ 27.252945][ T327] ? sb_end_intwrite+0x120/0x120 [ 27.257718][ T327] dump_stack+0x15/0x17 [ 27.261710][ T327] should_fail+0x3c6/0x510 [ 27.265966][ T327] __should_failslab+0xa4/0xe0 [ 27.269488][ T323] FAULT_INJECTION: forcing a failure. [ 27.269488][ T323] name failslab, interval 1, probability 0, space 0, times 0 [ 27.270560][ T327] ? ext4_mb_new_blocks+0x4ed/0x43f0 [pid 325] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 325] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 325] write(4, "24", 2) = 2 [ 27.288103][ T327] should_failslab+0x9/0x20 [ 27.291439][ T325] FAULT_INJECTION: forcing a failure. [ 27.291439][ T325] name failslab, interval 1, probability 0, space 0, times 0 [ 27.292433][ T327] slab_pre_alloc_hook+0x37/0xd0 [ 27.309636][ T327] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 27.314739][ T327] kmem_cache_alloc+0x44/0x200 [ 27.319339][ T327] ext4_mb_new_blocks+0x4ed/0x43f0 [ 27.324292][ T327] ? ext4_mb_pa_callback+0xd0/0xd0 [ 27.329246][ T327] ? ext4_xattr_ibody_set+0x390/0x390 [ 27.334446][ T327] ext4_new_meta_blocks+0x206/0x4f0 [ 27.339480][ T327] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 27.344949][ T327] ? __entry_find+0x398/0x3f0 [ 27.349457][ T327] ? __kmalloc+0x13a/0x270 [ 27.353714][ T327] ext4_xattr_block_set+0x233e/0x3760 [ 27.359032][ T327] ? __ext4_journal_ensure_credits+0x470/0x470 [ 27.365016][ T327] ? ext4_xattr_block_find+0x520/0x520 [ 27.370308][ T327] ? __xattr_check_inode+0x3d5/0x440 [ 27.375430][ T327] ext4_xattr_set_handle+0xdac/0x1560 [ 27.380656][ T327] ? sidtab_sid2str_put+0x2d7/0x640 [ 27.385675][ T327] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 27.391055][ T327] ? selinux_inode_init_security+0x52d/0x780 [ 27.396870][ T327] ? selinux_inode_free_security+0x210/0x210 [ 27.402773][ T327] ext4_initxattrs+0xa7/0x120 [ 27.407289][ T327] security_inode_init_security+0x252/0x390 [ 27.413016][ T327] ? ext4_init_security+0x40/0x40 [ 27.417873][ T327] ? security_dentry_create_files_as+0xc0/0xc0 [ 27.423862][ T327] ? fscrypt_set_context+0x439/0x740 [ 27.428982][ T327] ? __ext4_set_acl+0x5e0/0x5e0 [ 27.433671][ T327] ? prandom_u32+0x24c/0x290 [ 27.438093][ T327] ext4_init_security+0x34/0x40 [ 27.442874][ T327] __ext4_new_inode+0x31f0/0x40a0 [ 27.447733][ T327] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 27.453292][ T327] ? dquot_initialize+0x20/0x20 [ 27.457971][ T327] ? selinux_determine_inode_label+0x29c/0x3b0 [ 27.463962][ T327] ext4_symlink+0x4c3/0xed0 [ 27.468304][ T327] ? ext4_unlink+0x3f0/0x3f0 [ 27.472732][ T327] ? selinux_inode_symlink+0x22/0x30 [ 27.477847][ T327] ? security_inode_symlink+0xb8/0x100 [ 27.483140][ T327] vfs_symlink+0x29f/0x480 [ 27.487394][ T327] do_symlinkat+0x1ea/0x5a0 [ 27.491735][ T327] ? __check_object_size+0x2ec/0x3d0 [ 27.496853][ T327] ? vfs_symlink+0x480/0x480 [ 27.501279][ T327] ? getname_flags+0x1fd/0x520 [ 27.505882][ T327] __x64_sys_symlink+0x7e/0x90 [ 27.510479][ T327] do_syscall_64+0x3d/0xb0 [ 27.514733][ T327] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 27.520461][ T327] RIP: 0033:0x7f3575952459 [ 27.524716][ T327] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 27.544153][ T327] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 27.552402][ T327] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 27.560214][ T327] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 27.568023][ T327] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 27.575837][ T327] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 27.583644][ T327] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000003 [ 27.591460][ T327] [ 27.594326][ T325] CPU: 0 PID: 325 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 27.604390][ T325] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 27.614283][ T325] Call Trace: [ 27.617407][ T325] [ 27.620187][ T325] dump_stack_lvl+0x151/0x1b7 [ 27.624700][ T325] ? io_uring_drop_tctx_refs+0x190/0x190 [ 27.630168][ T325] ? wb_get_create+0xe0a/0xe40 [ 27.634763][ T325] ? sb_end_intwrite+0x120/0x120 [ 27.639540][ T325] dump_stack+0x15/0x17 [ 27.643529][ T325] should_fail+0x3c6/0x510 [ 27.647786][ T325] __should_failslab+0xa4/0xe0 [ 27.652386][ T325] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 27.657504][ T325] should_failslab+0x9/0x20 [ 27.661847][ T325] slab_pre_alloc_hook+0x37/0xd0 [ 27.666622][ T325] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 27.671742][ T325] kmem_cache_alloc+0x44/0x200 [ 27.676343][ T325] ext4_mb_new_blocks+0x4ed/0x43f0 [ 27.681293][ T325] ? ext4_mb_pa_callback+0xd0/0xd0 [ 27.686235][ T325] ? ext4_xattr_ibody_set+0x390/0x390 [ 27.691445][ T325] ext4_new_meta_blocks+0x206/0x4f0 [ 27.696480][ T325] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 27.701943][ T325] ? __entry_find+0x398/0x3f0 [ 27.706459][ T325] ? __kmalloc+0x13a/0x270 [ 27.710710][ T325] ext4_xattr_block_set+0x233e/0x3760 [ 27.715921][ T325] ? __ext4_journal_ensure_credits+0x470/0x470 [ 27.721909][ T325] ? ext4_xattr_block_find+0x520/0x520 [ 27.727206][ T325] ? __xattr_check_inode+0x3d5/0x440 [ 27.732498][ T325] ext4_xattr_set_handle+0xdac/0x1560 [ 27.737707][ T325] ? sidtab_sid2str_put+0x2d7/0x640 [ 27.742749][ T325] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 27.743384][ T326] FAULT_INJECTION: forcing a failure. [ 27.743384][ T326] name failslab, interval 1, probability 0, space 0, times 0 [ 27.748124][ T325] ? selinux_inode_init_security+0x52d/0x780 [ 27.748152][ T325] ? selinux_inode_free_security+0x210/0x210 [ 27.761546][ T328] FAULT_INJECTION: forcing a failure. [ 27.761546][ T328] name failslab, interval 1, probability 0, space 0, times 0 [ 27.766345][ T325] ext4_initxattrs+0xa7/0x120 [ 27.789092][ T325] security_inode_init_security+0x252/0x390 [ 27.794813][ T325] ? ext4_init_security+0x40/0x40 [ 27.799672][ T325] ? security_dentry_create_files_as+0xc0/0xc0 [ 27.805664][ T325] ? fscrypt_set_context+0x439/0x740 [ 27.810786][ T325] ? __ext4_set_acl+0x5e0/0x5e0 [ 27.815473][ T325] ? prandom_u32+0x24c/0x290 [ 27.819899][ T325] ext4_init_security+0x34/0x40 [ 27.824582][ T325] __ext4_new_inode+0x31f0/0x40a0 [ 27.829446][ T325] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 27.834999][ T325] ? dquot_initialize+0x20/0x20 [ 27.839691][ T325] ? selinux_determine_inode_label+0x29c/0x3b0 [ 27.845679][ T325] ext4_symlink+0x4c3/0xed0 [ 27.850027][ T325] ? ext4_unlink+0x3f0/0x3f0 [ 27.854439][ T325] ? selinux_inode_symlink+0x22/0x30 [ 27.859563][ T325] ? security_inode_symlink+0xb8/0x100 [ 27.864858][ T325] vfs_symlink+0x29f/0x480 [ 27.869113][ T325] do_symlinkat+0x1ea/0x5a0 [ 27.873451][ T325] ? __check_object_size+0x2ec/0x3d0 [ 27.878569][ T325] ? vfs_symlink+0x480/0x480 [ 27.882994][ T325] ? getname_flags+0x1fd/0x520 [ 27.887597][ T325] __x64_sys_symlink+0x7e/0x90 [ 27.892194][ T325] do_syscall_64+0x3d/0xb0 [ 27.896450][ T325] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 27.902175][ T325] RIP: 0033:0x7f3575952459 [ 27.906429][ T325] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 27.925956][ T325] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 325] symlink("./file0", "./file0" [pid 328] write(3, "1000", 4 [pid 327] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 326] <... symlink resumed>) = 0 [pid 328] <... write resumed>) = 4 [pid 327] exit_group(0 [pid 326] mkdir("./file0", 000 [pid 328] close(3 [pid 327] <... exit_group resumed>) = ? [pid 326] <... mkdir resumed>) = 0 [pid 328] <... close resumed>) = 0 [pid 327] +++ exited with 0 +++ [pid 326] open("./file0", O_RDONLY [pid 328] symlink("/dev/binderfs", "./binderfs" [pid 326] <... open resumed>) = 3 [pid 328] <... symlink resumed>) = 0 [pid 326] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 328] mkdir("./file0", 000 [pid 326] <... ioctl resumed>) = 0 [pid 328] <... mkdir resumed>) = 0 [pid 326] chdir("./file0" [pid 328] open("./file0", O_RDONLY [pid 326] <... chdir resumed>) = 0 [pid 328] <... open resumed>) = 3 [pid 326] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 328] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 326] <... add_key resumed>) = 419347031 [pid 328] <... ioctl resumed>) = 0 [pid 326] open("./bus", O_RDONLY [pid 328] chdir("./file0" [pid 326] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 328] <... chdir resumed>) = 0 [pid 326] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 328] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 326] <... openat resumed>) = 4 [pid 328] <... add_key resumed>) = 407833388 [pid 326] write(4, "24", 2 [pid 328] open("./bus", O_RDONLY [pid 326] <... write resumed>) = 2 [pid 328] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 326] symlink("./file0", "./file0" [pid 328] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 328] write(4, "24", 2) = 2 [ 27.934202][ T325] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 27.942011][ T325] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 27.949822][ T325] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 27.957645][ T325] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 27.965454][ T325] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000002 [ 27.973267][ T325] [ 27.976127][ T323] CPU: 1 PID: 323 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 27.986199][ T323] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 27.996088][ T323] Call Trace: [ 27.999217][ T323] [ 28.001989][ T323] dump_stack_lvl+0x151/0x1b7 [ 28.006501][ T323] ? io_uring_drop_tctx_refs+0x190/0x190 [ 28.011967][ T323] ? wb_get_create+0xe0a/0xe40 [ 28.016567][ T323] ? sb_end_intwrite+0x120/0x120 [ 28.021341][ T323] dump_stack+0x15/0x17 [ 28.025333][ T323] should_fail+0x3c6/0x510 [ 28.029587][ T323] __should_failslab+0xa4/0xe0 [ 28.034187][ T323] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 28.039307][ T323] should_failslab+0x9/0x20 [ 28.043647][ T323] slab_pre_alloc_hook+0x37/0xd0 [ 28.048419][ T323] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 28.053540][ T323] kmem_cache_alloc+0x44/0x200 [ 28.058142][ T323] ext4_mb_new_blocks+0x4ed/0x43f0 [ 28.063090][ T323] ? ext4_mb_pa_callback+0xd0/0xd0 [ 28.068048][ T323] ? ext4_xattr_ibody_set+0x390/0x390 [ 28.073242][ T323] ext4_new_meta_blocks+0x206/0x4f0 [ 28.078277][ T323] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 28.083748][ T323] ? __entry_find+0x398/0x3f0 [ 28.088265][ T323] ? __kmalloc+0x13a/0x270 [ 28.092512][ T323] ext4_xattr_block_set+0x233e/0x3760 [ 28.097721][ T323] ? __ext4_journal_ensure_credits+0x470/0x470 [ 28.103713][ T323] ? ext4_xattr_block_find+0x520/0x520 [ 28.109003][ T323] ? __xattr_check_inode+0x3d5/0x440 [ 28.114129][ T323] ext4_xattr_set_handle+0xdac/0x1560 [ 28.119336][ T323] ? sidtab_sid2str_put+0x2d7/0x640 [ 28.124371][ T323] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 28.129749][ T323] ? selinux_inode_init_security+0x52d/0x780 [ 28.135563][ T323] ? selinux_inode_free_security+0x210/0x210 [ 28.141377][ T323] ext4_initxattrs+0xa7/0x120 [ 28.145888][ T323] security_inode_init_security+0x252/0x390 [ 28.151620][ T323] ? ext4_init_security+0x40/0x40 [ 28.156476][ T323] ? security_dentry_create_files_as+0xc0/0xc0 [ 28.162465][ T323] ? fscrypt_set_context+0x439/0x740 [ 28.167589][ T323] ? __ext4_set_acl+0x5e0/0x5e0 [ 28.172282][ T323] ? prandom_u32+0x24c/0x290 [ 28.176701][ T323] ext4_init_security+0x34/0x40 [ 28.181386][ T323] __ext4_new_inode+0x31f0/0x40a0 [ 28.186253][ T323] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 28.191803][ T323] ? dquot_initialize+0x20/0x20 [ 28.196489][ T323] ? selinux_determine_inode_label+0x29c/0x3b0 [ 28.202478][ T323] ext4_symlink+0x4c3/0xed0 [ 28.206817][ T323] ? ext4_unlink+0x3f0/0x3f0 [ 28.211245][ T323] ? selinux_inode_symlink+0x22/0x30 [ 28.216369][ T323] ? security_inode_symlink+0xb8/0x100 [ 28.221661][ T323] vfs_symlink+0x29f/0x480 [ 28.225910][ T323] do_symlinkat+0x1ea/0x5a0 [ 28.230253][ T323] ? __check_object_size+0x2ec/0x3d0 [ 28.235373][ T323] ? vfs_symlink+0x480/0x480 [ 28.239797][ T323] ? getname_flags+0x1fd/0x520 [ 28.244399][ T323] __x64_sys_symlink+0x7e/0x90 [ 28.249000][ T323] do_syscall_64+0x3d/0xb0 [ 28.253337][ T323] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 28.259239][ T323] RIP: 0033:0x7f3575952459 [ 28.263494][ T323] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 28.282933][ T323] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 28.291179][ T323] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 28.298993][ T323] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 28.306801][ T323] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 28.314611][ T323] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 28.322425][ T323] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000003 [ 28.330238][ T323] [ 28.333363][ T324] CPU: 0 PID: 324 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 28.343417][ T324] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 28.353316][ T324] Call Trace: [ 28.356439][ T324] [ 28.359214][ T324] dump_stack_lvl+0x151/0x1b7 [ 28.363738][ T324] ? io_uring_drop_tctx_refs+0x190/0x190 [ 28.369310][ T324] ? wb_get_create+0xe0a/0xe40 [ 28.374014][ T324] ? sb_end_intwrite+0x120/0x120 [ 28.378793][ T324] dump_stack+0x15/0x17 [ 28.382783][ T324] should_fail+0x3c6/0x510 [ 28.387034][ T324] __should_failslab+0xa4/0xe0 [ 28.391638][ T324] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 28.396756][ T324] should_failslab+0x9/0x20 [ 28.401098][ T324] slab_pre_alloc_hook+0x37/0xd0 [ 28.405866][ T324] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 28.410991][ T324] kmem_cache_alloc+0x44/0x200 [ 28.415609][ T324] ext4_mb_new_blocks+0x4ed/0x43f0 [ 28.420539][ T324] ? ext4_mb_pa_callback+0xd0/0xd0 [ 28.425483][ T324] ? ext4_xattr_ibody_set+0x390/0x390 [ 28.430694][ T324] ext4_new_meta_blocks+0x206/0x4f0 [ 28.435726][ T324] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 28.441193][ T324] ? __entry_find+0x398/0x3f0 [ 28.445708][ T324] ? __kmalloc+0x13a/0x270 [ 28.449966][ T324] ext4_xattr_block_set+0x233e/0x3760 [ 28.455171][ T324] ? __ext4_journal_ensure_credits+0x470/0x470 [ 28.461161][ T324] ? ext4_xattr_block_find+0x520/0x520 [ 28.466448][ T324] ? __xattr_check_inode+0x3d5/0x440 [ 28.471576][ T324] ext4_xattr_set_handle+0xdac/0x1560 [ 28.476779][ T324] ? sidtab_sid2str_put+0x2d7/0x640 [ 28.481817][ T324] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 28.487197][ T324] ? selinux_inode_init_security+0x52d/0x780 [ 28.493015][ T324] ? selinux_inode_free_security+0x210/0x210 [ 28.498837][ T324] ext4_initxattrs+0xa7/0x120 [ 28.503335][ T324] security_inode_init_security+0x252/0x390 [ 28.509066][ T324] ? ext4_init_security+0x40/0x40 [ 28.513940][ T324] ? security_dentry_create_files_as+0xc0/0xc0 [ 28.519921][ T324] ? fscrypt_set_context+0x439/0x740 [ 28.525037][ T324] ? __ext4_set_acl+0x5e0/0x5e0 [ 28.529721][ T324] ? prandom_u32+0x24c/0x290 [ 28.534147][ T324] ext4_init_security+0x34/0x40 [ 28.538841][ T324] __ext4_new_inode+0x31f0/0x40a0 [ 28.543715][ T324] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 28.549247][ T324] ? dquot_initialize+0x20/0x20 [ 28.553937][ T324] ? selinux_determine_inode_label+0x29c/0x3b0 [ 28.559931][ T324] ext4_symlink+0x4c3/0xed0 [ 28.564274][ T324] ? ext4_unlink+0x3f0/0x3f0 [ 28.568694][ T324] ? selinux_inode_symlink+0x22/0x30 [ 28.573924][ T324] ? security_inode_symlink+0xb8/0x100 [ 28.579317][ T324] vfs_symlink+0x29f/0x480 [ 28.583550][ T324] do_symlinkat+0x1ea/0x5a0 [ 28.587888][ T324] ? __check_object_size+0x2ec/0x3d0 [ 28.593008][ T324] ? vfs_symlink+0x480/0x480 [ 28.597434][ T324] ? getname_flags+0x1fd/0x520 [ 28.602032][ T324] __x64_sys_symlink+0x7e/0x90 [ 28.606632][ T324] do_syscall_64+0x3d/0xb0 [ 28.610883][ T324] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 28.616616][ T324] RIP: 0033:0x7f3575952459 [ 28.620865][ T324] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [pid 328] symlink("./file0", "./file0" [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=327, si_uid=0, si_status=0, si_utime=0, si_stime=2} --- [pid 295] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./3/binderfs") = 0 [pid 295] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 295] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] close(4) = 0 [pid 295] rmdir("./3/file0") = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3) = 0 [pid 295] rmdir("./3") = 0 [pid 295] mkdir("./4", 0777) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 331 [ 28.640307][ T324] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 28.648551][ T324] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 28.656363][ T324] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 28.664174][ T324] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 28.671992][ T324] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 28.679800][ T324] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000004 [ 28.687618][ T324] [ 28.690479][ T328] CPU: 1 PID: 328 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 28.700576][ T328] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 28.710525][ T328] Call Trace: [ 28.713648][ T328] [ 28.716427][ T328] dump_stack_lvl+0x151/0x1b7 [ 28.720937][ T328] ? io_uring_drop_tctx_refs+0x190/0x190 [ 28.726404][ T328] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 28.732135][ T328] dump_stack+0x15/0x17 [ 28.736125][ T328] should_fail+0x3c6/0x510 [ 28.740378][ T328] __should_failslab+0xa4/0xe0 [ 28.744979][ T328] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 28.750098][ T328] should_failslab+0x9/0x20 [ 28.754439][ T328] slab_pre_alloc_hook+0x37/0xd0 [ 28.759301][ T328] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 28.764427][ T328] kmem_cache_alloc+0x44/0x200 [ 28.769026][ T328] ext4_mb_new_blocks+0xd97/0x43f0 [ 28.773973][ T328] ? ext4_mb_pa_callback+0xd0/0xd0 [ 28.778916][ T328] ? ext4_xattr_ibody_set+0x390/0x390 [ 28.784121][ T328] ext4_new_meta_blocks+0x206/0x4f0 [ 28.789158][ T328] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 28.794622][ T328] ? __entry_find+0x398/0x3f0 [ 28.799138][ T328] ? __kmalloc+0x13a/0x270 [ 28.803391][ T328] ext4_xattr_block_set+0x233e/0x3760 [ 28.808599][ T328] ? __ext4_journal_ensure_credits+0x470/0x470 [ 28.814588][ T328] ? ext4_xattr_block_find+0x520/0x520 [ 28.819880][ T328] ? __xattr_check_inode+0x3d5/0x440 [ 28.825004][ T328] ext4_xattr_set_handle+0xdac/0x1560 [ 28.830209][ T328] ? sidtab_sid2str_put+0x2d7/0x640 [ 28.835245][ T328] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 28.840627][ T328] ? selinux_inode_init_security+0x52d/0x780 [ 28.846445][ T328] ? selinux_inode_free_security+0x210/0x210 [ 28.852254][ T328] ext4_initxattrs+0xa7/0x120 [ 28.856775][ T328] security_inode_init_security+0x252/0x390 [ 28.862496][ T328] ? ext4_init_security+0x40/0x40 [ 28.867359][ T328] ? security_dentry_create_files_as+0xc0/0xc0 [ 28.873346][ T328] ? fscrypt_set_context+0x439/0x740 [ 28.878474][ T328] ? __ext4_set_acl+0x5e0/0x5e0 [ 28.883152][ T328] ? prandom_u32+0x24c/0x290 [ 28.887576][ T328] ext4_init_security+0x34/0x40 [ 28.892265][ T328] __ext4_new_inode+0x31f0/0x40a0 [ 28.897132][ T328] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 28.902679][ T328] ? dquot_initialize+0x20/0x20 [ 28.907365][ T328] ? selinux_determine_inode_label+0x29c/0x3b0 [ 28.913359][ T328] ext4_symlink+0x4c3/0xed0 [ 28.917696][ T328] ? ext4_unlink+0x3f0/0x3f0 [ 28.922121][ T328] ? selinux_inode_symlink+0x22/0x30 [ 28.927245][ T328] ? security_inode_symlink+0xb8/0x100 [ 28.932538][ T328] vfs_symlink+0x29f/0x480 [ 28.936793][ T328] do_symlinkat+0x1ea/0x5a0 [ 28.941130][ T328] ? __check_object_size+0x2ec/0x3d0 [ 28.946248][ T328] ? vfs_symlink+0x480/0x480 [ 28.950675][ T328] ? getname_flags+0x1fd/0x520 [ 28.955363][ T328] __x64_sys_symlink+0x7e/0x90 [ 28.959966][ T328] do_syscall_64+0x3d/0xb0 [ 28.964217][ T328] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 28.969961][ T328] RIP: 0033:0x7f3575952459 [ 28.974198][ T328] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 ./strace-static-x86_64: Process 331 attached [pid 324] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [ 28.993639][ T328] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 29.001883][ T328] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 29.009781][ T328] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 29.017594][ T328] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 29.025516][ T328] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 29.033325][ T328] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000003 [ 29.041143][ T328] [ 29.045064][ T326] CPU: 1 PID: 326 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 29.055124][ T326] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 29.065016][ T326] Call Trace: [ 29.068228][ T326] [ 29.071005][ T326] dump_stack_lvl+0x151/0x1b7 [ 29.075517][ T326] ? io_uring_drop_tctx_refs+0x190/0x190 [ 29.080989][ T326] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 29.086714][ T326] dump_stack+0x15/0x17 [ 29.090705][ T326] should_fail+0x3c6/0x510 [ 29.094958][ T326] __should_failslab+0xa4/0xe0 [ 29.099571][ T326] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 29.104678][ T326] should_failslab+0x9/0x20 [ 29.109020][ T326] slab_pre_alloc_hook+0x37/0xd0 [ 29.113794][ T326] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 29.118912][ T326] kmem_cache_alloc+0x44/0x200 [ 29.123515][ T326] ext4_mb_new_blocks+0xd97/0x43f0 [ 29.128466][ T326] ? ext4_mb_pa_callback+0xd0/0xd0 [ 29.133410][ T326] ? ext4_xattr_ibody_set+0x390/0x390 [ 29.138616][ T326] ext4_new_meta_blocks+0x206/0x4f0 [ 29.143662][ T326] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 29.149116][ T326] ? __entry_find+0x398/0x3f0 [ 29.153634][ T326] ? __kmalloc+0x13a/0x270 [ 29.157885][ T326] ext4_xattr_block_set+0x233e/0x3760 [ 29.163093][ T326] ? __ext4_journal_ensure_credits+0x470/0x470 [ 29.169080][ T326] ? ext4_xattr_block_find+0x520/0x520 [ 29.174378][ T326] ? __xattr_check_inode+0x3d5/0x440 [ 29.179501][ T326] ext4_xattr_set_handle+0xdac/0x1560 [ 29.184703][ T326] ? sidtab_sid2str_put+0x2d7/0x640 [ 29.189738][ T326] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 29.195118][ T326] ? selinux_inode_init_security+0x52d/0x780 [ 29.200933][ T326] ? selinux_inode_free_security+0x210/0x210 [ 29.206752][ T326] ext4_initxattrs+0xa7/0x120 [ 29.211263][ T326] security_inode_init_security+0x252/0x390 [ 29.216992][ T326] ? ext4_init_security+0x40/0x40 [ 29.221852][ T326] ? security_dentry_create_files_as+0xc0/0xc0 [ 29.227837][ T326] ? fscrypt_set_context+0x439/0x740 [ 29.232962][ T326] ? __ext4_set_acl+0x5e0/0x5e0 [ 29.237647][ T326] ? prandom_u32+0x24c/0x290 [ 29.242071][ T326] ext4_init_security+0x34/0x40 [ 29.246759][ T326] __ext4_new_inode+0x31f0/0x40a0 [ 29.251626][ T326] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 29.257177][ T326] ? dquot_initialize+0x20/0x20 [ 29.261862][ T326] ? selinux_determine_inode_label+0x29c/0x3b0 [ 29.267850][ T326] ext4_symlink+0x4c3/0xed0 [ 29.272193][ T326] ? ext4_unlink+0x3f0/0x3f0 [ 29.276616][ T326] ? selinux_inode_symlink+0x22/0x30 [ 29.281742][ T326] ? security_inode_symlink+0xb8/0x100 [ 29.287035][ T326] vfs_symlink+0x29f/0x480 [ 29.291284][ T326] do_symlinkat+0x1ea/0x5a0 [ 29.295624][ T326] ? __check_object_size+0x2ec/0x3d0 [ 29.300749][ T326] ? vfs_symlink+0x480/0x480 [ 29.305173][ T326] ? getname_flags+0x1fd/0x520 [ 29.309856][ T326] __x64_sys_symlink+0x7e/0x90 [ 29.314456][ T326] do_syscall_64+0x3d/0xb0 [ 29.318711][ T326] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 29.324439][ T326] RIP: 0033:0x7f3575952459 [ 29.328695][ T326] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [pid 331] set_robust_list(0x555555a60660, 24) = 0 [pid 324] exit_group(0 [pid 331] chdir("./4" [pid 324] <... exit_group resumed>) = ? [pid 323] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 323] exit_group(0) = ? [pid 324] +++ exited with 0 +++ [pid 323] +++ exited with 0 +++ [pid 331] <... chdir resumed>) = 0 [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=324, si_uid=0, si_status=0, si_utime=0, si_stime=14} --- [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=323, si_uid=0, si_status=0, si_utime=0, si_stime=29} --- [pid 331] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 298] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW [pid 331] setpgid(0, 0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] <... openat resumed>) = 3 [pid 297] <... openat resumed>) = 3 [pid 298] newfstatat(3, "", [pid 297] newfstatat(3, "", [pid 331] <... setpgid resumed>) = 0 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, [pid 297] getdents64(3, [pid 331] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 331] <... openat resumed>) = 3 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./4/binderfs", [pid 297] newfstatat(AT_FDCWD, "./3/binderfs", [pid 298] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./4/binderfs" [pid 297] unlink("./3/binderfs" [pid 331] write(3, "1000", 4 [pid 298] <... unlink resumed>) = 0 [pid 297] <... unlink resumed>) = 0 [pid 298] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 331] <... write resumed>) = 4 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./4/file0", [pid 297] newfstatat(AT_FDCWD, "./3/file0", [pid 331] close(3 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 331] <... close resumed>) = 0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 331] symlink("/dev/binderfs", "./binderfs" [pid 298] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] <... openat resumed>) = 4 [pid 297] <... openat resumed>) = 4 [pid 298] newfstatat(4, "", [pid 297] newfstatat(4, "", [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 331] <... symlink resumed>) = 0 [pid 298] getdents64(4, [pid 297] getdents64(4, [pid 331] mkdir("./file0", 000 [pid 298] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, [pid 297] getdents64(4, [pid 298] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4 [pid 297] close(4 [pid 298] <... close resumed>) = 0 [pid 297] <... close resumed>) = 0 [pid 298] rmdir("./4/file0" [pid 297] rmdir("./3/file0" [pid 331] <... mkdir resumed>) = 0 [pid 328] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 325] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 298] <... rmdir resumed>) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 326] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 298] getdents64(3, [pid 297] getdents64(3, [pid 298] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3 [pid 297] close(3 [pid 298] <... close resumed>) = 0 [pid 297] <... close resumed>) = 0 [pid 298] rmdir("./4" [pid 297] rmdir("./3" [pid 331] open("./file0", O_RDONLY [pid 328] exit_group(0 [pid 326] exit_group(0 [pid 325] exit_group(0 [pid 298] <... rmdir resumed>) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 331] <... open resumed>) = 3 [pid 328] <... exit_group resumed>) = ? [pid 325] <... exit_group resumed>) = ? [pid 298] mkdir("./5", 0777 [pid 297] mkdir("./4", 0777 [pid 326] <... exit_group resumed>) = ? [pid 298] <... mkdir resumed>) = 0 [pid 297] <... mkdir resumed>) = 0 [pid 328] +++ exited with 0 +++ [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 331] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 325] +++ exited with 0 +++ [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=328, si_uid=0, si_status=0, si_utime=0, si_stime=14} --- [pid 298] <... clone resumed>, child_tidptr=0x555555a60650) = 332 [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 333 [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=325, si_uid=0, si_status=0, si_utime=0, si_stime=8} --- [pid 296] restart_syscall(<... resuming interrupted clone ...>./strace-static-x86_64: Process 333 attached [pid 331] <... ioctl resumed>) = 0 [pid 333] set_robust_list(0x555555a60660, 24) = 0 [pid 331] chdir("./file0" [pid 333] chdir("./4" [pid 296] <... restart_syscall resumed>) = 0 [pid 331] <... chdir resumed>) = 0 [pid 296] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 331] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW [pid 331] <... add_key resumed>) = 297913281 [pid 296] <... openat resumed>) = 3 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(3, "", [pid 294] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] <... openat resumed>) = 3 [pid 296] getdents64(3, [pid 294] newfstatat(3, "", [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] getdents64(3, [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] newfstatat(AT_FDCWD, "./2/binderfs", [pid 294] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] unlink("./2/binderfs" [pid 294] newfstatat(AT_FDCWD, "./3/binderfs", [pid 331] open("./bus", O_RDONLY [pid 296] <... unlink resumed>) = 0 [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] unlink("./3/binderfs" [pid 331] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... unlink resumed>) = 0 [pid 331] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 296] newfstatat(AT_FDCWD, "./2/file0", [pid 294] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 331] <... openat resumed>) = 4 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] newfstatat(AT_FDCWD, "./3/file0", [pid 331] write(4, "24", 2 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 331] <... write resumed>) = 2 [pid 296] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [ 29.348137][ T326] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 29.356381][ T326] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 29.364189][ T326] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 29.372004][ T326] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 29.379814][ T326] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 29.387625][ T326] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000002 [ 29.395440][ T326] [pid 294] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 331] symlink("./file0", "./file0" [pid 296] <... openat resumed>) = 4 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(4, "", [pid 294] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] <... openat resumed>) = 4 [pid 296] getdents64(4, [pid 294] newfstatat(4, "", [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(4, [pid 294] getdents64(4, [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] close(4 [pid 294] getdents64(4, [pid 296] <... close resumed>) = 0 [pid 294] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] rmdir("./2/file0" [pid 294] close(4 [pid 296] <... rmdir resumed>) = 0 [pid 294] <... close resumed>) = 0 [pid 333] <... chdir resumed>) = 0 [pid 296] getdents64(3, [pid 294] rmdir("./3/file0" [pid 333] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 333] <... prctl resumed>) = 0 [pid 296] close(3 [pid 294] getdents64(3, [pid 333] setpgid(0, 0 [pid 296] <... close resumed>) = 0 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 333] <... setpgid resumed>) = 0 [pid 296] rmdir("./2" [pid 294] close(3 [pid 333] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 296] <... rmdir resumed>) = 0 [pid 294] <... close resumed>) = 0 ./strace-static-x86_64: Process 332 attached [pid 333] <... openat resumed>) = 3 [pid 296] mkdir("./3", 0777 [pid 294] rmdir("./3" [pid 333] write(3, "1000", 4 [pid 332] set_robust_list(0x555555a60660, 24 [pid 296] <... mkdir resumed>) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 333] <... write resumed>) = 4 [pid 332] <... set_robust_list resumed>) = 0 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] mkdir("./4", 0777 [pid 333] close(3 [pid 332] chdir("./5" [pid 294] <... mkdir resumed>) = 0 [pid 333] <... close resumed>) = 0 [pid 332] <... chdir resumed>) = 0 [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 334 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 333] symlink("/dev/binderfs", "./binderfs" [pid 332] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 333] <... symlink resumed>) = 0 [pid 332] <... prctl resumed>) = 0 [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 335 [pid 333] mkdir("./file0", 000 [pid 332] setpgid(0, 0 [pid 333] <... mkdir resumed>) = 0 [pid 332] <... setpgid resumed>) = 0 [pid 333] open("./file0", O_RDONLY [pid 332] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 333] <... open resumed>) = 3 [pid 332] <... openat resumed>) = 3 [pid 333] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 332] write(3, "1000", 4 [pid 333] <... ioctl resumed>) = 0 [pid 332] <... write resumed>) = 4 [pid 333] chdir("./file0" [pid 332] close(3 [pid 333] <... chdir resumed>) = 0 [pid 332] <... close resumed>) = 0 [pid 333] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 332] symlink("/dev/binderfs", "./binderfs" [pid 333] <... add_key resumed>) = 56801032 [pid 332] <... symlink resumed>) = 0 [pid 333] open("./bus", O_RDONLY [pid 332] mkdir("./file0", 000 [pid 333] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 332] <... mkdir resumed>) = 0 [pid 333] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 332] open("./file0", O_RDONLY [pid 333] <... openat resumed>) = 4 [pid 332] <... open resumed>) = 3 [pid 333] write(4, "24", 2 [pid 332] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 333] <... write resumed>) = 2 [pid 332] <... ioctl resumed>) = 0 [pid 333] symlink("./file0", "./file0" [ 29.417174][ T331] FAULT_INJECTION: forcing a failure. [ 29.417174][ T331] name failslab, interval 1, probability 0, space 0, times 0 [ 29.429742][ T333] FAULT_INJECTION: forcing a failure. [ 29.429742][ T333] name failslab, interval 1, probability 0, space 0, times 0 [ 29.430494][ T331] CPU: 0 PID: 331 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 29.444638][ T332] FAULT_INJECTION: forcing a failure. [ 29.444638][ T332] name failslab, interval 1, probability 0, space 0, times 0 [ 29.452178][ T331] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 29.452192][ T331] Call Trace: [ 29.452198][ T331] [ 29.452205][ T331] dump_stack_lvl+0x151/0x1b7 [ 29.474893][ T335] FAULT_INJECTION: forcing a failure. [ 29.474893][ T335] name failslab, interval 1, probability 0, space 0, times 0 [ 29.477609][ T331] ? io_uring_drop_tctx_refs+0x190/0x190 [ 29.477637][ T331] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 29.508683][ T331] dump_stack+0x15/0x17 [ 29.512676][ T331] should_fail+0x3c6/0x510 [ 29.516931][ T331] __should_failslab+0xa4/0xe0 [ 29.521528][ T331] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 29.526646][ T331] should_failslab+0x9/0x20 [ 29.530986][ T331] slab_pre_alloc_hook+0x37/0xd0 [ 29.535760][ T331] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 29.540879][ T331] kmem_cache_alloc+0x44/0x200 [ 29.545483][ T331] ext4_mb_new_blocks+0xd97/0x43f0 [ 29.550432][ T331] ? ext4_mb_pa_callback+0xd0/0xd0 [ 29.555379][ T331] ? ext4_xattr_ibody_set+0x390/0x390 [ 29.560583][ T331] ext4_new_meta_blocks+0x206/0x4f0 [ 29.565622][ T331] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 29.571088][ T331] ? __entry_find+0x398/0x3f0 [ 29.575612][ T331] ? __kmalloc+0x13a/0x270 [ 29.579852][ T331] ext4_xattr_block_set+0x233e/0x3760 [ 29.585064][ T331] ? __ext4_journal_ensure_credits+0x470/0x470 [ 29.591046][ T331] ? ext4_xattr_block_find+0x520/0x520 [ 29.596347][ T331] ? __xattr_check_inode+0x3d5/0x440 [ 29.601475][ T331] ext4_xattr_set_handle+0xdac/0x1560 [ 29.606670][ T331] ? sidtab_sid2str_put+0x2d7/0x640 [ 29.611709][ T331] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 29.617087][ T331] ? selinux_inode_init_security+0x52d/0x780 [ 29.622903][ T331] ? selinux_inode_free_security+0x210/0x210 [ 29.628720][ T331] ext4_initxattrs+0xa7/0x120 [ 29.633231][ T331] security_inode_init_security+0x252/0x390 [ 29.638959][ T331] ? ext4_init_security+0x40/0x40 [ 29.643996][ T331] ? security_dentry_create_files_as+0xc0/0xc0 [ 29.649980][ T331] ? fscrypt_set_context+0x439/0x740 [ 29.655124][ T331] ? __ext4_set_acl+0x5e0/0x5e0 [ 29.659792][ T331] ? prandom_u32+0x24c/0x290 [ 29.664217][ T331] ext4_init_security+0x34/0x40 [ 29.668901][ T331] __ext4_new_inode+0x31f0/0x40a0 [ 29.673774][ T331] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 29.679313][ T331] ? dquot_initialize+0x20/0x20 [ 29.684002][ T331] ? selinux_determine_inode_label+0x29c/0x3b0 [ 29.689992][ T331] ext4_symlink+0x4c3/0xed0 [ 29.694335][ T331] ? ext4_unlink+0x3f0/0x3f0 [ 29.698759][ T331] ? selinux_inode_symlink+0x22/0x30 [ 29.703885][ T331] ? security_inode_symlink+0xb8/0x100 [ 29.709175][ T331] vfs_symlink+0x29f/0x480 [ 29.713427][ T331] do_symlinkat+0x1ea/0x5a0 [ 29.717763][ T331] ? __check_object_size+0x2ec/0x3d0 [ 29.722889][ T331] ? vfs_symlink+0x480/0x480 [ 29.727317][ T331] ? getname_flags+0x1fd/0x520 [ 29.731913][ T331] __x64_sys_symlink+0x7e/0x90 [ 29.736517][ T331] do_syscall_64+0x3d/0xb0 [ 29.740796][ T331] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 29.746495][ T331] RIP: 0033:0x7f3575952459 [ 29.750748][ T331] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 29.770192][ T331] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 29.778432][ T331] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 29.786245][ T331] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 29.794053][ T331] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 29.801963][ T331] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 29.809769][ T331] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000004 [pid 332] chdir("./file0"./strace-static-x86_64: Process 334 attached ) = 0 [pid 326] +++ exited with 0 +++ [pid 332] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=326, si_uid=0, si_status=0, si_utime=0, si_stime=24} --- [pid 332] <... add_key resumed>) = 802814909 [pid 332] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 293] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 332] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 332] <... openat resumed>) = 4 [pid 293] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 332] write(4, "24", 2 [pid 293] <... openat resumed>) = 3 [pid 332] <... write resumed>) = 2 [pid 293] newfstatat(3, "", [pid 332] symlink("./file0", "./file0" [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] unlink("./2/binderfs") = 0 [pid 293] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 335 attached ) = -1 EINVAL (Invalid argument) [pid 335] set_robust_list(0x555555a60660, 24 [pid 293] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 335] <... set_robust_list resumed>) = 0 [pid 293] <... openat resumed>) = 4 [pid 335] chdir("./4" [pid 293] newfstatat(4, "", [pid 335] <... chdir resumed>) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 335] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 293] getdents64(4, [pid 335] <... prctl resumed>) = 0 [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 335] setpgid(0, 0 [pid 293] getdents64(4, [pid 335] <... setpgid resumed>) = 0 [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 335] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 293] close(4 [pid 335] <... openat resumed>) = 3 [pid 293] <... close resumed>) = 0 [pid 335] write(3, "1000", 4 [pid 293] rmdir("./2/file0" [pid 335] <... write resumed>) = 4 [pid 293] <... rmdir resumed>) = 0 [pid 335] close(3 [pid 293] getdents64(3, [pid 335] <... close resumed>) = 0 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 335] symlink("/dev/binderfs", "./binderfs" [pid 293] close(3 [pid 335] <... symlink resumed>) = 0 [pid 293] <... close resumed>) = 0 [pid 335] mkdir("./file0", 000 [pid 293] rmdir("./2" [pid 335] <... mkdir resumed>) = 0 [pid 293] <... rmdir resumed>) = 0 [pid 335] open("./file0", O_RDONLY [pid 293] mkdir("./3", 0777 [pid 335] <... open resumed>) = 3 [pid 293] <... mkdir resumed>) = 0 [pid 335] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 335] <... ioctl resumed>) = 0 [pid 335] chdir("./file0" [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 336 [pid 335] <... chdir resumed>) = 0 [pid 335] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 7184369 [pid 335] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 335] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 335] write(4, "24", 2) = 2 [ 29.817584][ T331] [ 29.820441][ T332] CPU: 1 PID: 332 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 29.830514][ T332] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 29.840401][ T332] Call Trace: [ 29.843526][ T332] [ 29.846306][ T332] dump_stack_lvl+0x151/0x1b7 [ 29.850818][ T332] ? io_uring_drop_tctx_refs+0x190/0x190 [ 29.856720][ T332] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 29.862448][ T332] dump_stack+0x15/0x17 [pid 335] symlink("./file0", "./file0"./strace-static-x86_64: Process 336 attached [pid 334] set_robust_list(0x555555a60660, 24 [pid 331] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 336] set_robust_list(0x555555a60660, 24 [pid 334] <... set_robust_list resumed>) = 0 [pid 331] exit_group(0 [pid 336] <... set_robust_list resumed>) = 0 [pid 334] chdir("./3" [pid 331] <... exit_group resumed>) = ? [pid 336] chdir("./3" [pid 334] <... chdir resumed>) = 0 [pid 331] +++ exited with 0 +++ [pid 336] <... chdir resumed>) = 0 [pid 334] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 336] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 334] <... prctl resumed>) = 0 [pid 336] <... prctl resumed>) = 0 [pid 334] setpgid(0, 0 [pid 336] setpgid(0, 0 [pid 334] <... setpgid resumed>) = 0 [pid 336] <... setpgid resumed>) = 0 [pid 334] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 336] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 334] <... openat resumed>) = 3 [pid 336] <... openat resumed>) = 3 [pid 334] write(3, "1000", 4 [pid 336] write(3, "1000", 4 [pid 334] <... write resumed>) = 4 [pid 336] <... write resumed>) = 4 [pid 334] close(3 [pid 336] close(3 [pid 334] <... close resumed>) = 0 [pid 336] <... close resumed>) = 0 [pid 334] symlink("/dev/binderfs", "./binderfs" [pid 336] symlink("/dev/binderfs", "./binderfs" [pid 334] <... symlink resumed>) = 0 [pid 336] <... symlink resumed>) = 0 [pid 334] mkdir("./file0", 000 [pid 336] mkdir("./file0", 000 [pid 334] <... mkdir resumed>) = 0 [pid 336] <... mkdir resumed>) = 0 [pid 334] open("./file0", O_RDONLY [pid 336] open("./file0", O_RDONLY [pid 334] <... open resumed>) = 3 [pid 336] <... open resumed>) = 3 [pid 334] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 336] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 334] <... ioctl resumed>) = 0 [pid 336] <... ioctl resumed>) = 0 [pid 334] chdir("./file0" [pid 336] chdir("./file0" [pid 334] <... chdir resumed>) = 0 [pid 336] <... chdir resumed>) = 0 [pid 334] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 336] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 334] <... add_key resumed>) = 691615980 [pid 336] <... add_key resumed>) = 904793868 [pid 334] open("./bus", O_RDONLY [pid 336] open("./bus", O_RDONLY [pid 334] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 336] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 334] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 336] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 334] <... openat resumed>) = 4 [pid 336] <... openat resumed>) = 4 [pid 334] write(4, "24", 2 [pid 336] write(4, "24", 2 [pid 334] <... write resumed>) = 2 [ 29.866438][ T332] should_fail+0x3c6/0x510 [ 29.870693][ T332] __should_failslab+0xa4/0xe0 [ 29.875291][ T332] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 29.880418][ T332] should_failslab+0x9/0x20 [ 29.884756][ T332] slab_pre_alloc_hook+0x37/0xd0 [ 29.889537][ T332] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 29.890157][ T334] FAULT_INJECTION: forcing a failure. [ 29.890157][ T334] name failslab, interval 1, probability 0, space 0, times 0 [ 29.894646][ T332] kmem_cache_alloc+0x44/0x200 [ 29.907507][ T336] FAULT_INJECTION: forcing a failure. [ 29.907507][ T336] name failslab, interval 1, probability 0, space 0, times 0 [ 29.911657][ T332] ext4_mb_new_blocks+0xd97/0x43f0 [ 29.929023][ T332] ? ext4_mb_pa_callback+0xd0/0xd0 [ 29.933966][ T332] ? ext4_xattr_ibody_set+0x390/0x390 [ 29.939178][ T332] ext4_new_meta_blocks+0x206/0x4f0 [ 29.944205][ T332] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 29.949672][ T332] ? __entry_find+0x398/0x3f0 [ 29.954184][ T332] ? __kmalloc+0x13a/0x270 [ 29.958440][ T332] ext4_xattr_block_set+0x233e/0x3760 [ 29.963649][ T332] ? __ext4_journal_ensure_credits+0x470/0x470 [ 29.969635][ T332] ? ext4_xattr_block_find+0x520/0x520 [ 29.974935][ T332] ? __xattr_check_inode+0x3d5/0x440 [ 29.980054][ T332] ext4_xattr_set_handle+0xdac/0x1560 [ 29.985259][ T332] ? sidtab_sid2str_put+0x2d7/0x640 [ 29.990296][ T332] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 29.995675][ T332] ? selinux_inode_init_security+0x52d/0x780 [ 30.001489][ T332] ? selinux_inode_free_security+0x210/0x210 [ 30.007303][ T332] ext4_initxattrs+0xa7/0x120 [ 30.011817][ T332] security_inode_init_security+0x252/0x390 [ 30.017553][ T332] ? ext4_init_security+0x40/0x40 [ 30.022409][ T332] ? security_dentry_create_files_as+0xc0/0xc0 [ 30.028398][ T332] ? fscrypt_set_context+0x439/0x740 [ 30.033520][ T332] ? __ext4_set_acl+0x5e0/0x5e0 [ 30.038200][ T332] ? prandom_u32+0x24c/0x290 [ 30.042632][ T332] ext4_init_security+0x34/0x40 [ 30.047318][ T332] __ext4_new_inode+0x31f0/0x40a0 [ 30.052184][ T332] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 30.057732][ T332] ? dquot_initialize+0x20/0x20 [ 30.062417][ T332] ? selinux_determine_inode_label+0x29c/0x3b0 [ 30.068406][ T332] ext4_symlink+0x4c3/0xed0 [ 30.072748][ T332] ? ext4_unlink+0x3f0/0x3f0 [ 30.077210][ T332] ? selinux_inode_symlink+0x22/0x30 [ 30.082300][ T332] ? security_inode_symlink+0xb8/0x100 [ 30.087588][ T332] vfs_symlink+0x29f/0x480 [ 30.091843][ T332] do_symlinkat+0x1ea/0x5a0 [ 30.096179][ T332] ? __check_object_size+0x2ec/0x3d0 [ 30.101389][ T332] ? vfs_symlink+0x480/0x480 [ 30.105813][ T332] ? getname_flags+0x1fd/0x520 [ 30.110414][ T332] __x64_sys_symlink+0x7e/0x90 [ 30.115014][ T332] do_syscall_64+0x3d/0xb0 [ 30.119265][ T332] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 30.124995][ T332] RIP: 0033:0x7f3575952459 [ 30.129246][ T332] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 30.148698][ T332] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 30.156931][ T332] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 336] <... write resumed>) = 2 [pid 334] symlink("./file0", "./file0" [ 30.164751][ T332] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 30.172555][ T332] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 30.180376][ T332] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 30.188177][ T332] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000005 [ 30.195991][ T332] [ 30.199036][ T335] CPU: 1 PID: 335 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 30.209078][ T335] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 30.218974][ T335] Call Trace: [ 30.222099][ T335] [ 30.224873][ T335] dump_stack_lvl+0x151/0x1b7 [ 30.229389][ T335] ? io_uring_drop_tctx_refs+0x190/0x190 [ 30.234862][ T335] ? wb_get_create+0xe0a/0xe40 [ 30.239474][ T335] ? sb_end_intwrite+0x120/0x120 [ 30.244237][ T335] dump_stack+0x15/0x17 [ 30.248219][ T335] should_fail+0x3c6/0x510 [ 30.252475][ T335] __should_failslab+0xa4/0xe0 [ 30.257075][ T335] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 30.262193][ T335] should_failslab+0x9/0x20 [ 30.266535][ T335] slab_pre_alloc_hook+0x37/0xd0 [ 30.271309][ T335] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 30.276432][ T335] kmem_cache_alloc+0x44/0x200 [ 30.281032][ T335] ext4_mb_new_blocks+0x4ed/0x43f0 [ 30.285980][ T335] ? ext4_mb_pa_callback+0xd0/0xd0 [ 30.290928][ T335] ? ext4_xattr_ibody_set+0x390/0x390 [ 30.296134][ T335] ext4_new_meta_blocks+0x206/0x4f0 [ 30.301171][ T335] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 30.306635][ T335] ? __entry_find+0x398/0x3f0 [ 30.311149][ T335] ? __kmalloc+0x13a/0x270 [ 30.315403][ T335] ext4_xattr_block_set+0x233e/0x3760 [ 30.320618][ T335] ? __ext4_journal_ensure_credits+0x470/0x470 [ 30.326596][ T335] ? ext4_xattr_block_find+0x520/0x520 [ 30.331892][ T335] ? __xattr_check_inode+0x3d5/0x440 [ 30.337017][ T335] ext4_xattr_set_handle+0xdac/0x1560 [ 30.342218][ T335] ? sidtab_sid2str_put+0x2d7/0x640 [ 30.347256][ T335] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 30.352643][ T335] ? selinux_inode_init_security+0x52d/0x780 [ 30.358450][ T335] ? selinux_inode_free_security+0x210/0x210 [ 30.364268][ T335] ext4_initxattrs+0xa7/0x120 [ 30.368776][ T335] security_inode_init_security+0x252/0x390 [ 30.374508][ T335] ? ext4_init_security+0x40/0x40 [ 30.379366][ T335] ? security_dentry_create_files_as+0xc0/0xc0 [ 30.385354][ T335] ? fscrypt_set_context+0x439/0x740 [ 30.390475][ T335] ? __ext4_set_acl+0x5e0/0x5e0 [ 30.395163][ T335] ? prandom_u32+0x24c/0x290 [ 30.399587][ T335] ext4_init_security+0x34/0x40 [ 30.404278][ T335] __ext4_new_inode+0x31f0/0x40a0 [ 30.409143][ T335] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 30.414688][ T335] ? dquot_initialize+0x20/0x20 [ 30.419375][ T335] ? selinux_determine_inode_label+0x29c/0x3b0 [ 30.425365][ T335] ext4_symlink+0x4c3/0xed0 [ 30.429713][ T335] ? ext4_unlink+0x3f0/0x3f0 [ 30.434137][ T335] ? selinux_inode_symlink+0x22/0x30 [ 30.439251][ T335] ? security_inode_symlink+0xb8/0x100 [ 30.444545][ T335] vfs_symlink+0x29f/0x480 [ 30.448803][ T335] do_symlinkat+0x1ea/0x5a0 [ 30.453139][ T335] ? __check_object_size+0x2ec/0x3d0 [ 30.458259][ T335] ? vfs_symlink+0x480/0x480 [ 30.462686][ T335] ? getname_flags+0x1fd/0x520 [ 30.467288][ T335] __x64_sys_symlink+0x7e/0x90 [ 30.471886][ T335] do_syscall_64+0x3d/0xb0 [ 30.476137][ T335] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 30.481868][ T335] RIP: 0033:0x7f3575952459 [ 30.486124][ T335] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 30.505562][ T335] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 30.513807][ T335] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 30.521620][ T335] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 30.529433][ T335] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 30.537243][ T335] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 30.545053][ T335] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000004 [ 30.552866][ T335] [ 30.555727][ T334] CPU: 0 PID: 334 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 30.565799][ T334] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 30.575694][ T334] Call Trace: [ 30.578815][ T334] [ 30.581593][ T334] dump_stack_lvl+0x151/0x1b7 [ 30.586106][ T334] ? io_uring_drop_tctx_refs+0x190/0x190 [ 30.591576][ T334] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 30.597301][ T334] dump_stack+0x15/0x17 [ 30.601294][ T334] should_fail+0x3c6/0x510 [ 30.605549][ T334] __should_failslab+0xa4/0xe0 [ 30.610143][ T334] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 30.615268][ T334] should_failslab+0x9/0x20 [ 30.619610][ T334] slab_pre_alloc_hook+0x37/0xd0 [ 30.624378][ T334] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 30.629501][ T334] kmem_cache_alloc+0x44/0x200 [ 30.634099][ T334] ext4_mb_new_blocks+0xd97/0x43f0 [ 30.639053][ T334] ? ext4_mb_pa_callback+0xd0/0xd0 [ 30.643997][ T334] ? ext4_xattr_ibody_set+0x390/0x390 [ 30.649208][ T334] ext4_new_meta_blocks+0x206/0x4f0 [ 30.654240][ T334] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 30.659704][ T334] ? __entry_find+0x398/0x3f0 [ 30.664216][ T334] ? __kmalloc+0x13a/0x270 [pid 336] symlink("./file0", "./file0" [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=331, si_uid=0, si_status=0, si_utime=0, si_stime=2} --- [pid 295] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./4/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./4/binderfs") = 0 [pid 295] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./4/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 295] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] close(4) = 0 [pid 295] rmdir("./4/file0") = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3) = 0 [pid 295] rmdir("./4") = 0 [pid 295] mkdir("./5", 0777) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 338 [ 30.668472][ T334] ext4_xattr_block_set+0x233e/0x3760 [ 30.673685][ T334] ? __ext4_journal_ensure_credits+0x470/0x470 [ 30.679670][ T334] ? ext4_xattr_block_find+0x520/0x520 [ 30.684962][ T334] ? __xattr_check_inode+0x3d5/0x440 [ 30.690083][ T334] ext4_xattr_set_handle+0xdac/0x1560 [ 30.695293][ T334] ? sidtab_sid2str_put+0x2d7/0x640 [ 30.700335][ T334] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 30.705716][ T334] ? selinux_inode_init_security+0x52d/0x780 [ 30.711525][ T334] ? selinux_inode_free_security+0x210/0x210 [ 30.717336][ T334] ext4_initxattrs+0xa7/0x120 [ 30.721852][ T334] security_inode_init_security+0x252/0x390 [ 30.727583][ T334] ? ext4_init_security+0x40/0x40 [ 30.732444][ T334] ? security_dentry_create_files_as+0xc0/0xc0 [ 30.738431][ T334] ? fscrypt_set_context+0x439/0x740 [ 30.743548][ T334] ? __ext4_set_acl+0x5e0/0x5e0 [ 30.748246][ T334] ? prandom_u32+0x24c/0x290 [ 30.752666][ T334] ext4_init_security+0x34/0x40 [ 30.757348][ T334] __ext4_new_inode+0x31f0/0x40a0 [ 30.762302][ T334] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 30.767855][ T334] ? dquot_initialize+0x20/0x20 [ 30.772623][ T334] ? selinux_determine_inode_label+0x29c/0x3b0 [ 30.778614][ T334] ext4_symlink+0x4c3/0xed0 [ 30.782953][ T334] ? ext4_unlink+0x3f0/0x3f0 [ 30.787378][ T334] ? selinux_inode_symlink+0x22/0x30 [ 30.792500][ T334] ? security_inode_symlink+0xb8/0x100 [ 30.797794][ T334] vfs_symlink+0x29f/0x480 [ 30.802046][ T334] do_symlinkat+0x1ea/0x5a0 [ 30.806390][ T334] ? __check_object_size+0x2ec/0x3d0 [ 30.811511][ T334] ? vfs_symlink+0x480/0x480 [ 30.815934][ T334] ? getname_flags+0x1fd/0x520 [ 30.820538][ T334] __x64_sys_symlink+0x7e/0x90 [ 30.825136][ T334] do_syscall_64+0x3d/0xb0 [ 30.829387][ T334] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 30.835113][ T334] RIP: 0033:0x7f3575952459 [ 30.839371][ T334] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 30.858812][ T334] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 30.867056][ T334] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 30.874867][ T334] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 30.882683][ T334] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 30.890489][ T334] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 30.898298][ T334] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000003 [ 30.906118][ T334] [ 30.908978][ T336] CPU: 1 PID: 336 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 30.919045][ T336] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 30.928936][ T336] Call Trace: [ 30.932061][ T336] [ 30.934838][ T336] dump_stack_lvl+0x151/0x1b7 [ 30.939351][ T336] ? io_uring_drop_tctx_refs+0x190/0x190 [ 30.944820][ T336] ? wb_get_create+0xe0a/0xe40 [ 30.949420][ T336] ? sb_end_intwrite+0x120/0x120 [ 30.954194][ T336] dump_stack+0x15/0x17 [ 30.958189][ T336] should_fail+0x3c6/0x510 [ 30.962445][ T336] __should_failslab+0xa4/0xe0 [ 30.967040][ T336] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 30.972159][ T336] should_failslab+0x9/0x20 [ 30.976501][ T336] slab_pre_alloc_hook+0x37/0xd0 [ 30.981276][ T336] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 30.986395][ T336] kmem_cache_alloc+0x44/0x200 [ 30.990993][ T336] ext4_mb_new_blocks+0x4ed/0x43f0 [ 30.995954][ T336] ? ext4_mb_pa_callback+0xd0/0xd0 [ 31.000897][ T336] ? ext4_xattr_ibody_set+0x390/0x390 [ 31.006100][ T336] ext4_new_meta_blocks+0x206/0x4f0 [ 31.011134][ T336] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 31.016598][ T336] ? __entry_find+0x398/0x3f0 [ 31.021210][ T336] ? __kmalloc+0x13a/0x270 [ 31.025453][ T336] ext4_xattr_block_set+0x233e/0x3760 [ 31.030662][ T336] ? __ext4_journal_ensure_credits+0x470/0x470 [ 31.036647][ T336] ? ext4_xattr_block_find+0x520/0x520 [ 31.041945][ T336] ? __xattr_check_inode+0x3d5/0x440 [ 31.047064][ T336] ext4_xattr_set_handle+0xdac/0x1560 [ 31.052271][ T336] ? sidtab_sid2str_put+0x2d7/0x640 [ 31.057304][ T336] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 31.062687][ T336] ? selinux_inode_init_security+0x52d/0x780 [ 31.068503][ T336] ? selinux_inode_free_security+0x210/0x210 [ 31.074314][ T336] ext4_initxattrs+0xa7/0x120 [ 31.078826][ T336] security_inode_init_security+0x252/0x390 [ 31.084553][ T336] ? ext4_init_security+0x40/0x40 [ 31.089415][ T336] ? security_dentry_create_files_as+0xc0/0xc0 [ 31.095402][ T336] ? fscrypt_set_context+0x439/0x740 [ 31.100525][ T336] ? __ext4_set_acl+0x5e0/0x5e0 [ 31.105213][ T336] ? prandom_u32+0x24c/0x290 [ 31.109641][ T336] ext4_init_security+0x34/0x40 [ 31.114327][ T336] __ext4_new_inode+0x31f0/0x40a0 [ 31.119190][ T336] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 31.124754][ T336] ? dquot_initialize+0x20/0x20 [ 31.129433][ T336] ? selinux_determine_inode_label+0x29c/0x3b0 [ 31.135422][ T336] ext4_symlink+0x4c3/0xed0 [ 31.139762][ T336] ? ext4_unlink+0x3f0/0x3f0 [ 31.144184][ T336] ? selinux_inode_symlink+0x22/0x30 [ 31.149308][ T336] ? security_inode_symlink+0xb8/0x100 [ 31.154600][ T336] vfs_symlink+0x29f/0x480 [ 31.158851][ T336] do_symlinkat+0x1ea/0x5a0 [ 31.163191][ T336] ? __check_object_size+0x2ec/0x3d0 [ 31.168310][ T336] ? vfs_symlink+0x480/0x480 [ 31.172736][ T336] ? getname_flags+0x1fd/0x520 [ 31.177340][ T336] __x64_sys_symlink+0x7e/0x90 [ 31.181936][ T336] do_syscall_64+0x3d/0xb0 [ 31.186189][ T336] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 31.191918][ T336] RIP: 0033:0x7f3575952459 [ 31.196173][ T336] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 31.215613][ T336] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 ./strace-static-x86_64: Process 338 attached [pid 335] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 335] exit_group(0) = ? [pid 335] +++ exited with 0 +++ [pid 332] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 332] exit_group(0) = ? [pid 332] +++ exited with 0 +++ [pid 336] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [ 31.223856][ T336] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 31.231672][ T336] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 31.239479][ T336] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 31.247293][ T336] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 31.255103][ T336] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000003 [ 31.262915][ T336] [ 31.265802][ T333] CPU: 0 PID: 333 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [pid 336] exit_group(0) = ? [pid 336] +++ exited with 0 +++ [pid 334] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 334] exit_group(0) = ? [pid 334] +++ exited with 0 +++ [ 31.275860][ T333] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 31.285743][ T333] Call Trace: [ 31.288867][ T333] [ 31.291646][ T333] dump_stack_lvl+0x151/0x1b7 [ 31.296155][ T333] ? io_uring_drop_tctx_refs+0x190/0x190 [ 31.301629][ T333] dump_stack+0x15/0x17 [ 31.305616][ T333] should_fail+0x3c6/0x510 [ 31.309868][ T333] __should_failslab+0xa4/0xe0 [ 31.314588][ T333] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 31.319711][ T333] should_failslab+0x9/0x20 [ 31.324048][ T333] slab_pre_alloc_hook+0x37/0xd0 [ 31.328821][ T333] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 31.333954][ T333] kmem_cache_alloc+0x44/0x200 [ 31.338628][ T333] ext4_mb_new_blocks+0x4ed/0x43f0 [ 31.343581][ T333] ? ext4_mb_pa_callback+0xd0/0xd0 [ 31.348522][ T333] ? ext4_xattr_ibody_set+0x390/0x390 [ 31.353730][ T333] ext4_new_meta_blocks+0x206/0x4f0 [ 31.358772][ T333] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 31.364324][ T333] ? __entry_find+0x398/0x3f0 [ 31.368834][ T333] ? __kmalloc+0x13a/0x270 [ 31.373090][ T333] ext4_xattr_block_set+0x233e/0x3760 [ 31.378297][ T333] ? __ext4_journal_ensure_credits+0x470/0x470 [ 31.384284][ T333] ? ext4_xattr_block_find+0x520/0x520 [ 31.389680][ T333] ? __xattr_check_inode+0x3d5/0x440 [ 31.394795][ T333] ext4_xattr_set_handle+0xdac/0x1560 [ 31.400001][ T333] ? sidtab_sid2str_put+0x2d7/0x640 [ 31.405043][ T333] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 31.410421][ T333] ? selinux_inode_init_security+0x52d/0x780 [ 31.416233][ T333] ? selinux_inode_free_security+0x210/0x210 [ 31.422055][ T333] ext4_initxattrs+0xa7/0x120 [ 31.426562][ T333] security_inode_init_security+0x252/0x390 [ 31.432289][ T333] ? ext4_init_security+0x40/0x40 [ 31.437155][ T333] ? security_dentry_create_files_as+0xc0/0xc0 [ 31.443135][ T333] ? fscrypt_set_context+0x439/0x740 [ 31.448260][ T333] ? __ext4_set_acl+0x5e0/0x5e0 [ 31.452947][ T333] ? prandom_u32+0x24c/0x290 [ 31.457373][ T333] ext4_init_security+0x34/0x40 [ 31.462058][ T333] __ext4_new_inode+0x31f0/0x40a0 [ 31.466921][ T333] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 31.472471][ T333] ? dquot_initialize+0x20/0x20 [ 31.477158][ T333] ? selinux_determine_inode_label+0x29c/0x3b0 [ 31.483150][ T333] ext4_symlink+0x4c3/0xed0 [ 31.487488][ T333] ? ext4_unlink+0x3f0/0x3f0 [ 31.491913][ T333] ? selinux_inode_symlink+0x22/0x30 [ 31.497120][ T333] ? security_inode_symlink+0xb8/0x100 [ 31.502414][ T333] vfs_symlink+0x29f/0x480 [ 31.506680][ T333] do_symlinkat+0x1ea/0x5a0 [ 31.511007][ T333] ? __check_object_size+0x2ec/0x3d0 [ 31.516130][ T333] ? vfs_symlink+0x480/0x480 [ 31.520556][ T333] ? getname_flags+0x1fd/0x520 [ 31.525154][ T333] __x64_sys_symlink+0x7e/0x90 [ 31.529757][ T333] do_syscall_64+0x3d/0xb0 [ 31.534007][ T333] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 31.539735][ T333] RIP: 0033:0x7f3575952459 [ 31.543997][ T333] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 31.563454][ T333] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 338] set_robust_list(0x555555a60660, 24 [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=332, si_uid=0, si_status=0, si_utime=0, si_stime=7} --- [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=334, si_uid=0, si_status=0, si_utime=0, si_stime=15} --- [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=335, si_uid=0, si_status=0, si_utime=0, si_stime=9} --- [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=336, si_uid=0, si_status=0, si_utime=0, si_stime=35} --- [pid 338] <... set_robust_list resumed>) = 0 [pid 333] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 338] chdir("./5") = 0 [pid 333] exit_group(0 [pid 338] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 333] <... exit_group resumed>) = ? [pid 298] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW [pid 338] <... prctl resumed>) = 0 [pid 294] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW [pid 338] setpgid(0, 0 [pid 333] +++ exited with 0 +++ [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 338] <... setpgid resumed>) = 0 [pid 298] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=333, si_uid=0, si_status=0, si_utime=0, si_stime=42} --- [pid 296] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 338] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 298] <... openat resumed>) = 3 [pid 297] restart_syscall(<... resuming interrupted clone ...> [pid 298] newfstatat(3, "", [pid 296] <... openat resumed>) = 3 [pid 294] <... openat resumed>) = 3 [pid 293] <... openat resumed>) = 3 [pid 297] <... restart_syscall resumed>) = 0 [pid 338] <... openat resumed>) = 3 [pid 294] newfstatat(3, "", [pid 293] newfstatat(3, "", [pid 296] newfstatat(3, "", [pid 338] write(3, "1000", 4 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, [pid 338] <... write resumed>) = 4 [pid 297] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] getdents64(3, [pid 294] getdents64(3, [pid 293] getdents64(3, [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 338] close(3 [pid 298] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 338] <... close resumed>) = 0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 338] symlink("/dev/binderfs", "./binderfs" [pid 298] newfstatat(AT_FDCWD, "./5/binderfs", [pid 297] <... openat resumed>) = 3 [pid 296] newfstatat(AT_FDCWD, "./3/binderfs", [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 338] <... symlink resumed>) = 0 [pid 298] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] newfstatat(3, "", [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] newfstatat(AT_FDCWD, "./4/binderfs", [pid 293] newfstatat(AT_FDCWD, "./3/binderfs", [pid 338] mkdir("./file0", 000 [pid 298] unlink("./5/binderfs" [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] unlink("./3/binderfs" [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 338] <... mkdir resumed>) = 0 [pid 338] open("./file0", O_RDONLY [pid 298] <... unlink resumed>) = 0 [pid 297] getdents64(3, [pid 296] <... unlink resumed>) = 0 [pid 294] unlink("./4/binderfs" [pid 293] unlink("./3/binderfs" [pid 338] <... open resumed>) = 3 [pid 298] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... unlink resumed>) = 0 [pid 338] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 298] newfstatat(AT_FDCWD, "./5/file0", [pid 297] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... unlink resumed>) = 0 [pid 338] <... ioctl resumed>) = 0 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./3/file0", [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 338] chdir("./file0" [pid 298] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] newfstatat(AT_FDCWD, "./4/binderfs", [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] newfstatat(AT_FDCWD, "./4/file0", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 338] <... chdir resumed>) = 0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] newfstatat(AT_FDCWD, "./3/file0", [pid 338] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 298] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] unlink("./4/binderfs" [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 338] <... add_key resumed>) = 629143388 [pid 298] <... openat resumed>) = 4 [pid 297] <... unlink resumed>) = 0 [pid 296] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 338] open("./bus", O_RDONLY [pid 298] newfstatat(4, "", [pid 297] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... openat resumed>) = 4 [pid 294] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 338] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(4, "", [pid 294] <... openat resumed>) = 4 [pid 293] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 338] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 298] getdents64(4, [pid 297] newfstatat(AT_FDCWD, "./4/file0", [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] newfstatat(4, "", [pid 293] <... openat resumed>) = 4 [pid 338] <... openat resumed>) = 4 [pid 298] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] getdents64(4, [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] newfstatat(4, "", [pid 338] write(4, "24", 2 [pid 298] getdents64(4, [pid 297] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 338] <... write resumed>) = 2 [pid 298] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] getdents64(4, [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] getdents64(4, [ 31.571678][ T333] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 31.579493][ T333] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 31.587298][ T333] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 31.595119][ T333] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 31.602925][ T333] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000004 [ 31.610829][ T333] [pid 338] symlink("./file0", "./file0" [pid 298] close(4 [pid 297] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] getdents64(4, [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] <... close resumed>) = 0 [pid 294] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] rmdir("./5/file0" [pid 294] close(4 [pid 298] <... rmdir resumed>) = 0 [pid 294] <... close resumed>) = 0 [pid 298] getdents64(3, [pid 294] rmdir("./4/file0" [pid 298] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 298] close(3 [pid 294] getdents64(3, [pid 298] <... close resumed>) = 0 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] rmdir("./5" [pid 294] close(3 [pid 298] <... rmdir resumed>) = 0 [pid 294] <... close resumed>) = 0 [pid 298] mkdir("./6", 0777 [pid 294] rmdir("./4" [pid 298] <... mkdir resumed>) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] mkdir("./5", 0777) = 0 [pid 298] <... clone resumed>, child_tidptr=0x555555a60650) = 340 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 341 ./strace-static-x86_64: Process 340 attached [pid 340] set_robust_list(0x555555a60660, 24) = 0 [pid 340] chdir("./6") = 0 [pid 297] <... openat resumed>) = 4 [pid 296] close(4 [pid 293] getdents64(4, [pid 340] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 341 attached [pid 297] newfstatat(4, "", [pid 296] <... close resumed>) = 0 [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 340] <... prctl resumed>) = 0 [pid 340] setpgid(0, 0) = 0 [pid 340] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 340] write(3, "1000", 4) = 4 [pid 340] close(3) = 0 [pid 340] symlink("/dev/binderfs", "./binderfs") = 0 [pid 340] mkdir("./file0", 000) = 0 [pid 340] open("./file0", O_RDONLY) = 3 [pid 340] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 340] chdir("./file0") = 0 [pid 340] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 23863297 [pid 340] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 340] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 340] write(4, "24", 2) = 2 [ 31.631773][ T338] FAULT_INJECTION: forcing a failure. [ 31.631773][ T338] name failslab, interval 1, probability 0, space 0, times 0 [ 31.644994][ T338] CPU: 0 PID: 338 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 31.653281][ T340] FAULT_INJECTION: forcing a failure. [ 31.653281][ T340] name failslab, interval 1, probability 0, space 0, times 0 [ 31.655065][ T338] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 31.655080][ T338] Call Trace: [pid 340] symlink("./file0", "./file0" [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] close(4) = 0 [pid 297] rmdir("./4/file0") = 0 [pid 297] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] close(3) = 0 [pid 297] rmdir("./4") = 0 [pid 297] mkdir("./5", 0777) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 342 [ 31.655086][ T338] [ 31.655093][ T338] dump_stack_lvl+0x151/0x1b7 [ 31.687788][ T338] ? io_uring_drop_tctx_refs+0x190/0x190 [ 31.693255][ T338] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 31.699001][ T338] dump_stack+0x15/0x17 [ 31.702975][ T338] should_fail+0x3c6/0x510 [ 31.707319][ T338] __should_failslab+0xa4/0xe0 [ 31.711920][ T338] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 31.717039][ T338] should_failslab+0x9/0x20 [ 31.721375][ T338] slab_pre_alloc_hook+0x37/0xd0 [ 31.726153][ T338] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 31.731277][ T338] kmem_cache_alloc+0x44/0x200 [ 31.731667][ T342] FAULT_INJECTION: forcing a failure. [ 31.731667][ T342] name failslab, interval 1, probability 0, space 0, times 0 [ 31.735870][ T338] ext4_mb_new_blocks+0xd97/0x43f0 [ 31.735900][ T338] ? ext4_mb_pa_callback+0xd0/0xd0 [ 31.758178][ T338] ? ext4_xattr_ibody_set+0x390/0x390 [ 31.763384][ T338] ext4_new_meta_blocks+0x206/0x4f0 [ 31.768415][ T338] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 31.773888][ T338] ? __entry_find+0x398/0x3f0 [ 31.778397][ T338] ? __kmalloc+0x13a/0x270 [ 31.782650][ T338] ext4_xattr_block_set+0x233e/0x3760 [ 31.787862][ T338] ? __ext4_journal_ensure_credits+0x470/0x470 [ 31.793935][ T338] ? ext4_xattr_block_find+0x520/0x520 [ 31.799228][ T338] ? __xattr_check_inode+0x3d5/0x440 [ 31.804350][ T338] ext4_xattr_set_handle+0xdac/0x1560 [ 31.809565][ T338] ? sidtab_sid2str_put+0x2d7/0x640 [ 31.814595][ T338] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 31.819977][ T338] ? selinux_inode_init_security+0x52d/0x780 [ 31.825795][ T338] ? selinux_inode_free_security+0x210/0x210 [ 31.826322][ T341] FAULT_INJECTION: forcing a failure. [ 31.826322][ T341] name failslab, interval 1, probability 0, space 0, times 0 [ 31.831600][ T338] ext4_initxattrs+0xa7/0x120 [ 31.831623][ T338] security_inode_init_security+0x252/0x390 [ 31.854257][ T338] ? ext4_init_security+0x40/0x40 [ 31.859113][ T338] ? security_dentry_create_files_as+0xc0/0xc0 [ 31.865106][ T338] ? fscrypt_set_context+0x439/0x740 [ 31.870228][ T338] ? __ext4_set_acl+0x5e0/0x5e0 [ 31.874909][ T338] ? prandom_u32+0x24c/0x290 [ 31.879338][ T338] ext4_init_security+0x34/0x40 [ 31.884033][ T338] __ext4_new_inode+0x31f0/0x40a0 [ 31.888895][ T338] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 31.894440][ T338] ? dquot_initialize+0x20/0x20 [ 31.899128][ T338] ? selinux_determine_inode_label+0x29c/0x3b0 [ 31.905124][ T338] ext4_symlink+0x4c3/0xed0 [ 31.909459][ T338] ? ext4_unlink+0x3f0/0x3f0 [ 31.913880][ T338] ? selinux_inode_symlink+0x22/0x30 [ 31.918999][ T338] ? security_inode_symlink+0xb8/0x100 [ 31.924295][ T338] vfs_symlink+0x29f/0x480 [ 31.928552][ T338] do_symlinkat+0x1ea/0x5a0 [ 31.932887][ T338] ? __check_object_size+0x2ec/0x3d0 [ 31.938013][ T338] ? vfs_symlink+0x480/0x480 [ 31.942437][ T338] ? getname_flags+0x1fd/0x520 [ 31.947036][ T338] __x64_sys_symlink+0x7e/0x90 [ 31.951637][ T338] do_syscall_64+0x3d/0xb0 [ 31.955891][ T338] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 31.961615][ T338] RIP: 0033:0x7f3575952459 [ 31.965867][ T338] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 31.985310][ T338] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 31.993554][ T338] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 32.001462][ T338] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 32.009263][ T338] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 32.017080][ T338] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 32.024889][ T338] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000005 ./strace-static-x86_64: Process 342 attached [pid 342] set_robust_list(0x555555a60660, 24) = 0 [pid 342] chdir("./5") = 0 [pid 342] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 342] setpgid(0, 0) = 0 [pid 342] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 342] write(3, "1000", 4) = 4 [pid 342] close(3) = 0 [pid 342] symlink("/dev/binderfs", "./binderfs") = 0 [pid 342] mkdir("./file0", 000) = 0 [pid 342] open("./file0", O_RDONLY) = 3 [pid 342] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 342] chdir("./file0") = 0 [pid 342] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 132217113 [pid 342] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 342] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 342] write(4, "24", 2) = 2 [pid 342] symlink("./file0", "./file0" [pid 341] set_robust_list(0x555555a60660, 24) = 0 [pid 341] chdir("./5") = 0 [pid 341] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 341] setpgid(0, 0) = 0 [pid 341] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 341] write(3, "1000", 4) = 4 [pid 341] close(3) = 0 [pid 341] symlink("/dev/binderfs", "./binderfs") = 0 [pid 341] mkdir("./file0", 000) = 0 [pid 341] open("./file0", O_RDONLY) = 3 [pid 341] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 341] chdir("./file0") = 0 [pid 341] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 497135019 [pid 341] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 341] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 341] write(4, "24", 2) = 2 [ 32.032705][ T338] [ 32.035571][ T340] CPU: 1 PID: 340 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 32.045634][ T340] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 32.055527][ T340] Call Trace: [ 32.058650][ T340] [ 32.061430][ T340] dump_stack_lvl+0x151/0x1b7 [ 32.065941][ T340] ? io_uring_drop_tctx_refs+0x190/0x190 [ 32.071408][ T340] ? wb_get_create+0xe0a/0xe40 [ 32.076007][ T340] ? sb_end_intwrite+0x120/0x120 [ 32.080784][ T340] dump_stack+0x15/0x17 [ 32.084772][ T340] should_fail+0x3c6/0x510 [ 32.089027][ T340] __should_failslab+0xa4/0xe0 [ 32.093627][ T340] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 32.098749][ T340] should_failslab+0x9/0x20 [ 32.103216][ T340] slab_pre_alloc_hook+0x37/0xd0 [ 32.107990][ T340] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 32.113112][ T340] kmem_cache_alloc+0x44/0x200 [ 32.117709][ T340] ext4_mb_new_blocks+0x4ed/0x43f0 [ 32.122664][ T340] ? ext4_mb_pa_callback+0xd0/0xd0 [ 32.127605][ T340] ? ext4_xattr_ibody_set+0x390/0x390 [ 32.132812][ T340] ext4_new_meta_blocks+0x206/0x4f0 [ 32.137848][ T340] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 32.143318][ T340] ? __entry_find+0x398/0x3f0 [ 32.147826][ T340] ? __kmalloc+0x13a/0x270 [ 32.152086][ T340] ext4_xattr_block_set+0x233e/0x3760 [ 32.157289][ T340] ? __ext4_journal_ensure_credits+0x470/0x470 [ 32.163276][ T340] ? ext4_xattr_block_find+0x520/0x520 [ 32.168577][ T340] ? __xattr_check_inode+0x3d5/0x440 [ 32.173696][ T340] ext4_xattr_set_handle+0xdac/0x1560 [ 32.178896][ T340] ? sidtab_sid2str_put+0x2d7/0x640 [ 32.183937][ T340] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 32.189360][ T340] ? selinux_inode_init_security+0x52d/0x780 [ 32.195128][ T340] ? selinux_inode_free_security+0x210/0x210 [ 32.200945][ T340] ext4_initxattrs+0xa7/0x120 [ 32.205461][ T340] security_inode_init_security+0x252/0x390 [ 32.211186][ T340] ? ext4_init_security+0x40/0x40 [ 32.216045][ T340] ? security_dentry_create_files_as+0xc0/0xc0 [ 32.222032][ T340] ? fscrypt_set_context+0x439/0x740 [ 32.227157][ T340] ? __ext4_set_acl+0x5e0/0x5e0 [ 32.231844][ T340] ? prandom_u32+0x24c/0x290 [ 32.236268][ T340] ext4_init_security+0x34/0x40 [ 32.240954][ T340] __ext4_new_inode+0x31f0/0x40a0 [ 32.245818][ T340] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 32.251370][ T340] ? dquot_initialize+0x20/0x20 [ 32.256058][ T340] ? selinux_determine_inode_label+0x29c/0x3b0 [ 32.262064][ T340] ext4_symlink+0x4c3/0xed0 [ 32.266389][ T340] ? ext4_unlink+0x3f0/0x3f0 [ 32.270815][ T340] ? selinux_inode_symlink+0x22/0x30 [ 32.275936][ T340] ? security_inode_symlink+0xb8/0x100 [ 32.281227][ T340] vfs_symlink+0x29f/0x480 [ 32.285479][ T340] do_symlinkat+0x1ea/0x5a0 [ 32.289818][ T340] ? __check_object_size+0x2ec/0x3d0 [ 32.294939][ T340] ? vfs_symlink+0x480/0x480 [ 32.299373][ T340] ? getname_flags+0x1fd/0x520 [ 32.303965][ T340] __x64_sys_symlink+0x7e/0x90 [ 32.308568][ T340] do_syscall_64+0x3d/0xb0 [ 32.312820][ T340] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 32.318556][ T340] RIP: 0033:0x7f3575952459 [ 32.322823][ T340] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 32.342239][ T340] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 32.350485][ T340] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 32.358296][ T340] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 32.366107][ T340] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 32.373919][ T340] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [pid 341] symlink("./file0", "./file0" [pid 338] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 296] rmdir("./3/file0" [pid 293] close(4 [pid 338] exit_group(0 [pid 296] <... rmdir resumed>) = 0 [pid 293] <... close resumed>) = 0 [pid 338] <... exit_group resumed>) = ? [pid 296] getdents64(3, [pid 293] rmdir("./3/file0" [pid 338] +++ exited with 0 +++ [ 32.381731][ T340] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000006 [ 32.389546][ T340] [ 32.394613][ T342] CPU: 0 PID: 342 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 32.404671][ T342] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 32.414563][ T342] Call Trace: [ 32.417684][ T342] [ 32.420557][ T342] dump_stack_lvl+0x151/0x1b7 [ 32.425066][ T342] ? io_uring_drop_tctx_refs+0x190/0x190 [ 32.430534][ T342] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 32.436260][ T342] dump_stack+0x15/0x17 [ 32.440255][ T342] should_fail+0x3c6/0x510 [ 32.444506][ T342] __should_failslab+0xa4/0xe0 [ 32.449103][ T342] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 32.454229][ T342] should_failslab+0x9/0x20 [ 32.458565][ T342] slab_pre_alloc_hook+0x37/0xd0 [ 32.463345][ T342] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 32.468461][ T342] kmem_cache_alloc+0x44/0x200 [ 32.473068][ T342] ext4_mb_new_blocks+0xd97/0x43f0 [ 32.478013][ T342] ? ext4_mb_pa_callback+0xd0/0xd0 [ 32.482955][ T342] ? ext4_xattr_ibody_set+0x390/0x390 [ 32.488165][ T342] ext4_new_meta_blocks+0x206/0x4f0 [ 32.493198][ T342] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 32.498669][ T342] ? __entry_find+0x398/0x3f0 [ 32.503179][ T342] ? __kmalloc+0x13a/0x270 [ 32.507433][ T342] ext4_xattr_block_set+0x233e/0x3760 [ 32.512644][ T342] ? __ext4_journal_ensure_credits+0x470/0x470 [ 32.518630][ T342] ? ext4_xattr_block_find+0x520/0x520 [ 32.523922][ T342] ? __xattr_check_inode+0x3d5/0x440 [ 32.529046][ T342] ext4_xattr_set_handle+0xdac/0x1560 [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=338, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- [pid 295] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 295] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 32.534248][ T342] ? sidtab_sid2str_put+0x2d7/0x640 [ 32.539287][ T342] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 32.544673][ T342] ? selinux_inode_init_security+0x52d/0x780 [ 32.550504][ T342] ? selinux_inode_free_security+0x210/0x210 [ 32.556303][ T342] ext4_initxattrs+0xa7/0x120 [ 32.560810][ T342] security_inode_init_security+0x252/0x390 [ 32.566542][ T342] ? ext4_init_security+0x40/0x40 [ 32.571405][ T342] ? security_dentry_create_files_as+0xc0/0xc0 [ 32.577389][ T342] ? fscrypt_set_context+0x439/0x740 [ 32.582514][ T342] ? __ext4_set_acl+0x5e0/0x5e0 [ 32.587198][ T342] ? prandom_u32+0x24c/0x290 [ 32.591629][ T342] ext4_init_security+0x34/0x40 [ 32.596311][ T342] __ext4_new_inode+0x31f0/0x40a0 [ 32.601176][ T342] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 32.606727][ T342] ? dquot_initialize+0x20/0x20 [ 32.611413][ T342] ? selinux_determine_inode_label+0x29c/0x3b0 [ 32.617406][ T342] ext4_symlink+0x4c3/0xed0 [ 32.621742][ T342] ? ext4_unlink+0x3f0/0x3f0 [ 32.626164][ T342] ? selinux_inode_symlink+0x22/0x30 [ 32.631285][ T342] ? security_inode_symlink+0xb8/0x100 [ 32.636580][ T342] vfs_symlink+0x29f/0x480 [ 32.640835][ T342] do_symlinkat+0x1ea/0x5a0 [ 32.645172][ T342] ? __check_object_size+0x2ec/0x3d0 [ 32.650293][ T342] ? vfs_symlink+0x480/0x480 [ 32.654719][ T342] ? getname_flags+0x1fd/0x520 [ 32.659334][ T342] __x64_sys_symlink+0x7e/0x90 [ 32.663922][ T342] do_syscall_64+0x3d/0xb0 [ 32.668175][ T342] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 32.673910][ T342] RIP: 0033:0x7f3575952459 [ 32.678155][ T342] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 32.697598][ T342] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 32.705931][ T342] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 32.713741][ T342] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 32.721548][ T342] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 32.729360][ T342] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [pid 295] getdents64(3, [pid 342] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 342] exit_group(0 [pid 340] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 342] <... exit_group resumed>) = ? [pid 342] +++ exited with 0 +++ [pid 340] exit_group(0) = ? [pid 340] +++ exited with 0 +++ [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=342, si_uid=0, si_status=0, si_utime=0, si_stime=14} --- [pid 297] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 297] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 297] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(3, [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=340, si_uid=0, si_status=0, si_utime=0, si_stime=18} --- [pid 298] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 298] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 32.737175][ T342] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000005 [ 32.744988][ T342] [ 32.750385][ T341] CPU: 0 PID: 341 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 32.760462][ T341] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 32.770336][ T341] Call Trace: [ 32.773468][ T341] [ 32.776240][ T341] dump_stack_lvl+0x151/0x1b7 [ 32.780754][ T341] ? io_uring_drop_tctx_refs+0x190/0x190 [ 32.786218][ T341] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 32.791949][ T341] dump_stack+0x15/0x17 [ 32.795943][ T341] should_fail+0x3c6/0x510 [ 32.800192][ T341] __should_failslab+0xa4/0xe0 [ 32.804796][ T341] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 32.809910][ T341] should_failslab+0x9/0x20 [ 32.814260][ T341] slab_pre_alloc_hook+0x37/0xd0 [ 32.819027][ T341] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 32.824146][ T341] kmem_cache_alloc+0x44/0x200 [ 32.828758][ T341] ext4_mb_new_blocks+0xd97/0x43f0 [ 32.833696][ T341] ? ext4_mb_pa_callback+0xd0/0xd0 [ 32.838641][ T341] ? ext4_xattr_ibody_set+0x390/0x390 [ 32.843850][ T341] ext4_new_meta_blocks+0x206/0x4f0 [ 32.848886][ T341] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 32.854351][ T341] ? __entry_find+0x398/0x3f0 [ 32.858864][ T341] ? __kmalloc+0x13a/0x270 [ 32.863118][ T341] ext4_xattr_block_set+0x233e/0x3760 [ 32.868438][ T341] ? __ext4_journal_ensure_credits+0x470/0x470 [ 32.874424][ T341] ? ext4_xattr_block_find+0x520/0x520 [ 32.879719][ T341] ? __xattr_check_inode+0x3d5/0x440 [ 32.884844][ T341] ext4_xattr_set_handle+0xdac/0x1560 [ 32.890052][ T341] ? sidtab_sid2str_put+0x2d7/0x640 [ 32.895082][ T341] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 32.900465][ T341] ? selinux_inode_init_security+0x52d/0x780 [ 32.906280][ T341] ? selinux_inode_free_security+0x210/0x210 [ 32.912093][ T341] ext4_initxattrs+0xa7/0x120 [ 32.916607][ T341] security_inode_init_security+0x252/0x390 [ 32.922337][ T341] ? ext4_init_security+0x40/0x40 [ 32.927199][ T341] ? security_dentry_create_files_as+0xc0/0xc0 [ 32.933187][ T341] ? fscrypt_set_context+0x439/0x740 [ 32.938304][ T341] ? __ext4_set_acl+0x5e0/0x5e0 [ 32.942988][ T341] ? prandom_u32+0x24c/0x290 [ 32.947422][ T341] ext4_init_security+0x34/0x40 [ 32.952104][ T341] __ext4_new_inode+0x31f0/0x40a0 [ 32.956969][ T341] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 32.962518][ T341] ? dquot_initialize+0x20/0x20 [ 32.967205][ T341] ? selinux_determine_inode_label+0x29c/0x3b0 [ 32.973197][ T341] ext4_symlink+0x4c3/0xed0 [ 32.977542][ T341] ? ext4_unlink+0x3f0/0x3f0 [ 32.981960][ T341] ? selinux_inode_symlink+0x22/0x30 [ 32.987083][ T341] ? security_inode_symlink+0xb8/0x100 [ 32.992375][ T341] vfs_symlink+0x29f/0x480 [ 32.996661][ T341] do_symlinkat+0x1ea/0x5a0 [ 33.000968][ T341] ? __check_object_size+0x2ec/0x3d0 [ 33.006091][ T341] ? vfs_symlink+0x480/0x480 [ 33.010516][ T341] ? getname_flags+0x1fd/0x520 [ 33.015113][ T341] __x64_sys_symlink+0x7e/0x90 [ 33.019716][ T341] do_syscall_64+0x3d/0xb0 [ 33.023967][ T341] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 33.029695][ T341] RIP: 0033:0x7f3575952459 [ 33.033950][ T341] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 33.053389][ T341] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 33.061768][ T341] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 33.069590][ T341] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 33.077389][ T341] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [pid 298] getdents64(3, [pid 341] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 341] exit_group(0) = ? [pid 341] +++ exited with 0 +++ [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=341, si_uid=0, si_status=0, si_utime=0, si_stime=35} --- [pid 294] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 294] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(3, [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] <... rmdir resumed>) = 0 [pid 298] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] close(3 [pid 295] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] getdents64(3, [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... close resumed>) = 0 [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] newfstatat(AT_FDCWD, "./6/binderfs", [pid 297] newfstatat(AT_FDCWD, "./5/binderfs", [pid 296] rmdir("./3" [pid 295] newfstatat(AT_FDCWD, "./5/binderfs", [pid 294] newfstatat(AT_FDCWD, "./5/binderfs", [pid 293] close(3 [pid 298] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./6/binderfs" [pid 297] unlink("./5/binderfs" [pid 296] mkdir("./4", 0777 [pid 295] unlink("./5/binderfs" [pid 294] unlink("./5/binderfs" [pid 293] <... close resumed>) = 0 [pid 298] <... unlink resumed>) = 0 [pid 297] <... unlink resumed>) = 0 [pid 294] <... unlink resumed>) = 0 [pid 294] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... unlink resumed>) = 0 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] rmdir("./3" [pid 294] newfstatat(AT_FDCWD, "./5/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] <... mkdir resumed>) = 0 [pid 294] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 294] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] getdents64(4, [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... rmdir resumed>) = 0 [pid 298] newfstatat(AT_FDCWD, "./6/file0", [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] mkdir("./4", 0777 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] newfstatat(AT_FDCWD, "./5/file0", [pid 295] newfstatat(AT_FDCWD, "./5/file0", [pid 294] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] close(4) = 0 [pid 294] rmdir("./5/file0" [pid 298] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 293] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 344 attached [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 344 [pid 295] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] getdents64(3, [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 298] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] close(3) = 0 [pid 295] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] rmdir("./5"./strace-static-x86_64: Process 345 attached [pid 344] set_robust_list(0x555555a60660, 24 [pid 298] <... openat resumed>) = 4 [pid 297] <... openat resumed>) = 4 [pid 295] <... openat resumed>) = 4 [pid 294] <... rmdir resumed>) = 0 [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 345 [pid 294] mkdir("./6", 0777 [pid 345] set_robust_list(0x555555a60660, 24 [pid 344] <... set_robust_list resumed>) = 0 [pid 298] newfstatat(4, "", [pid 297] newfstatat(4, "", [pid 295] newfstatat(4, "", [pid 294] <... mkdir resumed>) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 345] <... set_robust_list resumed>) = 0 [pid 344] chdir("./4" [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(4, ./strace-static-x86_64: Process 346 attached [pid 345] chdir("./4" [pid 298] getdents64(4, [pid 297] getdents64(4, [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 346 [pid 298] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, [pid 346] set_robust_list(0x555555a60660, 24 [pid 298] getdents64(4, [pid 297] getdents64(4, [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 346] <... set_robust_list resumed>) = 0 [pid 298] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] close(4 [pid 346] chdir("./6" [pid 298] close(4 [pid 297] close(4 [pid 295] <... close resumed>) = 0 [pid 298] <... close resumed>) = 0 [pid 297] <... close resumed>) = 0 [pid 298] rmdir("./6/file0" [pid 295] rmdir("./5/file0" [pid 297] rmdir("./5/file0" [pid 346] <... chdir resumed>) = 0 [pid 346] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 346] setpgid(0, 0) = 0 [pid 298] <... rmdir resumed>) = 0 [pid 346] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 346] write(3, "1000", 4 [pid 297] <... rmdir resumed>) = 0 [pid 346] <... write resumed>) = 4 [pid 346] close(3) = 0 [pid 346] symlink("/dev/binderfs", "./binderfs") = 0 [pid 298] getdents64(3, [pid 297] getdents64(3, [pid 295] <... rmdir resumed>) = 0 [pid 298] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] getdents64(3, [pid 298] close(3 [pid 297] close(3 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] <... close resumed>) = 0 [pid 295] close(3 [pid 298] rmdir("./6" [pid 297] <... close resumed>) = 0 [pid 295] <... close resumed>) = 0 [pid 346] mkdir("./file0", 000) = 0 [pid 345] <... chdir resumed>) = 0 [pid 344] <... chdir resumed>) = 0 [pid 298] <... rmdir resumed>) = 0 [pid 297] rmdir("./5" [pid 295] rmdir("./5" [pid 346] open("./file0", O_RDONLY [pid 298] mkdir("./7", 0777 [pid 346] <... open resumed>) = 3 [pid 346] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 297] <... rmdir resumed>) = 0 [pid 346] <... ioctl resumed>) = 0 [pid 346] chdir("./file0") = 0 [pid 346] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 574502001 [pid 346] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 297] mkdir("./6", 0777 [pid 295] <... rmdir resumed>) = 0 [pid 346] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 298] <... mkdir resumed>) = 0 [pid 346] <... openat resumed>) = 4 [ 33.085200][ T341] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 33.093011][ T341] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000005 [ 33.100990][ T341] [pid 346] write(4, "24", 2 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 297] <... mkdir resumed>) = 0 [pid 295] mkdir("./6", 0777 [pid 346] <... write resumed>) = 2 [pid 346] symlink("./file0", "./file0" [pid 345] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 344] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] <... mkdir resumed>) = 0 [pid 345] <... prctl resumed>) = 0 [pid 344] <... prctl resumed>) = 0 [pid 298] <... clone resumed>, child_tidptr=0x555555a60650) = 347 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 345] setpgid(0, 0 [pid 344] setpgid(0, 0 [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 348 [pid 345] <... setpgid resumed>) = 0 [pid 344] <... setpgid resumed>) = 0 [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 349 [pid 345] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 344] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 345] <... openat resumed>) = 3 [pid 344] <... openat resumed>) = 3 [pid 345] write(3, "1000", 4 [pid 344] write(3, "1000", 4 [pid 345] <... write resumed>) = 4 [pid 344] <... write resumed>) = 4 [pid 345] close(3 [pid 344] close(3 [pid 345] <... close resumed>) = 0 [pid 344] <... close resumed>) = 0 [pid 345] symlink("/dev/binderfs", "./binderfs" [pid 344] symlink("/dev/binderfs", "./binderfs" [pid 345] <... symlink resumed>) = 0 [pid 344] <... symlink resumed>) = 0 [pid 345] mkdir("./file0", 000 [pid 344] mkdir("./file0", 000 [pid 345] <... mkdir resumed>) = 0 [pid 344] <... mkdir resumed>) = 0 [pid 345] open("./file0", O_RDONLY [pid 344] open("./file0", O_RDONLY [pid 345] <... open resumed>) = 3 [pid 344] <... open resumed>) = 3 [pid 345] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 344] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 345] <... ioctl resumed>) = 0 [pid 344] <... ioctl resumed>) = 0 [pid 345] chdir("./file0" [pid 344] chdir("./file0" [pid 345] <... chdir resumed>) = 0 [pid 344] <... chdir resumed>) = 0 [pid 345] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 344] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 345] <... add_key resumed>) = 45501579 [pid 344] <... add_key resumed>) = 1008160081 [pid 345] open("./bus", O_RDONLY [pid 344] open("./bus", O_RDONLY [pid 345] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 344] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 345] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 344] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 345] <... openat resumed>) = 4 [pid 344] <... openat resumed>) = 4 ./strace-static-x86_64: Process 349 attached ./strace-static-x86_64: Process 348 attached ./strace-static-x86_64: Process 347 attached [pid 345] write(4, "24", 2 [pid 344] write(4, "24", 2 [pid 345] <... write resumed>) = 2 [pid 344] <... write resumed>) = 2 [pid 345] symlink("./file0", "./file0" [ 33.145352][ T346] FAULT_INJECTION: forcing a failure. [ 33.145352][ T346] name failslab, interval 1, probability 0, space 0, times 0 [ 33.158618][ T346] CPU: 0 PID: 346 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 33.160033][ T345] FAULT_INJECTION: forcing a failure. [ 33.160033][ T345] name failslab, interval 1, probability 0, space 0, times 0 [ 33.168814][ T346] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 33.168829][ T346] Call Trace: [ 33.168834][ T346] [ 33.168841][ T346] dump_stack_lvl+0x151/0x1b7 [ 33.168868][ T346] ? io_uring_drop_tctx_refs+0x190/0x190 [ 33.181637][ T344] FAULT_INJECTION: forcing a failure. [ 33.181637][ T344] name failslab, interval 1, probability 0, space 0, times 0 [ 33.191129][ T346] ? wb_get_create+0xe0a/0xe40 [ 33.191158][ T346] ? sb_end_intwrite+0x120/0x120 [ 33.228793][ T346] dump_stack+0x15/0x17 [ 33.232787][ T346] should_fail+0x3c6/0x510 [ 33.237036][ T346] __should_failslab+0xa4/0xe0 [ 33.241639][ T346] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 33.246758][ T346] should_failslab+0x9/0x20 [ 33.251099][ T346] slab_pre_alloc_hook+0x37/0xd0 [ 33.255875][ T346] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 33.261077][ T346] kmem_cache_alloc+0x44/0x200 [ 33.265682][ T346] ext4_mb_new_blocks+0x4ed/0x43f0 [ 33.270631][ T346] ? ext4_mb_pa_callback+0xd0/0xd0 [ 33.275574][ T346] ? ext4_xattr_ibody_set+0x390/0x390 [ 33.280784][ T346] ext4_new_meta_blocks+0x206/0x4f0 [ 33.285836][ T346] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 33.291285][ T346] ? __entry_find+0x398/0x3f0 [ 33.295794][ T346] ? __kmalloc+0x13a/0x270 [ 33.300051][ T346] ext4_xattr_block_set+0x233e/0x3760 [ 33.305257][ T346] ? __ext4_journal_ensure_credits+0x470/0x470 [ 33.311251][ T346] ? ext4_xattr_block_find+0x520/0x520 [ 33.316539][ T346] ? __xattr_check_inode+0x3d5/0x440 [ 33.321663][ T346] ext4_xattr_set_handle+0xdac/0x1560 [ 33.326891][ T346] ? sidtab_sid2str_put+0x2d7/0x640 [ 33.331907][ T346] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 33.337286][ T346] ? selinux_inode_init_security+0x52d/0x780 [pid 344] symlink("./file0", "./file0" [pid 349] set_robust_list(0x555555a60660, 24) = 0 [pid 349] chdir("./6") = 0 [pid 349] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 349] setpgid(0, 0) = 0 [pid 349] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 349] write(3, "1000", 4) = 4 [pid 349] close(3) = 0 [pid 349] symlink("/dev/binderfs", "./binderfs") = 0 [pid 349] mkdir("./file0", 000) = 0 [pid 349] open("./file0", O_RDONLY) = 3 [pid 349] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 349] chdir("./file0") = 0 [pid 349] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 885020465 [pid 349] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 349] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 349] write(4, "24", 2) = 2 [ 33.343103][ T346] ? selinux_inode_free_security+0x210/0x210 [ 33.348912][ T346] ext4_initxattrs+0xa7/0x120 [ 33.353433][ T346] security_inode_init_security+0x252/0x390 [ 33.359243][ T346] ? ext4_init_security+0x40/0x40 [ 33.364119][ T346] ? security_dentry_create_files_as+0xc0/0xc0 [ 33.370097][ T346] ? fscrypt_set_context+0x439/0x740 [ 33.375216][ T346] ? __ext4_set_acl+0x5e0/0x5e0 [ 33.376153][ T349] FAULT_INJECTION: forcing a failure. [ 33.376153][ T349] name failslab, interval 1, probability 0, space 0, times 0 [ 33.379898][ T346] ? prandom_u32+0x24c/0x290 [ 33.379930][ T346] ext4_init_security+0x34/0x40 [ 33.379950][ T346] __ext4_new_inode+0x31f0/0x40a0 [ 33.406306][ T346] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 33.411842][ T346] ? dquot_initialize+0x20/0x20 [ 33.416522][ T346] ? selinux_determine_inode_label+0x29c/0x3b0 [ 33.422512][ T346] ext4_symlink+0x4c3/0xed0 [ 33.426858][ T346] ? ext4_unlink+0x3f0/0x3f0 [ 33.431287][ T346] ? selinux_inode_symlink+0x22/0x30 [ 33.436405][ T346] ? security_inode_symlink+0xb8/0x100 [ 33.441694][ T346] vfs_symlink+0x29f/0x480 [ 33.445952][ T346] do_symlinkat+0x1ea/0x5a0 [ 33.450288][ T346] ? __check_object_size+0x2ec/0x3d0 [ 33.455412][ T346] ? vfs_symlink+0x480/0x480 [ 33.459961][ T346] ? getname_flags+0x1fd/0x520 [ 33.464559][ T346] __x64_sys_symlink+0x7e/0x90 [ 33.469157][ T346] do_syscall_64+0x3d/0xb0 [ 33.473413][ T346] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 33.479135][ T346] RIP: 0033:0x7f3575952459 [ 33.483393][ T346] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 33.502827][ T346] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 33.511081][ T346] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 33.518885][ T346] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 33.526697][ T346] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 33.534511][ T346] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 33.542416][ T346] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000006 [ 33.550224][ T346] [ 33.553173][ T344] CPU: 1 PID: 344 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 33.563255][ T344] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 33.573221][ T344] Call Trace: [ 33.576341][ T344] [ 33.579121][ T344] dump_stack_lvl+0x151/0x1b7 [ 33.583634][ T344] ? io_uring_drop_tctx_refs+0x190/0x190 [ 33.589097][ T344] ? wb_get_create+0xe0a/0xe40 [ 33.593698][ T344] ? sb_end_intwrite+0x120/0x120 [ 33.598476][ T344] dump_stack+0x15/0x17 [ 33.602471][ T344] should_fail+0x3c6/0x510 [ 33.606719][ T344] __should_failslab+0xa4/0xe0 [ 33.611317][ T344] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 33.616441][ T344] should_failslab+0x9/0x20 [ 33.620779][ T344] slab_pre_alloc_hook+0x37/0xd0 [ 33.625553][ T344] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 33.630673][ T344] kmem_cache_alloc+0x44/0x200 [ 33.635273][ T344] ext4_mb_new_blocks+0x4ed/0x43f0 [ 33.640225][ T344] ? ext4_mb_pa_callback+0xd0/0xd0 [ 33.645170][ T344] ? ext4_xattr_ibody_set+0x390/0x390 [ 33.650378][ T344] ext4_new_meta_blocks+0x206/0x4f0 [ 33.655410][ T344] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 33.660902][ T344] ? __entry_find+0x398/0x3f0 [ 33.665398][ T344] ? __kmalloc+0x13a/0x270 [ 33.669641][ T344] ext4_xattr_block_set+0x233e/0x3760 [ 33.674851][ T344] ? __ext4_journal_ensure_credits+0x470/0x470 [ 33.680839][ T344] ? ext4_xattr_block_find+0x520/0x520 [ 33.686136][ T344] ? __xattr_check_inode+0x3d5/0x440 [ 33.691259][ T344] ext4_xattr_set_handle+0xdac/0x1560 [ 33.696461][ T344] ? sidtab_sid2str_put+0x2d7/0x640 [ 33.701758][ T344] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 33.707139][ T344] ? selinux_inode_init_security+0x52d/0x780 [ 33.712963][ T344] ? selinux_inode_free_security+0x210/0x210 [ 33.718769][ T344] ext4_initxattrs+0xa7/0x120 [ 33.723281][ T344] security_inode_init_security+0x252/0x390 [ 33.729136][ T344] ? ext4_init_security+0x40/0x40 [ 33.733990][ T344] ? security_dentry_create_files_as+0xc0/0xc0 [ 33.739976][ T344] ? fscrypt_set_context+0x439/0x740 [ 33.745186][ T344] ? __ext4_set_acl+0x5e0/0x5e0 [ 33.749874][ T344] ? prandom_u32+0x24c/0x290 [ 33.754300][ T344] ext4_init_security+0x34/0x40 [ 33.758994][ T344] __ext4_new_inode+0x31f0/0x40a0 [ 33.763850][ T344] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 33.769401][ T344] ? dquot_initialize+0x20/0x20 [ 33.774095][ T344] ? selinux_determine_inode_label+0x29c/0x3b0 [ 33.780082][ T344] ext4_symlink+0x4c3/0xed0 [ 33.784417][ T344] ? ext4_unlink+0x3f0/0x3f0 [ 33.788953][ T344] ? selinux_inode_symlink+0x22/0x30 [ 33.794075][ T344] ? security_inode_symlink+0xb8/0x100 [ 33.799396][ T344] vfs_symlink+0x29f/0x480 [ 33.803623][ T344] do_symlinkat+0x1ea/0x5a0 [ 33.807962][ T344] ? __check_object_size+0x2ec/0x3d0 [ 33.813084][ T344] ? vfs_symlink+0x480/0x480 [ 33.817505][ T344] ? getname_flags+0x1fd/0x520 [ 33.822106][ T344] __x64_sys_symlink+0x7e/0x90 [ 33.826709][ T344] do_syscall_64+0x3d/0xb0 [ 33.830961][ T344] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 33.836819][ T344] RIP: 0033:0x7f3575952459 [ 33.841029][ T344] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 33.860558][ T344] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 33.868798][ T344] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 33.876610][ T344] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 33.884425][ T344] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [pid 349] symlink("./file0", "./file0" [pid 348] set_robust_list(0x555555a60660, 24 [pid 347] set_robust_list(0x555555a60660, 24 [pid 348] <... set_robust_list resumed>) = 0 [pid 347] <... set_robust_list resumed>) = 0 [ 33.892233][ T344] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 33.900043][ T344] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000004 [ 33.907862][ T344] [ 33.912345][ T345] CPU: 1 PID: 345 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 33.921243][ T348] FAULT_INJECTION: forcing a failure. [ 33.921243][ T348] name failslab, interval 1, probability 0, space 0, times 0 [ 33.922426][ T345] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [pid 348] chdir("./6" [pid 347] chdir("./7" [pid 348] <... chdir resumed>) = 0 [pid 347] <... chdir resumed>) = 0 [pid 348] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 347] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 348] <... prctl resumed>) = 0 [pid 347] <... prctl resumed>) = 0 [pid 348] setpgid(0, 0 [pid 347] setpgid(0, 0 [pid 348] <... setpgid resumed>) = 0 [pid 347] <... setpgid resumed>) = 0 [pid 348] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 347] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 348] <... openat resumed>) = 3 [pid 347] <... openat resumed>) = 3 [pid 348] write(3, "1000", 4 [pid 347] write(3, "1000", 4 [pid 348] <... write resumed>) = 4 [pid 347] <... write resumed>) = 4 [pid 348] close(3 [pid 347] close(3 [pid 348] <... close resumed>) = 0 [pid 347] <... close resumed>) = 0 [pid 348] symlink("/dev/binderfs", "./binderfs" [pid 347] symlink("/dev/binderfs", "./binderfs" [pid 348] <... symlink resumed>) = 0 [pid 347] <... symlink resumed>) = 0 [pid 348] mkdir("./file0", 000 [pid 347] mkdir("./file0", 000 [pid 348] <... mkdir resumed>) = 0 [pid 347] <... mkdir resumed>) = 0 [pid 348] open("./file0", O_RDONLY [pid 347] open("./file0", O_RDONLY [pid 348] <... open resumed>) = 3 [pid 347] <... open resumed>) = 3 [pid 348] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 347] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 348] <... ioctl resumed>) = 0 [pid 347] <... ioctl resumed>) = 0 [pid 348] chdir("./file0" [pid 347] chdir("./file0" [pid 348] <... chdir resumed>) = 0 [pid 347] <... chdir resumed>) = 0 [pid 348] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 347] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 348] <... add_key resumed>) = 742737616 [pid 347] <... add_key resumed>) = 473994025 [pid 348] open("./bus", O_RDONLY [pid 347] open("./bus", O_RDONLY [pid 348] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 347] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 348] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 347] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 348] <... openat resumed>) = 4 [pid 347] <... openat resumed>) = 4 [pid 348] write(4, "24", 2 [pid 347] write(4, "24", 2 [pid 348] <... write resumed>) = 2 [pid 347] <... write resumed>) = 2 [pid 348] symlink("./file0", "./file0" [ 33.935100][ T347] FAULT_INJECTION: forcing a failure. [ 33.935100][ T347] name failslab, interval 1, probability 0, space 0, times 0 [ 33.944727][ T345] Call Trace: [ 33.944734][ T345] [ 33.944741][ T345] dump_stack_lvl+0x151/0x1b7 [ 33.967558][ T345] ? io_uring_drop_tctx_refs+0x190/0x190 [ 33.973030][ T345] ? wb_get_create+0xe0a/0xe40 [ 33.977629][ T345] ? sb_end_intwrite+0x120/0x120 [ 33.982404][ T345] dump_stack+0x15/0x17 [ 33.986478][ T345] should_fail+0x3c6/0x510 [ 33.990733][ T345] __should_failslab+0xa4/0xe0 [ 33.995329][ T345] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 34.000539][ T345] should_failslab+0x9/0x20 [ 34.004875][ T345] slab_pre_alloc_hook+0x37/0xd0 [ 34.009651][ T345] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 34.014771][ T345] kmem_cache_alloc+0x44/0x200 [ 34.019380][ T345] ext4_mb_new_blocks+0x4ed/0x43f0 [ 34.024323][ T345] ? ext4_mb_pa_callback+0xd0/0xd0 [ 34.029278][ T345] ? ext4_xattr_ibody_set+0x390/0x390 [ 34.034476][ T345] ext4_new_meta_blocks+0x206/0x4f0 [ 34.039507][ T345] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 34.044974][ T345] ? __entry_find+0x398/0x3f0 [ 34.049490][ T345] ? __kmalloc+0x13a/0x270 [ 34.053743][ T345] ext4_xattr_block_set+0x233e/0x3760 [ 34.058957][ T345] ? __ext4_journal_ensure_credits+0x470/0x470 [ 34.064936][ T345] ? ext4_xattr_block_find+0x520/0x520 [ 34.070231][ T345] ? __xattr_check_inode+0x3d5/0x440 [ 34.075355][ T345] ext4_xattr_set_handle+0xdac/0x1560 [ 34.080562][ T345] ? sidtab_sid2str_put+0x2d7/0x640 [ 34.085595][ T345] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 34.090976][ T345] ? selinux_inode_init_security+0x52d/0x780 [ 34.096791][ T345] ? selinux_inode_free_security+0x210/0x210 [ 34.102695][ T345] ext4_initxattrs+0xa7/0x120 [ 34.107205][ T345] security_inode_init_security+0x252/0x390 [ 34.112937][ T345] ? ext4_init_security+0x40/0x40 [ 34.117797][ T345] ? security_dentry_create_files_as+0xc0/0xc0 [ 34.123872][ T345] ? fscrypt_set_context+0x439/0x740 [ 34.128993][ T345] ? __ext4_set_acl+0x5e0/0x5e0 [ 34.133678][ T345] ? prandom_u32+0x24c/0x290 [ 34.138106][ T345] ext4_init_security+0x34/0x40 [ 34.143073][ T345] __ext4_new_inode+0x31f0/0x40a0 [ 34.147932][ T345] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 34.153481][ T345] ? dquot_initialize+0x20/0x20 [ 34.158165][ T345] ? selinux_determine_inode_label+0x29c/0x3b0 [ 34.164162][ T345] ext4_symlink+0x4c3/0xed0 [ 34.168502][ T345] ? ext4_unlink+0x3f0/0x3f0 [ 34.172926][ T345] ? selinux_inode_symlink+0x22/0x30 [ 34.178041][ T345] ? security_inode_symlink+0xb8/0x100 [ 34.183338][ T345] vfs_symlink+0x29f/0x480 [ 34.187593][ T345] do_symlinkat+0x1ea/0x5a0 [ 34.191932][ T345] ? __check_object_size+0x2ec/0x3d0 [ 34.197048][ T345] ? vfs_symlink+0x480/0x480 [ 34.201478][ T345] ? getname_flags+0x1fd/0x520 [ 34.206078][ T345] __x64_sys_symlink+0x7e/0x90 [ 34.210681][ T345] do_syscall_64+0x3d/0xb0 [ 34.214930][ T345] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 34.220656][ T345] RIP: 0033:0x7f3575952459 [ 34.224911][ T345] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [pid 347] symlink("./file0", "./file0" [pid 344] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 345] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 346] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 345] exit_group(0 [ 34.244350][ T345] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 34.252597][ T345] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 34.260409][ T345] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 34.268218][ T345] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 34.276030][ T345] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 34.283843][ T345] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000004 [ 34.291671][ T345] [ 34.296669][ T349] CPU: 1 PID: 349 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 34.306745][ T349] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 34.316632][ T349] Call Trace: [ 34.319752][ T349] [ 34.322529][ T349] dump_stack_lvl+0x151/0x1b7 [ 34.327043][ T349] ? io_uring_drop_tctx_refs+0x190/0x190 [ 34.332512][ T349] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 34.338239][ T349] dump_stack+0x15/0x17 [ 34.342229][ T349] should_fail+0x3c6/0x510 [ 34.346483][ T349] __should_failslab+0xa4/0xe0 [ 34.351085][ T349] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 34.356291][ T349] should_failslab+0x9/0x20 [ 34.360629][ T349] slab_pre_alloc_hook+0x37/0xd0 [ 34.365404][ T349] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 34.370522][ T349] kmem_cache_alloc+0x44/0x200 [ 34.375122][ T349] ext4_mb_new_blocks+0xd97/0x43f0 [ 34.380073][ T349] ? ext4_mb_pa_callback+0xd0/0xd0 [ 34.385019][ T349] ? ext4_xattr_ibody_set+0x390/0x390 [ 34.390228][ T349] ext4_new_meta_blocks+0x206/0x4f0 [ 34.395259][ T349] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 34.400726][ T349] ? __entry_find+0x398/0x3f0 [ 34.405243][ T349] ? __kmalloc+0x13a/0x270 [ 34.409497][ T349] ext4_xattr_block_set+0x233e/0x3760 [ 34.414791][ T349] ? __ext4_journal_ensure_credits+0x470/0x470 [ 34.420778][ T349] ? ext4_xattr_block_find+0x520/0x520 [ 34.426073][ T349] ? __xattr_check_inode+0x3d5/0x440 [ 34.431198][ T349] ext4_xattr_set_handle+0xdac/0x1560 [ 34.436397][ T349] ? sidtab_sid2str_put+0x2d7/0x640 [ 34.441436][ T349] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 34.446819][ T349] ? selinux_inode_init_security+0x52d/0x780 [ 34.452631][ T349] ? selinux_inode_free_security+0x210/0x210 [ 34.458446][ T349] ext4_initxattrs+0xa7/0x120 [ 34.462958][ T349] security_inode_init_security+0x252/0x390 [ 34.468689][ T349] ? ext4_init_security+0x40/0x40 [ 34.473549][ T349] ? security_dentry_create_files_as+0xc0/0xc0 [ 34.479539][ T349] ? fscrypt_set_context+0x439/0x740 [ 34.484656][ T349] ? __ext4_set_acl+0x5e0/0x5e0 [ 34.489342][ T349] ? prandom_u32+0x24c/0x290 [ 34.493773][ T349] ext4_init_security+0x34/0x40 [ 34.498465][ T349] __ext4_new_inode+0x31f0/0x40a0 [ 34.503322][ T349] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 34.508979][ T349] ? dquot_initialize+0x20/0x20 [ 34.513661][ T349] ? selinux_determine_inode_label+0x29c/0x3b0 [ 34.519656][ T349] ext4_symlink+0x4c3/0xed0 [ 34.524000][ T349] ? ext4_unlink+0x3f0/0x3f0 [ 34.528419][ T349] ? selinux_inode_symlink+0x22/0x30 [ 34.533538][ T349] ? security_inode_symlink+0xb8/0x100 [ 34.538833][ T349] vfs_symlink+0x29f/0x480 [ 34.543088][ T349] do_symlinkat+0x1ea/0x5a0 [ 34.547426][ T349] ? __check_object_size+0x2ec/0x3d0 [ 34.552550][ T349] ? vfs_symlink+0x480/0x480 [ 34.556971][ T349] ? getname_flags+0x1fd/0x520 [ 34.561661][ T349] __x64_sys_symlink+0x7e/0x90 [ 34.566266][ T349] do_syscall_64+0x3d/0xb0 [ 34.570517][ T349] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 34.576240][ T349] RIP: 0033:0x7f3575952459 [ 34.580500][ T349] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [pid 344] exit_group(0 [pid 349] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 346] exit_group(0 [pid 345] <... exit_group resumed>) = ? [pid 344] <... exit_group resumed>) = ? [pid 346] <... exit_group resumed>) = ? [pid 345] +++ exited with 0 +++ [pid 344] +++ exited with 0 +++ [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=344, si_uid=0, si_status=0, si_utime=0, si_stime=7} --- [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=345, si_uid=0, si_status=0, si_utime=0, si_stime=12} --- [pid 346] +++ exited with 0 +++ [pid 296] restart_syscall(<... resuming interrupted clone ...> [pid 293] restart_syscall(<... resuming interrupted clone ...> [pid 349] exit_group(0 [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=346, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- [pid 349] <... exit_group resumed>) = ? [pid 293] <... restart_syscall resumed>) = 0 [pid 296] <... restart_syscall resumed>) = 0 [pid 294] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 294] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./4", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./6/binderfs", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] unlink("./6/binderfs") = 0 [pid 293] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] openat(AT_FDCWD, "./4", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./6/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 294] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] close(4) = 0 [pid 294] rmdir("./6/file0") = 0 [pid 296] <... openat resumed>) = 3 [pid 293] <... openat resumed>) = 3 [pid 296] newfstatat(3, "", [pid 294] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] close(3 [pid 293] newfstatat(3, "", [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] <... close resumed>) = 0 [pid 294] rmdir("./6" [pid 296] getdents64(3, [pid 294] <... rmdir resumed>) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] mkdir("./7", 0777 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] <... mkdir resumed>) = 0 [pid 293] getdents64(3, [pid 296] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 351 [ 34.599937][ T349] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 34.608181][ T349] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 34.615991][ T349] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 34.623812][ T349] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 34.631617][ T349] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 34.639428][ T349] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000006 [ 34.647242][ T349] [ 34.659956][ T348] CPU: 0 PID: 348 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 34.664867][ T351] FAULT_INJECTION: forcing a failure. [ 34.664867][ T351] name failslab, interval 1, probability 0, space 0, times 0 [ 34.670023][ T348] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 34.670037][ T348] Call Trace: [ 34.670043][ T348] [ 34.670049][ T348] dump_stack_lvl+0x151/0x1b7 [ 34.702746][ T348] ? io_uring_drop_tctx_refs+0x190/0x190 [pid 293] umount2("./4/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] newfstatat(AT_FDCWD, "./4/binderfs", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 349] +++ exited with 0 +++ ./strace-static-x86_64: Process 351 attached [pid 351] set_robust_list(0x555555a60660, 24) = 0 [pid 351] chdir("./7") = 0 [pid 351] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 351] setpgid(0, 0) = 0 [pid 351] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 351] write(3, "1000", 4) = 4 [pid 351] close(3) = 0 [pid 351] symlink("/dev/binderfs", "./binderfs") = 0 [pid 351] mkdir("./file0", 000) = 0 [pid 351] open("./file0", O_RDONLY) = 3 [pid 351] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 351] chdir("./file0") = 0 [pid 351] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 312393745 [pid 351] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 351] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 351] write(4, "24", 2) = 2 [pid 351] symlink("./file0", "./file0" [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=349, si_uid=0, si_status=0, si_utime=0, si_stime=16} --- [pid 295] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 295] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./4/binderfs", [pid 296] unlink("./4/binderfs" [pid 295] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... unlink resumed>) = 0 [pid 295] <... openat resumed>) = 3 [pid 293] unlink("./4/binderfs" [pid 296] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] newfstatat(3, "", [pid 293] <... unlink resumed>) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] newfstatat(AT_FDCWD, "./4/file0", [pid 295] getdents64(3, [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] newfstatat(AT_FDCWD, "./4/file0", [pid 296] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./4/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] newfstatat(AT_FDCWD, "./6/binderfs", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... openat resumed>) = 4 [pid 295] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] openat(AT_FDCWD, "./4/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] newfstatat(4, "", [pid 295] unlink("./6/binderfs" [pid 293] <... openat resumed>) = 4 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... unlink resumed>) = 0 [pid 293] newfstatat(4, "", [pid 296] getdents64(4, [pid 295] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] getdents64(4, [pid 296] getdents64(4, [pid 295] newfstatat(AT_FDCWD, "./6/file0", [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] getdents64(4, [pid 296] close(4 [pid 295] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] <... close resumed>) = 0 [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] close(4 [pid 296] rmdir("./4/file0" [pid 295] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] <... close resumed>) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 295] <... openat resumed>) = 4 [pid 293] rmdir("./4/file0" [pid 296] getdents64(3, [pid 295] newfstatat(4, "", [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] <... rmdir resumed>) = 0 [pid 296] close(3 [pid 295] getdents64(4, [pid 293] getdents64(3, [pid 296] <... close resumed>) = 0 [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] rmdir("./4" [pid 295] getdents64(4, [pid 296] <... rmdir resumed>) = 0 [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] close(3 [pid 296] mkdir("./5", 0777 [pid 295] close(4 [pid 293] <... close resumed>) = 0 [pid 296] <... mkdir resumed>) = 0 [pid 295] <... close resumed>) = 0 [pid 293] rmdir("./4" [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] rmdir("./6/file0" [pid 293] <... rmdir resumed>) = 0 [pid 295] <... rmdir resumed>) = 0 [pid 293] mkdir("./5", 0777 [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 352 [pid 295] getdents64(3, [pid 293] <... mkdir resumed>) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] <... close resumed>) = 0 [pid 295] rmdir("./6") = 0 [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 353 [pid 295] mkdir("./7", 0777) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 354 [ 34.708219][ T348] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 34.713947][ T348] dump_stack+0x15/0x17 [ 34.717937][ T348] should_fail+0x3c6/0x510 [ 34.722190][ T348] __should_failslab+0xa4/0xe0 [ 34.726784][ T348] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 34.731909][ T348] should_failslab+0x9/0x20 [ 34.736247][ T348] slab_pre_alloc_hook+0x37/0xd0 [ 34.741018][ T348] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 34.746142][ T348] kmem_cache_alloc+0x44/0x200 [ 34.750741][ T348] ext4_mb_new_blocks+0xd97/0x43f0 [ 34.755691][ T348] ? ext4_mb_pa_callback+0xd0/0xd0 [ 34.760638][ T348] ? ext4_xattr_ibody_set+0x390/0x390 [ 34.765842][ T348] ext4_new_meta_blocks+0x206/0x4f0 [ 34.770880][ T348] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 34.776346][ T348] ? __entry_find+0x398/0x3f0 [ 34.780867][ T348] ? __kmalloc+0x13a/0x270 [ 34.785128][ T348] ext4_xattr_block_set+0x233e/0x3760 [ 34.790324][ T348] ? __ext4_journal_ensure_credits+0x470/0x470 [ 34.796399][ T348] ? ext4_xattr_block_find+0x520/0x520 [ 34.801691][ T348] ? __xattr_check_inode+0x3d5/0x440 [ 34.806812][ T348] ext4_xattr_set_handle+0xdac/0x1560 [ 34.812015][ T348] ? sidtab_sid2str_put+0x2d7/0x640 [ 34.817055][ T348] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 34.822434][ T348] ? selinux_inode_init_security+0x52d/0x780 [ 34.828249][ T348] ? selinux_inode_free_security+0x210/0x210 [ 34.834067][ T348] ext4_initxattrs+0xa7/0x120 [ 34.838574][ T348] security_inode_init_security+0x252/0x390 [ 34.844304][ T348] ? ext4_init_security+0x40/0x40 [ 34.849256][ T348] ? security_dentry_create_files_as+0xc0/0xc0 [ 34.855242][ T348] ? fscrypt_set_context+0x439/0x740 [ 34.860361][ T348] ? __ext4_set_acl+0x5e0/0x5e0 [ 34.865047][ T348] ? prandom_u32+0x24c/0x290 [ 34.869474][ T348] ext4_init_security+0x34/0x40 [ 34.874161][ T348] __ext4_new_inode+0x31f0/0x40a0 [ 34.879022][ T348] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 34.884572][ T348] ? dquot_initialize+0x20/0x20 [ 34.889262][ T348] ? selinux_determine_inode_label+0x29c/0x3b0 [ 34.895260][ T348] ext4_symlink+0x4c3/0xed0 [ 34.899591][ T348] ? ext4_unlink+0x3f0/0x3f0 [ 34.904017][ T348] ? selinux_inode_symlink+0x22/0x30 [ 34.909140][ T348] ? security_inode_symlink+0xb8/0x100 [ 34.914431][ T348] vfs_symlink+0x29f/0x480 [ 34.918685][ T348] do_symlinkat+0x1ea/0x5a0 [ 34.923025][ T348] ? __check_object_size+0x2ec/0x3d0 [ 34.928147][ T348] ? vfs_symlink+0x480/0x480 [ 34.932573][ T348] ? getname_flags+0x1fd/0x520 [ 34.937170][ T348] __x64_sys_symlink+0x7e/0x90 [ 34.941769][ T348] do_syscall_64+0x3d/0xb0 [ 34.946194][ T348] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 34.951924][ T348] RIP: 0033:0x7f3575952459 [ 34.956181][ T348] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 34.975620][ T348] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 34.984080][ T348] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 34.991895][ T348] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 34.999701][ T348] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 35.007513][ T348] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 35.015324][ T348] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000006 [ 35.023157][ T348] [ 35.027060][ T351] CPU: 1 PID: 351 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 35.037257][ T351] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 35.047151][ T351] Call Trace: [ 35.050279][ T351] [ 35.053060][ T351] dump_stack_lvl+0x151/0x1b7 [ 35.057566][ T351] ? io_uring_drop_tctx_refs+0x190/0x190 [ 35.061198][ T354] FAULT_INJECTION: forcing a failure. [ 35.061198][ T354] name failslab, interval 1, probability 0, space 0, times 0 [ 35.063033][ T351] ? wb_get_create+0xe0a/0xe40 [ 35.075780][ T353] FAULT_INJECTION: forcing a failure. [ 35.075780][ T353] name failslab, interval 1, probability 0, space 0, times 0 [ 35.080045][ T351] ? sb_end_intwrite+0x120/0x120 [ 35.080070][ T351] dump_stack+0x15/0x17 [ 35.092809][ T352] FAULT_INJECTION: forcing a failure. [ 35.092809][ T352] name failslab, interval 1, probability 0, space 0, times 0 [ 35.097228][ T351] should_fail+0x3c6/0x510 [ 35.097248][ T351] __should_failslab+0xa4/0xe0 [ 35.122486][ T351] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 35.127609][ T351] should_failslab+0x9/0x20 [ 35.131948][ T351] slab_pre_alloc_hook+0x37/0xd0 [ 35.136721][ T351] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 35.141845][ T351] kmem_cache_alloc+0x44/0x200 [ 35.146438][ T351] ext4_mb_new_blocks+0x4ed/0x43f0 [ 35.151395][ T351] ? ext4_mb_pa_callback+0xd0/0xd0 [ 35.156335][ T351] ? ext4_xattr_ibody_set+0x390/0x390 [ 35.161546][ T351] ext4_new_meta_blocks+0x206/0x4f0 [ 35.166579][ T351] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 35.172047][ T351] ? __entry_find+0x398/0x3f0 [ 35.176559][ T351] ? __kmalloc+0x13a/0x270 [ 35.180829][ T351] ext4_xattr_block_set+0x233e/0x3760 [ 35.186020][ T351] ? __ext4_journal_ensure_credits+0x470/0x470 [ 35.192008][ T351] ? ext4_xattr_block_find+0x520/0x520 [ 35.197300][ T351] ? __xattr_check_inode+0x3d5/0x440 [ 35.202422][ T351] ext4_xattr_set_handle+0xdac/0x1560 [ 35.207628][ T351] ? sidtab_sid2str_put+0x2d7/0x640 [ 35.212666][ T351] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 35.218047][ T351] ? selinux_inode_init_security+0x52d/0x780 [ 35.223864][ T351] ? selinux_inode_free_security+0x210/0x210 [ 35.229674][ T351] ext4_initxattrs+0xa7/0x120 [ 35.234187][ T351] security_inode_init_security+0x252/0x390 [ 35.239915][ T351] ? ext4_init_security+0x40/0x40 [ 35.244890][ T351] ? security_dentry_create_files_as+0xc0/0xc0 [ 35.250884][ T351] ? fscrypt_set_context+0x439/0x740 [ 35.255998][ T351] ? __ext4_set_acl+0x5e0/0x5e0 [ 35.260769][ T351] ? prandom_u32+0x24c/0x290 [ 35.265198][ T351] ext4_init_security+0x34/0x40 [ 35.269882][ T351] __ext4_new_inode+0x31f0/0x40a0 [ 35.274746][ T351] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 35.280300][ T351] ? dquot_initialize+0x20/0x20 [ 35.284988][ T351] ? selinux_determine_inode_label+0x29c/0x3b0 [ 35.290978][ T351] ext4_symlink+0x4c3/0xed0 [ 35.295314][ T351] ? ext4_unlink+0x3f0/0x3f0 [ 35.299741][ T351] ? selinux_inode_symlink+0x22/0x30 [ 35.304867][ T351] ? security_inode_symlink+0xb8/0x100 [ 35.310157][ T351] vfs_symlink+0x29f/0x480 [ 35.314410][ T351] do_symlinkat+0x1ea/0x5a0 [ 35.318751][ T351] ? __check_object_size+0x2ec/0x3d0 [ 35.323995][ T351] ? vfs_symlink+0x480/0x480 [ 35.328402][ T351] ? getname_flags+0x1fd/0x520 [ 35.333003][ T351] __x64_sys_symlink+0x7e/0x90 [ 35.337599][ T351] do_syscall_64+0x3d/0xb0 [ 35.341855][ T351] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 35.347581][ T351] RIP: 0033:0x7f3575952459 [ 35.351834][ T351] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 35.371364][ T351] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 35.379606][ T351] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 35.387419][ T351] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 35.395230][ T351] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 35.403042][ T351] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c ./strace-static-x86_64: Process 354 attached ./strace-static-x86_64: Process 353 attached ./strace-static-x86_64: Process 352 attached [pid 348] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 354] set_robust_list(0x555555a60660, 24 [pid 353] set_robust_list(0x555555a60660, 24 [pid 352] set_robust_list(0x555555a60660, 24 [pid 348] exit_group(0 [pid 354] <... set_robust_list resumed>) = 0 [pid 353] <... set_robust_list resumed>) = 0 [pid 352] <... set_robust_list resumed>) = 0 [pid 348] <... exit_group resumed>) = ? [pid 354] chdir("./7" [pid 353] chdir("./5" [pid 352] chdir("./5" [pid 348] +++ exited with 0 +++ [pid 354] <... chdir resumed>) = 0 [pid 353] <... chdir resumed>) = 0 [pid 352] <... chdir resumed>) = 0 [pid 354] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 353] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 352] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=348, si_uid=0, si_status=0, si_utime=0, si_stime=22} --- [pid 354] <... prctl resumed>) = 0 [pid 353] <... prctl resumed>) = 0 [pid 352] <... prctl resumed>) = 0 [pid 354] setpgid(0, 0 [pid 353] setpgid(0, 0 [pid 352] setpgid(0, 0 [pid 354] <... setpgid resumed>) = 0 [pid 353] <... setpgid resumed>) = 0 [pid 352] <... setpgid resumed>) = 0 [pid 297] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW [pid 354] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 353] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 352] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 354] <... openat resumed>) = 3 [pid 353] <... openat resumed>) = 3 [pid 352] <... openat resumed>) = 3 [pid 297] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 354] write(3, "1000", 4 [pid 353] write(3, "1000", 4 [pid 352] write(3, "1000", 4 [pid 297] <... openat resumed>) = 3 [pid 354] <... write resumed>) = 4 [pid 353] <... write resumed>) = 4 [pid 352] <... write resumed>) = 4 [pid 297] newfstatat(3, "", [pid 354] close(3 [pid 353] close(3 [pid 352] close(3 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 354] <... close resumed>) = 0 [pid 353] <... close resumed>) = 0 [pid 352] <... close resumed>) = 0 [pid 297] getdents64(3, [pid 354] symlink("/dev/binderfs", "./binderfs" [pid 353] symlink("/dev/binderfs", "./binderfs" [pid 352] symlink("/dev/binderfs", "./binderfs" [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 354] <... symlink resumed>) = 0 [pid 353] <... symlink resumed>) = 0 [pid 352] <... symlink resumed>) = 0 [pid 297] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 354] mkdir("./file0", 000 [pid 353] mkdir("./file0", 000 [pid 352] mkdir("./file0", 000 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 354] <... mkdir resumed>) = 0 [pid 353] <... mkdir resumed>) = 0 [pid 352] <... mkdir resumed>) = 0 [pid 297] newfstatat(AT_FDCWD, "./6/binderfs", [pid 354] open("./file0", O_RDONLY [pid 353] open("./file0", O_RDONLY [pid 352] open("./file0", O_RDONLY [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 354] <... open resumed>) = 3 [pid 353] <... open resumed>) = 3 [pid 352] <... open resumed>) = 3 [pid 297] unlink("./6/binderfs" [pid 354] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 353] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 352] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 297] <... unlink resumed>) = 0 [pid 354] <... ioctl resumed>) = 0 [pid 353] <... ioctl resumed>) = 0 [pid 352] <... ioctl resumed>) = 0 [pid 297] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 354] chdir("./file0" [pid 353] chdir("./file0" [pid 352] chdir("./file0" [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 354] <... chdir resumed>) = 0 [pid 353] <... chdir resumed>) = 0 [pid 352] <... chdir resumed>) = 0 [pid 297] newfstatat(AT_FDCWD, "./6/file0", [pid 354] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 353] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 352] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 354] <... add_key resumed>) = 271643190 [pid 353] <... add_key resumed>) = 1071753532 [pid 352] <... add_key resumed>) = 810209596 [pid 297] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 354] open("./bus", O_RDONLY [pid 353] open("./bus", O_RDONLY [pid 352] open("./bus", O_RDONLY [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 354] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 353] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 352] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 297] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 354] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 353] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 352] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 297] <... openat resumed>) = 4 [pid 354] <... openat resumed>) = 4 [pid 353] <... openat resumed>) = 4 [pid 352] <... openat resumed>) = 4 [pid 297] newfstatat(4, "", [pid 354] write(4, "24", 2 [pid 353] write(4, "24", 2 [pid 352] write(4, "24", 2 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 354] <... write resumed>) = 2 [pid 353] <... write resumed>) = 2 [pid 352] <... write resumed>) = 2 [pid 297] getdents64(4, [pid 354] symlink("./file0", "./file0" [pid 353] symlink("./file0", "./file0" [pid 352] symlink("./file0", "./file0" [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] close(4) = 0 [pid 297] rmdir("./6/file0") = 0 [pid 297] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] close(3) = 0 [pid 297] rmdir("./6") = 0 [pid 297] mkdir("./7", 0777) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 355 [ 35.410853][ T351] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000007 [ 35.418671][ T351] [ 35.421533][ T347] CPU: 0 PID: 347 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 35.431684][ T347] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 35.441577][ T347] Call Trace: [ 35.444700][ T347] [ 35.447480][ T347] dump_stack_lvl+0x151/0x1b7 [ 35.451993][ T347] ? io_uring_drop_tctx_refs+0x190/0x190 [ 35.457459][ T347] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 35.463211][ T347] dump_stack+0x15/0x17 [ 35.467183][ T347] should_fail+0x3c6/0x510 [ 35.471434][ T347] __should_failslab+0xa4/0xe0 [ 35.476032][ T347] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 35.481156][ T347] should_failslab+0x9/0x20 [ 35.485496][ T347] slab_pre_alloc_hook+0x37/0xd0 [ 35.490267][ T347] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 35.495388][ T347] kmem_cache_alloc+0x44/0x200 [ 35.499991][ T347] ext4_mb_new_blocks+0xd97/0x43f0 [ 35.504938][ T347] ? ext4_mb_pa_callback+0xd0/0xd0 [ 35.509883][ T347] ? ext4_xattr_ibody_set+0x390/0x390 [ 35.515107][ T347] ext4_new_meta_blocks+0x206/0x4f0 [ 35.520127][ T347] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 35.525593][ T347] ? __entry_find+0x398/0x3f0 [ 35.530103][ T347] ? __kmalloc+0x13a/0x270 [ 35.534355][ T347] ext4_xattr_block_set+0x233e/0x3760 [ 35.539567][ T347] ? __ext4_journal_ensure_credits+0x470/0x470 [ 35.545554][ T347] ? ext4_xattr_block_find+0x520/0x520 [ 35.550851][ T347] ? __xattr_check_inode+0x3d5/0x440 [ 35.555975][ T347] ext4_xattr_set_handle+0xdac/0x1560 [ 35.561176][ T347] ? sidtab_sid2str_put+0x2d7/0x640 [ 35.566216][ T347] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 35.571595][ T347] ? selinux_inode_init_security+0x52d/0x780 [ 35.577409][ T347] ? selinux_inode_free_security+0x210/0x210 [ 35.583226][ T347] ext4_initxattrs+0xa7/0x120 [ 35.587748][ T347] security_inode_init_security+0x252/0x390 [ 35.593465][ T347] ? ext4_init_security+0x40/0x40 [ 35.598324][ T347] ? security_dentry_create_files_as+0xc0/0xc0 [ 35.604312][ T347] ? fscrypt_set_context+0x439/0x740 [ 35.609434][ T347] ? __ext4_set_acl+0x5e0/0x5e0 [ 35.614119][ T347] ? prandom_u32+0x24c/0x290 [ 35.618545][ T347] ext4_init_security+0x34/0x40 [ 35.623235][ T347] __ext4_new_inode+0x31f0/0x40a0 [ 35.628099][ T347] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 35.633647][ T347] ? dquot_initialize+0x20/0x20 [ 35.638336][ T347] ? selinux_determine_inode_label+0x29c/0x3b0 [ 35.644328][ T347] ext4_symlink+0x4c3/0xed0 [ 35.648671][ T347] ? ext4_unlink+0x3f0/0x3f0 [ 35.653089][ T347] ? selinux_inode_symlink+0x22/0x30 [ 35.658210][ T347] ? security_inode_symlink+0xb8/0x100 [ 35.663508][ T347] vfs_symlink+0x29f/0x480 [ 35.667761][ T347] do_symlinkat+0x1ea/0x5a0 [ 35.672099][ T347] ? __check_object_size+0x2ec/0x3d0 [ 35.677222][ T347] ? vfs_symlink+0x480/0x480 [ 35.681645][ T347] ? getname_flags+0x1fd/0x520 [ 35.686250][ T347] __x64_sys_symlink+0x7e/0x90 [ 35.690847][ T347] do_syscall_64+0x3d/0xb0 [ 35.695098][ T347] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 35.700826][ T347] RIP: 0033:0x7f3575952459 [ 35.705083][ T347] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 35.724522][ T347] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 35.732766][ T347] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 35.740582][ T347] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 35.748392][ T347] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 35.756207][ T347] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c ./strace-static-x86_64: Process 355 attached [pid 355] set_robust_list(0x555555a60660, 24) = 0 [pid 355] chdir("./7") = 0 [pid 355] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 355] setpgid(0, 0) = 0 [pid 355] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 355] write(3, "1000", 4) = 4 [pid 355] close(3) = 0 [pid 355] symlink("/dev/binderfs", "./binderfs") = 0 [pid 355] mkdir("./file0", 000) = 0 [pid 355] open("./file0", O_RDONLY) = 3 [pid 355] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 355] chdir("./file0") = 0 [pid 355] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 311017909 [pid 355] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 355] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 355] write(4, "24", 2) = 2 [ 35.764014][ T347] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000007 [ 35.771827][ T347] [ 35.775315][ T354] CPU: 0 PID: 354 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 35.785380][ T354] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 35.793284][ T355] FAULT_INJECTION: forcing a failure. [ 35.793284][ T355] name failslab, interval 1, probability 0, space 0, times 0 [ 35.795271][ T354] Call Trace: [ 35.795279][ T354] [ 35.795287][ T354] dump_stack_lvl+0x151/0x1b7 [ 35.795316][ T354] ? io_uring_drop_tctx_refs+0x190/0x190 [ 35.823653][ T354] ? wb_get_create+0xe0a/0xe40 [ 35.828248][ T354] ? sb_end_intwrite+0x120/0x120 [ 35.833022][ T354] dump_stack+0x15/0x17 [ 35.837020][ T354] should_fail+0x3c6/0x510 [ 35.841271][ T354] __should_failslab+0xa4/0xe0 [ 35.845865][ T354] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 35.851160][ T354] should_failslab+0x9/0x20 [ 35.855498][ T354] slab_pre_alloc_hook+0x37/0xd0 [ 35.860286][ T354] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 35.865395][ T354] kmem_cache_alloc+0x44/0x200 [ 35.870084][ T354] ext4_mb_new_blocks+0x4ed/0x43f0 [ 35.875037][ T354] ? ext4_mb_pa_callback+0xd0/0xd0 [ 35.879979][ T354] ? ext4_xattr_ibody_set+0x390/0x390 [ 35.885189][ T354] ext4_new_meta_blocks+0x206/0x4f0 [ 35.890222][ T354] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 35.895694][ T354] ? __entry_find+0x398/0x3f0 [ 35.900201][ T354] ? __kmalloc+0x13a/0x270 [ 35.904460][ T354] ext4_xattr_block_set+0x233e/0x3760 [ 35.909662][ T354] ? __ext4_journal_ensure_credits+0x470/0x470 [ 35.915651][ T354] ? ext4_xattr_block_find+0x520/0x520 [ 35.920944][ T354] ? __xattr_check_inode+0x3d5/0x440 [ 35.926069][ T354] ext4_xattr_set_handle+0xdac/0x1560 [ 35.931275][ T354] ? sidtab_sid2str_put+0x2d7/0x640 [ 35.936323][ T354] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 35.941691][ T354] ? selinux_inode_init_security+0x52d/0x780 [ 35.947525][ T354] ? selinux_inode_free_security+0x210/0x210 [ 35.953319][ T354] ext4_initxattrs+0xa7/0x120 [ 35.957830][ T354] security_inode_init_security+0x252/0x390 [ 35.963560][ T354] ? ext4_init_security+0x40/0x40 [ 35.968424][ T354] ? security_dentry_create_files_as+0xc0/0xc0 [ 35.974414][ T354] ? fscrypt_set_context+0x439/0x740 [ 35.979528][ T354] ? __ext4_set_acl+0x5e0/0x5e0 [ 35.984220][ T354] ? prandom_u32+0x24c/0x290 [ 35.988649][ T354] ext4_init_security+0x34/0x40 [ 35.993345][ T354] __ext4_new_inode+0x31f0/0x40a0 [ 35.998279][ T354] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 36.003919][ T354] ? dquot_initialize+0x20/0x20 [ 36.008604][ T354] ? selinux_determine_inode_label+0x29c/0x3b0 [ 36.014598][ T354] ext4_symlink+0x4c3/0xed0 [ 36.018939][ T354] ? ext4_unlink+0x3f0/0x3f0 [ 36.023361][ T354] ? selinux_inode_symlink+0x22/0x30 [ 36.028565][ T354] ? security_inode_symlink+0xb8/0x100 [ 36.033860][ T354] vfs_symlink+0x29f/0x480 [ 36.038118][ T354] do_symlinkat+0x1ea/0x5a0 [ 36.042455][ T354] ? __check_object_size+0x2ec/0x3d0 [ 36.047586][ T354] ? vfs_symlink+0x480/0x480 [ 36.052010][ T354] ? getname_flags+0x1fd/0x520 [ 36.056601][ T354] __x64_sys_symlink+0x7e/0x90 [ 36.061203][ T354] do_syscall_64+0x3d/0xb0 [ 36.065454][ T354] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 36.071185][ T354] RIP: 0033:0x7f3575952459 [ 36.075433][ T354] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 36.094876][ T354] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 36.103213][ T354] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 36.111110][ T354] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 36.119006][ T354] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 36.126814][ T354] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 36.134626][ T354] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000007 [ 36.142441][ T354] [ 36.145309][ T355] CPU: 1 PID: 355 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 36.155370][ T355] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 36.165266][ T355] Call Trace: [ 36.168389][ T355] [ 36.171175][ T355] dump_stack_lvl+0x151/0x1b7 [ 36.175680][ T355] ? io_uring_drop_tctx_refs+0x190/0x190 [ 36.181151][ T355] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 36.186878][ T355] dump_stack+0x15/0x17 [ 36.190904][ T355] should_fail+0x3c6/0x510 [ 36.195123][ T355] __should_failslab+0xa4/0xe0 [ 36.199720][ T355] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 36.204841][ T355] should_failslab+0x9/0x20 [ 36.209271][ T355] slab_pre_alloc_hook+0x37/0xd0 [ 36.214039][ T355] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 36.219164][ T355] kmem_cache_alloc+0x44/0x200 [ 36.223764][ T355] ext4_mb_new_blocks+0xd97/0x43f0 [ 36.228715][ T355] ? ext4_mb_pa_callback+0xd0/0xd0 [ 36.233655][ T355] ? ext4_xattr_ibody_set+0x390/0x390 [ 36.238864][ T355] ext4_new_meta_blocks+0x206/0x4f0 [ 36.243903][ T355] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 36.249366][ T355] ? __entry_find+0x398/0x3f0 [ 36.253881][ T355] ? __kmalloc+0x13a/0x270 [ 36.258133][ T355] ext4_xattr_block_set+0x233e/0x3760 [ 36.263343][ T355] ? __ext4_journal_ensure_credits+0x470/0x470 [ 36.269425][ T355] ? ext4_xattr_block_find+0x520/0x520 [ 36.274709][ T355] ? __xattr_check_inode+0x3d5/0x440 [ 36.279835][ T355] ext4_xattr_set_handle+0xdac/0x1560 [ 36.285041][ T355] ? sidtab_sid2str_put+0x2d7/0x640 [ 36.290073][ T355] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 36.295454][ T355] ? selinux_inode_init_security+0x52d/0x780 [ 36.301269][ T355] ? selinux_inode_free_security+0x210/0x210 [ 36.307102][ T355] ext4_initxattrs+0xa7/0x120 [ 36.311596][ T355] security_inode_init_security+0x252/0x390 [ 36.317327][ T355] ? ext4_init_security+0x40/0x40 [ 36.322186][ T355] ? security_dentry_create_files_as+0xc0/0xc0 [ 36.328175][ T355] ? fscrypt_set_context+0x439/0x740 [ 36.333311][ T355] ? __ext4_set_acl+0x5e0/0x5e0 [ 36.337981][ T355] ? prandom_u32+0x24c/0x290 [ 36.342407][ T355] ext4_init_security+0x34/0x40 [ 36.347278][ T355] __ext4_new_inode+0x31f0/0x40a0 [ 36.352143][ T355] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 36.357690][ T355] ? dquot_initialize+0x20/0x20 [ 36.362376][ T355] ? selinux_determine_inode_label+0x29c/0x3b0 [ 36.368370][ T355] ext4_symlink+0x4c3/0xed0 [ 36.372713][ T355] ? ext4_unlink+0x3f0/0x3f0 [ 36.377133][ T355] ? selinux_inode_symlink+0x22/0x30 [ 36.382254][ T355] ? security_inode_symlink+0xb8/0x100 [ 36.387551][ T355] vfs_symlink+0x29f/0x480 [ 36.391801][ T355] do_symlinkat+0x1ea/0x5a0 [ 36.396143][ T355] ? __check_object_size+0x2ec/0x3d0 [ 36.401263][ T355] ? vfs_symlink+0x480/0x480 [ 36.405684][ T355] ? getname_flags+0x1fd/0x520 [ 36.410287][ T355] __x64_sys_symlink+0x7e/0x90 [ 36.414886][ T355] do_syscall_64+0x3d/0xb0 [ 36.419150][ T355] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 36.424882][ T355] RIP: 0033:0x7f3575952459 [ 36.429122][ T355] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 36.448562][ T355] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 36.456812][ T355] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 36.464630][ T355] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 36.472432][ T355] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 36.480240][ T355] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 36.488055][ T355] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000007 [ 36.495866][ T355] [ 36.498734][ T353] CPU: 0 PID: 353 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 36.509006][ T353] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 36.518891][ T353] Call Trace: [ 36.522014][ T353] [ 36.524791][ T353] dump_stack_lvl+0x151/0x1b7 [ 36.529308][ T353] ? io_uring_drop_tctx_refs+0x190/0x190 [ 36.534773][ T353] ? write_boundary_block+0x150/0x150 [ 36.539981][ T353] ? arch_stack_walk+0xf3/0x140 [ 36.544756][ T353] dump_stack+0x15/0x17 [ 36.548747][ T353] should_fail+0x3c6/0x510 [ 36.553000][ T353] __should_failslab+0xa4/0xe0 [ 36.557601][ T353] should_failslab+0x9/0x20 [ 36.561941][ T353] slab_pre_alloc_hook+0x37/0xd0 [ 36.566711][ T353] __kmalloc+0x6d/0x270 [ 36.570707][ T353] ? ext4_xattr_block_set+0x340/0x3760 [ 36.576008][ T353] ext4_xattr_block_set+0x340/0x3760 [ 36.581125][ T353] ? __ext4_journal_ensure_credits+0x470/0x470 [ 36.587111][ T353] ? ext4_xattr_block_find+0x520/0x520 [ 36.592403][ T353] ? __xattr_check_inode+0x3d5/0x440 [ 36.597526][ T353] ext4_xattr_set_handle+0xdac/0x1560 [ 36.602738][ T353] ? sidtab_sid2str_put+0x2d7/0x640 [ 36.607859][ T353] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 36.613239][ T353] ? selinux_inode_init_security+0x52d/0x780 [ 36.619052][ T353] ? selinux_inode_free_security+0x210/0x210 [ 36.624866][ T353] ext4_initxattrs+0xa7/0x120 [ 36.629378][ T353] security_inode_init_security+0x252/0x390 [ 36.635109][ T353] ? ext4_init_security+0x40/0x40 [ 36.639968][ T353] ? security_dentry_create_files_as+0xc0/0xc0 [ 36.645952][ T353] ? fscrypt_set_context+0x439/0x740 [ 36.651079][ T353] ? __ext4_set_acl+0x5e0/0x5e0 [ 36.655763][ T353] ? prandom_u32+0x24c/0x290 [ 36.660188][ T353] ext4_init_security+0x34/0x40 [ 36.664875][ T353] __ext4_new_inode+0x31f0/0x40a0 [ 36.669740][ T353] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 36.675292][ T353] ? dquot_initialize+0x20/0x20 [ 36.679977][ T353] ? selinux_determine_inode_label+0x29c/0x3b0 [ 36.685967][ T353] ext4_symlink+0x4c3/0xed0 [ 36.690307][ T353] ? ext4_unlink+0x3f0/0x3f0 [ 36.694730][ T353] ? selinux_inode_symlink+0x22/0x30 [ 36.699863][ T353] ? security_inode_symlink+0xb8/0x100 [ 36.705259][ T353] vfs_symlink+0x29f/0x480 [ 36.709492][ T353] do_symlinkat+0x1ea/0x5a0 [ 36.713829][ T353] ? __check_object_size+0x2ec/0x3d0 [ 36.718949][ T353] ? vfs_symlink+0x480/0x480 [ 36.723376][ T353] ? getname_flags+0x1fd/0x520 [ 36.727975][ T353] __x64_sys_symlink+0x7e/0x90 [ 36.732574][ T353] do_syscall_64+0x3d/0xb0 [ 36.736828][ T353] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 36.742556][ T353] RIP: 0033:0x7f3575952459 [ 36.746810][ T353] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 36.766254][ T353] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 36.774499][ T353] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 36.782307][ T353] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 36.790122][ T353] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 36.797928][ T353] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 36.805741][ T353] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000005 [ 36.813554][ T353] [pid 355] symlink("./file0", "./file0" [pid 351] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 351] exit_group(0) = ? [pid 351] +++ exited with 0 +++ [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=351, si_uid=0, si_status=0, si_utime=0, si_stime=22} --- [pid 294] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 294] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 294] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] unlink("./7/binderfs") = 0 [pid 294] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 294] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] close(4) = 0 [pid 294] rmdir("./7/file0") = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] close(3) = 0 [pid 294] rmdir("./7") = 0 [pid 294] mkdir("./8", 0777) = 0 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 358 ./strace-static-x86_64: Process 358 attached [pid 358] set_robust_list(0x555555a60660, 24) = 0 [pid 358] chdir("./8") = 0 [pid 358] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 358] setpgid(0, 0) = 0 [pid 358] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 358] write(3, "1000", 4) = 4 [pid 358] close(3) = 0 [pid 358] symlink("/dev/binderfs", "./binderfs") = 0 [pid 358] mkdir("./file0", 000) = 0 [pid 358] open("./file0", O_RDONLY) = 3 [pid 358] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 358] chdir("./file0") = 0 [pid 358] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 654479068 [pid 358] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 358] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 358] write(4, "24", 2) = 2 [ 36.817002][ T352] CPU: 0 PID: 352 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 36.827064][ T352] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 36.837219][ T352] Call Trace: [ 36.840341][ T352] [ 36.843121][ T352] dump_stack_lvl+0x151/0x1b7 [ 36.844104][ T358] FAULT_INJECTION: forcing a failure. [ 36.844104][ T358] name failslab, interval 1, probability 0, space 0, times 0 [ 36.847632][ T352] ? io_uring_drop_tctx_refs+0x190/0x190 [ 36.847662][ T352] ? wb_get_create+0xe0a/0xe40 [ 36.847682][ T352] ? sb_end_intwrite+0x120/0x120 [ 36.874887][ T352] dump_stack+0x15/0x17 [ 36.878874][ T352] should_fail+0x3c6/0x510 [ 36.883128][ T352] __should_failslab+0xa4/0xe0 [ 36.887728][ T352] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 36.892846][ T352] should_failslab+0x9/0x20 [ 36.897183][ T352] slab_pre_alloc_hook+0x37/0xd0 [ 36.901959][ T352] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 36.907088][ T352] kmem_cache_alloc+0x44/0x200 [ 36.911683][ T352] ext4_mb_new_blocks+0x4ed/0x43f0 [ 36.916633][ T352] ? ext4_mb_pa_callback+0xd0/0xd0 [ 36.921580][ T352] ? ext4_xattr_ibody_set+0x390/0x390 [ 36.926787][ T352] ext4_new_meta_blocks+0x206/0x4f0 [ 36.931823][ T352] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 36.937287][ T352] ? __entry_find+0x398/0x3f0 [ 36.941798][ T352] ? __kmalloc+0x13a/0x270 [ 36.946052][ T352] ext4_xattr_block_set+0x233e/0x3760 [ 36.951351][ T352] ? __ext4_journal_ensure_credits+0x470/0x470 [ 36.957337][ T352] ? ext4_xattr_block_find+0x520/0x520 [ 36.962626][ T352] ? __xattr_check_inode+0x3d5/0x440 [ 36.967757][ T352] ext4_xattr_set_handle+0xdac/0x1560 [ 36.972957][ T352] ? sidtab_sid2str_put+0x2d7/0x640 [ 36.977996][ T352] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 36.983378][ T352] ? selinux_inode_init_security+0x52d/0x780 [ 36.989189][ T352] ? selinux_inode_free_security+0x210/0x210 [ 36.995002][ T352] ext4_initxattrs+0xa7/0x120 [ 36.999690][ T352] security_inode_init_security+0x252/0x390 [ 37.005419][ T352] ? ext4_init_security+0x40/0x40 [ 37.010279][ T352] ? security_dentry_create_files_as+0xc0/0xc0 [ 37.016263][ T352] ? fscrypt_set_context+0x439/0x740 [ 37.021390][ T352] ? __ext4_set_acl+0x5e0/0x5e0 [ 37.026073][ T352] ? prandom_u32+0x24c/0x290 [ 37.030498][ T352] ext4_init_security+0x34/0x40 [ 37.035190][ T352] __ext4_new_inode+0x31f0/0x40a0 [ 37.040060][ T352] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 37.045603][ T352] ? dquot_initialize+0x20/0x20 [ 37.050287][ T352] ? selinux_determine_inode_label+0x29c/0x3b0 [ 37.056280][ T352] ext4_symlink+0x4c3/0xed0 [ 37.060624][ T352] ? ext4_unlink+0x3f0/0x3f0 [ 37.065049][ T352] ? selinux_inode_symlink+0x22/0x30 [ 37.070167][ T352] ? security_inode_symlink+0xb8/0x100 [ 37.075456][ T352] vfs_symlink+0x29f/0x480 [ 37.079718][ T352] do_symlinkat+0x1ea/0x5a0 [ 37.084055][ T352] ? __check_object_size+0x2ec/0x3d0 [ 37.089174][ T352] ? vfs_symlink+0x480/0x480 [ 37.093603][ T352] ? getname_flags+0x1fd/0x520 [ 37.098196][ T352] __x64_sys_symlink+0x7e/0x90 [ 37.102801][ T352] do_syscall_64+0x3d/0xb0 [ 37.107052][ T352] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 37.112779][ T352] RIP: 0033:0x7f3575952459 [pid 358] symlink("./file0", "./file0" [pid 355] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 355] exit_group(0) = ? [pid 355] +++ exited with 0 +++ [ 37.117030][ T352] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 37.136477][ T352] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 37.144720][ T352] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 37.152623][ T352] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 37.160437][ T352] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [pid 354] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 353] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 352] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=355, si_uid=0, si_status=0, si_utime=0, si_stime=28} --- [pid 354] exit_group(0 [pid 353] exit_group(0 [pid 352] exit_group(0 [pid 347] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 354] <... exit_group resumed>) = ? [pid 353] <... exit_group resumed>) = ? [pid 352] <... exit_group resumed>) = ? [pid 354] +++ exited with 0 +++ [pid 353] +++ exited with 0 +++ [pid 352] +++ exited with 0 +++ [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=352, si_uid=0, si_status=0, si_utime=0, si_stime=23} --- [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=354, si_uid=0, si_status=0, si_utime=0, si_stime=6} --- [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=353, si_uid=0, si_status=0, si_utime=0, si_stime=27} --- [pid 296] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./5", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... openat resumed>) = 3 [pid 295] <... openat resumed>) = 3 [pid 293] openat(AT_FDCWD, "./5", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] newfstatat(3, "", [pid 295] newfstatat(3, "", [pid 293] <... openat resumed>) = 3 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] newfstatat(3, "", [pid 296] getdents64(3, [pid 295] getdents64(3, [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] getdents64(3, [pid 296] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./5/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] newfstatat(AT_FDCWD, "./5/binderfs", [pid 295] newfstatat(AT_FDCWD, "./7/binderfs", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] newfstatat(AT_FDCWD, "./5/binderfs", [pid 296] unlink("./5/binderfs" [pid 295] unlink("./7/binderfs" [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... unlink resumed>) = 0 [pid 295] <... unlink resumed>) = 0 [pid 293] unlink("./5/binderfs" [pid 296] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... unlink resumed>) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] newfstatat(AT_FDCWD, "./5/file0", [pid 295] newfstatat(AT_FDCWD, "./7/file0", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] newfstatat(AT_FDCWD, "./5/file0", [pid 296] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./5/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... openat resumed>) = 4 [pid 295] <... openat resumed>) = 4 [pid 293] openat(AT_FDCWD, "./5/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] newfstatat(4, "", [pid 295] newfstatat(4, "", [pid 293] <... openat resumed>) = 4 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] newfstatat(4, "", [pid 296] getdents64(4, [pid 295] getdents64(4, [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] getdents64(4, [pid 296] getdents64(4, [pid 295] getdents64(4, [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] getdents64(4, [pid 296] close(4 [pid 295] close(4 [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] <... close resumed>) = 0 [pid 295] <... close resumed>) = 0 [pid 293] close(4 [pid 296] rmdir("./5/file0" [pid 295] rmdir("./7/file0" [pid 293] <... close resumed>) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 295] <... rmdir resumed>) = 0 [pid 293] rmdir("./5/file0" [pid 296] getdents64(3, [pid 295] getdents64(3, [pid 293] <... rmdir resumed>) = 0 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] getdents64(3, [pid 296] close(3 [pid 295] close(3 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] <... close resumed>) = 0 [pid 295] <... close resumed>) = 0 [pid 293] close(3 [pid 296] rmdir("./5" [pid 295] rmdir("./7" [pid 293] <... close resumed>) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 295] <... rmdir resumed>) = 0 [pid 293] rmdir("./5" [pid 296] mkdir("./6", 0777 [pid 295] mkdir("./8", 0777 [pid 293] <... rmdir resumed>) = 0 [pid 296] <... mkdir resumed>) = 0 [pid 295] <... mkdir resumed>) = 0 [pid 293] mkdir("./6", 0777 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 293] <... mkdir resumed>) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 359 [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 360 [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 361 ./strace-static-x86_64: Process 361 attached [pid 361] set_robust_list(0x555555a60660, 24) = 0 [pid 361] chdir("./6") = 0 [pid 361] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 37.168239][ T352] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 37.176053][ T352] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000005 [ 37.183870][ T352] [ 37.189402][ T358] CPU: 0 PID: 358 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 37.199474][ T358] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 37.209366][ T358] Call Trace: [ 37.212493][ T358] [ 37.215267][ T358] dump_stack_lvl+0x151/0x1b7 [pid 361] setpgid(0, 0./strace-static-x86_64: Process 360 attached ) = 0 [pid 360] set_robust_list(0x555555a60660, 24 [pid 361] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 360] <... set_robust_list resumed>) = 0 [pid 360] chdir("./8" [pid 361] <... openat resumed>) = 3 [pid 360] <... chdir resumed>) = 0 [pid 360] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 360] setpgid(0, 0 [ 37.219871][ T358] ? io_uring_drop_tctx_refs+0x190/0x190 [ 37.225427][ T358] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 37.231153][ T358] dump_stack+0x15/0x17 [ 37.235145][ T358] should_fail+0x3c6/0x510 [ 37.237693][ T361] FAULT_INJECTION: forcing a failure. [ 37.237693][ T361] name failslab, interval 1, probability 0, space 0, times 0 [ 37.239392][ T358] __should_failslab+0xa4/0xe0 [ 37.253559][ T360] FAULT_INJECTION: forcing a failure. [ 37.253559][ T360] name failslab, interval 1, probability 0, space 0, times 0 [ 37.256403][ T358] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 37.271634][ T359] FAULT_INJECTION: forcing a failure. [ 37.271634][ T359] name failslab, interval 1, probability 0, space 0, times 0 [ 37.273936][ T358] should_failslab+0x9/0x20 [ 37.290799][ T358] slab_pre_alloc_hook+0x37/0xd0 [ 37.295570][ T358] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 37.300693][ T358] kmem_cache_alloc+0x44/0x200 [ 37.305294][ T358] ext4_mb_new_blocks+0xd97/0x43f0 [ 37.310249][ T358] ? ext4_mb_pa_callback+0xd0/0xd0 [ 37.315190][ T358] ? ext4_xattr_ibody_set+0x390/0x390 [ 37.320393][ T358] ext4_new_meta_blocks+0x206/0x4f0 [ 37.325430][ T358] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 37.331096][ T358] ? __entry_find+0x398/0x3f0 [ 37.335779][ T358] ? __kmalloc+0x13a/0x270 [ 37.340029][ T358] ext4_xattr_block_set+0x233e/0x3760 [ 37.345245][ T358] ? __ext4_journal_ensure_credits+0x470/0x470 [ 37.351228][ T358] ? ext4_xattr_block_find+0x520/0x520 [ 37.356520][ T358] ? __xattr_check_inode+0x3d5/0x440 [ 37.361653][ T358] ext4_xattr_set_handle+0xdac/0x1560 [ 37.366850][ T358] ? sidtab_sid2str_put+0x2d7/0x640 [ 37.371885][ T358] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 37.377280][ T358] ? selinux_inode_init_security+0x52d/0x780 [ 37.383086][ T358] ? selinux_inode_free_security+0x210/0x210 [ 37.388895][ T358] ext4_initxattrs+0xa7/0x120 [ 37.393408][ T358] security_inode_init_security+0x252/0x390 [ 37.399227][ T358] ? ext4_init_security+0x40/0x40 [ 37.404085][ T358] ? security_dentry_create_files_as+0xc0/0xc0 [ 37.410070][ T358] ? fscrypt_set_context+0x439/0x740 [ 37.415199][ T358] ? __ext4_set_acl+0x5e0/0x5e0 [ 37.419880][ T358] ? prandom_u32+0x24c/0x290 [ 37.424304][ T358] ext4_init_security+0x34/0x40 [ 37.429003][ T358] __ext4_new_inode+0x31f0/0x40a0 [ 37.433860][ T358] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 37.439408][ T358] ? dquot_initialize+0x20/0x20 [ 37.444097][ T358] ? selinux_determine_inode_label+0x29c/0x3b0 [ 37.450086][ T358] ext4_symlink+0x4c3/0xed0 [ 37.454439][ T358] ? ext4_unlink+0x3f0/0x3f0 [ 37.458977][ T358] ? selinux_inode_symlink+0x22/0x30 [ 37.464105][ T358] ? security_inode_symlink+0xb8/0x100 [ 37.469391][ T358] vfs_symlink+0x29f/0x480 [ 37.473644][ T358] do_symlinkat+0x1ea/0x5a0 [ 37.477985][ T358] ? __check_object_size+0x2ec/0x3d0 [ 37.483111][ T358] ? vfs_symlink+0x480/0x480 [ 37.487531][ T358] ? getname_flags+0x1fd/0x520 [ 37.492137][ T358] __x64_sys_symlink+0x7e/0x90 [ 37.496733][ T358] do_syscall_64+0x3d/0xb0 [ 37.500985][ T358] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 37.506713][ T358] RIP: 0033:0x7f3575952459 [ 37.510969][ T358] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 37.530411][ T358] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 37.538662][ T358] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 37.546485][ T358] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 37.554273][ T358] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 37.562087][ T358] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [pid 361] write(3, "1000", 4) = 4 [pid 360] <... setpgid resumed>) = 0 [pid 361] close(3) = 0 [pid 360] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 361] symlink("/dev/binderfs", "./binderfs") = 0 [pid 360] <... openat resumed>) = 3 ./strace-static-x86_64: Process 359 attached [pid 360] write(3, "1000", 4 [pid 361] mkdir("./file0", 000 [pid 360] <... write resumed>) = 4 [pid 359] set_robust_list(0x555555a60660, 24 [pid 361] <... mkdir resumed>) = 0 [pid 360] close(3 [pid 359] <... set_robust_list resumed>) = 0 [pid 360] <... close resumed>) = 0 [pid 359] chdir("./6" [pid 361] open("./file0", O_RDONLY [pid 360] symlink("/dev/binderfs", "./binderfs" [pid 359] <... chdir resumed>) = 0 [pid 361] <... open resumed>) = 3 [pid 360] <... symlink resumed>) = 0 [pid 359] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 361] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 360] mkdir("./file0", 000 [pid 359] <... prctl resumed>) = 0 [pid 361] <... ioctl resumed>) = 0 [pid 360] <... mkdir resumed>) = 0 [pid 359] setpgid(0, 0 [pid 361] chdir("./file0" [pid 360] open("./file0", O_RDONLY [pid 359] <... setpgid resumed>) = 0 [pid 361] <... chdir resumed>) = 0 [pid 360] <... open resumed>) = 3 [pid 359] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 361] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 360] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 359] <... openat resumed>) = 3 [pid 361] <... add_key resumed>) = 561126595 [pid 360] <... ioctl resumed>) = 0 [pid 359] write(3, "1000", 4 [pid 361] open("./bus", O_RDONLY [pid 360] chdir("./file0" [pid 359] <... write resumed>) = 4 [pid 361] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 360] <... chdir resumed>) = 0 [pid 359] close(3 [pid 361] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 360] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 359] <... close resumed>) = 0 [pid 361] <... openat resumed>) = 4 [pid 360] <... add_key resumed>) = 635516665 [pid 359] symlink("/dev/binderfs", "./binderfs" [pid 361] write(4, "24", 2 [pid 360] open("./bus", O_RDONLY [pid 359] <... symlink resumed>) = 0 [pid 361] <... write resumed>) = 2 [pid 360] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 359] mkdir("./file0", 000 [pid 361] symlink("./file0", "./file0" [pid 360] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 359] <... mkdir resumed>) = 0 [pid 360] <... openat resumed>) = 4 [pid 359] open("./file0", O_RDONLY [pid 360] write(4, "24", 2 [pid 359] <... open resumed>) = 3 [pid 360] <... write resumed>) = 2 [pid 359] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 360] symlink("./file0", "./file0" [pid 359] <... ioctl resumed>) = 0 [pid 359] chdir("./file0") = 0 [pid 359] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 516868105 [pid 359] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 359] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 359] write(4, "24", 2) = 2 [pid 359] symlink("./file0", "./file0" [pid 347] exit_group(0 [pid 297] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW [pid 358] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 347] <... exit_group resumed>) = ? [pid 347] +++ exited with 0 +++ [ 37.569896][ T358] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000008 [ 37.577718][ T358] [ 37.582941][ T360] CPU: 0 PID: 360 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 37.593014][ T360] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 37.602908][ T360] Call Trace: [ 37.606032][ T360] [ 37.608807][ T360] dump_stack_lvl+0x151/0x1b7 [ 37.613329][ T360] ? io_uring_drop_tctx_refs+0x190/0x190 [ 37.618787][ T360] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 37.624519][ T360] dump_stack+0x15/0x17 [ 37.628510][ T360] should_fail+0x3c6/0x510 [ 37.632765][ T360] __should_failslab+0xa4/0xe0 [ 37.637362][ T360] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 37.642486][ T360] should_failslab+0x9/0x20 [ 37.646822][ T360] slab_pre_alloc_hook+0x37/0xd0 [ 37.651599][ T360] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 37.656715][ T360] kmem_cache_alloc+0x44/0x200 [ 37.661320][ T360] ext4_mb_new_blocks+0xd97/0x43f0 [ 37.666266][ T360] ? ext4_mb_pa_callback+0xd0/0xd0 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 297] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] unlink("./7/binderfs") = 0 [pid 297] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 297] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] close(4) = 0 [pid 297] rmdir("./7/file0") = 0 [pid 297] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] close(3) = 0 [pid 297] rmdir("./7") = 0 [pid 297] mkdir("./8", 0777) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 362 [ 37.671212][ T360] ? ext4_xattr_ibody_set+0x390/0x390 [ 37.676418][ T360] ext4_new_meta_blocks+0x206/0x4f0 [ 37.681455][ T360] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 37.686922][ T360] ? __entry_find+0x398/0x3f0 [ 37.691438][ T360] ? __kmalloc+0x13a/0x270 [ 37.695693][ T360] ext4_xattr_block_set+0x233e/0x3760 [ 37.700899][ T360] ? __ext4_journal_ensure_credits+0x470/0x470 [ 37.707018][ T360] ? ext4_xattr_block_find+0x520/0x520 [ 37.712313][ T360] ? __xattr_check_inode+0x3d5/0x440 [ 37.717438][ T360] ext4_xattr_set_handle+0xdac/0x1560 [ 37.723074][ T360] ? sidtab_sid2str_put+0x2d7/0x640 [ 37.728119][ T360] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 37.733492][ T360] ? selinux_inode_init_security+0x52d/0x780 [ 37.739310][ T360] ? selinux_inode_free_security+0x210/0x210 [ 37.745123][ T360] ext4_initxattrs+0xa7/0x120 [ 37.749639][ T360] security_inode_init_security+0x252/0x390 [ 37.755362][ T360] ? ext4_init_security+0x40/0x40 [ 37.760237][ T360] ? security_dentry_create_files_as+0xc0/0xc0 [ 37.766209][ T360] ? fscrypt_set_context+0x439/0x740 [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=347, si_uid=0, si_status=0, si_utime=0, si_stime=38} --- [pid 298] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 298] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./7/binderfs") = 0 [pid 298] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 298] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4) = 0 [pid 298] rmdir("./7/file0") = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3) = 0 [pid 298] rmdir("./7") = 0 [pid 298] mkdir("./8", 0777) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 363 [ 37.771335][ T360] ? __ext4_set_acl+0x5e0/0x5e0 [ 37.776022][ T360] ? prandom_u32+0x24c/0x290 [ 37.780447][ T360] ext4_init_security+0x34/0x40 [ 37.785133][ T360] __ext4_new_inode+0x31f0/0x40a0 [ 37.789995][ T360] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 37.795552][ T360] ? dquot_initialize+0x20/0x20 [ 37.800231][ T360] ? selinux_determine_inode_label+0x29c/0x3b0 [ 37.806220][ T360] ext4_symlink+0x4c3/0xed0 [ 37.810564][ T360] ? ext4_unlink+0x3f0/0x3f0 [ 37.814986][ T360] ? selinux_inode_symlink+0x22/0x30 [ 37.820123][ T360] ? security_inode_symlink+0xb8/0x100 [ 37.825402][ T360] vfs_symlink+0x29f/0x480 [ 37.829655][ T360] do_symlinkat+0x1ea/0x5a0 [ 37.833991][ T360] ? __check_object_size+0x2ec/0x3d0 [ 37.839117][ T360] ? vfs_symlink+0x480/0x480 [ 37.843561][ T360] ? getname_flags+0x1fd/0x520 [ 37.848145][ T360] __x64_sys_symlink+0x7e/0x90 [ 37.852743][ T360] do_syscall_64+0x3d/0xb0 [ 37.856994][ T360] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 37.862723][ T360] RIP: 0033:0x7f3575952459 ./strace-static-x86_64: Process 362 attached [pid 362] set_robust_list(0x555555a60660, 24) = 0 [pid 362] chdir("./8") = 0 [pid 362] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 362] setpgid(0, 0) = 0 [ 37.866977][ T360] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 37.886417][ T360] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 37.894662][ T360] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 37.902476][ T360] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 37.910286][ T360] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [pid 362] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 362] write(3, "1000", 4) = 4 [pid 362] close(3) = 0 [pid 362] symlink("/dev/binderfs", "./binderfs") = 0 [pid 362] mkdir("./file0", 000) = 0 [pid 362] open("./file0", O_RDONLY) = 3 [pid 362] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 362] chdir("./file0") = 0 [pid 362] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 941075926 [pid 362] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 362] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 362] write(4, "24", 2) = 2 [pid 362] symlink("./file0", "./file0"./strace-static-x86_64: Process 363 attached [pid 360] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [ 37.918099][ T360] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 37.920812][ T362] FAULT_INJECTION: forcing a failure. [ 37.920812][ T362] name failslab, interval 1, probability 0, space 0, times 0 [ 37.925903][ T360] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000008 [ 37.925944][ T360] [ 37.938821][ T359] CPU: 0 PID: 359 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 37.959065][ T359] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 37.968956][ T359] Call Trace: [ 37.972083][ T359] [ 37.974856][ T359] dump_stack_lvl+0x151/0x1b7 [ 37.979370][ T359] ? io_uring_drop_tctx_refs+0x190/0x190 [ 37.984836][ T359] ? wb_get_create+0xe0a/0xe40 [ 37.989436][ T359] ? sb_end_intwrite+0x120/0x120 [ 37.994214][ T359] dump_stack+0x15/0x17 [ 37.998206][ T359] should_fail+0x3c6/0x510 [ 38.002459][ T359] __should_failslab+0xa4/0xe0 [ 38.007058][ T359] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 38.012181][ T359] should_failslab+0x9/0x20 [ 38.016519][ T359] slab_pre_alloc_hook+0x37/0xd0 [ 38.021291][ T359] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 38.026414][ T359] kmem_cache_alloc+0x44/0x200 [ 38.031013][ T359] ext4_mb_new_blocks+0x4ed/0x43f0 [ 38.035961][ T359] ? ext4_mb_pa_callback+0xd0/0xd0 [ 38.040918][ T359] ? ext4_xattr_ibody_set+0x390/0x390 [ 38.046117][ T359] ext4_new_meta_blocks+0x206/0x4f0 [ 38.051149][ T359] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 38.056618][ T359] ? __entry_find+0x398/0x3f0 [ 38.061130][ T359] ? __kmalloc+0x13a/0x270 [ 38.065381][ T359] ext4_xattr_block_set+0x233e/0x3760 [ 38.070596][ T359] ? __ext4_journal_ensure_credits+0x470/0x470 [ 38.076579][ T359] ? ext4_xattr_block_find+0x520/0x520 [ 38.081875][ T359] ? __xattr_check_inode+0x3d5/0x440 [ 38.086998][ T359] ext4_xattr_set_handle+0xdac/0x1560 [ 38.092200][ T359] ? sidtab_sid2str_put+0x2d7/0x640 [ 38.097236][ T359] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 38.102619][ T359] ? selinux_inode_init_security+0x52d/0x780 [ 38.108443][ T359] ? selinux_inode_free_security+0x210/0x210 [ 38.114247][ T359] ext4_initxattrs+0xa7/0x120 [ 38.118760][ T359] security_inode_init_security+0x252/0x390 [ 38.124489][ T359] ? ext4_init_security+0x40/0x40 [ 38.129349][ T359] ? security_dentry_create_files_as+0xc0/0xc0 [ 38.135338][ T359] ? fscrypt_set_context+0x439/0x740 [ 38.140461][ T359] ? __ext4_set_acl+0x5e0/0x5e0 [ 38.145144][ T359] ? prandom_u32+0x24c/0x290 [ 38.149572][ T359] ext4_init_security+0x34/0x40 [ 38.154260][ T359] __ext4_new_inode+0x31f0/0x40a0 [ 38.159125][ T359] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 38.164670][ T359] ? dquot_initialize+0x20/0x20 [ 38.169360][ T359] ? selinux_determine_inode_label+0x29c/0x3b0 [ 38.175348][ T359] ext4_symlink+0x4c3/0xed0 [ 38.179688][ T359] ? ext4_unlink+0x3f0/0x3f0 [ 38.184116][ T359] ? selinux_inode_symlink+0x22/0x30 [ 38.189241][ T359] ? security_inode_symlink+0xb8/0x100 [ 38.194531][ T359] vfs_symlink+0x29f/0x480 [ 38.198783][ T359] do_symlinkat+0x1ea/0x5a0 [ 38.203124][ T359] ? __check_object_size+0x2ec/0x3d0 [ 38.208247][ T359] ? vfs_symlink+0x480/0x480 [ 38.212673][ T359] ? getname_flags+0x1fd/0x520 [ 38.217268][ T359] __x64_sys_symlink+0x7e/0x90 [ 38.221870][ T359] do_syscall_64+0x3d/0xb0 [ 38.226121][ T359] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 38.231853][ T359] RIP: 0033:0x7f3575952459 [ 38.236104][ T359] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 38.255543][ T359] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 38.263791][ T359] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 358] exit_group(0 [pid 363] set_robust_list(0x555555a60660, 24 [pid 360] exit_group(0 [pid 358] <... exit_group resumed>) = ? [pid 363] <... set_robust_list resumed>) = 0 [pid 360] <... exit_group resumed>) = ? [pid 358] +++ exited with 0 +++ [pid 363] chdir("./8" [pid 360] +++ exited with 0 +++ [pid 363] <... chdir resumed>) = 0 [pid 363] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 363] setpgid(0, 0) = 0 [pid 363] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 363] write(3, "1000", 4) = 4 [pid 363] close(3) = 0 [pid 363] symlink("/dev/binderfs", "./binderfs") = 0 [pid 363] mkdir("./file0", 000 [pid 359] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 359] exit_group(0) = ? [ 38.271604][ T359] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 38.279413][ T359] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 38.287223][ T359] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 38.295035][ T359] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000006 [ 38.302867][ T359] [pid 359] +++ exited with 0 +++ [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=359, si_uid=0, si_status=0, si_utime=0, si_stime=19} --- [pid 296] restart_syscall(<... resuming interrupted clone ...> [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=360, si_uid=0, si_status=0, si_utime=0, si_stime=9} --- [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=358, si_uid=0, si_status=0, si_utime=0, si_stime=26} --- [pid 296] <... restart_syscall resumed>) = 0 [pid 296] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 296] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 38.305895][ T30] audit: type=1400 audit(1702680869.309:71): avc: denied { unlink } for pid=82 comm="syslogd" name="messages.0" dev="tmpfs" ino=2 scontext=system_u:system_r:syslogd_t tcontext=system_u:object_r:tmpfs_t tclass=file permissive=1 [ 38.328820][ T361] CPU: 0 PID: 361 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 38.338900][ T361] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 38.348774][ T361] Call Trace: [ 38.351901][ T361] [ 38.354679][ T361] dump_stack_lvl+0x151/0x1b7 [ 38.359194][ T361] ? io_uring_drop_tctx_refs+0x190/0x190 [ 38.364660][ T361] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 38.370399][ T361] dump_stack+0x15/0x17 [ 38.374381][ T361] should_fail+0x3c6/0x510 [ 38.378642][ T361] __should_failslab+0xa4/0xe0 [ 38.383234][ T361] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 38.388355][ T361] should_failslab+0x9/0x20 [ 38.392699][ T361] slab_pre_alloc_hook+0x37/0xd0 [ 38.397470][ T361] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 38.402587][ T361] kmem_cache_alloc+0x44/0x200 [ 38.407191][ T361] ext4_mb_new_blocks+0xd97/0x43f0 [ 38.412141][ T361] ? ext4_mb_pa_callback+0xd0/0xd0 [ 38.417082][ T361] ? ext4_xattr_ibody_set+0x390/0x390 [ 38.422292][ T361] ext4_new_meta_blocks+0x206/0x4f0 [ 38.427324][ T361] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 38.432792][ T361] ? __entry_find+0x398/0x3f0 [ 38.437303][ T361] ? __kmalloc+0x13a/0x270 [ 38.441559][ T361] ext4_xattr_block_set+0x233e/0x3760 [ 38.446768][ T361] ? __ext4_journal_ensure_credits+0x470/0x470 [ 38.452758][ T361] ? ext4_xattr_block_find+0x520/0x520 [ 38.458050][ T361] ? __xattr_check_inode+0x3d5/0x440 [ 38.463175][ T361] ext4_xattr_set_handle+0xdac/0x1560 [ 38.468380][ T361] ? sidtab_sid2str_put+0x2d7/0x640 [pid 296] getdents64(3, [pid 295] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 38.473422][ T361] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 38.478802][ T361] ? selinux_inode_init_security+0x52d/0x780 [ 38.484611][ T361] ? selinux_inode_free_security+0x210/0x210 [ 38.490428][ T361] ext4_initxattrs+0xa7/0x120 [ 38.494942][ T361] security_inode_init_security+0x252/0x390 [ 38.500666][ T361] ? ext4_init_security+0x40/0x40 [ 38.505533][ T361] ? security_dentry_create_files_as+0xc0/0xc0 [ 38.511515][ T361] ? fscrypt_set_context+0x439/0x740 [ 38.516635][ T361] ? __ext4_set_acl+0x5e0/0x5e0 [ 38.521328][ T361] ? prandom_u32+0x24c/0x290 [ 38.525747][ T361] ext4_init_security+0x34/0x40 [ 38.530433][ T361] __ext4_new_inode+0x31f0/0x40a0 [ 38.535303][ T361] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 38.540854][ T361] ? dquot_initialize+0x20/0x20 [ 38.545537][ T361] ? selinux_determine_inode_label+0x29c/0x3b0 [ 38.551527][ T361] ext4_symlink+0x4c3/0xed0 [ 38.555873][ T361] ? ext4_unlink+0x3f0/0x3f0 [ 38.560297][ T361] ? selinux_inode_symlink+0x22/0x30 [ 38.565411][ T361] ? security_inode_symlink+0xb8/0x100 [ 38.570706][ T361] vfs_symlink+0x29f/0x480 [pid 295] getdents64(3, [pid 294] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 294] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 38.574963][ T361] do_symlinkat+0x1ea/0x5a0 [ 38.579305][ T361] ? __check_object_size+0x2ec/0x3d0 [ 38.584421][ T361] ? vfs_symlink+0x480/0x480 [ 38.588853][ T361] ? getname_flags+0x1fd/0x520 [ 38.593453][ T361] __x64_sys_symlink+0x7e/0x90 [ 38.598063][ T361] do_syscall_64+0x3d/0xb0 [ 38.602305][ T361] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 38.608033][ T361] RIP: 0033:0x7f3575952459 [ 38.612283][ T361] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 38.631726][ T361] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 38.639973][ T361] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 38.647778][ T361] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 38.655594][ T361] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 38.663412][ T361] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 38.671213][ T361] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000006 [pid 294] getdents64(3, [pid 361] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 361] exit_group(0) = ? [pid 361] +++ exited with 0 +++ [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=361, si_uid=0, si_status=0, si_utime=0, si_stime=19} --- [pid 293] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 293] umount2("./6", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] openat(AT_FDCWD, "./6", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 293] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 38.679033][ T361] [ 38.681895][ T362] CPU: 1 PID: 362 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 38.691958][ T362] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 38.701849][ T362] Call Trace: [ 38.704979][ T362] [ 38.707840][ T362] dump_stack_lvl+0x151/0x1b7 [ 38.712352][ T362] ? io_uring_drop_tctx_refs+0x190/0x190 [ 38.717818][ T362] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 38.723549][ T362] dump_stack+0x15/0x17 [ 38.727539][ T362] should_fail+0x3c6/0x510 [ 38.731795][ T362] __should_failslab+0xa4/0xe0 [ 38.736481][ T362] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 38.741600][ T362] should_failslab+0x9/0x20 [ 38.745941][ T362] slab_pre_alloc_hook+0x37/0xd0 [ 38.750722][ T362] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 38.755838][ T362] kmem_cache_alloc+0x44/0x200 [ 38.760438][ T362] ext4_mb_new_blocks+0xd97/0x43f0 [ 38.765385][ T362] ? ext4_mb_pa_callback+0xd0/0xd0 [ 38.770329][ T362] ? ext4_xattr_ibody_set+0x390/0x390 [ 38.775538][ T362] ext4_new_meta_blocks+0x206/0x4f0 [ 38.780776][ T362] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 38.786245][ T362] ? __entry_find+0x398/0x3f0 [ 38.790755][ T362] ? __kmalloc+0x13a/0x270 [ 38.795008][ T362] ext4_xattr_block_set+0x233e/0x3760 [ 38.800220][ T362] ? __ext4_journal_ensure_credits+0x470/0x470 [ 38.806211][ T362] ? ext4_xattr_block_find+0x520/0x520 [ 38.811504][ T362] ? __xattr_check_inode+0x3d5/0x440 [ 38.816622][ T362] ext4_xattr_set_handle+0xdac/0x1560 [ 38.821914][ T362] ? sidtab_sid2str_put+0x2d7/0x640 [ 38.826950][ T362] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 38.832333][ T362] ? selinux_inode_init_security+0x52d/0x780 [ 38.838149][ T362] ? selinux_inode_free_security+0x210/0x210 [ 38.843960][ T362] ext4_initxattrs+0xa7/0x120 [ 38.848474][ T362] security_inode_init_security+0x252/0x390 [ 38.854200][ T362] ? ext4_init_security+0x40/0x40 [ 38.859064][ T362] ? security_dentry_create_files_as+0xc0/0xc0 [ 38.865051][ T362] ? fscrypt_set_context+0x439/0x740 [ 38.870170][ T362] ? __ext4_set_acl+0x5e0/0x5e0 [ 38.874857][ T362] ? prandom_u32+0x24c/0x290 [ 38.879372][ T362] ext4_init_security+0x34/0x40 [ 38.884073][ T362] __ext4_new_inode+0x31f0/0x40a0 [ 38.888923][ T362] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 38.894474][ T362] ? dquot_initialize+0x20/0x20 [ 38.899160][ T362] ? selinux_determine_inode_label+0x29c/0x3b0 [ 38.905150][ T362] ext4_symlink+0x4c3/0xed0 [ 38.909487][ T362] ? ext4_unlink+0x3f0/0x3f0 [ 38.913923][ T362] ? selinux_inode_symlink+0x22/0x30 [ 38.919034][ T362] ? security_inode_symlink+0xb8/0x100 [ 38.924334][ T362] vfs_symlink+0x29f/0x480 [ 38.928582][ T362] do_symlinkat+0x1ea/0x5a0 [ 38.932922][ T362] ? __check_object_size+0x2ec/0x3d0 [ 38.938045][ T362] ? vfs_symlink+0x480/0x480 [ 38.942472][ T362] ? getname_flags+0x1fd/0x520 [ 38.947072][ T362] __x64_sys_symlink+0x7e/0x90 [ 38.951670][ T362] do_syscall_64+0x3d/0xb0 [ 38.955923][ T362] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 38.961649][ T362] RIP: 0033:0x7f3575952459 [ 38.965906][ T362] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 38.985431][ T362] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 38.993679][ T362] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 39.001489][ T362] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 39.009302][ T362] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 39.017116][ T362] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [pid 293] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./6/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] unlink("./6/binderfs" [pid 362] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./8/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./8/binderfs" [pid 362] exit_group(0) = ? [pid 362] +++ exited with 0 +++ [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=362, si_uid=0, si_status=0, si_utime=0, si_stime=27} --- [pid 297] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 297] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 297] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(3, [pid 363] <... mkdir resumed>) = 0 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] <... unlink resumed>) = 0 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] <... unlink resumed>) = 0 [pid 363] open("./file0", O_RDONLY [pid 297] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./6/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 363] <... open resumed>) = 3 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 363] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./8/binderfs", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 363] chdir("./file0" [pid 293] newfstatat(AT_FDCWD, "./6/file0", [pid 363] <... chdir resumed>) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] newfstatat(AT_FDCWD, "./6/binderfs", [pid 295] newfstatat(AT_FDCWD, "./8/file0", [pid 294] newfstatat(AT_FDCWD, "./8/binderfs", [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 363] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 297] unlink("./8/binderfs" [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 363] <... add_key resumed>) = 218611308 [pid 297] <... unlink resumed>) = 0 [pid 296] unlink("./6/binderfs" [pid 295] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] unlink("./8/binderfs" [pid 293] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 363] open("./bus", O_RDONLY [pid 297] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 363] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... unlink resumed>) = 0 [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... unlink resumed>) = 0 [pid 293] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 363] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 297] newfstatat(AT_FDCWD, "./8/file0", [pid 296] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... openat resumed>) = 4 [pid 363] <... openat resumed>) = 4 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... openat resumed>) = 4 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(4, "", [pid 363] write(4, "24", 2 [pid 297] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] newfstatat(AT_FDCWD, "./6/file0", [pid 295] newfstatat(4, "", [pid 294] newfstatat(AT_FDCWD, "./8/file0", [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 363] <... write resumed>) = 2 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(4, [pid 363] symlink("./file0", "./file0" [pid 297] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] getdents64(4, [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] <... openat resumed>) = 4 [ 39.024922][ T362] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000008 [ 39.032739][ T362] [pid 296] umount2("./6/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] newfstatat(4, "", [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] getdents64(4, [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] openat(AT_FDCWD, "./6/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] getdents64(4, [pid 296] <... openat resumed>) = 4 [pid 295] close(4 [pid 294] <... openat resumed>) = 4 [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] newfstatat(4, "", [pid 295] <... close resumed>) = 0 [pid 294] newfstatat(4, "", [pid 297] getdents64(4, [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] rmdir("./8/file0" [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] getdents64(4, [pid 295] <... rmdir resumed>) = 0 [pid 294] getdents64(4, [pid 297] close(4 [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(3, [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] <... close resumed>) = 0 [pid 296] getdents64(4, [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] getdents64(4, [pid 297] rmdir("./8/file0" [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] close(3 [pid 294] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 296] close(4 [pid 295] <... close resumed>) = 0 [pid 294] close(4 [pid 297] getdents64(3, [pid 296] <... close resumed>) = 0 [pid 295] rmdir("./8" [pid 294] <... close resumed>) = 0 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] rmdir("./6/file0" [pid 295] <... rmdir resumed>) = 0 [pid 294] rmdir("./8/file0" [pid 297] close(3 [pid 296] <... rmdir resumed>) = 0 [pid 295] mkdir("./9", 0777 [pid 294] <... rmdir resumed>) = 0 [pid 297] <... close resumed>) = 0 [pid 296] getdents64(3, [pid 295] <... mkdir resumed>) = 0 [pid 294] getdents64(3, [pid 297] rmdir("./8" [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 296] close(3 [pid 294] close(3 [pid 297] mkdir("./9", 0777 [pid 296] <... close resumed>) = 0 [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 365 [pid 294] <... close resumed>) = 0 [pid 293] getdents64(4, [pid 297] <... mkdir resumed>) = 0 [pid 296] rmdir("./6" [pid 294] rmdir("./8" [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] <... rmdir resumed>) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 296] mkdir("./7", 0777 [pid 294] mkdir("./9", 0777 [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 366 [pid 296] <... mkdir resumed>) = 0 [pid 294] <... mkdir resumed>) = 0 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 367 [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 368 ./strace-static-x86_64: Process 367 attached [pid 367] set_robust_list(0x555555a60660, 24) = 0 ./strace-static-x86_64: Process 365 attached [pid 367] chdir("./7" [pid 365] set_robust_list(0x555555a60660, 24) = 0 [pid 367] <... chdir resumed>) = 0 [pid 367] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 367] setpgid(0, 0 [pid 365] chdir("./9" [pid 367] <... setpgid resumed>) = 0 [pid 367] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 365] <... chdir resumed>) = 0 [pid 365] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 365] setpgid(0, 0 [pid 367] <... openat resumed>) = 3 [pid 365] <... setpgid resumed>) = 0 [pid 365] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 367] write(3, "1000", 4) = 4 [pid 365] <... openat resumed>) = 3 [pid 367] close(3 [pid 365] write(3, "1000", 4 [pid 367] <... close resumed>) = 0 [pid 365] <... write resumed>) = 4 [pid 367] symlink("/dev/binderfs", "./binderfs" [pid 365] close(3 [pid 367] <... symlink resumed>) = 0 [pid 365] <... close resumed>) = 0 [pid 367] mkdir("./file0", 000 [pid 365] symlink("/dev/binderfs", "./binderfs" [pid 367] <... mkdir resumed>) = 0 [pid 365] <... symlink resumed>) = 0 [pid 367] open("./file0", O_RDONLY [pid 365] mkdir("./file0", 000 [pid 367] <... open resumed>) = 3 [pid 365] <... mkdir resumed>) = 0 [pid 367] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 365] open("./file0", O_RDONLY [pid 367] <... ioctl resumed>) = 0 [pid 365] <... open resumed>) = 3 [pid 367] chdir("./file0" [pid 365] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 367] <... chdir resumed>) = 0 [pid 367] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 365] <... ioctl resumed>) = 0 [pid 367] <... add_key resumed>) = 679052789 [pid 365] chdir("./file0" [pid 367] open("./bus", O_RDONLY [pid 365] <... chdir resumed>) = 0 [pid 367] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 365] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 367] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 365] <... add_key resumed>) = 741681124 [pid 367] <... openat resumed>) = 4 [pid 365] open("./bus", O_RDONLY [pid 367] write(4, "24", 2 [pid 365] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 367] <... write resumed>) = 2 [pid 365] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 367] symlink("./file0", "./file0" [pid 365] <... openat resumed>) = 4 [ 39.070445][ T363] FAULT_INJECTION: forcing a failure. [ 39.070445][ T363] name failslab, interval 1, probability 0, space 0, times 0 [ 39.082945][ T363] CPU: 1 PID: 363 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 39.092931][ T363] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 39.102839][ T363] Call Trace: [ 39.105952][ T363] [ 39.107860][ T367] FAULT_INJECTION: forcing a failure. [pid 365] write(4, "24", 2) = 2 [ 39.107860][ T367] name failslab, interval 1, probability 0, space 0, times 0 [ 39.108725][ T363] dump_stack_lvl+0x151/0x1b7 [ 39.122534][ T365] FAULT_INJECTION: forcing a failure. [ 39.122534][ T365] name failslab, interval 1, probability 0, space 0, times 0 [ 39.125652][ T363] ? io_uring_drop_tctx_refs+0x190/0x190 [ 39.125683][ T363] ? wb_get_create+0xe0a/0xe40 [ 39.148127][ T363] ? sb_end_intwrite+0x120/0x120 [ 39.152917][ T363] dump_stack+0x15/0x17 [ 39.156898][ T363] should_fail+0x3c6/0x510 [ 39.161150][ T363] __should_failslab+0xa4/0xe0 [ 39.165752][ T363] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 39.171012][ T363] should_failslab+0x9/0x20 [ 39.175350][ T363] slab_pre_alloc_hook+0x37/0xd0 [ 39.180121][ T363] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 39.185240][ T363] kmem_cache_alloc+0x44/0x200 [ 39.189846][ T363] ext4_mb_new_blocks+0x4ed/0x43f0 [ 39.194836][ T363] ? ext4_mb_pa_callback+0xd0/0xd0 [ 39.199740][ T363] ? ext4_xattr_ibody_set+0x390/0x390 [ 39.204949][ T363] ext4_new_meta_blocks+0x206/0x4f0 [ 39.209978][ T363] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 39.215445][ T363] ? __entry_find+0x398/0x3f0 [pid 365] symlink("./file0", "./file0" [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] close(4) = 0 [pid 293] rmdir("./6/file0") = 0 [pid 293] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] close(3) = 0 [pid 293] rmdir("./6") = 0 [pid 293] mkdir("./7", 0777) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 369 [ 39.220131][ T363] ? __kmalloc+0x13a/0x270 [ 39.224387][ T363] ext4_xattr_block_set+0x233e/0x3760 [ 39.229597][ T363] ? __ext4_journal_ensure_credits+0x470/0x470 [ 39.235587][ T363] ? ext4_xattr_block_find+0x520/0x520 [ 39.240888][ T363] ? __xattr_check_inode+0x3d5/0x440 [ 39.246004][ T363] ext4_xattr_set_handle+0xdac/0x1560 [ 39.251210][ T363] ? sidtab_sid2str_put+0x2d7/0x640 [ 39.256245][ T363] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 39.261625][ T363] ? selinux_inode_init_security+0x52d/0x780 [ 39.267442][ T363] ? selinux_inode_free_security+0x210/0x210 [ 39.273254][ T363] ext4_initxattrs+0xa7/0x120 [ 39.277765][ T363] security_inode_init_security+0x252/0x390 [ 39.283494][ T363] ? ext4_init_security+0x40/0x40 [ 39.288352][ T363] ? security_dentry_create_files_as+0xc0/0xc0 [ 39.294347][ T363] ? fscrypt_set_context+0x439/0x740 [ 39.299465][ T363] ? __ext4_set_acl+0x5e0/0x5e0 [ 39.304150][ T363] ? prandom_u32+0x24c/0x290 [ 39.308576][ T363] ext4_init_security+0x34/0x40 [ 39.313263][ T363] __ext4_new_inode+0x31f0/0x40a0 [ 39.318128][ T363] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 39.323678][ T363] ? dquot_initialize+0x20/0x20 [ 39.328362][ T363] ? selinux_determine_inode_label+0x29c/0x3b0 [ 39.334356][ T363] ext4_symlink+0x4c3/0xed0 [ 39.338693][ T363] ? ext4_unlink+0x3f0/0x3f0 [ 39.343121][ T363] ? selinux_inode_symlink+0x22/0x30 [ 39.348251][ T363] ? security_inode_symlink+0xb8/0x100 [ 39.353625][ T363] vfs_symlink+0x29f/0x480 [ 39.357878][ T363] do_symlinkat+0x1ea/0x5a0 [ 39.362212][ T363] ? __check_object_size+0x2ec/0x3d0 [ 39.367336][ T363] ? vfs_symlink+0x480/0x480 [ 39.371759][ T363] ? getname_flags+0x1fd/0x520 [ 39.376363][ T363] __x64_sys_symlink+0x7e/0x90 [ 39.380963][ T363] do_syscall_64+0x3d/0xb0 [ 39.385212][ T363] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 39.390949][ T363] RIP: 0033:0x7f3575952459 [ 39.395195][ T363] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 ./strace-static-x86_64: Process 369 attached ./strace-static-x86_64: Process 368 attached ./strace-static-x86_64: Process 366 attached [pid 363] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [ 39.414635][ T363] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 39.422881][ T363] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 39.430690][ T363] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 39.438503][ T363] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 39.446313][ T363] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 39.454128][ T363] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000008 [ 39.461953][ T363] [pid 369] set_robust_list(0x555555a60660, 24 [pid 368] set_robust_list(0x555555a60660, 24 [pid 369] <... set_robust_list resumed>) = 0 [pid 368] <... set_robust_list resumed>) = 0 [pid 369] chdir("./7" [pid 368] chdir("./9" [pid 369] <... chdir resumed>) = 0 [pid 368] <... chdir resumed>) = 0 [pid 369] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 368] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 369] <... prctl resumed>) = 0 [pid 368] <... prctl resumed>) = 0 [pid 369] setpgid(0, 0 [pid 368] setpgid(0, 0 [pid 369] <... setpgid resumed>) = 0 [pid 368] <... setpgid resumed>) = 0 [pid 369] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 368] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 369] <... openat resumed>) = 3 [pid 368] <... openat resumed>) = 3 [pid 369] write(3, "1000", 4 [pid 368] write(3, "1000", 4 [pid 369] <... write resumed>) = 4 [pid 368] <... write resumed>) = 4 [pid 369] close(3 [pid 368] close(3 [pid 369] <... close resumed>) = 0 [pid 368] <... close resumed>) = 0 [ 39.465228][ T365] CPU: 1 PID: 365 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 39.475286][ T365] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 39.485177][ T365] Call Trace: [ 39.488405][ T365] [ 39.491189][ T365] dump_stack_lvl+0x151/0x1b7 [ 39.495784][ T365] ? io_uring_drop_tctx_refs+0x190/0x190 [ 39.501259][ T365] ? wb_get_create+0xe0a/0xe40 [ 39.505850][ T365] ? sb_end_intwrite+0x120/0x120 [ 39.510627][ T365] dump_stack+0x15/0x17 [ 39.514616][ T365] should_fail+0x3c6/0x510 [pid 369] symlink("/dev/binderfs", "./binderfs" [pid 368] symlink("/dev/binderfs", "./binderfs" [pid 369] <... symlink resumed>) = 0 [pid 368] <... symlink resumed>) = 0 [pid 369] mkdir("./file0", 000 [pid 368] mkdir("./file0", 000 [pid 369] <... mkdir resumed>) = 0 [pid 368] <... mkdir resumed>) = 0 [pid 369] open("./file0", O_RDONLY [pid 368] open("./file0", O_RDONLY [pid 369] <... open resumed>) = 3 [pid 368] <... open resumed>) = 3 [pid 369] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 368] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 369] <... ioctl resumed>) = 0 [pid 368] <... ioctl resumed>) = 0 [pid 369] chdir("./file0" [pid 368] chdir("./file0" [pid 369] <... chdir resumed>) = 0 [pid 368] <... chdir resumed>) = 0 [pid 369] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 368] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 369] <... add_key resumed>) = 389510025 [pid 368] <... add_key resumed>) = 472898589 [pid 369] open("./bus", O_RDONLY [pid 368] open("./bus", O_RDONLY [pid 369] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 368] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 369] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 368] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 369] <... openat resumed>) = 4 [pid 368] <... openat resumed>) = 4 [pid 369] write(4, "24", 2 [pid 368] write(4, "24", 2 [pid 369] <... write resumed>) = 2 [pid 368] <... write resumed>) = 2 [pid 369] symlink("./file0", "./file0" [ 39.518878][ T365] __should_failslab+0xa4/0xe0 [ 39.523476][ T365] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 39.528597][ T365] should_failslab+0x9/0x20 [ 39.532939][ T365] slab_pre_alloc_hook+0x37/0xd0 [ 39.533460][ T369] FAULT_INJECTION: forcing a failure. [ 39.533460][ T369] name failslab, interval 1, probability 0, space 0, times 0 [ 39.537792][ T365] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 39.537819][ T365] kmem_cache_alloc+0x44/0x200 [ 39.537840][ T365] ext4_mb_new_blocks+0x4ed/0x43f0 [ 39.550919][ T368] FAULT_INJECTION: forcing a failure. [ 39.550919][ T368] name failslab, interval 1, probability 0, space 0, times 0 [ 39.555502][ T365] ? ext4_mb_pa_callback+0xd0/0xd0 [ 39.582408][ T365] ? ext4_xattr_ibody_set+0x390/0x390 [ 39.587614][ T365] ext4_new_meta_blocks+0x206/0x4f0 [ 39.592649][ T365] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 39.598115][ T365] ? __entry_find+0x398/0x3f0 [ 39.602626][ T365] ? __kmalloc+0x13a/0x270 [ 39.606886][ T365] ext4_xattr_block_set+0x233e/0x3760 [ 39.612093][ T365] ? __ext4_journal_ensure_credits+0x470/0x470 [ 39.618074][ T365] ? ext4_xattr_block_find+0x520/0x520 [ 39.623376][ T365] ? __xattr_check_inode+0x3d5/0x440 [ 39.628499][ T365] ext4_xattr_set_handle+0xdac/0x1560 [ 39.633697][ T365] ? sidtab_sid2str_put+0x2d7/0x640 [ 39.638741][ T365] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 39.644116][ T365] ? selinux_inode_init_security+0x52d/0x780 [ 39.649932][ T365] ? selinux_inode_free_security+0x210/0x210 [ 39.655744][ T365] ext4_initxattrs+0xa7/0x120 [ 39.660257][ T365] security_inode_init_security+0x252/0x390 [ 39.665984][ T365] ? ext4_init_security+0x40/0x40 [ 39.670847][ T365] ? security_dentry_create_files_as+0xc0/0xc0 [ 39.676834][ T365] ? fscrypt_set_context+0x439/0x740 [ 39.681956][ T365] ? __ext4_set_acl+0x5e0/0x5e0 [ 39.686642][ T365] ? prandom_u32+0x24c/0x290 [ 39.691070][ T365] ext4_init_security+0x34/0x40 [ 39.695756][ T365] __ext4_new_inode+0x31f0/0x40a0 [ 39.700619][ T365] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 39.706170][ T365] ? dquot_initialize+0x20/0x20 [ 39.710869][ T365] ? selinux_determine_inode_label+0x29c/0x3b0 [ 39.716849][ T365] ext4_symlink+0x4c3/0xed0 [ 39.721185][ T365] ? ext4_unlink+0x3f0/0x3f0 [ 39.725612][ T365] ? selinux_inode_symlink+0x22/0x30 [ 39.730731][ T365] ? security_inode_symlink+0xb8/0x100 [ 39.736024][ T365] vfs_symlink+0x29f/0x480 [ 39.740284][ T365] do_symlinkat+0x1ea/0x5a0 [ 39.744618][ T365] ? __check_object_size+0x2ec/0x3d0 [ 39.749742][ T365] ? vfs_symlink+0x480/0x480 [ 39.754164][ T365] ? getname_flags+0x1fd/0x520 [ 39.758768][ T365] __x64_sys_symlink+0x7e/0x90 [ 39.763366][ T365] do_syscall_64+0x3d/0xb0 [ 39.767619][ T365] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 39.773450][ T365] RIP: 0033:0x7f3575952459 [ 39.777720][ T365] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 39.797145][ T365] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 39.805385][ T365] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 39.813197][ T365] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 39.821009][ T365] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 39.828818][ T365] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 39.836629][ T365] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000009 [ 39.844533][ T365] [ 39.847392][ T367] CPU: 0 PID: 367 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 39.857460][ T367] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 39.867357][ T367] Call Trace: [ 39.870480][ T367] [ 39.873257][ T367] dump_stack_lvl+0x151/0x1b7 [ 39.877768][ T367] ? io_uring_drop_tctx_refs+0x190/0x190 [ 39.883237][ T367] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 39.888965][ T367] dump_stack+0x15/0x17 [ 39.892958][ T367] should_fail+0x3c6/0x510 [ 39.897211][ T367] __should_failslab+0xa4/0xe0 [ 39.901808][ T367] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 39.906930][ T367] should_failslab+0x9/0x20 [ 39.911269][ T367] slab_pre_alloc_hook+0x37/0xd0 [ 39.916077][ T367] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 39.921164][ T367] kmem_cache_alloc+0x44/0x200 [ 39.925764][ T367] ext4_mb_new_blocks+0xd97/0x43f0 [ 39.930718][ T367] ? ext4_mb_pa_callback+0xd0/0xd0 [ 39.935662][ T367] ? ext4_xattr_ibody_set+0x390/0x390 [ 39.940868][ T367] ext4_new_meta_blocks+0x206/0x4f0 [ 39.945903][ T367] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 39.951369][ T367] ? __entry_find+0x398/0x3f0 [ 39.955882][ T367] ? __kmalloc+0x13a/0x270 [ 39.960135][ T367] ext4_xattr_block_set+0x233e/0x3760 [ 39.965344][ T367] ? __ext4_journal_ensure_credits+0x470/0x470 [ 39.971332][ T367] ? ext4_xattr_block_find+0x520/0x520 [ 39.976625][ T367] ? __xattr_check_inode+0x3d5/0x440 [ 39.981748][ T367] ext4_xattr_set_handle+0xdac/0x1560 [ 39.986957][ T367] ? sidtab_sid2str_put+0x2d7/0x640 [ 39.991989][ T367] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 39.997372][ T367] ? selinux_inode_init_security+0x52d/0x780 [ 40.003187][ T367] ? selinux_inode_free_security+0x210/0x210 [ 40.008999][ T367] ext4_initxattrs+0xa7/0x120 [ 40.013514][ T367] security_inode_init_security+0x252/0x390 [ 40.019244][ T367] ? ext4_init_security+0x40/0x40 [ 40.024102][ T367] ? security_dentry_create_files_as+0xc0/0xc0 [ 40.030091][ T367] ? fscrypt_set_context+0x439/0x740 [ 40.035211][ T367] ? __ext4_set_acl+0x5e0/0x5e0 [ 40.039898][ T367] ? prandom_u32+0x24c/0x290 [ 40.044325][ T367] ext4_init_security+0x34/0x40 [ 40.049010][ T367] __ext4_new_inode+0x31f0/0x40a0 [ 40.053875][ T367] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 40.059424][ T367] ? dquot_initialize+0x20/0x20 [ 40.064111][ T367] ? selinux_determine_inode_label+0x29c/0x3b0 [ 40.070103][ T367] ext4_symlink+0x4c3/0xed0 [ 40.074441][ T367] ? ext4_unlink+0x3f0/0x3f0 [ 40.078869][ T367] ? selinux_inode_symlink+0x22/0x30 [ 40.084004][ T367] ? security_inode_symlink+0xb8/0x100 [ 40.089283][ T367] vfs_symlink+0x29f/0x480 [ 40.093536][ T367] do_symlinkat+0x1ea/0x5a0 [ 40.097872][ T367] ? __check_object_size+0x2ec/0x3d0 [ 40.103169][ T367] ? vfs_symlink+0x480/0x480 [ 40.107598][ T367] ? getname_flags+0x1fd/0x520 [ 40.112194][ T367] __x64_sys_symlink+0x7e/0x90 [ 40.116796][ T367] do_syscall_64+0x3d/0xb0 [ 40.121050][ T367] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 40.126776][ T367] RIP: 0033:0x7f3575952459 [ 40.131030][ T367] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 40.150471][ T367] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 40.158732][ T367] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 40.166526][ T367] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [pid 368] symlink("./file0", "./file0" [pid 366] set_robust_list(0x555555a60660, 24 [pid 365] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [ 40.174335][ T367] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 40.182149][ T367] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 40.189958][ T367] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000007 [ 40.197772][ T367] [ 40.202228][ T369] CPU: 1 PID: 369 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 40.212311][ T369] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 40.222211][ T369] Call Trace: [ 40.225327][ T369] [ 40.228102][ T369] dump_stack_lvl+0x151/0x1b7 [ 40.232618][ T369] ? io_uring_drop_tctx_refs+0x190/0x190 [ 40.238081][ T369] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 40.243814][ T369] dump_stack+0x15/0x17 [ 40.247809][ T369] should_fail+0x3c6/0x510 [ 40.252059][ T369] __should_failslab+0xa4/0xe0 [ 40.256659][ T369] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 40.261779][ T369] should_failslab+0x9/0x20 [ 40.266120][ T369] slab_pre_alloc_hook+0x37/0xd0 [ 40.270982][ T369] ? ext4_mb_new_blocks+0xd97/0x43f0 [pid 363] exit_group(0 [pid 366] <... set_robust_list resumed>) = 0 [pid 366] chdir("./9") = 0 [pid 366] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 366] setpgid(0, 0) = 0 [pid 366] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 366] write(3, "1000", 4) = 4 [pid 366] close(3) = 0 [pid 366] symlink("/dev/binderfs", "./binderfs") = 0 [pid 366] mkdir("./file0", 000) = 0 [pid 366] open("./file0", O_RDONLY) = 3 [pid 366] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 366] chdir("./file0") = 0 [pid 366] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 68084455 [pid 366] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 366] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 366] write(4, "24", 2) = 2 [ 40.276096][ T369] kmem_cache_alloc+0x44/0x200 [ 40.280719][ T369] ext4_mb_new_blocks+0xd97/0x43f0 [ 40.285649][ T369] ? ext4_mb_pa_callback+0xd0/0xd0 [ 40.290595][ T369] ? ext4_xattr_ibody_set+0x390/0x390 [ 40.295801][ T369] ext4_new_meta_blocks+0x206/0x4f0 [ 40.300845][ T369] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 40.306317][ T369] ? __entry_find+0x398/0x3f0 [ 40.307871][ T366] FAULT_INJECTION: forcing a failure. [ 40.307871][ T366] name failslab, interval 1, probability 0, space 0, times 0 [ 40.310816][ T369] ? __kmalloc+0x13a/0x270 [ 40.310842][ T369] ext4_xattr_block_set+0x233e/0x3760 [ 40.332693][ T369] ? __ext4_journal_ensure_credits+0x470/0x470 [ 40.338673][ T369] ? ext4_xattr_block_find+0x520/0x520 [ 40.343974][ T369] ? __xattr_check_inode+0x3d5/0x440 [ 40.349097][ T369] ext4_xattr_set_handle+0xdac/0x1560 [ 40.354385][ T369] ? sidtab_sid2str_put+0x2d7/0x640 [ 40.359425][ T369] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 40.364887][ T369] ? selinux_inode_init_security+0x52d/0x780 [ 40.370711][ T369] ? selinux_inode_free_security+0x210/0x210 [ 40.376519][ T369] ext4_initxattrs+0xa7/0x120 [ 40.381034][ T369] security_inode_init_security+0x252/0x390 [ 40.386764][ T369] ? ext4_init_security+0x40/0x40 [ 40.391626][ T369] ? security_dentry_create_files_as+0xc0/0xc0 [ 40.397609][ T369] ? fscrypt_set_context+0x439/0x740 [ 40.402733][ T369] ? __ext4_set_acl+0x5e0/0x5e0 [ 40.407417][ T369] ? prandom_u32+0x24c/0x290 [ 40.411843][ T369] ext4_init_security+0x34/0x40 [ 40.416530][ T369] __ext4_new_inode+0x31f0/0x40a0 [ 40.421394][ T369] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 40.426947][ T369] ? dquot_initialize+0x20/0x20 [ 40.431634][ T369] ? selinux_determine_inode_label+0x29c/0x3b0 [ 40.437622][ T369] ext4_symlink+0x4c3/0xed0 [ 40.441967][ T369] ? ext4_unlink+0x3f0/0x3f0 [ 40.446388][ T369] ? selinux_inode_symlink+0x22/0x30 [ 40.451509][ T369] ? security_inode_symlink+0xb8/0x100 [ 40.456800][ T369] vfs_symlink+0x29f/0x480 [ 40.461059][ T369] do_symlinkat+0x1ea/0x5a0 [ 40.465395][ T369] ? __check_object_size+0x2ec/0x3d0 [ 40.470517][ T369] ? vfs_symlink+0x480/0x480 [ 40.474941][ T369] ? getname_flags+0x1fd/0x520 [ 40.479627][ T369] __x64_sys_symlink+0x7e/0x90 [ 40.484231][ T369] do_syscall_64+0x3d/0xb0 [ 40.488483][ T369] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 40.494221][ T369] RIP: 0033:0x7f3575952459 [ 40.498463][ T369] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 40.517910][ T369] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 366] symlink("./file0", "./file0" [pid 369] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 367] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 365] exit_group(0 [pid 363] <... exit_group resumed>) = ? [ 40.526160][ T369] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 40.533962][ T369] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 40.541779][ T369] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 40.549587][ T369] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 40.557481][ T369] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000007 [ 40.565302][ T369] [pid 369] exit_group(0) = ? [pid 369] +++ exited with 0 +++ [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=369, si_uid=0, si_status=0, si_utime=0, si_stime=6} --- [pid 367] exit_group(0) = ? [ 40.568696][ T366] CPU: 1 PID: 366 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 40.578759][ T366] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 40.588651][ T366] Call Trace: [ 40.591773][ T366] [ 40.594555][ T366] dump_stack_lvl+0x151/0x1b7 [ 40.599065][ T366] ? io_uring_drop_tctx_refs+0x190/0x190 [ 40.604534][ T366] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 40.610271][ T366] dump_stack+0x15/0x17 [ 40.614253][ T366] should_fail+0x3c6/0x510 [ 40.618508][ T366] __should_failslab+0xa4/0xe0 [pid 293] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 293] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] unlink("./7/binderfs") = 0 [pid 293] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 293] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] close(4) = 0 [pid 293] rmdir("./7/file0") = 0 [pid 293] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] close(3) = 0 [pid 293] rmdir("./7") = 0 [pid 293] mkdir("./8", 0777) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 371 [pid 367] +++ exited with 0 +++ ./strace-static-x86_64: Process 371 attached [pid 371] set_robust_list(0x555555a60660, 24) = 0 [pid 371] chdir("./8") = 0 [pid 371] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 371] setpgid(0, 0) = 0 [pid 371] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 371] write(3, "1000", 4) = 4 [pid 371] close(3) = 0 [pid 371] symlink("/dev/binderfs", "./binderfs") = 0 [pid 371] mkdir("./file0", 000) = 0 [pid 371] open("./file0", O_RDONLY) = 3 [pid 371] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 371] chdir("./file0") = 0 [pid 371] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 192773564 [pid 371] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 371] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 371] write(4, "24", 2) = 2 [ 40.623111][ T366] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 40.628231][ T366] should_failslab+0x9/0x20 [ 40.632571][ T366] slab_pre_alloc_hook+0x37/0xd0 [ 40.637347][ T366] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 40.642467][ T366] kmem_cache_alloc+0x44/0x200 [ 40.647068][ T366] ext4_mb_new_blocks+0xd97/0x43f0 [ 40.652020][ T366] ? ext4_mb_pa_callback+0xd0/0xd0 [ 40.656962][ T366] ? ext4_xattr_ibody_set+0x390/0x390 [ 40.662168][ T366] ext4_new_meta_blocks+0x206/0x4f0 [ 40.663803][ T371] FAULT_INJECTION: forcing a failure. [pid 371] symlink("./file0", "./file0" [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=367, si_uid=0, si_status=0, si_utime=0, si_stime=22} --- [pid 296] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 296] umount2("./7", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./7", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 296] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] umount2("./7/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./7/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] unlink("./7/binderfs") = 0 [pid 296] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./7/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] umount2("./7/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./7/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 296] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] close(4) = 0 [pid 296] rmdir("./7/file0") = 0 [pid 296] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] close(3) = 0 [pid 296] rmdir("./7") = 0 [pid 296] mkdir("./8", 0777) = 0 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 372 [ 40.663803][ T371] name failslab, interval 1, probability 0, space 0, times 0 [ 40.667198][ T366] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 40.667225][ T366] ? __entry_find+0x398/0x3f0 [ 40.689597][ T366] ? __kmalloc+0x13a/0x270 [ 40.693847][ T366] ext4_xattr_block_set+0x233e/0x3760 [ 40.699055][ T366] ? __ext4_journal_ensure_credits+0x470/0x470 [ 40.705042][ T366] ? ext4_xattr_block_find+0x520/0x520 [ 40.710333][ T366] ? __xattr_check_inode+0x3d5/0x440 [ 40.715459][ T366] ext4_xattr_set_handle+0xdac/0x1560 [ 40.720754][ T366] ? sidtab_sid2str_put+0x2d7/0x640 [ 40.725792][ T366] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 40.731173][ T366] ? selinux_inode_init_security+0x52d/0x780 [ 40.736980][ T366] ? selinux_inode_free_security+0x210/0x210 [ 40.742884][ T366] ext4_initxattrs+0xa7/0x120 [ 40.747397][ T366] security_inode_init_security+0x252/0x390 [ 40.753231][ T366] ? ext4_init_security+0x40/0x40 [ 40.758092][ T366] ? security_dentry_create_files_as+0xc0/0xc0 [ 40.764082][ T366] ? fscrypt_set_context+0x439/0x740 [ 40.769203][ T366] ? __ext4_set_acl+0x5e0/0x5e0 [ 40.773911][ T366] ? prandom_u32+0x24c/0x290 [ 40.778319][ T366] ext4_init_security+0x34/0x40 [ 40.783009][ T366] __ext4_new_inode+0x31f0/0x40a0 [ 40.787875][ T366] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 40.793416][ T366] ? dquot_initialize+0x20/0x20 [ 40.798105][ T366] ? selinux_determine_inode_label+0x29c/0x3b0 [ 40.804097][ T366] ext4_symlink+0x4c3/0xed0 [ 40.808442][ T366] ? ext4_unlink+0x3f0/0x3f0 [ 40.812868][ T366] ? selinux_inode_symlink+0x22/0x30 [ 40.817987][ T366] ? security_inode_symlink+0xb8/0x100 [ 40.823278][ T366] vfs_symlink+0x29f/0x480 [ 40.827533][ T366] do_symlinkat+0x1ea/0x5a0 [ 40.831867][ T366] ? __check_object_size+0x2ec/0x3d0 [ 40.836989][ T366] ? vfs_symlink+0x480/0x480 [ 40.841417][ T366] ? getname_flags+0x1fd/0x520 [ 40.846099][ T366] __x64_sys_symlink+0x7e/0x90 [ 40.850702][ T366] do_syscall_64+0x3d/0xb0 [ 40.854956][ T366] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 40.860717][ T366] RIP: 0033:0x7f3575952459 [pid 365] <... exit_group resumed>) = ? [pid 365] +++ exited with 0 +++ [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=365, si_uid=0, si_status=0, si_utime=0, si_stime=14} --- [pid 295] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 40.864942][ T366] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 40.884467][ T366] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 40.892713][ T366] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 40.900519][ T366] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 40.908332][ T366] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 40.916148][ T366] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./9/binderfs") = 0 [pid 295] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [ 40.923961][ T366] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000009 [ 40.931778][ T366] [ 40.935815][ T371] CPU: 1 PID: 371 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 40.945881][ T371] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 40.955773][ T371] Call Trace: [ 40.958900][ T371] [ 40.961232][ T373] FAULT_INJECTION: forcing a failure. [ 40.961232][ T373] name failslab, interval 1, probability 0, space 0, times 0 [ 40.961668][ T371] dump_stack_lvl+0x151/0x1b7 [ 40.961699][ T371] ? io_uring_drop_tctx_refs+0x190/0x190 [ 40.984156][ T371] ? wb_get_create+0xe0a/0xe40 [ 40.988753][ T371] ? sb_end_intwrite+0x120/0x120 [ 40.993526][ T371] dump_stack+0x15/0x17 [ 40.997601][ T371] should_fail+0x3c6/0x510 [ 41.001859][ T371] __should_failslab+0xa4/0xe0 [ 41.006455][ T371] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 41.011575][ T371] should_failslab+0x9/0x20 [ 41.015917][ T371] slab_pre_alloc_hook+0x37/0xd0 [ 41.020701][ T371] ? ext4_mb_new_blocks+0x4ed/0x43f0 ./strace-static-x86_64: Process 372 attached [pid 366] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 363] +++ exited with 0 +++ [pid 295] newfstatat(4, "", [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=363, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] getdents64(4, [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] <... openat resumed>) = 3 [pid 298] newfstatat(3, "", [pid 295] close(4 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, [pid 295] <... close resumed>) = 0 [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] rmdir("./9/file0" [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./8/binderfs", [pid 295] <... rmdir resumed>) = 0 [pid 298] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] getdents64(3, [pid 298] unlink("./8/binderfs" [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] <... unlink resumed>) = 0 [pid 295] close(3 [pid 298] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... close resumed>) = 0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] rmdir("./9" [pid 298] newfstatat(AT_FDCWD, "./8/file0", [pid 295] <... rmdir resumed>) = 0 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] mkdir("./10", 0777 [pid 298] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... mkdir resumed>) = 0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 298] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 373 [pid 298] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4) = 0 [pid 298] rmdir("./8/file0") = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3) = 0 [pid 298] rmdir("./8") = 0 [pid 298] mkdir("./9", 0777) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 374 ./strace-static-x86_64: Process 373 attached [pid 373] set_robust_list(0x555555a60660, 24) = 0 [pid 373] chdir("./10") = 0 [pid 373] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 373] setpgid(0, 0) = 0 [pid 373] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 373] write(3, "1000", 4) = 4 [pid 373] close(3) = 0 [pid 373] symlink("/dev/binderfs", "./binderfs") = 0 [pid 373] mkdir("./file0", 000) = 0 [pid 373] open("./file0", O_RDONLY) = 3 [pid 373] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 373] chdir("./file0") = 0 [pid 373] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 754528222 [pid 373] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 373] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 373] write(4, "24", 2) = 2 [ 41.025815][ T371] kmem_cache_alloc+0x44/0x200 [ 41.030414][ T371] ext4_mb_new_blocks+0x4ed/0x43f0 [ 41.035361][ T371] ? ext4_mb_pa_callback+0xd0/0xd0 [ 41.040307][ T371] ? ext4_xattr_ibody_set+0x390/0x390 [ 41.045516][ T371] ext4_new_meta_blocks+0x206/0x4f0 [ 41.050548][ T371] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 41.056011][ T371] ? __entry_find+0x398/0x3f0 [ 41.060529][ T371] ? __kmalloc+0x13a/0x270 [ 41.064781][ T371] ext4_xattr_block_set+0x233e/0x3760 [ 41.070080][ T371] ? __ext4_journal_ensure_credits+0x470/0x470 [ 41.076151][ T371] ? ext4_xattr_block_find+0x520/0x520 [ 41.081445][ T371] ? __xattr_check_inode+0x3d5/0x440 [ 41.086673][ T371] ext4_xattr_set_handle+0xdac/0x1560 [ 41.091871][ T371] ? sidtab_sid2str_put+0x2d7/0x640 [ 41.096903][ T371] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 41.102372][ T371] ? selinux_inode_init_security+0x52d/0x780 [ 41.108182][ T371] ? selinux_inode_free_security+0x210/0x210 [ 41.114001][ T371] ext4_initxattrs+0xa7/0x120 [ 41.118513][ T371] security_inode_init_security+0x252/0x390 [ 41.124242][ T371] ? ext4_init_security+0x40/0x40 [ 41.129101][ T371] ? security_dentry_create_files_as+0xc0/0xc0 [ 41.135091][ T371] ? fscrypt_set_context+0x439/0x740 [ 41.140296][ T371] ? __ext4_set_acl+0x5e0/0x5e0 [ 41.144986][ T371] ? prandom_u32+0x24c/0x290 [ 41.149413][ T371] ext4_init_security+0x34/0x40 [ 41.154100][ T371] __ext4_new_inode+0x31f0/0x40a0 [ 41.158976][ T371] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 41.164511][ T371] ? dquot_initialize+0x20/0x20 [ 41.169198][ T371] ? selinux_determine_inode_label+0x29c/0x3b0 [ 41.175192][ T371] ext4_symlink+0x4c3/0xed0 [pid 373] symlink("./file0", "./file0" [pid 372] set_robust_list(0x555555a60660, 24) = 0 [pid 372] chdir("./8") = 0 [pid 372] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 372] setpgid(0, 0) = 0 [pid 372] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 372] write(3, "1000", 4) = 4 [pid 372] close(3) = 0 [ 41.179529][ T371] ? ext4_unlink+0x3f0/0x3f0 [ 41.183952][ T371] ? selinux_inode_symlink+0x22/0x30 [ 41.189074][ T371] ? security_inode_symlink+0xb8/0x100 [ 41.194374][ T371] vfs_symlink+0x29f/0x480 [ 41.198623][ T371] do_symlinkat+0x1ea/0x5a0 [ 41.202961][ T371] ? __check_object_size+0x2ec/0x3d0 [ 41.208082][ T371] ? vfs_symlink+0x480/0x480 [ 41.212513][ T371] ? getname_flags+0x1fd/0x520 [ 41.217108][ T371] __x64_sys_symlink+0x7e/0x90 [ 41.221708][ T371] do_syscall_64+0x3d/0xb0 [pid 372] symlink("/dev/binderfs", "./binderfs") = 0 [pid 372] mkdir("./file0", 000) = 0 [pid 372] open("./file0", O_RDONLY) = 3 [pid 372] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 372] chdir("./file0") = 0 [pid 372] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 1054534744 [pid 372] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 372] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 372] write(4, "24", 2) = 2 [ 41.225960][ T371] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 41.231711][ T371] RIP: 0033:0x7f3575952459 [ 41.235947][ T371] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 41.238208][ T372] FAULT_INJECTION: forcing a failure. [ 41.238208][ T372] name failslab, interval 1, probability 0, space 0, times 0 [ 41.255384][ T371] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 41.255410][ T371] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 41.255425][ T371] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 41.255440][ T371] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 41.299478][ T371] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 41.307287][ T371] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000008 [ 41.315103][ T371] [ 41.317962][ T368] CPU: 0 PID: 368 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 41.328045][ T368] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 41.337925][ T368] Call Trace: [ 41.341048][ T368] [ 41.343826][ T368] dump_stack_lvl+0x151/0x1b7 [ 41.348338][ T368] ? io_uring_drop_tctx_refs+0x190/0x190 [ 41.353809][ T368] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 41.359537][ T368] dump_stack+0x15/0x17 [ 41.363534][ T368] should_fail+0x3c6/0x510 [ 41.367867][ T368] __should_failslab+0xa4/0xe0 [ 41.372465][ T368] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 41.377587][ T368] should_failslab+0x9/0x20 [ 41.381925][ T368] slab_pre_alloc_hook+0x37/0xd0 [ 41.386704][ T368] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 41.391832][ T368] kmem_cache_alloc+0x44/0x200 [ 41.396420][ T368] ext4_mb_new_blocks+0xd97/0x43f0 [ 41.401372][ T368] ? ext4_mb_pa_callback+0xd0/0xd0 [ 41.406315][ T368] ? ext4_xattr_ibody_set+0x390/0x390 [ 41.411523][ T368] ext4_new_meta_blocks+0x206/0x4f0 [ 41.416556][ T368] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 41.422042][ T368] ? __entry_find+0x398/0x3f0 [ 41.426537][ T368] ? __kmalloc+0x13a/0x270 [ 41.430793][ T368] ext4_xattr_block_set+0x233e/0x3760 [ 41.436003][ T368] ? __ext4_journal_ensure_credits+0x470/0x470 [ 41.441991][ T368] ? ext4_xattr_block_find+0x520/0x520 [ 41.447282][ T368] ? __xattr_check_inode+0x3d5/0x440 [ 41.452409][ T368] ext4_xattr_set_handle+0xdac/0x1560 [ 41.457610][ T368] ? sidtab_sid2str_put+0x2d7/0x640 [ 41.462736][ T368] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 41.468133][ T368] ? selinux_inode_init_security+0x52d/0x780 [ 41.473927][ T368] ? selinux_inode_free_security+0x210/0x210 [ 41.479761][ T368] ext4_initxattrs+0xa7/0x120 [ 41.484256][ T368] security_inode_init_security+0x252/0x390 [ 41.489986][ T368] ? ext4_init_security+0x40/0x40 [ 41.494845][ T368] ? security_dentry_create_files_as+0xc0/0xc0 [ 41.500836][ T368] ? fscrypt_set_context+0x439/0x740 [ 41.505956][ T368] ? __ext4_set_acl+0x5e0/0x5e0 [ 41.510782][ T368] ? prandom_u32+0x24c/0x290 [ 41.515206][ T368] ext4_init_security+0x34/0x40 [ 41.519898][ T368] __ext4_new_inode+0x31f0/0x40a0 [ 41.524766][ T368] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 41.530309][ T368] ? dquot_initialize+0x20/0x20 [ 41.534996][ T368] ? selinux_determine_inode_label+0x29c/0x3b0 [ 41.540988][ T368] ext4_symlink+0x4c3/0xed0 [ 41.545325][ T368] ? ext4_unlink+0x3f0/0x3f0 [ 41.549763][ T368] ? selinux_inode_symlink+0x22/0x30 [ 41.554869][ T368] ? security_inode_symlink+0xb8/0x100 [ 41.560167][ T368] vfs_symlink+0x29f/0x480 [ 41.564441][ T368] do_symlinkat+0x1ea/0x5a0 [ 41.568757][ T368] ? __check_object_size+0x2ec/0x3d0 [ 41.573896][ T368] ? vfs_symlink+0x480/0x480 [ 41.578306][ T368] ? getname_flags+0x1fd/0x520 [ 41.582905][ T368] __x64_sys_symlink+0x7e/0x90 [ 41.587505][ T368] do_syscall_64+0x3d/0xb0 [ 41.591759][ T368] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 41.597485][ T368] RIP: 0033:0x7f3575952459 [ 41.601743][ T368] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 41.621183][ T368] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 372] symlink("./file0", "./file0"./strace-static-x86_64: Process 374 attached [pid 371] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 366] exit_group(0 [pid 368] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 368] exit_group(0) = ? [pid 368] +++ exited with 0 +++ [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=368, si_uid=0, si_status=0, si_utime=0, si_stime=50} --- [pid 294] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 294] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 41.629426][ T368] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 41.637322][ T368] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 41.645134][ T368] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 41.652945][ T368] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 41.662143][ T368] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000009 [ 41.670048][ T368] [pid 294] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] unlink("./9/binderfs") = 0 [pid 294] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 294] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] close(4) = 0 [pid 294] rmdir("./9/file0") = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] close(3) = 0 [pid 294] rmdir("./9") = 0 [pid 294] mkdir("./10", 0777) = 0 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 376 ./strace-static-x86_64: Process 376 attached [pid 376] set_robust_list(0x555555a60660, 24) = 0 [pid 376] chdir("./10") = 0 [pid 376] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 376] setpgid(0, 0) = 0 [pid 376] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 376] write(3, "1000", 4) = 4 [pid 376] close(3) = 0 [pid 376] symlink("/dev/binderfs", "./binderfs") = 0 [pid 376] mkdir("./file0", 000) = 0 [pid 376] open("./file0", O_RDONLY) = 3 [pid 376] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 376] chdir("./file0") = 0 [pid 376] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 59882755 [pid 376] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 376] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 376] write(4, "24", 2) = 2 [ 41.673025][ T373] CPU: 1 PID: 373 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 41.683591][ T373] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 41.693483][ T373] Call Trace: [ 41.696611][ T373] [ 41.699384][ T373] dump_stack_lvl+0x151/0x1b7 [ 41.703905][ T373] ? io_uring_drop_tctx_refs+0x190/0x190 [ 41.709366][ T373] ? wb_get_create+0xe0a/0xe40 [ 41.712915][ T376] FAULT_INJECTION: forcing a failure. [ 41.712915][ T376] name failslab, interval 1, probability 0, space 0, times 0 [ 41.713960][ T373] ? sb_end_intwrite+0x120/0x120 [ 41.713988][ T373] dump_stack+0x15/0x17 [ 41.735142][ T373] should_fail+0x3c6/0x510 [ 41.739400][ T373] __should_failslab+0xa4/0xe0 [ 41.743994][ T373] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 41.749120][ T373] should_failslab+0x9/0x20 [ 41.753456][ T373] slab_pre_alloc_hook+0x37/0xd0 [ 41.758236][ T373] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 41.763355][ T373] kmem_cache_alloc+0x44/0x200 [ 41.767968][ T373] ext4_mb_new_blocks+0x4ed/0x43f0 [ 41.772911][ T373] ? ext4_mb_pa_callback+0xd0/0xd0 [ 41.777849][ T373] ? ext4_xattr_ibody_set+0x390/0x390 [pid 376] symlink("./file0", "./file0" [pid 374] set_robust_list(0x555555a60660, 24 [pid 371] exit_group(0 [pid 366] <... exit_group resumed>) = ? [pid 374] <... set_robust_list resumed>) = 0 [pid 371] <... exit_group resumed>) = ? [pid 366] +++ exited with 0 +++ [pid 374] chdir("./9" [pid 371] +++ exited with 0 +++ [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=366, si_uid=0, si_status=0, si_utime=0, si_stime=10} --- [pid 374] <... chdir resumed>) = 0 [pid 374] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=371, si_uid=0, si_status=0, si_utime=0, si_stime=8} --- [pid 374] <... prctl resumed>) = 0 [pid 297] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW [pid 374] setpgid(0, 0 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 374] <... setpgid resumed>) = 0 [pid 297] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 374] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 297] <... openat resumed>) = 3 [pid 293] <... openat resumed>) = 3 [pid 374] <... openat resumed>) = 3 [pid 297] newfstatat(3, "", [pid 293] newfstatat(3, "", [pid 374] write(3, "1000", 4 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 374] <... write resumed>) = 4 [pid 297] getdents64(3, [pid 293] getdents64(3, [pid 374] close(3 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 374] <... close resumed>) = 0 [pid 297] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 374] symlink("/dev/binderfs", "./binderfs" [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 374] <... symlink resumed>) = 0 [pid 297] newfstatat(AT_FDCWD, "./9/binderfs", [pid 293] newfstatat(AT_FDCWD, "./8/binderfs", [pid 374] mkdir("./file0", 000 [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 374] <... mkdir resumed>) = 0 [pid 297] unlink("./9/binderfs" [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 374] open("./file0", O_RDONLY [pid 297] <... unlink resumed>) = 0 [pid 293] unlink("./8/binderfs" [pid 374] <... open resumed>) = 3 [pid 297] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... unlink resumed>) = 0 [pid 374] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 374] <... ioctl resumed>) = 0 [pid 297] newfstatat(AT_FDCWD, "./9/file0", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 374] chdir("./file0" [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] newfstatat(AT_FDCWD, "./8/file0", [pid 374] <... chdir resumed>) = 0 [pid 297] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 374] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 374] <... add_key resumed>) = 528196451 [pid 297] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 374] open("./bus", O_RDONLY [pid 297] <... openat resumed>) = 4 [pid 293] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 374] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 297] newfstatat(4, "", [pid 293] <... openat resumed>) = 4 [pid 374] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 41.783051][ T373] ext4_new_meta_blocks+0x206/0x4f0 [ 41.788086][ T373] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 41.793554][ T373] ? __entry_find+0x398/0x3f0 [ 41.798068][ T373] ? __kmalloc+0x13a/0x270 [ 41.802421][ T373] ext4_xattr_block_set+0x233e/0x3760 [ 41.807635][ T373] ? __ext4_journal_ensure_credits+0x470/0x470 [ 41.813620][ T373] ? ext4_xattr_block_find+0x520/0x520 [ 41.819347][ T373] ? __xattr_check_inode+0x3d5/0x440 [ 41.824474][ T373] ext4_xattr_set_handle+0xdac/0x1560 [pid 293] newfstatat(4, "", [pid 374] <... openat resumed>) = 4 [pid 297] getdents64(4, [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 374] write(4, "24", 2 [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] getdents64(4, [pid 374] <... write resumed>) = 2 [pid 297] getdents64(4, [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 374] symlink("./file0", "./file0" [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] getdents64(4, [pid 297] close(4 [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] <... close resumed>) = 0 [pid 293] close(4 [pid 297] rmdir("./9/file0" [pid 293] <... close resumed>) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 293] rmdir("./8/file0" [pid 297] getdents64(3, [pid 293] <... rmdir resumed>) = 0 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] getdents64(3, [pid 297] close(3 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] <... close resumed>) = 0 [pid 293] close(3 [pid 297] rmdir("./9" [pid 293] <... close resumed>) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 293] rmdir("./8" [pid 297] mkdir("./10", 0777 [pid 293] <... rmdir resumed>) = 0 [pid 297] <... mkdir resumed>) = 0 [pid 293] mkdir("./9", 0777 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 293] <... mkdir resumed>) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 377 [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 378 ./strace-static-x86_64: Process 378 attached [pid 378] set_robust_list(0x555555a60660, 24) = 0 [pid 378] chdir("./9") = 0 [pid 378] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 378] setpgid(0, 0) = 0 [pid 378] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 378] write(3, "1000", 4) = 4 [pid 378] close(3) = 0 [pid 378] symlink("/dev/binderfs", "./binderfs") = 0 [pid 378] mkdir("./file0", 000) = 0 [pid 378] open("./file0", O_RDONLY) = 3 [pid 378] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 378] chdir("./file0") = 0 [pid 378] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 473039005 [pid 378] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 378] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 378] write(4, "24", 2) = 2 [ 41.829673][ T373] ? sidtab_sid2str_put+0x2d7/0x640 [ 41.834710][ T373] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 41.836757][ T374] FAULT_INJECTION: forcing a failure. [ 41.836757][ T374] name failslab, interval 1, probability 0, space 0, times 0 [ 41.840087][ T373] ? selinux_inode_init_security+0x52d/0x780 [ 41.858317][ T373] ? selinux_inode_free_security+0x210/0x210 [ 41.864131][ T373] ext4_initxattrs+0xa7/0x120 [ 41.868649][ T373] security_inode_init_security+0x252/0x390 [ 41.874372][ T373] ? ext4_init_security+0x40/0x40 [ 41.879237][ T373] ? security_dentry_create_files_as+0xc0/0xc0 [ 41.885222][ T373] ? fscrypt_set_context+0x439/0x740 [ 41.885316][ T378] FAULT_INJECTION: forcing a failure. [ 41.885316][ T378] name failslab, interval 1, probability 0, space 0, times 0 [ 41.890341][ T373] ? __ext4_set_acl+0x5e0/0x5e0 [ 41.890361][ T373] ? prandom_u32+0x24c/0x290 [ 41.911866][ T373] ext4_init_security+0x34/0x40 [ 41.916553][ T373] __ext4_new_inode+0x31f0/0x40a0 [ 41.921421][ T373] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 41.926966][ T373] ? dquot_initialize+0x20/0x20 [ 41.931662][ T373] ? selinux_determine_inode_label+0x29c/0x3b0 [ 41.937643][ T373] ext4_symlink+0x4c3/0xed0 [ 41.941982][ T373] ? ext4_unlink+0x3f0/0x3f0 [ 41.946418][ T373] ? selinux_inode_symlink+0x22/0x30 [ 41.951527][ T373] ? security_inode_symlink+0xb8/0x100 [ 41.956827][ T373] vfs_symlink+0x29f/0x480 [ 41.961082][ T373] do_symlinkat+0x1ea/0x5a0 [ 41.965420][ T373] ? __check_object_size+0x2ec/0x3d0 [ 41.970542][ T373] ? vfs_symlink+0x480/0x480 [ 41.974966][ T373] ? getname_flags+0x1fd/0x520 [ 41.979563][ T373] __x64_sys_symlink+0x7e/0x90 [ 41.984250][ T373] do_syscall_64+0x3d/0xb0 [ 41.988499][ T373] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 41.994230][ T373] RIP: 0033:0x7f3575952459 [ 41.998484][ T373] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 42.017922][ T373] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 42.026167][ T373] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 42.033980][ T373] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 42.041794][ T373] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 42.049600][ T373] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 42.057416][ T373] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000a [ 42.065238][ T373] [ 42.068195][ T372] CPU: 1 PID: 372 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 42.078161][ T372] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 42.088052][ T372] Call Trace: [ 42.091182][ T372] [ 42.093961][ T372] dump_stack_lvl+0x151/0x1b7 [ 42.098479][ T372] ? io_uring_drop_tctx_refs+0x190/0x190 [ 42.103938][ T372] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 42.109672][ T372] dump_stack+0x15/0x17 [ 42.113661][ T372] should_fail+0x3c6/0x510 [ 42.117913][ T372] __should_failslab+0xa4/0xe0 [ 42.122512][ T372] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 42.127630][ T372] should_failslab+0x9/0x20 [ 42.131972][ T372] slab_pre_alloc_hook+0x37/0xd0 [ 42.136747][ T372] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 42.141866][ T372] kmem_cache_alloc+0x44/0x200 [ 42.146464][ T372] ext4_mb_new_blocks+0xd97/0x43f0 [ 42.151589][ T372] ? ext4_mb_pa_callback+0xd0/0xd0 [ 42.156534][ T372] ? ext4_xattr_ibody_set+0x390/0x390 [ 42.161747][ T372] ext4_new_meta_blocks+0x206/0x4f0 [ 42.166777][ T372] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 42.172331][ T372] ? __entry_find+0x398/0x3f0 [ 42.176840][ T372] ? __kmalloc+0x13a/0x270 [ 42.181097][ T372] ext4_xattr_block_set+0x233e/0x3760 [ 42.186312][ T372] ? __ext4_journal_ensure_credits+0x470/0x470 [ 42.192296][ T372] ? ext4_xattr_block_find+0x520/0x520 [ 42.197592][ T372] ? __xattr_check_inode+0x3d5/0x440 [ 42.202711][ T372] ext4_xattr_set_handle+0xdac/0x1560 [ 42.207913][ T372] ? sidtab_sid2str_put+0x2d7/0x640 [ 42.212951][ T372] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 42.218333][ T372] ? selinux_inode_init_security+0x52d/0x780 [ 42.224147][ T372] ? selinux_inode_free_security+0x210/0x210 [ 42.229962][ T372] ext4_initxattrs+0xa7/0x120 [ 42.234479][ T372] security_inode_init_security+0x252/0x390 [ 42.240199][ T372] ? ext4_init_security+0x40/0x40 [ 42.245060][ T372] ? security_dentry_create_files_as+0xc0/0xc0 [ 42.251048][ T372] ? fscrypt_set_context+0x439/0x740 [ 42.256170][ T372] ? __ext4_set_acl+0x5e0/0x5e0 [ 42.260865][ T372] ? prandom_u32+0x24c/0x290 [ 42.265288][ T372] ext4_init_security+0x34/0x40 [ 42.269975][ T372] __ext4_new_inode+0x31f0/0x40a0 [ 42.274840][ T372] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 42.280387][ T372] ? dquot_initialize+0x20/0x20 [ 42.285091][ T372] ? selinux_determine_inode_label+0x29c/0x3b0 [ 42.291065][ T372] ext4_symlink+0x4c3/0xed0 [ 42.295405][ T372] ? ext4_unlink+0x3f0/0x3f0 [ 42.299838][ T372] ? selinux_inode_symlink+0x22/0x30 [ 42.304945][ T372] ? security_inode_symlink+0xb8/0x100 [ 42.310247][ T372] vfs_symlink+0x29f/0x480 [ 42.314506][ T372] do_symlinkat+0x1ea/0x5a0 [ 42.318835][ T372] ? __check_object_size+0x2ec/0x3d0 [ 42.323956][ T372] ? vfs_symlink+0x480/0x480 [ 42.328385][ T372] ? getname_flags+0x1fd/0x520 [ 42.332986][ T372] __x64_sys_symlink+0x7e/0x90 [ 42.337583][ T372] do_syscall_64+0x3d/0xb0 [ 42.341833][ T372] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 42.347562][ T372] RIP: 0033:0x7f3575952459 [ 42.351819][ T372] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 42.371257][ T372] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 378] symlink("./file0", "./file0"./strace-static-x86_64: Process 377 attached [pid 377] set_robust_list(0x555555a60660, 24) = 0 [pid 377] chdir("./10" [pid 373] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 372] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [ 42.379506][ T372] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 42.387314][ T372] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 42.395124][ T372] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 42.402936][ T372] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 42.410746][ T372] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000008 [ 42.418569][ T372] [ 42.423512][ T374] CPU: 1 PID: 374 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 42.433578][ T374] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 42.443469][ T374] Call Trace: [ 42.446593][ T374] [ 42.449372][ T374] dump_stack_lvl+0x151/0x1b7 [ 42.453882][ T374] ? io_uring_drop_tctx_refs+0x190/0x190 [ 42.459352][ T374] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 42.465082][ T374] dump_stack+0x15/0x17 [ 42.469071][ T374] should_fail+0x3c6/0x510 [ 42.473323][ T374] __should_failslab+0xa4/0xe0 [ 42.477925][ T374] ? ext4_mb_new_blocks+0xd97/0x43f0 [pid 377] <... chdir resumed>) = 0 [pid 377] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 377] setpgid(0, 0) = 0 [pid 377] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 377] write(3, "1000", 4) = 4 [pid 377] close(3) = 0 [pid 377] symlink("/dev/binderfs", "./binderfs") = 0 [pid 377] mkdir("./file0", 000) = 0 [pid 377] open("./file0", O_RDONLY) = 3 [pid 377] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 377] chdir("./file0") = 0 [pid 377] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 600743649 [pid 377] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 377] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [ 42.483045][ T374] should_failslab+0x9/0x20 [ 42.487390][ T374] slab_pre_alloc_hook+0x37/0xd0 [ 42.492165][ T374] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 42.497283][ T374] kmem_cache_alloc+0x44/0x200 [ 42.501883][ T374] ext4_mb_new_blocks+0xd97/0x43f0 [ 42.506838][ T374] ? ext4_mb_pa_callback+0xd0/0xd0 [ 42.511773][ T374] ? ext4_xattr_ibody_set+0x390/0x390 [ 42.516981][ T374] ext4_new_meta_blocks+0x206/0x4f0 [ 42.522026][ T374] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 42.526366][ T377] FAULT_INJECTION: forcing a failure. [pid 377] write(4, "24", 2) = 2 [ 42.526366][ T377] name failslab, interval 1, probability 0, space 0, times 0 [ 42.527484][ T374] ? __entry_find+0x398/0x3f0 [ 42.527509][ T374] ? __kmalloc+0x13a/0x270 [ 42.548692][ T374] ext4_xattr_block_set+0x233e/0x3760 [ 42.553874][ T374] ? __ext4_journal_ensure_credits+0x470/0x470 [ 42.559858][ T374] ? ext4_xattr_block_find+0x520/0x520 [ 42.565150][ T374] ? __xattr_check_inode+0x3d5/0x440 [ 42.570273][ T374] ext4_xattr_set_handle+0xdac/0x1560 [ 42.575478][ T374] ? sidtab_sid2str_put+0x2d7/0x640 [ 42.580529][ T374] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 42.585910][ T374] ? selinux_inode_init_security+0x52d/0x780 [ 42.591721][ T374] ? selinux_inode_free_security+0x210/0x210 [ 42.597526][ T374] ext4_initxattrs+0xa7/0x120 [ 42.602038][ T374] security_inode_init_security+0x252/0x390 [ 42.607768][ T374] ? ext4_init_security+0x40/0x40 [ 42.612629][ T374] ? security_dentry_create_files_as+0xc0/0xc0 [ 42.618622][ T374] ? fscrypt_set_context+0x439/0x740 [ 42.623751][ T374] ? __ext4_set_acl+0x5e0/0x5e0 [ 42.628422][ T374] ? prandom_u32+0x24c/0x290 [ 42.632847][ T374] ext4_init_security+0x34/0x40 [ 42.637534][ T374] __ext4_new_inode+0x31f0/0x40a0 [ 42.642402][ T374] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 42.647949][ T374] ? dquot_initialize+0x20/0x20 [ 42.652653][ T374] ? selinux_determine_inode_label+0x29c/0x3b0 [ 42.658757][ T374] ext4_symlink+0x4c3/0xed0 [ 42.663101][ T374] ? ext4_unlink+0x3f0/0x3f0 [ 42.667522][ T374] ? selinux_inode_symlink+0x22/0x30 [ 42.672643][ T374] ? security_inode_symlink+0xb8/0x100 [ 42.677942][ T374] vfs_symlink+0x29f/0x480 [ 42.682193][ T374] do_symlinkat+0x1ea/0x5a0 [ 42.686531][ T374] ? __check_object_size+0x2ec/0x3d0 [ 42.691655][ T374] ? vfs_symlink+0x480/0x480 [ 42.696074][ T374] ? getname_flags+0x1fd/0x520 [ 42.700680][ T374] __x64_sys_symlink+0x7e/0x90 [ 42.705278][ T374] do_syscall_64+0x3d/0xb0 [ 42.709530][ T374] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 42.715262][ T374] RIP: 0033:0x7f3575952459 [ 42.719515][ T374] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 42.738953][ T374] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 42.747199][ T374] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 42.755008][ T374] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 42.762909][ T374] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 42.770829][ T374] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 42.778641][ T374] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000009 [pid 377] symlink("./file0", "./file0" [pid 374] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 373] exit_group(0 [ 42.786587][ T374] [ 42.789868][ T378] CPU: 1 PID: 378 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 42.799931][ T378] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 42.809903][ T378] Call Trace: [ 42.813024][ T378] [ 42.815805][ T378] dump_stack_lvl+0x151/0x1b7 [ 42.820318][ T378] ? io_uring_drop_tctx_refs+0x190/0x190 [ 42.825784][ T378] ? wb_get_create+0xe0a/0xe40 [ 42.830384][ T378] ? sb_end_intwrite+0x120/0x120 [ 42.835161][ T378] dump_stack+0x15/0x17 [ 42.839151][ T378] should_fail+0x3c6/0x510 [ 42.843404][ T378] __should_failslab+0xa4/0xe0 [ 42.848003][ T378] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 42.853123][ T378] should_failslab+0x9/0x20 [ 42.857462][ T378] slab_pre_alloc_hook+0x37/0xd0 [ 42.862236][ T378] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 42.867445][ T378] kmem_cache_alloc+0x44/0x200 [ 42.872047][ T378] ext4_mb_new_blocks+0x4ed/0x43f0 [ 42.877001][ T378] ? ext4_mb_pa_callback+0xd0/0xd0 [ 42.881941][ T378] ? ext4_xattr_ibody_set+0x390/0x390 [pid 372] exit_group(0 [pid 374] exit_group(0) = ? [pid 374] +++ exited with 0 +++ [ 42.887147][ T378] ext4_new_meta_blocks+0x206/0x4f0 [ 42.892184][ T378] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 42.897653][ T378] ? __entry_find+0x398/0x3f0 [ 42.902166][ T378] ? __kmalloc+0x13a/0x270 [ 42.906416][ T378] ext4_xattr_block_set+0x233e/0x3760 [ 42.911630][ T378] ? __ext4_journal_ensure_credits+0x470/0x470 [ 42.917612][ T378] ? ext4_xattr_block_find+0x520/0x520 [ 42.922906][ T378] ? __xattr_check_inode+0x3d5/0x440 [ 42.928031][ T378] ext4_xattr_set_handle+0xdac/0x1560 [ 42.933232][ T378] ? sidtab_sid2str_put+0x2d7/0x640 [ 42.938282][ T378] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 42.943652][ T378] ? selinux_inode_init_security+0x52d/0x780 [ 42.949465][ T378] ? selinux_inode_free_security+0x210/0x210 [ 42.955282][ T378] ext4_initxattrs+0xa7/0x120 [ 42.959794][ T378] security_inode_init_security+0x252/0x390 [ 42.965529][ T378] ? ext4_init_security+0x40/0x40 [ 42.970382][ T378] ? security_dentry_create_files_as+0xc0/0xc0 [ 42.976371][ T378] ? fscrypt_set_context+0x439/0x740 [ 42.981489][ T378] ? __ext4_set_acl+0x5e0/0x5e0 [ 42.986178][ T378] ? prandom_u32+0x24c/0x290 [ 42.990606][ T378] ext4_init_security+0x34/0x40 [ 42.995294][ T378] __ext4_new_inode+0x31f0/0x40a0 [ 43.000154][ T378] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 43.005718][ T378] ? dquot_initialize+0x20/0x20 [ 43.010390][ T378] ? selinux_determine_inode_label+0x29c/0x3b0 [ 43.016386][ T378] ext4_symlink+0x4c3/0xed0 [ 43.020723][ T378] ? ext4_unlink+0x3f0/0x3f0 [ 43.025146][ T378] ? selinux_inode_symlink+0x22/0x30 [ 43.030266][ T378] ? security_inode_symlink+0xb8/0x100 [ 43.035562][ T378] vfs_symlink+0x29f/0x480 [ 43.039817][ T378] do_symlinkat+0x1ea/0x5a0 [ 43.044155][ T378] ? __check_object_size+0x2ec/0x3d0 [ 43.049276][ T378] ? vfs_symlink+0x480/0x480 [ 43.053699][ T378] ? getname_flags+0x1fd/0x520 [ 43.058304][ T378] __x64_sys_symlink+0x7e/0x90 [ 43.062900][ T378] do_syscall_64+0x3d/0xb0 [ 43.067155][ T378] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 43.072884][ T378] RIP: 0033:0x7f3575952459 [ 43.077155][ T378] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 43.096577][ T378] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 43.104913][ T378] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 43.112723][ T378] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 43.120531][ T378] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 43.128349][ T378] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 43.136161][ T378] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000009 [ 43.143969][ T378] [ 43.146832][ T377] CPU: 0 PID: 377 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 43.156899][ T377] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 43.166792][ T377] Call Trace: [ 43.169916][ T377] [ 43.172697][ T377] dump_stack_lvl+0x151/0x1b7 [ 43.177227][ T377] ? io_uring_drop_tctx_refs+0x190/0x190 [ 43.182687][ T377] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 43.188403][ T377] dump_stack+0x15/0x17 [ 43.192393][ T377] should_fail+0x3c6/0x510 [ 43.196649][ T377] __should_failslab+0xa4/0xe0 [ 43.201251][ T377] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 43.206367][ T377] should_failslab+0x9/0x20 [ 43.210710][ T377] slab_pre_alloc_hook+0x37/0xd0 [ 43.215483][ T377] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 43.220602][ T377] kmem_cache_alloc+0x44/0x200 [ 43.225203][ T377] ext4_mb_new_blocks+0xd97/0x43f0 [ 43.230155][ T377] ? ext4_mb_pa_callback+0xd0/0xd0 [ 43.235097][ T377] ? ext4_xattr_ibody_set+0x390/0x390 [ 43.240308][ T377] ext4_new_meta_blocks+0x206/0x4f0 [ 43.245338][ T377] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 43.250810][ T377] ? __entry_find+0x398/0x3f0 [ 43.255318][ T377] ? __kmalloc+0x13a/0x270 [ 43.259579][ T377] ext4_xattr_block_set+0x233e/0x3760 [ 43.264781][ T377] ? __ext4_journal_ensure_credits+0x470/0x470 [ 43.270771][ T377] ? ext4_xattr_block_find+0x520/0x520 [ 43.276066][ T377] ? __xattr_check_inode+0x3d5/0x440 [ 43.281186][ T377] ext4_xattr_set_handle+0xdac/0x1560 [ 43.286390][ T377] ? sidtab_sid2str_put+0x2d7/0x640 [ 43.291435][ T377] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 43.296810][ T377] ? selinux_inode_init_security+0x52d/0x780 [ 43.302623][ T377] ? selinux_inode_free_security+0x210/0x210 [ 43.308436][ T377] ext4_initxattrs+0xa7/0x120 [ 43.312952][ T377] security_inode_init_security+0x252/0x390 [ 43.318679][ T377] ? ext4_init_security+0x40/0x40 [ 43.323539][ T377] ? security_dentry_create_files_as+0xc0/0xc0 [ 43.329528][ T377] ? fscrypt_set_context+0x439/0x740 [ 43.334665][ T377] ? __ext4_set_acl+0x5e0/0x5e0 [ 43.339335][ T377] ? prandom_u32+0x24c/0x290 [ 43.343761][ T377] ext4_init_security+0x34/0x40 [ 43.348548][ T377] __ext4_new_inode+0x31f0/0x40a0 [ 43.353412][ T377] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 43.358958][ T377] ? dquot_initialize+0x20/0x20 [ 43.363643][ T377] ? selinux_determine_inode_label+0x29c/0x3b0 [ 43.369731][ T377] ext4_symlink+0x4c3/0xed0 [ 43.374060][ T377] ? ext4_unlink+0x3f0/0x3f0 [ 43.378486][ T377] ? selinux_inode_symlink+0x22/0x30 [ 43.384040][ T377] ? security_inode_symlink+0xb8/0x100 [ 43.389346][ T377] vfs_symlink+0x29f/0x480 [ 43.393593][ T377] do_symlinkat+0x1ea/0x5a0 [ 43.398014][ T377] ? __check_object_size+0x2ec/0x3d0 [ 43.403135][ T377] ? vfs_symlink+0x480/0x480 [ 43.407563][ T377] ? getname_flags+0x1fd/0x520 [ 43.412162][ T377] __x64_sys_symlink+0x7e/0x90 [ 43.416761][ T377] do_syscall_64+0x3d/0xb0 [ 43.421017][ T377] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 43.426742][ T377] RIP: 0033:0x7f3575952459 [ 43.430999][ T377] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 43.450464][ T377] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 43.458684][ T377] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 43.466492][ T377] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 43.474306][ T377] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 43.482120][ T377] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [pid 373] <... exit_group resumed>) = ? [pid 372] <... exit_group resumed>) = ? [pid 372] +++ exited with 0 +++ [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=374, si_uid=0, si_status=0, si_utime=0, si_stime=13} --- [pid 373] +++ exited with 0 +++ [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=372, si_uid=0, si_status=0, si_utime=0, si_stime=11} --- [pid 298] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW [pid 378] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=373, si_uid=0, si_status=0, si_utime=0, si_stime=13} --- [pid 296] umount2("./8", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./8", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... openat resumed>) = 3 [pid 295] <... openat resumed>) = 3 [pid 296] newfstatat(3, "", [pid 295] newfstatat(3, "", [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(3, [pid 295] getdents64(3, [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] umount2("./8/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./8/binderfs", [pid 295] newfstatat(AT_FDCWD, "./10/binderfs", [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] unlink("./8/binderfs" [pid 295] unlink("./10/binderfs" [pid 296] <... unlink resumed>) = 0 [pid 295] <... unlink resumed>) = 0 [pid 296] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./8/file0", [pid 295] newfstatat(AT_FDCWD, "./10/file0", [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] umount2("./8/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./8/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... openat resumed>) = 4 [pid 295] <... openat resumed>) = 4 [pid 296] newfstatat(4, "", [pid 295] newfstatat(4, "", [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(4, [pid 295] getdents64(4, [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] getdents64(4, [pid 295] getdents64(4, [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] close(4 [pid 295] close(4 [pid 296] <... close resumed>) = 0 [pid 295] <... close resumed>) = 0 [pid 296] rmdir("./8/file0" [pid 295] rmdir("./10/file0" [pid 296] <... rmdir resumed>) = 0 [pid 295] <... rmdir resumed>) = 0 [pid 296] getdents64(3, [pid 295] getdents64(3, [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] close(3 [pid 295] close(3 [pid 296] <... close resumed>) = 0 [pid 295] <... close resumed>) = 0 [pid 296] rmdir("./8" [pid 295] rmdir("./10" [pid 296] <... rmdir resumed>) = 0 [pid 295] <... rmdir resumed>) = 0 [pid 296] mkdir("./9", 0777 [pid 295] mkdir("./11", 0777 [pid 296] <... mkdir resumed>) = 0 [pid 295] <... mkdir resumed>) = 0 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 381 [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 382 ./strace-static-x86_64: Process 382 attached [pid 382] set_robust_list(0x555555a60660, 24) = 0 [pid 382] chdir("./11") = 0 [pid 382] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 382] setpgid(0, 0) = 0 ./strace-static-x86_64: Process 381 attached [pid 381] set_robust_list(0x555555a60660, 24) = 0 [pid 382] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 381] chdir("./9" [pid 382] <... openat resumed>) = 3 [pid 382] write(3, "1000", 4) = 4 [pid 381] <... chdir resumed>) = 0 [pid 382] close(3 [pid 381] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 382] <... close resumed>) = 0 [pid 381] <... prctl resumed>) = 0 [pid 382] symlink("/dev/binderfs", "./binderfs" [pid 381] setpgid(0, 0) = 0 [pid 382] <... symlink resumed>) = 0 [pid 381] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 382] mkdir("./file0", 000 [pid 381] <... openat resumed>) = 3 [pid 382] <... mkdir resumed>) = 0 [pid 381] write(3, "1000", 4 [pid 382] open("./file0", O_RDONLY [pid 381] <... write resumed>) = 4 [ 43.489925][ T377] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000a [ 43.497830][ T377] [ 43.503669][ T376] CPU: 1 PID: 376 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 43.513739][ T376] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 43.523637][ T376] Call Trace: [ 43.526754][ T376] [ 43.529533][ T376] dump_stack_lvl+0x151/0x1b7 [ 43.534046][ T376] ? io_uring_drop_tctx_refs+0x190/0x190 [pid 382] <... open resumed>) = 3 [pid 381] close(3 [pid 382] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 381] <... close resumed>) = 0 [pid 382] <... ioctl resumed>) = 0 [pid 381] symlink("/dev/binderfs", "./binderfs" [pid 382] chdir("./file0" [pid 381] <... symlink resumed>) = 0 [pid 382] <... chdir resumed>) = 0 [pid 381] mkdir("./file0", 000 [pid 382] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 381] <... mkdir resumed>) = 0 [pid 382] <... add_key resumed>) = 716406507 [pid 381] open("./file0", O_RDONLY [pid 382] open("./bus", O_RDONLY [pid 381] <... open resumed>) = 3 [pid 382] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 381] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 382] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 381] <... ioctl resumed>) = 0 [pid 382] <... openat resumed>) = 4 [pid 381] chdir("./file0" [pid 382] write(4, "24", 2 [pid 381] <... chdir resumed>) = 0 [pid 382] <... write resumed>) = 2 [pid 381] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 382] symlink("./file0", "./file0" [pid 381] <... add_key resumed>) = 36698844 [pid 381] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 381] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 381] write(4, "24", 2) = 2 [ 43.539603][ T376] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 43.545328][ T376] dump_stack+0x15/0x17 [ 43.549324][ T376] should_fail+0x3c6/0x510 [ 43.550304][ T382] FAULT_INJECTION: forcing a failure. [ 43.550304][ T382] name failslab, interval 1, probability 0, space 0, times 0 [ 43.553592][ T376] __should_failslab+0xa4/0xe0 [ 43.553619][ T376] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 43.569464][ T381] FAULT_INJECTION: forcing a failure. [ 43.569464][ T381] name failslab, interval 1, probability 0, space 0, times 0 [ 43.570582][ T376] should_failslab+0x9/0x20 [pid 381] symlink("./file0", "./file0" [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./9/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./9/binderfs") = 0 [pid 298] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./9/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 298] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4) = 0 [pid 298] rmdir("./9/file0") = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3) = 0 [pid 298] rmdir("./9") = 0 [pid 298] mkdir("./10", 0777) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 383 [ 43.592456][ T376] slab_pre_alloc_hook+0x37/0xd0 [ 43.597235][ T376] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 43.602351][ T376] kmem_cache_alloc+0x44/0x200 [ 43.606952][ T376] ext4_mb_new_blocks+0xd97/0x43f0 [ 43.611904][ T376] ? ext4_mb_pa_callback+0xd0/0xd0 [ 43.616867][ T376] ? ext4_xattr_ibody_set+0x390/0x390 [ 43.622051][ T376] ext4_new_meta_blocks+0x206/0x4f0 [ 43.627095][ T376] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 43.632553][ T376] ? __entry_find+0x398/0x3f0 [ 43.637067][ T376] ? __kmalloc+0x13a/0x270 [ 43.641321][ T376] ext4_xattr_block_set+0x233e/0x3760 [ 43.646528][ T376] ? __ext4_journal_ensure_credits+0x470/0x470 [ 43.652514][ T376] ? ext4_xattr_block_find+0x520/0x520 [ 43.657810][ T376] ? __xattr_check_inode+0x3d5/0x440 [ 43.662934][ T376] ext4_xattr_set_handle+0xdac/0x1560 [ 43.668140][ T376] ? sidtab_sid2str_put+0x2d7/0x640 [ 43.673177][ T376] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 43.678671][ T376] ? selinux_inode_init_security+0x52d/0x780 [ 43.684483][ T376] ? selinux_inode_free_security+0x210/0x210 [ 43.690297][ T376] ext4_initxattrs+0xa7/0x120 [ 43.694810][ T376] security_inode_init_security+0x252/0x390 [ 43.700545][ T376] ? ext4_init_security+0x40/0x40 [ 43.705487][ T376] ? security_dentry_create_files_as+0xc0/0xc0 [ 43.711478][ T376] ? fscrypt_set_context+0x439/0x740 [ 43.716592][ T376] ? __ext4_set_acl+0x5e0/0x5e0 [ 43.721281][ T376] ? prandom_u32+0x24c/0x290 [ 43.725707][ T376] ext4_init_security+0x34/0x40 [ 43.730402][ T376] __ext4_new_inode+0x31f0/0x40a0 [ 43.735256][ T376] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 43.740821][ T376] ? dquot_initialize+0x20/0x20 [ 43.745497][ T376] ? selinux_determine_inode_label+0x29c/0x3b0 [ 43.751500][ T376] ext4_symlink+0x4c3/0xed0 [ 43.755831][ T376] ? ext4_unlink+0x3f0/0x3f0 [ 43.760249][ T376] ? selinux_inode_symlink+0x22/0x30 [ 43.765369][ T376] ? security_inode_symlink+0xb8/0x100 [ 43.770666][ T376] vfs_symlink+0x29f/0x480 [ 43.774919][ T376] do_symlinkat+0x1ea/0x5a0 [ 43.779259][ T376] ? __check_object_size+0x2ec/0x3d0 [ 43.784382][ T376] ? vfs_symlink+0x480/0x480 [ 43.788809][ T376] ? getname_flags+0x1fd/0x520 [ 43.793409][ T376] __x64_sys_symlink+0x7e/0x90 [ 43.798006][ T376] do_syscall_64+0x3d/0xb0 [ 43.802259][ T376] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 43.807988][ T376] RIP: 0033:0x7f3575952459 [ 43.812241][ T376] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 43.831682][ T376] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 378] exit_group(0) = ? [pid 378] +++ exited with 0 +++ ./strace-static-x86_64: Process 383 attached [pid 383] set_robust_list(0x555555a60660, 24) = 0 [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=378, si_uid=0, si_status=0, si_utime=0, si_stime=20} --- [pid 383] chdir("./10") = 0 [pid 383] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 383] setpgid(0, 0) = 0 [pid 383] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 383] write(3, "1000", 4) = 4 [pid 383] close(3) = 0 [ 43.839924][ T376] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 43.847740][ T376] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 43.855553][ T376] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 43.863360][ T376] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 43.871171][ T376] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000a [ 43.878987][ T376] [ 43.885142][ T381] CPU: 1 PID: 381 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 43.895213][ T381] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 43.905103][ T381] Call Trace: [ 43.908229][ T381] [ 43.911008][ T381] dump_stack_lvl+0x151/0x1b7 [ 43.915515][ T381] ? io_uring_drop_tctx_refs+0x190/0x190 [ 43.920983][ T381] ? wb_get_create+0xe0a/0xe40 [ 43.925589][ T381] ? sb_end_intwrite+0x120/0x120 [ 43.930358][ T381] dump_stack+0x15/0x17 [ 43.934350][ T381] should_fail+0x3c6/0x510 [ 43.938607][ T381] __should_failslab+0xa4/0xe0 [ 43.943201][ T381] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 43.948322][ T381] should_failslab+0x9/0x20 [ 43.952670][ T381] slab_pre_alloc_hook+0x37/0xd0 [ 43.957436][ T381] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 43.962558][ T381] kmem_cache_alloc+0x44/0x200 [ 43.967157][ T381] ext4_mb_new_blocks+0x4ed/0x43f0 [ 43.972111][ T381] ? ext4_mb_pa_callback+0xd0/0xd0 [ 43.977052][ T381] ? ext4_xattr_ibody_set+0x390/0x390 [ 43.982262][ T381] ext4_new_meta_blocks+0x206/0x4f0 [ 43.987296][ T381] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 43.992760][ T381] ? __entry_find+0x398/0x3f0 [ 43.997274][ T381] ? __kmalloc+0x13a/0x270 [ 44.001531][ T381] ext4_xattr_block_set+0x233e/0x3760 [ 44.006739][ T381] ? __ext4_journal_ensure_credits+0x470/0x470 [ 44.012723][ T381] ? ext4_xattr_block_find+0x520/0x520 [ 44.018020][ T381] ? __xattr_check_inode+0x3d5/0x440 [ 44.023144][ T381] ext4_xattr_set_handle+0xdac/0x1560 [ 44.028349][ T381] ? sidtab_sid2str_put+0x2d7/0x640 [ 44.033382][ T381] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 44.038765][ T381] ? selinux_inode_init_security+0x52d/0x780 [ 44.044582][ T381] ? selinux_inode_free_security+0x210/0x210 [ 44.050391][ T381] ext4_initxattrs+0xa7/0x120 [ 44.054908][ T381] security_inode_init_security+0x252/0x390 [ 44.060631][ T381] ? ext4_init_security+0x40/0x40 [ 44.065497][ T381] ? security_dentry_create_files_as+0xc0/0xc0 [ 44.071483][ T381] ? fscrypt_set_context+0x439/0x740 [ 44.076606][ T381] ? __ext4_set_acl+0x5e0/0x5e0 [ 44.081293][ T381] ? prandom_u32+0x24c/0x290 [ 44.085716][ T381] ext4_init_security+0x34/0x40 [ 44.090409][ T381] __ext4_new_inode+0x31f0/0x40a0 [ 44.095266][ T381] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 44.100821][ T381] ? dquot_initialize+0x20/0x20 [ 44.105506][ T381] ? selinux_determine_inode_label+0x29c/0x3b0 [ 44.111499][ T381] ext4_symlink+0x4c3/0xed0 [ 44.115841][ T381] ? ext4_unlink+0x3f0/0x3f0 [ 44.120258][ T381] ? selinux_inode_symlink+0x22/0x30 [ 44.125381][ T381] ? security_inode_symlink+0xb8/0x100 [ 44.130761][ T381] vfs_symlink+0x29f/0x480 [ 44.135015][ T381] do_symlinkat+0x1ea/0x5a0 [ 44.139352][ T381] ? __check_object_size+0x2ec/0x3d0 [ 44.144475][ T381] ? vfs_symlink+0x480/0x480 [ 44.148903][ T381] ? getname_flags+0x1fd/0x520 [ 44.153501][ T381] __x64_sys_symlink+0x7e/0x90 [ 44.158102][ T381] do_syscall_64+0x3d/0xb0 [ 44.162373][ T381] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 44.168084][ T381] RIP: 0033:0x7f3575952459 [ 44.172340][ T381] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 44.191774][ T381] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 44.200030][ T381] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 44.207832][ T381] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 44.215646][ T381] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 44.223458][ T381] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 44.231269][ T381] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000009 [ 44.239081][ T381] [ 44.241945][ T382] CPU: 0 PID: 382 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 44.252013][ T382] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 44.261905][ T382] Call Trace: [ 44.265031][ T382] [ 44.267805][ T382] dump_stack_lvl+0x151/0x1b7 [ 44.272322][ T382] ? io_uring_drop_tctx_refs+0x190/0x190 [ 44.277789][ T382] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 44.283532][ T382] dump_stack+0x15/0x17 [ 44.287520][ T382] should_fail+0x3c6/0x510 [ 44.291763][ T382] __should_failslab+0xa4/0xe0 [ 44.296362][ T382] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 44.301484][ T382] should_failslab+0x9/0x20 [ 44.305823][ T382] slab_pre_alloc_hook+0x37/0xd0 [ 44.310600][ T382] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 44.315717][ T382] kmem_cache_alloc+0x44/0x200 [ 44.320318][ T382] ext4_mb_new_blocks+0xd97/0x43f0 [ 44.325275][ T382] ? ext4_mb_pa_callback+0xd0/0xd0 [ 44.330212][ T382] ? ext4_xattr_ibody_set+0x390/0x390 [ 44.335419][ T382] ext4_new_meta_blocks+0x206/0x4f0 [ 44.340452][ T382] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 44.345919][ T382] ? __entry_find+0x398/0x3f0 [ 44.350435][ T382] ? __kmalloc+0x13a/0x270 [ 44.354689][ T382] ext4_xattr_block_set+0x233e/0x3760 [ 44.359900][ T382] ? __ext4_journal_ensure_credits+0x470/0x470 [ 44.365885][ T382] ? ext4_xattr_block_find+0x520/0x520 [ 44.371179][ T382] ? __xattr_check_inode+0x3d5/0x440 [ 44.376299][ T382] ext4_xattr_set_handle+0xdac/0x1560 [ 44.381504][ T382] ? sidtab_sid2str_put+0x2d7/0x640 [ 44.386542][ T382] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 44.391922][ T382] ? selinux_inode_init_security+0x52d/0x780 [ 44.397735][ T382] ? selinux_inode_free_security+0x210/0x210 [ 44.403550][ T382] ext4_initxattrs+0xa7/0x120 [ 44.408087][ T382] security_inode_init_security+0x252/0x390 [ 44.413791][ T382] ? ext4_init_security+0x40/0x40 [ 44.418740][ T382] ? security_dentry_create_files_as+0xc0/0xc0 [ 44.424728][ T382] ? fscrypt_set_context+0x439/0x740 [ 44.429851][ T382] ? __ext4_set_acl+0x5e0/0x5e0 [ 44.434535][ T382] ? prandom_u32+0x24c/0x290 [ 44.438968][ T382] ext4_init_security+0x34/0x40 [ 44.443648][ T382] __ext4_new_inode+0x31f0/0x40a0 [ 44.448537][ T382] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 44.454061][ T382] ? dquot_initialize+0x20/0x20 [ 44.458750][ T382] ? selinux_determine_inode_label+0x29c/0x3b0 [ 44.464827][ T382] ext4_symlink+0x4c3/0xed0 [ 44.469194][ T382] ? ext4_unlink+0x3f0/0x3f0 [ 44.473589][ T382] ? selinux_inode_symlink+0x22/0x30 [ 44.478891][ T382] ? security_inode_symlink+0xb8/0x100 [ 44.484183][ T382] vfs_symlink+0x29f/0x480 [ 44.488432][ T382] do_symlinkat+0x1ea/0x5a0 [ 44.492770][ T382] ? __check_object_size+0x2ec/0x3d0 [ 44.497897][ T382] ? vfs_symlink+0x480/0x480 [ 44.502319][ T382] ? getname_flags+0x1fd/0x520 [ 44.506923][ T382] __x64_sys_symlink+0x7e/0x90 [ 44.511523][ T382] do_syscall_64+0x3d/0xb0 [ 44.515857][ T382] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 44.521588][ T382] RIP: 0033:0x7f3575952459 [ 44.525840][ T382] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [pid 383] symlink("/dev/binderfs", "./binderfs") = 0 [pid 293] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW [pid 377] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 376] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 383] mkdir("./file0", 000 [pid 382] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 381] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 377] exit_group(0 [pid 376] exit_group(0 [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 377] <... exit_group resumed>) = ? [pid 376] <... exit_group resumed>) = ? [pid 382] exit_group(0 [pid 381] exit_group(0 [pid 377] +++ exited with 0 +++ [pid 293] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 382] <... exit_group resumed>) = ? [pid 381] <... exit_group resumed>) = ? [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=377, si_uid=0, si_status=0, si_utime=0, si_stime=18} --- [pid 293] <... openat resumed>) = 3 [pid 382] +++ exited with 0 +++ [pid 381] +++ exited with 0 +++ [pid 376] +++ exited with 0 +++ [pid 293] newfstatat(3, "", [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=381, si_uid=0, si_status=0, si_utime=0, si_stime=14} --- [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=382, si_uid=0, si_status=0, si_utime=0, si_stime=46} --- [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=376, si_uid=0, si_status=0, si_utime=0, si_stime=45} --- [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./9", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] openat(AT_FDCWD, "./9", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] newfstatat(AT_FDCWD, "./9/binderfs", [pid 297] <... openat resumed>) = 3 [pid 295] <... openat resumed>) = 3 [pid 294] <... openat resumed>) = 3 [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] newfstatat(3, "", [pid 296] <... openat resumed>) = 3 [pid 295] newfstatat(3, "", [pid 294] newfstatat(3, "", [pid 293] unlink("./9/binderfs" [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(3, [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] newfstatat(3, "", [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] getdents64(3, [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] newfstatat(AT_FDCWD, "./11/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./11/binderfs" [ 44.545368][ T382] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 44.553616][ T382] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 44.561425][ T382] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 44.569238][ T382] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 44.577047][ T382] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 44.584859][ T382] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000b [ 44.592672][ T382] [pid 296] getdents64(3, [pid 383] <... mkdir resumed>) = 0 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] <... unlink resumed>) = 0 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] <... unlink resumed>) = 0 [pid 383] open("./file0", O_RDONLY [pid 297] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./9/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 383] <... open resumed>) = 3 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 383] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 297] newfstatat(AT_FDCWD, "./10/binderfs", [pid 296] newfstatat(AT_FDCWD, "./9/binderfs", [pid 295] newfstatat(AT_FDCWD, "./11/file0", [pid 294] newfstatat(AT_FDCWD, "./10/binderfs", [pid 293] newfstatat(AT_FDCWD, "./9/file0", [pid 383] <... ioctl resumed>) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 383] chdir("./file0" [pid 297] unlink("./10/binderfs" [pid 296] unlink("./9/binderfs" [pid 295] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] unlink("./10/binderfs" [pid 293] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 383] <... chdir resumed>) = 0 [pid 297] <... unlink resumed>) = 0 [pid 296] <... unlink resumed>) = 0 [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... unlink resumed>) = 0 [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 383] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 297] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 383] <... add_key resumed>) = 717556254 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... openat resumed>) = 4 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... openat resumed>) = 4 [pid 383] open("./bus", O_RDONLY [pid 297] newfstatat(AT_FDCWD, "./10/file0", [pid 296] newfstatat(AT_FDCWD, "./9/file0", [pid 295] newfstatat(4, "", [pid 294] newfstatat(AT_FDCWD, "./10/file0", [pid 293] newfstatat(4, "", [pid 383] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 383] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 297] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./9/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] getdents64(4, [pid 294] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] getdents64(4, [pid 383] <... openat resumed>) = 4 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 383] write(4, "24", 2 [pid 297] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] openat(AT_FDCWD, "./9/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] getdents64(4, [pid 294] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] getdents64(4, [pid 383] <... write resumed>) = 2 [pid 297] <... openat resumed>) = 4 [pid 296] <... openat resumed>) = 4 [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] <... openat resumed>) = 4 [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 383] symlink("./file0", "./file0" [pid 297] newfstatat(4, "", [pid 296] newfstatat(4, "", [pid 295] close(4 [pid 294] newfstatat(4, "", [pid 293] close(4 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] close(4) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... close resumed>) = 0 [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] <... close resumed>) = 0 [pid 297] rmdir("./10/file0") = 0 [pid 297] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] close(3) = 0 [pid 297] rmdir("./10") = 0 [pid 297] mkdir("./11", 0777) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 385 ./strace-static-x86_64: Process 385 attached [pid 385] set_robust_list(0x555555a60660, 24) = 0 [pid 385] chdir("./11") = 0 [pid 385] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 385] setpgid(0, 0) = 0 [pid 385] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 385] write(3, "1000", 4) = 4 [pid 385] close(3) = 0 [pid 385] symlink("/dev/binderfs", "./binderfs") = 0 [pid 385] mkdir("./file0", 000) = 0 [pid 385] open("./file0", O_RDONLY) = 3 [pid 385] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 385] chdir("./file0") = 0 [pid 385] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 1039327033 [pid 385] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 385] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 385] write(4, "24", 2) = 2 [ 44.646388][ T383] FAULT_INJECTION: forcing a failure. [ 44.646388][ T383] name failslab, interval 1, probability 0, space 0, times 0 [ 44.659316][ T383] CPU: 1 PID: 383 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 44.669385][ T383] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 44.678322][ T385] FAULT_INJECTION: forcing a failure. [ 44.678322][ T385] name failslab, interval 1, probability 0, space 0, times 0 [ 44.679276][ T383] Call Trace: [pid 385] symlink("./file0", "./file0" [pid 296] getdents64(4, [pid 295] rmdir("./11/file0" [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] <... rmdir resumed>) = 0 [pid 296] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] close(4) = 0 [pid 296] rmdir("./9/file0") = 0 [pid 295] getdents64(3, [pid 296] getdents64(3, [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3 [pid 296] close(3 [pid 295] <... close resumed>) = 0 [pid 296] <... close resumed>) = 0 [pid 295] rmdir("./11" [pid 296] rmdir("./9" [pid 295] <... rmdir resumed>) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 295] mkdir("./12", 0777 [pid 296] mkdir("./10", 0777 [pid 295] <... mkdir resumed>) = 0 [pid 296] <... mkdir resumed>) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 386 [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 387 [ 44.679285][ T383] [ 44.679293][ T383] dump_stack_lvl+0x151/0x1b7 [ 44.702107][ T383] ? io_uring_drop_tctx_refs+0x190/0x190 [ 44.707570][ T383] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 44.713302][ T383] dump_stack+0x15/0x17 [ 44.717294][ T383] should_fail+0x3c6/0x510 [ 44.721550][ T383] __should_failslab+0xa4/0xe0 [ 44.726148][ T383] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 44.731263][ T383] should_failslab+0x9/0x20 [ 44.735605][ T383] slab_pre_alloc_hook+0x37/0xd0 [ 44.740381][ T383] ? ext4_mb_new_blocks+0xd97/0x43f0 [pid 294] getdents64(4, [pid 293] rmdir("./9/file0" [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] <... rmdir resumed>) = 0 [pid 294] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] close(4) = 0 [pid 293] getdents64(3, [pid 294] rmdir("./10/file0" [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 293] close(3 [pid 294] getdents64(3, [pid 293] <... close resumed>) = 0 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] rmdir("./9" [pid 294] close(3 [pid 293] <... rmdir resumed>) = 0 [pid 294] <... close resumed>) = 0 [pid 293] mkdir("./10", 0777 [pid 294] rmdir("./10" [pid 293] <... mkdir resumed>) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] mkdir("./11", 0777) = 0 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 388 [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 389 [ 44.745505][ T383] kmem_cache_alloc+0x44/0x200 [ 44.750103][ T383] ext4_mb_new_blocks+0xd97/0x43f0 [ 44.755056][ T383] ? ext4_mb_pa_callback+0xd0/0xd0 [ 44.759995][ T383] ? ext4_xattr_ibody_set+0x390/0x390 [ 44.765204][ T383] ext4_new_meta_blocks+0x206/0x4f0 [ 44.770243][ T383] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 44.775706][ T383] ? __entry_find+0x398/0x3f0 [ 44.780214][ T383] ? __kmalloc+0x13a/0x270 [ 44.784469][ T383] ext4_xattr_block_set+0x233e/0x3760 [ 44.789678][ T383] ? __ext4_journal_ensure_credits+0x470/0x470 [ 44.795668][ T383] ? ext4_xattr_block_find+0x520/0x520 [ 44.800961][ T383] ? __xattr_check_inode+0x3d5/0x440 [ 44.806083][ T383] ext4_xattr_set_handle+0xdac/0x1560 [ 44.811288][ T383] ? sidtab_sid2str_put+0x2d7/0x640 [ 44.816325][ T383] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 44.821705][ T383] ? selinux_inode_init_security+0x52d/0x780 [ 44.827521][ T383] ? selinux_inode_free_security+0x210/0x210 [ 44.833332][ T383] ext4_initxattrs+0xa7/0x120 [ 44.837935][ T383] security_inode_init_security+0x252/0x390 ./strace-static-x86_64: Process 387 attached [pid 387] set_robust_list(0x555555a60660, 24) = 0 [pid 387] chdir("./10") = 0 [pid 387] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 387] setpgid(0, 0) = 0 [pid 387] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 387] write(3, "1000", 4) = 4 [pid 387] close(3) = 0 [pid 387] symlink("/dev/binderfs", "./binderfs") = 0 [pid 387] mkdir("./file0", 000) = 0 [pid 387] open("./file0", O_RDONLY) = 3 [pid 387] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 387] chdir("./file0") = 0 [pid 387] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 545311129 [pid 387] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 387] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 387] write(4, "24", 2) = 2 [ 44.843680][ T383] ? ext4_init_security+0x40/0x40 [ 44.848540][ T383] ? security_dentry_create_files_as+0xc0/0xc0 [ 44.854514][ T383] ? fscrypt_set_context+0x439/0x740 [ 44.859633][ T383] ? __ext4_set_acl+0x5e0/0x5e0 [ 44.864319][ T383] ? prandom_u32+0x24c/0x290 [ 44.868863][ T383] ext4_init_security+0x34/0x40 [ 44.873551][ T383] __ext4_new_inode+0x31f0/0x40a0 [ 44.878420][ T383] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 44.883963][ T383] ? dquot_initialize+0x20/0x20 [ 44.888743][ T383] ? selinux_determine_inode_label+0x29c/0x3b0 [ 44.889311][ T387] FAULT_INJECTION: forcing a failure. [ 44.889311][ T387] name failslab, interval 1, probability 0, space 0, times 0 [ 44.894725][ T383] ext4_symlink+0x4c3/0xed0 [ 44.894769][ T383] ? ext4_unlink+0x3f0/0x3f0 [ 44.916079][ T383] ? selinux_inode_symlink+0x22/0x30 [ 44.921196][ T383] ? security_inode_symlink+0xb8/0x100 [ 44.926496][ T383] vfs_symlink+0x29f/0x480 [ 44.930745][ T383] do_symlinkat+0x1ea/0x5a0 [ 44.935083][ T383] ? __check_object_size+0x2ec/0x3d0 [ 44.940212][ T383] ? vfs_symlink+0x480/0x480 [ 44.944716][ T383] ? getname_flags+0x1fd/0x520 [ 44.949323][ T383] __x64_sys_symlink+0x7e/0x90 [ 44.953917][ T383] do_syscall_64+0x3d/0xb0 [ 44.958345][ T383] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 44.964079][ T383] RIP: 0033:0x7f3575952459 [ 44.968327][ T383] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 44.987785][ T383] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 44.996099][ T383] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 45.003909][ T383] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 45.011823][ T383] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 45.019620][ T383] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 45.027454][ T383] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000a [ 45.035250][ T383] [ 45.038106][ T387] CPU: 0 PID: 387 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 45.048175][ T387] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 45.058067][ T387] Call Trace: [ 45.061196][ T387] [ 45.063972][ T387] dump_stack_lvl+0x151/0x1b7 [ 45.068487][ T387] ? io_uring_drop_tctx_refs+0x190/0x190 [ 45.073951][ T387] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 45.079680][ T387] dump_stack+0x15/0x17 [ 45.083671][ T387] should_fail+0x3c6/0x510 [ 45.087924][ T387] __should_failslab+0xa4/0xe0 [ 45.092526][ T387] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 45.097645][ T387] should_failslab+0x9/0x20 [ 45.102075][ T387] slab_pre_alloc_hook+0x37/0xd0 [ 45.106850][ T387] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 45.111969][ T387] kmem_cache_alloc+0x44/0x200 [ 45.116568][ T387] ext4_mb_new_blocks+0xd97/0x43f0 [ 45.121518][ T387] ? ext4_mb_pa_callback+0xd0/0xd0 [ 45.126462][ T387] ? ext4_xattr_ibody_set+0x390/0x390 [ 45.131679][ T387] ext4_new_meta_blocks+0x206/0x4f0 [ 45.136712][ T387] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 45.142167][ T387] ? __entry_find+0x398/0x3f0 [ 45.146684][ T387] ? __kmalloc+0x13a/0x270 [ 45.150938][ T387] ext4_xattr_block_set+0x233e/0x3760 [ 45.156148][ T387] ? __ext4_journal_ensure_credits+0x470/0x470 [ 45.162131][ T387] ? ext4_xattr_block_find+0x520/0x520 [ 45.167438][ T387] ? __xattr_check_inode+0x3d5/0x440 [ 45.172563][ T387] ext4_xattr_set_handle+0xdac/0x1560 [ 45.177756][ T387] ? sidtab_sid2str_put+0x2d7/0x640 [ 45.182795][ T387] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 45.188171][ T387] ? selinux_inode_init_security+0x52d/0x780 [ 45.193988][ T387] ? selinux_inode_free_security+0x210/0x210 [ 45.199807][ T387] ext4_initxattrs+0xa7/0x120 [ 45.204318][ T387] security_inode_init_security+0x252/0x390 [ 45.210039][ T387] ? ext4_init_security+0x40/0x40 [ 45.214901][ T387] ? security_dentry_create_files_as+0xc0/0xc0 [ 45.220898][ T387] ? fscrypt_set_context+0x439/0x740 [ 45.226018][ T387] ? __ext4_set_acl+0x5e0/0x5e0 [ 45.228945][ T389] FAULT_INJECTION: forcing a failure. [ 45.228945][ T389] name failslab, interval 1, probability 0, space 0, times 0 [ 45.230701][ T387] ? prandom_u32+0x24c/0x290 [ 45.243431][ T386] FAULT_INJECTION: forcing a failure. [ 45.243431][ T386] name failslab, interval 1, probability 0, space 0, times 0 [ 45.247535][ T387] ext4_init_security+0x34/0x40 [ 45.247571][ T387] __ext4_new_inode+0x31f0/0x40a0 [ 45.260229][ T388] FAULT_INJECTION: forcing a failure. [ 45.260229][ T388] name failslab, interval 1, probability 0, space 0, times 0 [ 45.264643][ T387] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 45.287462][ T387] ? dquot_initialize+0x20/0x20 [ 45.292150][ T387] ? selinux_determine_inode_label+0x29c/0x3b0 [ 45.298138][ T387] ext4_symlink+0x4c3/0xed0 [ 45.302482][ T387] ? ext4_unlink+0x3f0/0x3f0 [ 45.306915][ T387] ? selinux_inode_symlink+0x22/0x30 [ 45.312026][ T387] ? security_inode_symlink+0xb8/0x100 [ 45.317319][ T387] vfs_symlink+0x29f/0x480 [ 45.321573][ T387] do_symlinkat+0x1ea/0x5a0 [ 45.325910][ T387] ? __check_object_size+0x2ec/0x3d0 [ 45.331035][ T387] ? vfs_symlink+0x480/0x480 [ 45.335457][ T387] ? getname_flags+0x1fd/0x520 [ 45.340058][ T387] __x64_sys_symlink+0x7e/0x90 [ 45.344658][ T387] do_syscall_64+0x3d/0xb0 [ 45.348911][ T387] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 45.354638][ T387] RIP: 0033:0x7f3575952459 [ 45.358892][ T387] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 45.378331][ T387] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 45.386580][ T387] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 387] symlink("./file0", "./file0"./strace-static-x86_64: Process 389 attached ./strace-static-x86_64: Process 388 attached ./strace-static-x86_64: Process 386 attached [pid 383] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 389] set_robust_list(0x555555a60660, 24 [pid 388] set_robust_list(0x555555a60660, 24 [pid 386] set_robust_list(0x555555a60660, 24 [pid 383] exit_group(0 [pid 389] <... set_robust_list resumed>) = 0 [pid 388] <... set_robust_list resumed>) = 0 [pid 386] <... set_robust_list resumed>) = 0 [pid 383] <... exit_group resumed>) = ? [pid 389] chdir("./11" [pid 388] chdir("./10" [pid 386] chdir("./12" [pid 383] +++ exited with 0 +++ [pid 389] <... chdir resumed>) = 0 [pid 388] <... chdir resumed>) = 0 [pid 386] <... chdir resumed>) = 0 [pid 389] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 388] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 386] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 389] <... prctl resumed>) = 0 [pid 388] <... prctl resumed>) = 0 [pid 386] <... prctl resumed>) = 0 [pid 389] setpgid(0, 0 [pid 388] setpgid(0, 0 [pid 386] setpgid(0, 0 [pid 389] <... setpgid resumed>) = 0 [pid 388] <... setpgid resumed>) = 0 [pid 386] <... setpgid resumed>) = 0 [pid 389] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 388] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 386] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 389] <... openat resumed>) = 3 [pid 388] <... openat resumed>) = 3 [pid 386] <... openat resumed>) = 3 [pid 389] write(3, "1000", 4 [pid 388] write(3, "1000", 4 [pid 386] write(3, "1000", 4 [pid 389] <... write resumed>) = 4 [pid 388] <... write resumed>) = 4 [pid 386] <... write resumed>) = 4 [pid 389] close(3 [pid 388] close(3 [pid 386] close(3 [pid 389] <... close resumed>) = 0 [pid 388] <... close resumed>) = 0 [pid 386] <... close resumed>) = 0 [pid 389] symlink("/dev/binderfs", "./binderfs" [pid 388] symlink("/dev/binderfs", "./binderfs" [pid 386] symlink("/dev/binderfs", "./binderfs" [pid 389] <... symlink resumed>) = 0 [pid 388] <... symlink resumed>) = 0 [pid 386] <... symlink resumed>) = 0 [pid 389] mkdir("./file0", 000 [pid 388] mkdir("./file0", 000 [pid 386] mkdir("./file0", 000 [pid 389] <... mkdir resumed>) = 0 [pid 388] <... mkdir resumed>) = 0 [pid 386] <... mkdir resumed>) = 0 [pid 389] open("./file0", O_RDONLY [pid 388] open("./file0", O_RDONLY [pid 386] open("./file0", O_RDONLY [pid 389] <... open resumed>) = 3 [pid 388] <... open resumed>) = 3 [pid 386] <... open resumed>) = 3 [pid 389] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 388] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 386] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 389] <... ioctl resumed>) = 0 [pid 388] <... ioctl resumed>) = 0 [pid 386] <... ioctl resumed>) = 0 [pid 389] chdir("./file0" [pid 388] chdir("./file0" [pid 386] chdir("./file0" [pid 389] <... chdir resumed>) = 0 [pid 388] <... chdir resumed>) = 0 [pid 386] <... chdir resumed>) = 0 [pid 389] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 388] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 386] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 389] <... add_key resumed>) = 540857696 [pid 388] <... add_key resumed>) = 660807110 [pid 386] <... add_key resumed>) = 441982267 [pid 389] open("./bus", O_RDONLY [pid 388] open("./bus", O_RDONLY [pid 386] open("./bus", O_RDONLY [pid 389] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 388] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 386] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 389] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 388] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 386] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 389] <... openat resumed>) = 4 [pid 388] <... openat resumed>) = 4 [pid 386] <... openat resumed>) = 4 [pid 389] write(4, "24", 2 [pid 388] write(4, "24", 2 [pid 386] write(4, "24", 2 [pid 389] <... write resumed>) = 2 [pid 388] <... write resumed>) = 2 [pid 386] <... write resumed>) = 2 [pid 389] symlink("./file0", "./file0" [pid 388] symlink("./file0", "./file0" [ 45.394478][ T387] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 45.402292][ T387] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 45.410098][ T387] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 45.417911][ T387] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000a [ 45.425724][ T387] [ 45.428673][ T386] CPU: 1 PID: 386 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 45.438828][ T386] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 45.448725][ T386] Call Trace: [ 45.451846][ T386] [ 45.454622][ T386] dump_stack_lvl+0x151/0x1b7 [ 45.459136][ T386] ? io_uring_drop_tctx_refs+0x190/0x190 [ 45.464604][ T386] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 45.470335][ T386] dump_stack+0x15/0x17 [ 45.474328][ T386] should_fail+0x3c6/0x510 [ 45.478578][ T386] __should_failslab+0xa4/0xe0 [ 45.483184][ T386] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 45.488311][ T386] should_failslab+0x9/0x20 [ 45.492641][ T386] slab_pre_alloc_hook+0x37/0xd0 [ 45.497412][ T386] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 45.502532][ T386] kmem_cache_alloc+0x44/0x200 [ 45.507133][ T386] ext4_mb_new_blocks+0xd97/0x43f0 [ 45.512084][ T386] ? ext4_mb_pa_callback+0xd0/0xd0 [ 45.517025][ T386] ? ext4_xattr_ibody_set+0x390/0x390 [ 45.522237][ T386] ext4_new_meta_blocks+0x206/0x4f0 [ 45.527270][ T386] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 45.532747][ T386] ? __entry_find+0x398/0x3f0 [ 45.537249][ T386] ? __kmalloc+0x13a/0x270 [ 45.541508][ T386] ext4_xattr_block_set+0x233e/0x3760 [ 45.546804][ T386] ? __ext4_journal_ensure_credits+0x470/0x470 [ 45.552786][ T386] ? ext4_xattr_block_find+0x520/0x520 [ 45.558081][ T386] ? __xattr_check_inode+0x3d5/0x440 [ 45.563295][ T386] ext4_xattr_set_handle+0xdac/0x1560 [ 45.568495][ T386] ? sidtab_sid2str_put+0x2d7/0x640 [ 45.573534][ T386] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 45.578916][ T386] ? selinux_inode_init_security+0x52d/0x780 [ 45.584726][ T386] ? selinux_inode_free_security+0x210/0x210 [ 45.590541][ T386] ext4_initxattrs+0xa7/0x120 [ 45.595057][ T386] security_inode_init_security+0x252/0x390 [ 45.600786][ T386] ? ext4_init_security+0x40/0x40 [ 45.605642][ T386] ? security_dentry_create_files_as+0xc0/0xc0 [ 45.611631][ T386] ? fscrypt_set_context+0x439/0x740 [ 45.616754][ T386] ? __ext4_set_acl+0x5e0/0x5e0 [ 45.621439][ T386] ? prandom_u32+0x24c/0x290 [ 45.625866][ T386] ext4_init_security+0x34/0x40 [ 45.630555][ T386] __ext4_new_inode+0x31f0/0x40a0 [ 45.635417][ T386] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 45.640970][ T386] ? dquot_initialize+0x20/0x20 [ 45.645657][ T386] ? selinux_determine_inode_label+0x29c/0x3b0 [ 45.651646][ T386] ext4_symlink+0x4c3/0xed0 [ 45.655988][ T386] ? ext4_unlink+0x3f0/0x3f0 [ 45.660408][ T386] ? selinux_inode_symlink+0x22/0x30 [ 45.665527][ T386] ? security_inode_symlink+0xb8/0x100 [ 45.670824][ T386] vfs_symlink+0x29f/0x480 [ 45.675081][ T386] do_symlinkat+0x1ea/0x5a0 [ 45.679415][ T386] ? __check_object_size+0x2ec/0x3d0 [ 45.684536][ T386] ? vfs_symlink+0x480/0x480 [ 45.688966][ T386] ? getname_flags+0x1fd/0x520 [ 45.693566][ T386] __x64_sys_symlink+0x7e/0x90 [ 45.698169][ T386] do_syscall_64+0x3d/0xb0 [ 45.702420][ T386] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 45.708758][ T386] RIP: 0033:0x7f3575952459 [ 45.713009][ T386] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 45.732536][ T386] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 45.740781][ T386] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 386] symlink("./file0", "./file0" [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=383, si_uid=0, si_status=0, si_utime=0, si_stime=2} --- [ 45.748592][ T386] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 45.756404][ T386] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 45.764213][ T386] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 45.772027][ T386] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000c [ 45.779842][ T386] [ 45.783627][ T385] CPU: 1 PID: 385 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 45.793695][ T385] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 45.803582][ T385] Call Trace: [ 45.806706][ T385] [ 45.809490][ T385] dump_stack_lvl+0x151/0x1b7 [ 45.813997][ T385] ? io_uring_drop_tctx_refs+0x190/0x190 [ 45.819468][ T385] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 45.825194][ T385] dump_stack+0x15/0x17 [ 45.829188][ T385] should_fail+0x3c6/0x510 [ 45.833438][ T385] __should_failslab+0xa4/0xe0 [ 45.838041][ T385] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 45.843159][ T385] should_failslab+0x9/0x20 [ 45.847498][ T385] slab_pre_alloc_hook+0x37/0xd0 [ 45.852273][ T385] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 45.857395][ T385] kmem_cache_alloc+0x44/0x200 [ 45.861998][ T385] ext4_mb_new_blocks+0xd97/0x43f0 [ 45.866945][ T385] ? ext4_mb_pa_callback+0xd0/0xd0 [ 45.871887][ T385] ? ext4_xattr_ibody_set+0x390/0x390 [ 45.877095][ T385] ext4_new_meta_blocks+0x206/0x4f0 [ 45.882165][ T385] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 45.887601][ T385] ? __entry_find+0x398/0x3f0 [ 45.892110][ T385] ? __kmalloc+0x13a/0x270 [ 45.896364][ T385] ext4_xattr_block_set+0x233e/0x3760 [ 45.901574][ T385] ? __ext4_journal_ensure_credits+0x470/0x470 [ 45.907561][ T385] ? ext4_xattr_block_find+0x520/0x520 [ 45.912859][ T385] ? __xattr_check_inode+0x3d5/0x440 [ 45.917979][ T385] ext4_xattr_set_handle+0xdac/0x1560 [ 45.923182][ T385] ? sidtab_sid2str_put+0x2d7/0x640 [ 45.928225][ T385] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 45.933601][ T385] ? selinux_inode_init_security+0x52d/0x780 [ 45.939416][ T385] ? selinux_inode_free_security+0x210/0x210 [ 45.945229][ T385] ext4_initxattrs+0xa7/0x120 [ 45.949743][ T385] security_inode_init_security+0x252/0x390 [ 45.955468][ T385] ? ext4_init_security+0x40/0x40 [ 45.960334][ T385] ? security_dentry_create_files_as+0xc0/0xc0 [ 45.966320][ T385] ? fscrypt_set_context+0x439/0x740 [ 45.971440][ T385] ? __ext4_set_acl+0x5e0/0x5e0 [ 45.976137][ T385] ? prandom_u32+0x24c/0x290 [ 45.980558][ T385] ext4_init_security+0x34/0x40 [ 45.985240][ T385] __ext4_new_inode+0x31f0/0x40a0 [ 45.990103][ T385] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 45.995653][ T385] ? dquot_initialize+0x20/0x20 [ 46.000345][ T385] ? selinux_determine_inode_label+0x29c/0x3b0 [ 46.006334][ T385] ext4_symlink+0x4c3/0xed0 [ 46.010673][ T385] ? ext4_unlink+0x3f0/0x3f0 [ 46.015096][ T385] ? selinux_inode_symlink+0x22/0x30 [ 46.020216][ T385] ? security_inode_symlink+0xb8/0x100 [ 46.025511][ T385] vfs_symlink+0x29f/0x480 [ 46.029764][ T385] do_symlinkat+0x1ea/0x5a0 [ 46.034104][ T385] ? __check_object_size+0x2ec/0x3d0 [ 46.039225][ T385] ? vfs_symlink+0x480/0x480 [ 46.043655][ T385] ? getname_flags+0x1fd/0x520 [ 46.048250][ T385] __x64_sys_symlink+0x7e/0x90 [ 46.052857][ T385] do_syscall_64+0x3d/0xb0 [ 46.057103][ T385] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 46.062841][ T385] RIP: 0033:0x7f3575952459 [ 46.067085][ T385] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 46.086528][ T385] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 46.094770][ T385] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 387] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 385] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 298] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./10/binderfs") = 0 [pid 298] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 298] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4) = 0 [pid 298] rmdir("./10/file0") = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3) = 0 [pid 298] rmdir("./10") = 0 [pid 298] mkdir("./11", 0777) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 391 [pid 387] exit_group(0) = ? [pid 387] +++ exited with 0 +++ ./strace-static-x86_64: Process 391 attached [pid 391] set_robust_list(0x555555a60660, 24) = 0 [pid 391] chdir("./11") = 0 [pid 391] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 391] setpgid(0, 0) = 0 [ 46.102582][ T385] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 46.110397][ T385] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 46.118230][ T385] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 46.126038][ T385] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000b [ 46.133827][ T385] [ 46.137349][ T388] CPU: 1 PID: 388 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [pid 391] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 391] write(3, "1000", 4) = 4 [pid 391] close(3) = 0 [pid 391] symlink("/dev/binderfs", "./binderfs") = 0 [pid 391] mkdir("./file0", 000) = 0 [pid 391] open("./file0", O_RDONLY) = 3 [pid 391] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 391] chdir("./file0") = 0 [pid 391] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 558273218 [pid 391] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 391] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 391] write(4, "24", 2) = 2 [pid 391] symlink("./file0", "./file0" [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=387, si_uid=0, si_status=0, si_utime=0, si_stime=5} --- [pid 296] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 296] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 296] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./10/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] unlink("./10/binderfs") = 0 [pid 296] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./10/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 296] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] close(4) = 0 [pid 296] rmdir("./10/file0") = 0 [pid 296] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] close(3) = 0 [pid 296] rmdir("./10") = 0 [pid 296] mkdir("./11", 0777) = 0 [ 46.147408][ T388] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 46.157302][ T388] Call Trace: [ 46.160426][ T388] [ 46.163375][ T388] dump_stack_lvl+0x151/0x1b7 [ 46.164761][ T391] FAULT_INJECTION: forcing a failure. [ 46.164761][ T391] name failslab, interval 1, probability 0, space 0, times 0 [ 46.167888][ T388] ? io_uring_drop_tctx_refs+0x190/0x190 [ 46.167917][ T388] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 46.191498][ T388] dump_stack+0x15/0x17 [ 46.195487][ T388] should_fail+0x3c6/0x510 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 392 [ 46.199742][ T388] __should_failslab+0xa4/0xe0 [ 46.204351][ T388] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 46.209461][ T388] should_failslab+0x9/0x20 [ 46.213889][ T388] slab_pre_alloc_hook+0x37/0xd0 [ 46.218667][ T388] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 46.223782][ T388] kmem_cache_alloc+0x44/0x200 [ 46.228380][ T388] ext4_mb_new_blocks+0xd97/0x43f0 [ 46.233337][ T388] ? ext4_mb_pa_callback+0xd0/0xd0 [ 46.238277][ T388] ? ext4_xattr_ibody_set+0x390/0x390 [ 46.243488][ T388] ext4_new_meta_blocks+0x206/0x4f0 [ 46.248519][ T388] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 46.253987][ T388] ? __entry_find+0x398/0x3f0 [ 46.258502][ T388] ? __kmalloc+0x13a/0x270 [ 46.262753][ T388] ext4_xattr_block_set+0x233e/0x3760 [ 46.267965][ T388] ? __ext4_journal_ensure_credits+0x470/0x470 [ 46.273947][ T388] ? ext4_xattr_block_find+0x520/0x520 [ 46.279242][ T388] ? __xattr_check_inode+0x3d5/0x440 [ 46.284365][ T388] ext4_xattr_set_handle+0xdac/0x1560 [ 46.289582][ T388] ? sidtab_sid2str_put+0x2d7/0x640 [ 46.294618][ T388] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 46.299987][ T388] ? selinux_inode_init_security+0x52d/0x780 [ 46.305798][ T388] ? selinux_inode_free_security+0x210/0x210 [ 46.311622][ T388] ext4_initxattrs+0xa7/0x120 [ 46.316215][ T388] security_inode_init_security+0x252/0x390 [ 46.321952][ T388] ? ext4_init_security+0x40/0x40 [ 46.326831][ T388] ? security_dentry_create_files_as+0xc0/0xc0 [ 46.332811][ T388] ? fscrypt_set_context+0x439/0x740 [ 46.337915][ T388] ? __ext4_set_acl+0x5e0/0x5e0 [ 46.342601][ T388] ? prandom_u32+0x24c/0x290 [ 46.347026][ T388] ext4_init_security+0x34/0x40 [ 46.351713][ T388] __ext4_new_inode+0x31f0/0x40a0 [ 46.356579][ T388] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 46.362131][ T388] ? dquot_initialize+0x20/0x20 [ 46.366816][ T388] ? selinux_determine_inode_label+0x29c/0x3b0 [ 46.372803][ T388] ext4_symlink+0x4c3/0xed0 [ 46.377147][ T388] ? ext4_unlink+0x3f0/0x3f0 [ 46.381572][ T388] ? selinux_inode_symlink+0x22/0x30 [ 46.386694][ T388] ? security_inode_symlink+0xb8/0x100 [ 46.391986][ T388] vfs_symlink+0x29f/0x480 [ 46.396241][ T388] do_symlinkat+0x1ea/0x5a0 [pid 385] exit_group(0) = ? [pid 385] +++ exited with 0 +++ [ 46.400580][ T388] ? __check_object_size+0x2ec/0x3d0 [ 46.405698][ T388] ? vfs_symlink+0x480/0x480 [ 46.410125][ T388] ? getname_flags+0x1fd/0x520 [ 46.414727][ T388] __x64_sys_symlink+0x7e/0x90 [ 46.419342][ T388] do_syscall_64+0x3d/0xb0 [ 46.423576][ T388] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 46.429317][ T388] RIP: 0033:0x7f3575952459 [ 46.433559][ T388] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 46.453008][ T388] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 46.461247][ T388] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 46.469059][ T388] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 46.476866][ T388] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 46.484680][ T388] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 46.492492][ T388] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000a [ 46.500308][ T388] [ 46.503234][ T391] CPU: 0 PID: 391 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 46.513236][ T391] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 46.523126][ T391] Call Trace: [ 46.526260][ T391] [ 46.529032][ T391] dump_stack_lvl+0x151/0x1b7 [ 46.533543][ T391] ? io_uring_drop_tctx_refs+0x190/0x190 [ 46.539022][ T391] ? wb_get_create+0xe0a/0xe40 [ 46.543608][ T391] ? sb_end_intwrite+0x120/0x120 [ 46.548383][ T391] dump_stack+0x15/0x17 [ 46.552380][ T391] should_fail+0x3c6/0x510 [ 46.556745][ T391] __should_failslab+0xa4/0xe0 [ 46.561339][ T391] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 46.566457][ T391] should_failslab+0x9/0x20 [ 46.570796][ T391] slab_pre_alloc_hook+0x37/0xd0 [ 46.575569][ T391] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 46.580781][ T391] kmem_cache_alloc+0x44/0x200 [ 46.585380][ T391] ext4_mb_new_blocks+0x4ed/0x43f0 [ 46.590422][ T391] ? ext4_mb_pa_callback+0xd0/0xd0 [ 46.595360][ T391] ? ext4_xattr_ibody_set+0x390/0x390 [ 46.600573][ T391] ext4_new_meta_blocks+0x206/0x4f0 [ 46.605606][ T391] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 46.611074][ T391] ? __entry_find+0x398/0x3f0 [ 46.615582][ T391] ? __kmalloc+0x13a/0x270 [ 46.619839][ T391] ext4_xattr_block_set+0x233e/0x3760 [ 46.625047][ T391] ? __ext4_journal_ensure_credits+0x470/0x470 [ 46.631035][ T391] ? ext4_xattr_block_find+0x520/0x520 [ 46.636334][ T391] ? __xattr_check_inode+0x3d5/0x440 [ 46.641450][ T391] ext4_xattr_set_handle+0xdac/0x1560 [ 46.646655][ T391] ? sidtab_sid2str_put+0x2d7/0x640 [ 46.651692][ T391] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 46.657073][ T391] ? selinux_inode_init_security+0x52d/0x780 [ 46.662896][ T391] ? selinux_inode_free_security+0x210/0x210 [ 46.668699][ T391] ext4_initxattrs+0xa7/0x120 [ 46.673214][ T391] security_inode_init_security+0x252/0x390 [ 46.678940][ T391] ? ext4_init_security+0x40/0x40 [ 46.683909][ T391] ? security_dentry_create_files_as+0xc0/0xc0 [ 46.689894][ T391] ? fscrypt_set_context+0x439/0x740 [ 46.695018][ T391] ? __ext4_set_acl+0x5e0/0x5e0 [ 46.699700][ T391] ? prandom_u32+0x24c/0x290 [ 46.704123][ T391] ext4_init_security+0x34/0x40 [ 46.708906][ T391] __ext4_new_inode+0x31f0/0x40a0 [ 46.713761][ T391] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 46.719313][ T391] ? dquot_initialize+0x20/0x20 [ 46.723998][ T391] ? selinux_determine_inode_label+0x29c/0x3b0 [ 46.729988][ T391] ext4_symlink+0x4c3/0xed0 [ 46.734332][ T391] ? ext4_unlink+0x3f0/0x3f0 [ 46.738753][ T391] ? selinux_inode_symlink+0x22/0x30 [ 46.743876][ T391] ? security_inode_symlink+0xb8/0x100 [ 46.749176][ T391] vfs_symlink+0x29f/0x480 [ 46.753424][ T391] do_symlinkat+0x1ea/0x5a0 [ 46.757766][ T391] ? __check_object_size+0x2ec/0x3d0 [ 46.762883][ T391] ? vfs_symlink+0x480/0x480 [ 46.767313][ T391] ? getname_flags+0x1fd/0x520 [ 46.771911][ T391] __x64_sys_symlink+0x7e/0x90 [ 46.776510][ T391] do_syscall_64+0x3d/0xb0 [ 46.780766][ T391] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 46.786490][ T391] RIP: 0033:0x7f3575952459 [ 46.790741][ T391] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 46.810184][ T391] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 46.818428][ T391] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 46.826246][ T391] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 46.834052][ T391] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 46.841864][ T391] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c ./strace-static-x86_64: Process 392 attached [pid 388] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 386] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 392] set_robust_list(0x555555a60660, 24 [pid 388] exit_group(0 [pid 386] exit_group(0 [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=385, si_uid=0, si_status=0, si_utime=0, si_stime=42} --- [pid 392] <... set_robust_list resumed>) = 0 [pid 386] <... exit_group resumed>) = ? [pid 388] <... exit_group resumed>) = ? [pid 392] chdir("./11" [pid 386] +++ exited with 0 +++ [pid 388] +++ exited with 0 +++ [pid 392] <... chdir resumed>) = 0 [pid 297] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=386, si_uid=0, si_status=0, si_utime=0, si_stime=5} --- [pid 392] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] restart_syscall(<... resuming interrupted clone ...> [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=388, si_uid=0, si_status=0, si_utime=0, si_stime=20} --- [pid 392] <... prctl resumed>) = 0 [pid 297] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] <... restart_syscall resumed>) = 0 [pid 297] <... openat resumed>) = 3 [pid 391] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 293] umount2("./10", MNT_DETACH|UMOUNT_NOFOLLOW [pid 392] setpgid(0, 0 [pid 297] newfstatat(3, "", [pid 295] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 392] <... setpgid resumed>) = 0 [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] openat(AT_FDCWD, "./10", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 392] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 295] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] getdents64(3, [pid 293] <... openat resumed>) = 3 [pid 295] <... openat resumed>) = 3 [pid 392] <... openat resumed>) = 3 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] newfstatat(3, "", [pid 293] newfstatat(3, "", [pid 392] write(3, "1000", 4 [pid 297] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 392] <... write resumed>) = 4 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 392] close(3 [pid 297] newfstatat(AT_FDCWD, "./11/binderfs", [pid 295] getdents64(3, [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] getdents64(3, [pid 392] <... close resumed>) = 0 [pid 391] exit_group(0) = ? [pid 391] +++ exited with 0 +++ [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=391, si_uid=0, si_status=0, si_utime=0, si_stime=13} --- [ 46.849675][ T391] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000b [ 46.857484][ T391] [ 46.867752][ T389] CPU: 1 PID: 389 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 46.877922][ T389] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 46.887809][ T389] Call Trace: [ 46.890939][ T389] [ 46.893715][ T389] dump_stack_lvl+0x151/0x1b7 [ 46.898230][ T389] ? io_uring_drop_tctx_refs+0x190/0x190 [ 46.903697][ T389] ? write_boundary_block+0x150/0x150 [ 46.908902][ T389] ? arch_stack_walk+0xf3/0x140 [ 46.913587][ T389] dump_stack+0x15/0x17 [ 46.917668][ T389] should_fail+0x3c6/0x510 [ 46.921925][ T389] __should_failslab+0xa4/0xe0 [ 46.926521][ T389] should_failslab+0x9/0x20 [ 46.930862][ T389] slab_pre_alloc_hook+0x37/0xd0 [ 46.935642][ T389] __kmalloc+0x6d/0x270 [ 46.939624][ T389] ? ext4_xattr_block_set+0x340/0x3760 [ 46.944919][ T389] ext4_xattr_block_set+0x340/0x3760 [ 46.950045][ T389] ? __ext4_journal_ensure_credits+0x470/0x470 [ 46.956036][ T389] ? ext4_xattr_block_find+0x520/0x520 [ 46.961326][ T389] ? __xattr_check_inode+0x3d5/0x440 [ 46.966446][ T389] ext4_xattr_set_handle+0xdac/0x1560 [ 46.971653][ T389] ? sidtab_sid2str_put+0x2d7/0x640 [ 46.976689][ T389] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 46.982073][ T389] ? selinux_inode_init_security+0x52d/0x780 [ 46.987881][ T389] ? selinux_inode_free_security+0x210/0x210 [ 46.993698][ T389] ext4_initxattrs+0xa7/0x120 [ 46.998386][ T389] security_inode_init_security+0x252/0x390 [ 47.004116][ T389] ? ext4_init_security+0x40/0x40 [ 47.008974][ T389] ? security_dentry_create_files_as+0xc0/0xc0 [ 47.015052][ T389] ? fscrypt_set_context+0x439/0x740 [ 47.020173][ T389] ? __ext4_set_acl+0x5e0/0x5e0 [ 47.024854][ T389] ? prandom_u32+0x24c/0x290 [ 47.029287][ T389] ext4_init_security+0x34/0x40 [ 47.033970][ T389] __ext4_new_inode+0x31f0/0x40a0 [ 47.038835][ T389] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 47.044388][ T389] ? dquot_initialize+0x20/0x20 [ 47.049071][ T389] ? selinux_determine_inode_label+0x29c/0x3b0 [ 47.055061][ T389] ext4_symlink+0x4c3/0xed0 [ 47.059401][ T389] ? ext4_unlink+0x3f0/0x3f0 [ 47.063827][ T389] ? selinux_inode_symlink+0x22/0x30 [ 47.068947][ T389] ? security_inode_symlink+0xb8/0x100 [ 47.074246][ T389] vfs_symlink+0x29f/0x480 [ 47.078495][ T389] do_symlinkat+0x1ea/0x5a0 [ 47.082835][ T389] ? __check_object_size+0x2ec/0x3d0 [ 47.087959][ T389] ? vfs_symlink+0x480/0x480 [ 47.092382][ T389] ? getname_flags+0x1fd/0x520 [ 47.096980][ T389] __x64_sys_symlink+0x7e/0x90 [ 47.101582][ T389] do_syscall_64+0x3d/0xb0 [ 47.105836][ T389] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 47.111562][ T389] RIP: 0033:0x7f3575952459 [ 47.115818][ T389] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 47.135258][ T389] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 47.143499][ T389] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 298] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 297] unlink("./11/binderfs" [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 392] symlink("/dev/binderfs", "./binderfs" [pid 297] <... unlink resumed>) = 0 [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] umount2("./10/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] newfstatat(AT_FDCWD, "./12/binderfs", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 392] <... symlink resumed>) = 0 [pid 298] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] newfstatat(AT_FDCWD, "./10/binderfs", [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] unlink("./12/binderfs" [pid 392] mkdir("./file0", 000 [pid 297] newfstatat(AT_FDCWD, "./11/file0", [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] unlink("./10/binderfs" [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... unlink resumed>) = 0 [pid 298] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 392] <... mkdir resumed>) = 0 [pid 298] <... openat resumed>) = 3 [pid 297] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... unlink resumed>) = 0 [pid 392] open("./file0", O_RDONLY [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] newfstatat(AT_FDCWD, "./12/file0", [pid 293] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 392] <... open resumed>) = 3 [pid 297] <... openat resumed>) = 4 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 392] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 297] newfstatat(4, "", [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./10/file0", [pid 392] <... ioctl resumed>) = 0 [pid 298] newfstatat(3, "", [pid 295] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... openat resumed>) = 4 [pid 392] chdir("./file0" [pid 293] umount2("./10/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] getdents64(4, [pid 295] newfstatat(4, "", [pid 392] <... chdir resumed>) = 0 [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 392] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 298] getdents64(3, [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] openat(AT_FDCWD, "./10/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 392] <... add_key resumed>) = 253992895 [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] getdents64(4, [pid 295] getdents64(4, [pid 392] open("./bus", O_RDONLY [pid 298] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] <... openat resumed>) = 4 [pid 392] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] close(4 [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] newfstatat(4, "", [pid 392] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 298] newfstatat(AT_FDCWD, "./11/binderfs", [pid 297] <... close resumed>) = 0 [pid 295] getdents64(4, [pid 298] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] rmdir("./11/file0" [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 392] <... openat resumed>) = 4 [pid 298] unlink("./11/binderfs" [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 392] write(4, "24", 2 [pid 298] <... unlink resumed>) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 295] close(4 [pid 293] getdents64(4, [pid 392] <... write resumed>) = 2 [pid 389] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 298] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] getdents64(3, [pid 392] symlink("./file0", "./file0" [pid 389] exit_group(0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] <... close resumed>) = 0 [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] newfstatat(AT_FDCWD, "./11/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 298] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4) = 0 [pid 298] rmdir("./11/file0") = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3) = 0 [pid 298] rmdir("./11") = 0 [pid 298] mkdir("./12", 0777) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 394 ./strace-static-x86_64: Process 394 attached [pid 394] set_robust_list(0x555555a60660, 24) = 0 [pid 394] chdir("./12") = 0 [pid 394] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 394] setpgid(0, 0) = 0 [pid 394] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 394] write(3, "1000", 4) = 4 [pid 394] close(3) = 0 [pid 394] symlink("/dev/binderfs", "./binderfs" [pid 389] <... exit_group resumed>) = ? [pid 295] rmdir("./12/file0" [pid 293] getdents64(4, [pid 297] close(3 [pid 394] <... symlink resumed>) = 0 [pid 394] mkdir("./file0", 000) = 0 [pid 394] open("./file0", O_RDONLY) = 3 [ 47.151316][ T389] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 47.159126][ T389] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 47.166934][ T389] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 47.174745][ T389] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000b [ 47.182560][ T389] [ 47.193842][ T392] FAULT_INJECTION: forcing a failure. [ 47.193842][ T392] name failslab, interval 1, probability 0, space 0, times 0 [pid 394] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 394] chdir("./file0") = 0 [pid 394] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 24547144 [pid 394] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 394] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 394] write(4, "24", 2) = 2 [ 47.206464][ T392] CPU: 1 PID: 392 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 47.213933][ T394] FAULT_INJECTION: forcing a failure. [ 47.213933][ T394] name failslab, interval 1, probability 0, space 0, times 0 [ 47.216521][ T392] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 47.216536][ T392] Call Trace: [ 47.216543][ T392] [ 47.244730][ T392] dump_stack_lvl+0x151/0x1b7 [ 47.249247][ T392] ? io_uring_drop_tctx_refs+0x190/0x190 [pid 394] symlink("./file0", "./file0" [pid 389] +++ exited with 0 +++ [pid 295] <... rmdir resumed>) = 0 [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=389, si_uid=0, si_status=0, si_utime=0, si_stime=36} --- [pid 294] restart_syscall(<... resuming interrupted clone ...> [pid 295] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3) = 0 [pid 294] <... restart_syscall resumed>) = 0 [pid 294] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] rmdir("./12" [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... rmdir resumed>) = 0 [pid 294] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 294] newfstatat(3, "", [pid 295] mkdir("./13", 0777 [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... mkdir resumed>) = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./11/binderfs", [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] unlink("./11/binderfs") = 0 [pid 294] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./11/file0", [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 395 [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 294] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] close(4) = 0 [pid 294] rmdir("./11/file0") = 0 [pid 294] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] close(3) = 0 [pid 294] rmdir("./11") = 0 [pid 294] mkdir("./12", 0777) = 0 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 396 ./strace-static-x86_64: Process 395 attached [pid 395] set_robust_list(0x555555a60660, 24) = 0 [pid 395] chdir("./13") = 0 [pid 395] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 395] setpgid(0, 0) = 0 [pid 395] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 395] write(3, "1000", 4) = 4 [pid 395] close(3) = 0 [pid 395] symlink("/dev/binderfs", "./binderfs") = 0 [pid 395] mkdir("./file0", 000) = 0 [pid 395] open("./file0", O_RDONLY) = 3 [pid 395] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 395] chdir("./file0") = 0 [pid 395] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 1035820523 [pid 395] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 395] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 395] write(4, "24", 2) = 2 [ 47.254713][ T392] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 47.260438][ T392] dump_stack+0x15/0x17 [ 47.264429][ T392] should_fail+0x3c6/0x510 [ 47.268690][ T392] __should_failslab+0xa4/0xe0 [ 47.273287][ T392] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 47.278410][ T392] should_failslab+0x9/0x20 [ 47.282751][ T392] slab_pre_alloc_hook+0x37/0xd0 [ 47.287528][ T392] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 47.292642][ T392] kmem_cache_alloc+0x44/0x200 [ 47.297241][ T392] ext4_mb_new_blocks+0xd97/0x43f0 [ 47.302314][ T392] ? ext4_mb_pa_callback+0xd0/0xd0 [ 47.303205][ T395] FAULT_INJECTION: forcing a failure. [ 47.303205][ T395] name failslab, interval 1, probability 0, space 0, times 0 [ 47.307235][ T392] ? ext4_xattr_ibody_set+0x390/0x390 [ 47.307269][ T392] ext4_new_meta_blocks+0x206/0x4f0 [ 47.329895][ T392] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 47.335355][ T392] ? __entry_find+0x398/0x3f0 [ 47.339867][ T392] ? __kmalloc+0x13a/0x270 [ 47.344122][ T392] ext4_xattr_block_set+0x233e/0x3760 [ 47.349333][ T392] ? __ext4_journal_ensure_credits+0x470/0x470 [ 47.355321][ T392] ? ext4_xattr_block_find+0x520/0x520 [ 47.360611][ T392] ? __xattr_check_inode+0x3d5/0x440 [ 47.365736][ T392] ext4_xattr_set_handle+0xdac/0x1560 [ 47.370943][ T392] ? sidtab_sid2str_put+0x2d7/0x640 [ 47.375975][ T392] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 47.381359][ T392] ? selinux_inode_init_security+0x52d/0x780 [ 47.387169][ T392] ? selinux_inode_free_security+0x210/0x210 [ 47.392987][ T392] ext4_initxattrs+0xa7/0x120 [ 47.397497][ T392] security_inode_init_security+0x252/0x390 [ 47.403232][ T392] ? ext4_init_security+0x40/0x40 [pid 395] symlink("./file0", "./file0" [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] close(4) = 0 [pid 293] rmdir("./10/file0") = 0 [pid 293] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] close(3) = 0 [pid 293] rmdir("./10") = 0 [pid 293] mkdir("./11", 0777) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 397 ./strace-static-x86_64: Process 397 attached [pid 397] set_robust_list(0x555555a60660, 24) = 0 [pid 397] chdir("./11") = 0 [pid 397] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 397] setpgid(0, 0) = 0 [pid 397] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 397] write(3, "1000", 4) = 4 [pid 397] close(3) = 0 [pid 397] symlink("/dev/binderfs", "./binderfs") = 0 [pid 397] mkdir("./file0", 000) = 0 [pid 397] open("./file0", O_RDONLY) = 3 [pid 397] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 397] chdir("./file0") = 0 [pid 397] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 167355179 [pid 397] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 397] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 397] write(4, "24", 2) = 2 [ 47.408086][ T392] ? security_dentry_create_files_as+0xc0/0xc0 [ 47.414087][ T392] ? fscrypt_set_context+0x439/0x740 [ 47.419201][ T392] ? __ext4_set_acl+0x5e0/0x5e0 [ 47.423883][ T392] ? prandom_u32+0x24c/0x290 [ 47.428316][ T392] ext4_init_security+0x34/0x40 [ 47.432996][ T392] __ext4_new_inode+0x31f0/0x40a0 [ 47.437869][ T392] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 47.443416][ T392] ? dquot_initialize+0x20/0x20 [ 47.448100][ T392] ? selinux_determine_inode_label+0x29c/0x3b0 [ 47.453355][ T397] FAULT_INJECTION: forcing a failure. [ 47.453355][ T397] name failslab, interval 1, probability 0, space 0, times 0 [ 47.454088][ T392] ext4_symlink+0x4c3/0xed0 [ 47.454114][ T392] ? ext4_unlink+0x3f0/0x3f0 [ 47.475283][ T392] ? selinux_inode_symlink+0x22/0x30 [ 47.480388][ T392] ? security_inode_symlink+0xb8/0x100 [ 47.485694][ T392] vfs_symlink+0x29f/0x480 [ 47.489934][ T392] do_symlinkat+0x1ea/0x5a0 [ 47.494272][ T392] ? __check_object_size+0x2ec/0x3d0 [ 47.499393][ T392] ? vfs_symlink+0x480/0x480 [ 47.503822][ T392] ? getname_flags+0x1fd/0x520 [ 47.508430][ T392] __x64_sys_symlink+0x7e/0x90 [ 47.513019][ T392] do_syscall_64+0x3d/0xb0 [ 47.517357][ T392] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 47.523086][ T392] RIP: 0033:0x7f3575952459 [ 47.527342][ T392] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 47.546785][ T392] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 47.555025][ T392] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 47.562835][ T392] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 47.570650][ T392] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 47.578461][ T392] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 47.586290][ T392] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000b [ 47.594092][ T392] [ 47.596948][ T395] CPU: 0 PID: 395 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 47.607015][ T395] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 47.616911][ T395] Call Trace: [ 47.620035][ T395] [ 47.622812][ T395] dump_stack_lvl+0x151/0x1b7 [ 47.627327][ T395] ? io_uring_drop_tctx_refs+0x190/0x190 [ 47.632793][ T395] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 47.638523][ T395] dump_stack+0x15/0x17 [ 47.642512][ T395] should_fail+0x3c6/0x510 [ 47.646768][ T395] __should_failslab+0xa4/0xe0 [ 47.651369][ T395] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 47.656484][ T395] should_failslab+0x9/0x20 [ 47.660828][ T395] slab_pre_alloc_hook+0x37/0xd0 [ 47.665598][ T395] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 47.670721][ T395] kmem_cache_alloc+0x44/0x200 [ 47.675323][ T395] ext4_mb_new_blocks+0xd97/0x43f0 [ 47.680275][ T395] ? ext4_mb_pa_callback+0xd0/0xd0 [ 47.685215][ T395] ? ext4_xattr_ibody_set+0x390/0x390 [ 47.690429][ T395] ext4_new_meta_blocks+0x206/0x4f0 [ 47.695459][ T395] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 47.695705][ T396] FAULT_INJECTION: forcing a failure. [ 47.695705][ T396] name failslab, interval 1, probability 0, space 0, times 0 [ 47.700922][ T395] ? __entry_find+0x398/0x3f0 [ 47.700944][ T395] ? __kmalloc+0x13a/0x270 [ 47.700965][ T395] ext4_xattr_block_set+0x233e/0x3760 [ 47.728094][ T395] ? __ext4_journal_ensure_credits+0x470/0x470 [ 47.734078][ T395] ? ext4_xattr_block_find+0x520/0x520 [ 47.739373][ T395] ? __xattr_check_inode+0x3d5/0x440 [ 47.744496][ T395] ext4_xattr_set_handle+0xdac/0x1560 [ 47.749699][ T395] ? sidtab_sid2str_put+0x2d7/0x640 [ 47.754737][ T395] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 47.760116][ T395] ? selinux_inode_init_security+0x52d/0x780 [ 47.765933][ T395] ? selinux_inode_free_security+0x210/0x210 [ 47.771748][ T395] ext4_initxattrs+0xa7/0x120 [ 47.776264][ T395] security_inode_init_security+0x252/0x390 [ 47.782010][ T395] ? ext4_init_security+0x40/0x40 [ 47.786850][ T395] ? security_dentry_create_files_as+0xc0/0xc0 [ 47.792834][ T395] ? fscrypt_set_context+0x439/0x740 [ 47.797956][ T395] ? __ext4_set_acl+0x5e0/0x5e0 [ 47.802644][ T395] ? prandom_u32+0x24c/0x290 [ 47.807069][ T395] ext4_init_security+0x34/0x40 [ 47.811766][ T395] __ext4_new_inode+0x31f0/0x40a0 [ 47.816623][ T395] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 47.822174][ T395] ? dquot_initialize+0x20/0x20 [ 47.826860][ T395] ? selinux_determine_inode_label+0x29c/0x3b0 [ 47.832849][ T395] ext4_symlink+0x4c3/0xed0 [ 47.837278][ T395] ? ext4_unlink+0x3f0/0x3f0 [ 47.841700][ T395] ? selinux_inode_symlink+0x22/0x30 [ 47.846821][ T395] ? security_inode_symlink+0xb8/0x100 [ 47.852117][ T395] vfs_symlink+0x29f/0x480 [ 47.857246][ T395] do_symlinkat+0x1ea/0x5a0 [ 47.861584][ T395] ? __check_object_size+0x2ec/0x3d0 [ 47.866789][ T395] ? vfs_symlink+0x480/0x480 [ 47.871216][ T395] ? getname_flags+0x1fd/0x520 [ 47.875815][ T395] __x64_sys_symlink+0x7e/0x90 [ 47.880414][ T395] do_syscall_64+0x3d/0xb0 [ 47.884666][ T395] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 47.890392][ T395] RIP: 0033:0x7f3575952459 [ 47.894649][ T395] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 47.914094][ T395] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 47.922340][ T395] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 47.930149][ T395] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 47.937958][ T395] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 47.945768][ T395] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 47.953580][ T395] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000d [pid 397] symlink("./file0", "./file0"./strace-static-x86_64: Process 396 attached [pid 392] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 297] <... close resumed>) = 0 [pid 396] set_robust_list(0x555555a60660, 24 [pid 392] exit_group(0 [pid 297] rmdir("./11" [pid 396] <... set_robust_list resumed>) = 0 [pid 392] <... exit_group resumed>) = ? [pid 297] <... rmdir resumed>) = 0 [pid 396] chdir("./12" [pid 392] +++ exited with 0 +++ [pid 297] mkdir("./12", 0777 [pid 396] <... chdir resumed>) = 0 [pid 297] <... mkdir resumed>) = 0 [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=392, si_uid=0, si_status=0, si_utime=0, si_stime=2} --- [pid 396] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 396] setpgid(0, 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 396] <... setpgid resumed>) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 396] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 296] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 396] <... openat resumed>) = 3 [pid 296] <... openat resumed>) = 3 [pid 396] write(3, "1000", 4 [pid 296] newfstatat(3, "", [pid 396] <... write resumed>) = 4 [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 398 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 396] close(3 [pid 296] getdents64(3, [pid 396] <... close resumed>) = 0 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 396] symlink("/dev/binderfs", "./binderfs" [pid 296] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 396] <... symlink resumed>) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 396] mkdir("./file0", 000 [pid 296] newfstatat(AT_FDCWD, "./11/binderfs", [pid 396] <... mkdir resumed>) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 396] open("./file0", O_RDONLY [pid 296] unlink("./11/binderfs" [pid 396] <... open resumed>) = 3 [pid 296] <... unlink resumed>) = 0 [pid 396] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 296] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 396] <... ioctl resumed>) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 396] chdir("./file0" [pid 296] newfstatat(AT_FDCWD, "./11/file0", [pid 396] <... chdir resumed>) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 396] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 296] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 396] <... add_key resumed>) = 21860446 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 396] open("./bus", O_RDONLY [pid 296] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 396] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 296] <... openat resumed>) = 4 [pid 396] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 296] newfstatat(4, "", [pid 396] <... openat resumed>) = 4 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 396] write(4, "24", 2 [pid 296] getdents64(4, [pid 396] <... write resumed>) = 2 [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 396] symlink("./file0", "./file0" [pid 296] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] close(4) = 0 [pid 296] rmdir("./11/file0") = 0 [pid 296] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] close(3) = 0 [pid 296] rmdir("./11") = 0 [pid 296] mkdir("./12", 0777) = 0 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 400 [ 47.961391][ T395] [ 47.967405][ T394] CPU: 1 PID: 394 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 47.977484][ T394] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 47.987380][ T394] Call Trace: [ 47.990498][ T394] [ 47.993277][ T394] dump_stack_lvl+0x151/0x1b7 [ 47.997790][ T394] ? io_uring_drop_tctx_refs+0x190/0x190 [ 48.003255][ T394] ? wb_get_create+0xe0a/0xe40 [ 48.007944][ T394] ? sb_end_intwrite+0x120/0x120 [ 48.012715][ T394] dump_stack+0x15/0x17 [ 48.016706][ T394] should_fail+0x3c6/0x510 [ 48.020964][ T394] __should_failslab+0xa4/0xe0 [ 48.025562][ T394] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 48.030684][ T394] should_failslab+0x9/0x20 [ 48.035023][ T394] slab_pre_alloc_hook+0x37/0xd0 [ 48.039795][ T394] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 48.044914][ T394] kmem_cache_alloc+0x44/0x200 [ 48.049519][ T394] ext4_mb_new_blocks+0x4ed/0x43f0 [ 48.054472][ T394] ? ext4_mb_pa_callback+0xd0/0xd0 [ 48.059416][ T394] ? ext4_xattr_ibody_set+0x390/0x390 [ 48.064617][ T394] ext4_new_meta_blocks+0x206/0x4f0 [ 48.069655][ T394] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 48.075556][ T394] ? __entry_find+0x398/0x3f0 [ 48.080112][ T394] ? __kmalloc+0x13a/0x270 [ 48.084322][ T394] ext4_xattr_block_set+0x233e/0x3760 [ 48.089531][ T394] ? __ext4_journal_ensure_credits+0x470/0x470 [ 48.095516][ T394] ? ext4_xattr_block_find+0x520/0x520 [ 48.100905][ T394] ? __xattr_check_inode+0x3d5/0x440 [ 48.106021][ T394] ext4_xattr_set_handle+0xdac/0x1560 [ 48.111228][ T394] ? sidtab_sid2str_put+0x2d7/0x640 [ 48.116263][ T394] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 48.121643][ T394] ? selinux_inode_init_security+0x52d/0x780 [ 48.127456][ T394] ? selinux_inode_free_security+0x210/0x210 [ 48.133281][ T394] ext4_initxattrs+0xa7/0x120 [ 48.137795][ T394] security_inode_init_security+0x252/0x390 [ 48.143515][ T394] ? ext4_init_security+0x40/0x40 [ 48.148373][ T394] ? security_dentry_create_files_as+0xc0/0xc0 [ 48.154364][ T394] ? fscrypt_set_context+0x439/0x740 [ 48.159485][ T394] ? __ext4_set_acl+0x5e0/0x5e0 [ 48.164171][ T394] ? prandom_u32+0x24c/0x290 [ 48.168595][ T394] ext4_init_security+0x34/0x40 [ 48.173284][ T394] __ext4_new_inode+0x31f0/0x40a0 [ 48.178187][ T394] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 48.183700][ T394] ? dquot_initialize+0x20/0x20 [ 48.188388][ T394] ? selinux_determine_inode_label+0x29c/0x3b0 [ 48.194378][ T394] ext4_symlink+0x4c3/0xed0 [ 48.198716][ T394] ? ext4_unlink+0x3f0/0x3f0 [ 48.203142][ T394] ? selinux_inode_symlink+0x22/0x30 [ 48.208262][ T394] ? security_inode_symlink+0xb8/0x100 [ 48.214170][ T394] vfs_symlink+0x29f/0x480 [ 48.218422][ T394] do_symlinkat+0x1ea/0x5a0 [ 48.222758][ T394] ? __check_object_size+0x2ec/0x3d0 [ 48.227887][ T394] ? vfs_symlink+0x480/0x480 [ 48.232312][ T394] ? getname_flags+0x1fd/0x520 [ 48.236901][ T394] __x64_sys_symlink+0x7e/0x90 [ 48.241501][ T394] do_syscall_64+0x3d/0xb0 [ 48.245842][ T394] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 48.251569][ T394] RIP: 0033:0x7f3575952459 [ 48.255821][ T394] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 48.275264][ T394] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 48.283511][ T394] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 48.291323][ T394] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 48.299138][ T394] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 ./strace-static-x86_64: Process 398 attached ./strace-static-x86_64: Process 400 attached [pid 400] set_robust_list(0x555555a60660, 24) = 0 [pid 400] chdir("./12") = 0 [pid 400] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 400] setpgid(0, 0) = 0 [pid 400] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 400] write(3, "1000", 4) = 4 [pid 400] close(3) = 0 [pid 400] symlink("/dev/binderfs", "./binderfs") = 0 [pid 400] mkdir("./file0", 000) = 0 [pid 400] open("./file0", O_RDONLY) = 3 [pid 400] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 400] chdir("./file0") = 0 [pid 400] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 147392872 [pid 400] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 400] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 400] write(4, "24", 2) = 2 [pid 400] symlink("./file0", "./file0" [pid 398] set_robust_list(0x555555a60660, 24) = 0 [pid 398] chdir("./12") = 0 [pid 398] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 398] setpgid(0, 0) = 0 [pid 398] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 398] write(3, "1000", 4) = 4 [pid 398] close(3) = 0 [pid 398] symlink("/dev/binderfs", "./binderfs") = 0 [pid 398] mkdir("./file0", 000) = 0 [pid 398] open("./file0", O_RDONLY) = 3 [pid 398] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 398] chdir("./file0") = 0 [ 48.306944][ T394] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 48.314758][ T394] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000c [ 48.322569][ T394] [ 48.325431][ T397] CPU: 0 PID: 397 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 48.334021][ T400] FAULT_INJECTION: forcing a failure. [ 48.334021][ T400] name failslab, interval 1, probability 0, space 0, times 0 [ 48.335499][ T397] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 48.335514][ T397] Call Trace: [ 48.335520][ T397] [pid 398] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 490614673 [pid 398] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 398] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 398] write(4, "24", 2) = 2 [ 48.335528][ T397] dump_stack_lvl+0x151/0x1b7 [ 48.357148][ T398] FAULT_INJECTION: forcing a failure. [ 48.357148][ T398] name failslab, interval 1, probability 0, space 0, times 0 [ 48.357805][ T397] ? io_uring_drop_tctx_refs+0x190/0x190 [ 48.357836][ T397] ? wb_get_create+0xe0a/0xe40 [ 48.390708][ T397] ? sb_end_intwrite+0x120/0x120 [ 48.395476][ T397] dump_stack+0x15/0x17 [ 48.399462][ T397] should_fail+0x3c6/0x510 [ 48.403717][ T397] __should_failslab+0xa4/0xe0 [ 48.408318][ T397] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 48.413437][ T397] should_failslab+0x9/0x20 [ 48.417782][ T397] slab_pre_alloc_hook+0x37/0xd0 [ 48.422557][ T397] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 48.427677][ T397] kmem_cache_alloc+0x44/0x200 [ 48.432275][ T397] ext4_mb_new_blocks+0x4ed/0x43f0 [ 48.437224][ T397] ? ext4_mb_pa_callback+0xd0/0xd0 [ 48.442168][ T397] ? ext4_xattr_ibody_set+0x390/0x390 [ 48.447372][ T397] ext4_new_meta_blocks+0x206/0x4f0 [ 48.452408][ T397] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 48.458033][ T397] ? __entry_find+0x398/0x3f0 [ 48.462477][ T397] ? __kmalloc+0x13a/0x270 [ 48.466731][ T397] ext4_xattr_block_set+0x233e/0x3760 [ 48.471939][ T397] ? __ext4_journal_ensure_credits+0x470/0x470 [ 48.477923][ T397] ? ext4_xattr_block_find+0x520/0x520 [ 48.483422][ T397] ? __xattr_check_inode+0x3d5/0x440 [ 48.488548][ T397] ext4_xattr_set_handle+0xdac/0x1560 [ 48.493755][ T397] ? sidtab_sid2str_put+0x2d7/0x640 [ 48.498789][ T397] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 48.504170][ T397] ? selinux_inode_init_security+0x52d/0x780 [ 48.509991][ T397] ? selinux_inode_free_security+0x210/0x210 [ 48.516230][ T397] ext4_initxattrs+0xa7/0x120 [ 48.520748][ T397] security_inode_init_security+0x252/0x390 [ 48.526474][ T397] ? ext4_init_security+0x40/0x40 [ 48.531336][ T397] ? security_dentry_create_files_as+0xc0/0xc0 [ 48.537319][ T397] ? fscrypt_set_context+0x439/0x740 [ 48.542451][ T397] ? __ext4_set_acl+0x5e0/0x5e0 [ 48.547132][ T397] ? prandom_u32+0x24c/0x290 [ 48.551556][ T397] ext4_init_security+0x34/0x40 [ 48.556245][ T397] __ext4_new_inode+0x31f0/0x40a0 [ 48.561123][ T397] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 48.566660][ T397] ? dquot_initialize+0x20/0x20 [ 48.571348][ T397] ? selinux_determine_inode_label+0x29c/0x3b0 [ 48.577341][ T397] ext4_symlink+0x4c3/0xed0 [ 48.581681][ T397] ? ext4_unlink+0x3f0/0x3f0 [ 48.586101][ T397] ? selinux_inode_symlink+0x22/0x30 [ 48.591226][ T397] ? security_inode_symlink+0xb8/0x100 [ 48.596518][ T397] vfs_symlink+0x29f/0x480 [ 48.600766][ T397] do_symlinkat+0x1ea/0x5a0 [ 48.605104][ T397] ? __check_object_size+0x2ec/0x3d0 [ 48.610229][ T397] ? vfs_symlink+0x480/0x480 [ 48.614653][ T397] ? getname_flags+0x1fd/0x520 [ 48.619256][ T397] __x64_sys_symlink+0x7e/0x90 [ 48.623852][ T397] do_syscall_64+0x3d/0xb0 [ 48.628108][ T397] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 48.633837][ T397] RIP: 0033:0x7f3575952459 [ 48.638095][ T397] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 48.657528][ T397] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 48.665774][ T397] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 48.673675][ T397] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 48.681484][ T397] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 48.689296][ T397] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 48.697117][ T397] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000b [ 48.704927][ T397] [ 48.707877][ T400] CPU: 1 PID: 400 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 48.717943][ T400] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 48.727831][ T400] Call Trace: [ 48.730968][ T400] [ 48.733741][ T400] dump_stack_lvl+0x151/0x1b7 [ 48.738254][ T400] ? io_uring_drop_tctx_refs+0x190/0x190 [ 48.743715][ T400] ? wb_get_create+0xe0a/0xe40 [ 48.748312][ T400] ? sb_end_intwrite+0x120/0x120 [ 48.753098][ T400] dump_stack+0x15/0x17 [ 48.757083][ T400] should_fail+0x3c6/0x510 [ 48.761337][ T400] __should_failslab+0xa4/0xe0 [ 48.765948][ T400] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 48.771056][ T400] should_failslab+0x9/0x20 [ 48.775396][ T400] slab_pre_alloc_hook+0x37/0xd0 [ 48.780171][ T400] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 48.785287][ T400] kmem_cache_alloc+0x44/0x200 [ 48.789889][ T400] ext4_mb_new_blocks+0x4ed/0x43f0 [ 48.794848][ T400] ? ext4_mb_pa_callback+0xd0/0xd0 [ 48.799786][ T400] ? ext4_xattr_ibody_set+0x390/0x390 [ 48.804996][ T400] ext4_new_meta_blocks+0x206/0x4f0 [ 48.810026][ T400] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 48.815493][ T400] ? __entry_find+0x398/0x3f0 [ 48.820007][ T400] ? __kmalloc+0x13a/0x270 [ 48.824269][ T400] ext4_xattr_block_set+0x233e/0x3760 [ 48.829472][ T400] ? __ext4_journal_ensure_credits+0x470/0x470 [ 48.835456][ T400] ? ext4_xattr_block_find+0x520/0x520 [ 48.840750][ T400] ? __xattr_check_inode+0x3d5/0x440 [ 48.845872][ T400] ext4_xattr_set_handle+0xdac/0x1560 [ 48.851080][ T400] ? sidtab_sid2str_put+0x2d7/0x640 [ 48.856113][ T400] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 48.861502][ T400] ? selinux_inode_init_security+0x52d/0x780 [ 48.867307][ T400] ? selinux_inode_free_security+0x210/0x210 [ 48.873124][ T400] ext4_initxattrs+0xa7/0x120 [ 48.877636][ T400] security_inode_init_security+0x252/0x390 [ 48.883363][ T400] ? ext4_init_security+0x40/0x40 [ 48.888225][ T400] ? security_dentry_create_files_as+0xc0/0xc0 [ 48.894222][ T400] ? fscrypt_set_context+0x439/0x740 [ 48.899338][ T400] ? __ext4_set_acl+0x5e0/0x5e0 [ 48.904019][ T400] ? prandom_u32+0x24c/0x290 [ 48.908445][ T400] ext4_init_security+0x34/0x40 [ 48.913135][ T400] __ext4_new_inode+0x31f0/0x40a0 [ 48.917997][ T400] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 48.923550][ T400] ? dquot_initialize+0x20/0x20 [ 48.928237][ T400] ? selinux_determine_inode_label+0x29c/0x3b0 [ 48.934224][ T400] ext4_symlink+0x4c3/0xed0 [ 48.938565][ T400] ? ext4_unlink+0x3f0/0x3f0 [ 48.942991][ T400] ? selinux_inode_symlink+0x22/0x30 [ 48.948110][ T400] ? security_inode_symlink+0xb8/0x100 [ 48.953404][ T400] vfs_symlink+0x29f/0x480 [ 48.957658][ T400] do_symlinkat+0x1ea/0x5a0 [ 48.961997][ T400] ? __check_object_size+0x2ec/0x3d0 [ 48.967119][ T400] ? vfs_symlink+0x480/0x480 [ 48.971548][ T400] ? getname_flags+0x1fd/0x520 [ 48.976148][ T400] __x64_sys_symlink+0x7e/0x90 [ 48.980747][ T400] do_syscall_64+0x3d/0xb0 [ 48.984996][ T400] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 48.990727][ T400] RIP: 0033:0x7f3575952459 [ 48.995023][ T400] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 49.014508][ T400] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 49.022753][ T400] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 49.030565][ T400] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 49.038377][ T400] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 49.046185][ T400] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 49.054293][ T400] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000c [ 49.062126][ T400] [ 49.065157][ T396] CPU: 0 PID: 396 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 49.075214][ T396] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 49.085112][ T396] Call Trace: [ 49.088235][ T396] [ 49.091014][ T396] dump_stack_lvl+0x151/0x1b7 [ 49.095527][ T396] ? io_uring_drop_tctx_refs+0x190/0x190 [ 49.100994][ T396] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 49.106723][ T396] dump_stack+0x15/0x17 [ 49.110711][ T396] should_fail+0x3c6/0x510 [ 49.115315][ T396] __should_failslab+0xa4/0xe0 [ 49.119914][ T396] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 49.125032][ T396] should_failslab+0x9/0x20 [ 49.129372][ T396] slab_pre_alloc_hook+0x37/0xd0 [ 49.134152][ T396] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 49.139271][ T396] kmem_cache_alloc+0x44/0x200 [ 49.143870][ T396] ext4_mb_new_blocks+0xd97/0x43f0 [ 49.148837][ T396] ? ext4_mb_pa_callback+0xd0/0xd0 [ 49.153763][ T396] ? ext4_xattr_ibody_set+0x390/0x390 [ 49.158968][ T396] ext4_new_meta_blocks+0x206/0x4f0 [ 49.164003][ T396] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 49.169474][ T396] ? __entry_find+0x398/0x3f0 [ 49.173991][ T396] ? __kmalloc+0x13a/0x270 [ 49.178241][ T396] ext4_xattr_block_set+0x233e/0x3760 [ 49.183455][ T396] ? __ext4_journal_ensure_credits+0x470/0x470 [ 49.189434][ T396] ? ext4_xattr_block_find+0x520/0x520 [ 49.194727][ T396] ? __xattr_check_inode+0x3d5/0x440 [ 49.199849][ T396] ext4_xattr_set_handle+0xdac/0x1560 [ 49.205056][ T396] ? sidtab_sid2str_put+0x2d7/0x640 [ 49.210093][ T396] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 49.215473][ T396] ? selinux_inode_init_security+0x52d/0x780 [ 49.221291][ T396] ? selinux_inode_free_security+0x210/0x210 [ 49.227104][ T396] ext4_initxattrs+0xa7/0x120 [ 49.231613][ T396] security_inode_init_security+0x252/0x390 [ 49.237516][ T396] ? ext4_init_security+0x40/0x40 [ 49.242379][ T396] ? security_dentry_create_files_as+0xc0/0xc0 [ 49.248364][ T396] ? fscrypt_set_context+0x439/0x740 [ 49.253490][ T396] ? __ext4_set_acl+0x5e0/0x5e0 [ 49.258174][ T396] ? prandom_u32+0x24c/0x290 [ 49.262599][ T396] ext4_init_security+0x34/0x40 [ 49.267291][ T396] __ext4_new_inode+0x31f0/0x40a0 [ 49.272150][ T396] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 49.277704][ T396] ? dquot_initialize+0x20/0x20 [ 49.282384][ T396] ? selinux_determine_inode_label+0x29c/0x3b0 [ 49.288377][ T396] ext4_symlink+0x4c3/0xed0 [ 49.292721][ T396] ? ext4_unlink+0x3f0/0x3f0 [ 49.297140][ T396] ? selinux_inode_symlink+0x22/0x30 [ 49.302268][ T396] ? security_inode_symlink+0xb8/0x100 [ 49.307552][ T396] vfs_symlink+0x29f/0x480 [ 49.311813][ T396] do_symlinkat+0x1ea/0x5a0 [ 49.316149][ T396] ? __check_object_size+0x2ec/0x3d0 [ 49.321278][ T396] ? vfs_symlink+0x480/0x480 [ 49.325695][ T396] ? getname_flags+0x1fd/0x520 [ 49.330302][ T396] __x64_sys_symlink+0x7e/0x90 [ 49.334898][ T396] do_syscall_64+0x3d/0xb0 [ 49.339170][ T396] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 49.344878][ T396] RIP: 0033:0x7f3575952459 [ 49.349133][ T396] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 49.368571][ T396] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 49.376817][ T396] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 49.384626][ T396] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 49.392438][ T396] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 49.400254][ T396] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 49.408068][ T396] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000c [ 49.415874][ T396] [ 49.418743][ T398] CPU: 1 PID: 398 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 49.428805][ T398] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 49.438703][ T398] Call Trace: [ 49.441831][ T398] [ 49.444601][ T398] dump_stack_lvl+0x151/0x1b7 [ 49.449114][ T398] ? io_uring_drop_tctx_refs+0x190/0x190 [ 49.454581][ T398] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 49.460314][ T398] dump_stack+0x15/0x17 [ 49.464301][ T398] should_fail+0x3c6/0x510 [ 49.468559][ T398] __should_failslab+0xa4/0xe0 [ 49.473159][ T398] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 49.478277][ T398] should_failslab+0x9/0x20 [ 49.482616][ T398] slab_pre_alloc_hook+0x37/0xd0 [ 49.487389][ T398] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 49.492509][ T398] kmem_cache_alloc+0x44/0x200 [ 49.497111][ T398] ext4_mb_new_blocks+0xd97/0x43f0 [ 49.502076][ T398] ? ext4_mb_pa_callback+0xd0/0xd0 [ 49.507007][ T398] ? ext4_xattr_ibody_set+0x390/0x390 [ 49.512212][ T398] ext4_new_meta_blocks+0x206/0x4f0 [ 49.517247][ T398] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 49.522717][ T398] ? __entry_find+0x398/0x3f0 [ 49.527226][ T398] ? __kmalloc+0x13a/0x270 [ 49.531483][ T398] ext4_xattr_block_set+0x233e/0x3760 [ 49.536692][ T398] ? __ext4_journal_ensure_credits+0x470/0x470 [ 49.542685][ T398] ? ext4_xattr_block_find+0x520/0x520 [ 49.548076][ T398] ? __xattr_check_inode+0x3d5/0x440 [ 49.553195][ T398] ext4_xattr_set_handle+0xdac/0x1560 [ 49.558403][ T398] ? sidtab_sid2str_put+0x2d7/0x640 [ 49.563443][ T398] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 49.568818][ T398] ? selinux_inode_init_security+0x52d/0x780 [ 49.574633][ T398] ? selinux_inode_free_security+0x210/0x210 [ 49.580448][ T398] ext4_initxattrs+0xa7/0x120 [ 49.584965][ T398] security_inode_init_security+0x252/0x390 [ 49.590690][ T398] ? ext4_init_security+0x40/0x40 [ 49.595552][ T398] ? security_dentry_create_files_as+0xc0/0xc0 [ 49.601538][ T398] ? fscrypt_set_context+0x439/0x740 [ 49.606663][ T398] ? __ext4_set_acl+0x5e0/0x5e0 [ 49.611344][ T398] ? prandom_u32+0x24c/0x290 [ 49.615769][ T398] ext4_init_security+0x34/0x40 [ 49.620458][ T398] __ext4_new_inode+0x31f0/0x40a0 [ 49.625321][ T398] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 49.630887][ T398] ? dquot_initialize+0x20/0x20 [ 49.635564][ T398] ? selinux_determine_inode_label+0x29c/0x3b0 [ 49.641659][ T398] ext4_symlink+0x4c3/0xed0 [ 49.645998][ T398] ? ext4_unlink+0x3f0/0x3f0 [ 49.650425][ T398] ? selinux_inode_symlink+0x22/0x30 [ 49.655570][ T398] ? security_inode_symlink+0xb8/0x100 [ 49.660840][ T398] vfs_symlink+0x29f/0x480 [ 49.665092][ T398] do_symlinkat+0x1ea/0x5a0 [ 49.669430][ T398] ? __check_object_size+0x2ec/0x3d0 [ 49.674556][ T398] ? vfs_symlink+0x480/0x480 [ 49.678975][ T398] ? getname_flags+0x1fd/0x520 [ 49.683579][ T398] __x64_sys_symlink+0x7e/0x90 [ 49.688272][ T398] do_syscall_64+0x3d/0xb0 [ 49.692527][ T398] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 49.698253][ T398] RIP: 0033:0x7f3575952459 [ 49.702509][ T398] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 49.722120][ T398] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 49.730369][ T398] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 49.738178][ T398] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 49.745991][ T398] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 49.753805][ T398] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 49.761622][ T398] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000c [pid 398] symlink("./file0", "./file0" [pid 395] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 400] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 398] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 397] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 396] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 394] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 400] exit_group(0 [pid 398] exit_group(0 [pid 397] exit_group(0 [pid 396] exit_group(0 [pid 394] exit_group(0 [pid 400] <... exit_group resumed>) = ? [pid 398] <... exit_group resumed>) = ? [pid 397] <... exit_group resumed>) = ? [pid 396] <... exit_group resumed>) = ? [pid 395] exit_group(0 [pid 394] <... exit_group resumed>) = ? [pid 400] +++ exited with 0 +++ [pid 398] +++ exited with 0 +++ [pid 397] +++ exited with 0 +++ [pid 395] <... exit_group resumed>) = ? [pid 396] +++ exited with 0 +++ [pid 395] +++ exited with 0 +++ [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=398, si_uid=0, si_status=0, si_utime=0, si_stime=36} --- [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=400, si_uid=0, si_status=0, si_utime=0, si_stime=11} --- [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=395, si_uid=0, si_status=0, si_utime=0, si_stime=10} --- [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=396, si_uid=0, si_status=0, si_utime=0, si_stime=26} --- [pid 394] +++ exited with 0 +++ [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=394, si_uid=0, si_status=0, si_utime=0, si_stime=24} --- [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=397, si_uid=0, si_status=0, si_utime=0, si_stime=25} --- [pid 298] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 298] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 297] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] newfstatat(3, "", [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./11", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] getdents64(3, [pid 297] <... openat resumed>) = 3 [pid 296] <... openat resumed>) = 3 [pid 295] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(3, "", [pid 296] newfstatat(3, "", [pid 295] <... openat resumed>) = 3 [pid 294] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] openat(AT_FDCWD, "./11", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] newfstatat(3, "", [pid 294] <... openat resumed>) = 3 [pid 293] <... openat resumed>) = 3 [pid 297] getdents64(3, [pid 296] getdents64(3, [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] newfstatat(3, "", [pid 293] newfstatat(3, "", [pid 295] getdents64(3, [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(3, [ 49.769606][ T398] [pid 293] getdents64(3, [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./11/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./12/binderfs", [pid 297] newfstatat(AT_FDCWD, "./12/binderfs", [pid 296] newfstatat(AT_FDCWD, "./12/binderfs", [pid 295] newfstatat(AT_FDCWD, "./13/binderfs", [pid 294] newfstatat(AT_FDCWD, "./12/binderfs", [pid 293] newfstatat(AT_FDCWD, "./11/binderfs", [pid 298] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./12/binderfs" [pid 297] unlink("./12/binderfs" [pid 296] unlink("./12/binderfs" [pid 295] unlink("./13/binderfs" [pid 294] unlink("./12/binderfs" [pid 293] unlink("./11/binderfs" [pid 298] <... unlink resumed>) = 0 [pid 296] <... unlink resumed>) = 0 [pid 295] <... unlink resumed>) = 0 [pid 293] <... unlink resumed>) = 0 [pid 295] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./13/file0", [pid 293] newfstatat(AT_FDCWD, "./11/file0", [pid 298] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... unlink resumed>) = 0 [pid 296] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... unlink resumed>) = 0 [pid 293] umount2("./11/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] newfstatat(AT_FDCWD, "./12/file0", [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./12/file0", [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] newfstatat(AT_FDCWD, "./12/file0", [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] openat(AT_FDCWD, "./11/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... openat resumed>) = 4 [pid 294] newfstatat(AT_FDCWD, "./12/file0", [pid 293] <... openat resumed>) = 4 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(4, "", [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] newfstatat(4, "", [pid 298] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] <... openat resumed>) = 4 [pid 297] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... openat resumed>) = 4 [pid 295] getdents64(4, [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] getdents64(4, [pid 298] newfstatat(4, "", [pid 297] <... openat resumed>) = 4 [pid 296] newfstatat(4, "", [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] newfstatat(4, "", [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(4, [pid 294] <... openat resumed>) = 4 [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(4, [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] newfstatat(4, "", [pid 298] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] getdents64(4, [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] close(4 [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(4, [pid 298] getdents64(4, [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] getdents64(4, [pid 295] <... close resumed>) = 0 [pid 294] getdents64(4, [pid 298] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] getdents64(4, [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] rmdir("./13/file0" [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4 [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] close(4 [pid 294] getdents64(4, [pid 298] <... close resumed>) = 0 [pid 297] close(4 [pid 296] <... close resumed>) = 0 [pid 294] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] rmdir("./12/file0" [pid 297] <... close resumed>) = 0 [pid 296] rmdir("./12/file0" [pid 294] close(4 [pid 298] <... rmdir resumed>) = 0 [pid 297] rmdir("./12/file0" [pid 295] <... rmdir resumed>) = 0 [pid 293] close(4 [pid 295] getdents64(3, [pid 293] <... close resumed>) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] rmdir("./11/file0" [pid 298] getdents64(3, [pid 297] <... rmdir resumed>) = 0 [pid 296] getdents64(3, [pid 295] close(3 [pid 294] <... close resumed>) = 0 [pid 293] <... rmdir resumed>) = 0 [pid 298] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] getdents64(3, [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] <... close resumed>) = 0 [pid 294] rmdir("./12/file0" [pid 293] getdents64(3, [pid 298] close(3 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] close(3 [pid 295] rmdir("./13" [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] <... close resumed>) = 0 [pid 297] close(3 [pid 296] <... close resumed>) = 0 [pid 295] <... rmdir resumed>) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 293] close(3 [pid 298] rmdir("./12" [pid 297] <... close resumed>) = 0 [pid 296] rmdir("./12" [pid 295] mkdir("./14", 0777 [pid 294] getdents64(3, [pid 293] <... close resumed>) = 0 [pid 298] <... rmdir resumed>) = 0 [pid 297] rmdir("./12" [pid 296] <... rmdir resumed>) = 0 [pid 295] <... mkdir resumed>) = 0 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] rmdir("./11" [pid 298] mkdir("./13", 0777 [pid 297] <... rmdir resumed>) = 0 [pid 296] mkdir("./13", 0777 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] close(3 [pid 293] <... rmdir resumed>) = 0 [pid 298] <... mkdir resumed>) = 0 [pid 293] mkdir("./12", 0777 [pid 296] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 402 attached [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 297] mkdir("./13", 0777 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 402 [pid 294] <... close resumed>) = 0 [pid 293] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 404 attached ./strace-static-x86_64: Process 403 attached [pid 402] set_robust_list(0x555555a60660, 24 [pid 297] <... mkdir resumed>) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 404] set_robust_list(0x555555a60660, 24 [pid 403] set_robust_list(0x555555a60660, 24 [pid 402] <... set_robust_list resumed>) = 0 [pid 298] <... clone resumed>, child_tidptr=0x555555a60650) = 403 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 404 [pid 294] rmdir("./12"./strace-static-x86_64: Process 405 attached [pid 404] <... set_robust_list resumed>) = 0 [pid 403] <... set_robust_list resumed>) = 0 [pid 402] chdir("./14" [pid 294] <... rmdir resumed>) = 0 [pid 404] chdir("./13" [pid 403] chdir("./13" [pid 402] <... chdir resumed>) = 0 [pid 294] mkdir("./13", 0777./strace-static-x86_64: Process 406 attached [pid 405] set_robust_list(0x555555a60660, 24 [pid 404] <... chdir resumed>) = 0 [pid 403] <... chdir resumed>) = 0 [pid 402] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 406 [pid 294] <... mkdir resumed>) = 0 [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 405 [pid 404] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 402] <... prctl resumed>) = 0 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 404] <... prctl resumed>) = 0 [pid 402] setpgid(0, 0 [pid 404] setpgid(0, 0 [pid 403] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 402] <... setpgid resumed>) = 0 [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 407 [pid 405] <... set_robust_list resumed>) = 0 [pid 404] <... setpgid resumed>) = 0 [pid 402] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 404] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 403] <... prctl resumed>) = 0 [pid 402] <... openat resumed>) = 3 [pid 404] <... openat resumed>) = 3 [pid 402] write(3, "1000", 4 [pid 404] write(3, "1000", 4 [pid 402] <... write resumed>) = 4 [pid 403] setpgid(0, 0 [pid 404] <... write resumed>) = 4 [pid 402] close(3 [pid 404] close(3 [pid 402] <... close resumed>) = 0 [pid 404] <... close resumed>) = 0 [pid 402] symlink("/dev/binderfs", "./binderfs" [pid 404] symlink("/dev/binderfs", "./binderfs" [pid 402] <... symlink resumed>) = 0 [pid 404] <... symlink resumed>) = 0 [pid 403] <... setpgid resumed>) = 0 [pid 402] mkdir("./file0", 000 [pid 404] mkdir("./file0", 000 [pid 402] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 407 attached [pid 406] set_robust_list(0x555555a60660, 24 [pid 405] chdir("./12" [pid 404] <... mkdir resumed>) = 0 [pid 403] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 402] open("./file0", O_RDONLY [pid 404] open("./file0", O_RDONLY [pid 402] <... open resumed>) = 3 [pid 404] <... open resumed>) = 3 [pid 402] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 407] set_robust_list(0x555555a60660, 24 [pid 406] <... set_robust_list resumed>) = 0 [pid 405] <... chdir resumed>) = 0 [pid 403] <... openat resumed>) = 3 [pid 404] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 402] <... ioctl resumed>) = 0 [pid 404] <... ioctl resumed>) = 0 [pid 402] chdir("./file0" [pid 404] chdir("./file0" [pid 402] <... chdir resumed>) = 0 [pid 404] <... chdir resumed>) = 0 [pid 402] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 404] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 402] <... add_key resumed>) = 1041484360 [pid 404] <... add_key resumed>) = 411821140 [pid 402] open("./bus", O_RDONLY [pid 404] open("./bus", O_RDONLY [pid 403] write(3, "1000", 4 [pid 402] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 405] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 404] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 402] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 404] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 402] <... openat resumed>) = 4 [pid 404] <... openat resumed>) = 4 [pid 402] write(4, "24", 2 [pid 404] write(4, "24", 2 [pid 402] <... write resumed>) = 2 [pid 404] <... write resumed>) = 2 [pid 402] symlink("./file0", "./file0" [pid 407] <... set_robust_list resumed>) = 0 [pid 406] chdir("./13" [pid 405] <... prctl resumed>) = 0 [pid 404] symlink("./file0", "./file0" [pid 403] <... write resumed>) = 4 [pid 407] chdir("./13" [pid 406] <... chdir resumed>) = 0 [pid 405] setpgid(0, 0 [pid 403] close(3 [pid 407] <... chdir resumed>) = 0 [pid 406] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 405] <... setpgid resumed>) = 0 [pid 403] <... close resumed>) = 0 [pid 407] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 406] <... prctl resumed>) = 0 [pid 405] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 403] symlink("/dev/binderfs", "./binderfs" [pid 407] <... prctl resumed>) = 0 [pid 406] setpgid(0, 0 [pid 405] <... openat resumed>) = 3 [pid 403] <... symlink resumed>) = 0 [pid 407] setpgid(0, 0 [pid 406] <... setpgid resumed>) = 0 [pid 405] write(3, "1000", 4 [pid 403] mkdir("./file0", 000 [pid 407] <... setpgid resumed>) = 0 [pid 406] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 405] <... write resumed>) = 4 [pid 403] <... mkdir resumed>) = 0 [pid 407] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 406] <... openat resumed>) = 3 [pid 405] close(3 [pid 403] open("./file0", O_RDONLY [pid 407] <... openat resumed>) = 3 [pid 406] write(3, "1000", 4 [pid 405] <... close resumed>) = 0 [pid 403] <... open resumed>) = 3 [pid 407] write(3, "1000", 4 [pid 406] <... write resumed>) = 4 [pid 405] symlink("/dev/binderfs", "./binderfs" [pid 403] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 407] <... write resumed>) = 4 [pid 406] close(3 [pid 405] <... symlink resumed>) = 0 [pid 403] <... ioctl resumed>) = 0 [pid 406] <... close resumed>) = 0 [pid 405] mkdir("./file0", 000 [ 49.865467][ T402] FAULT_INJECTION: forcing a failure. [ 49.865467][ T402] name failslab, interval 1, probability 0, space 0, times 0 [ 49.879205][ T402] CPU: 1 PID: 402 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 49.879486][ T404] FAULT_INJECTION: forcing a failure. [ 49.879486][ T404] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 49.889277][ T402] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 49.889293][ T402] Call Trace: [ 49.889299][ T402] [ 49.889307][ T402] dump_stack_lvl+0x151/0x1b7 [ 49.889336][ T402] ? io_uring_drop_tctx_refs+0x190/0x190 [ 49.889359][ T402] ? wb_get_create+0xe0a/0xe40 [ 49.889381][ T402] ? sb_end_intwrite+0x120/0x120 [ 49.889403][ T402] dump_stack+0x15/0x17 [ 49.889424][ T402] should_fail+0x3c6/0x510 [ 49.889443][ T402] __should_failslab+0xa4/0xe0 [ 49.950522][ T402] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 49.955637][ T402] should_failslab+0x9/0x20 [ 49.959989][ T402] slab_pre_alloc_hook+0x37/0xd0 [ 49.964750][ T402] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 49.969880][ T402] kmem_cache_alloc+0x44/0x200 [ 49.974472][ T402] ext4_mb_new_blocks+0x4ed/0x43f0 [ 49.979422][ T402] ? ext4_mb_pa_callback+0xd0/0xd0 [ 49.984363][ T402] ? ext4_xattr_ibody_set+0x390/0x390 [ 49.989578][ T402] ext4_new_meta_blocks+0x206/0x4f0 [ 49.994606][ T402] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 50.000075][ T402] ? __entry_find+0x398/0x3f0 [ 50.004589][ T402] ? __kmalloc+0x13a/0x270 [ 50.008842][ T402] ext4_xattr_block_set+0x233e/0x3760 [ 50.014052][ T402] ? __ext4_journal_ensure_credits+0x470/0x470 [ 50.020038][ T402] ? ext4_xattr_block_find+0x520/0x520 [ 50.025331][ T402] ? __xattr_check_inode+0x3d5/0x440 [ 50.030457][ T402] ext4_xattr_set_handle+0xdac/0x1560 [ 50.035661][ T402] ? sidtab_sid2str_put+0x2d7/0x640 [ 50.040698][ T402] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 50.046077][ T402] ? selinux_inode_init_security+0x52d/0x780 [ 50.051892][ T402] ? selinux_inode_free_security+0x210/0x210 [ 50.057706][ T402] ext4_initxattrs+0xa7/0x120 [ 50.062219][ T402] security_inode_init_security+0x252/0x390 [ 50.067950][ T402] ? ext4_init_security+0x40/0x40 [ 50.072806][ T402] ? security_dentry_create_files_as+0xc0/0xc0 [ 50.078793][ T402] ? fscrypt_set_context+0x439/0x740 [ 50.083919][ T402] ? __ext4_set_acl+0x5e0/0x5e0 [ 50.088607][ T402] ? prandom_u32+0x24c/0x290 [ 50.092303][ T403] FAULT_INJECTION: forcing a failure. [ 50.092303][ T403] name failslab, interval 1, probability 0, space 0, times 0 [ 50.093034][ T402] ext4_init_security+0x34/0x40 [ 50.107819][ T405] FAULT_INJECTION: forcing a failure. [ 50.107819][ T405] name failslab, interval 1, probability 0, space 0, times 0 [ 50.110129][ T402] __ext4_new_inode+0x31f0/0x40a0 [ 50.110159][ T402] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 50.123682][ T406] FAULT_INJECTION: forcing a failure. [ 50.123682][ T406] name failslab, interval 1, probability 0, space 0, times 0 [ 50.127396][ T402] ? dquot_initialize+0x20/0x20 [ 50.127423][ T402] ? selinux_determine_inode_label+0x29c/0x3b0 [ 50.133466][ T407] FAULT_INJECTION: forcing a failure. [ 50.133466][ T407] name failslab, interval 1, probability 0, space 0, times 0 [ 50.145367][ T402] ext4_symlink+0x4c3/0xed0 [ 50.145392][ T402] ? ext4_unlink+0x3f0/0x3f0 [ 50.145411][ T402] ? selinux_inode_symlink+0x22/0x30 [ 50.182344][ T402] ? security_inode_symlink+0xb8/0x100 [ 50.187641][ T402] vfs_symlink+0x29f/0x480 [ 50.191894][ T402] do_symlinkat+0x1ea/0x5a0 [ 50.196228][ T402] ? __check_object_size+0x2ec/0x3d0 [ 50.201348][ T402] ? vfs_symlink+0x480/0x480 [ 50.205773][ T402] ? getname_flags+0x1fd/0x520 [ 50.210375][ T402] __x64_sys_symlink+0x7e/0x90 [ 50.214974][ T402] do_syscall_64+0x3d/0xb0 [ 50.219226][ T402] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 50.224959][ T402] RIP: 0033:0x7f3575952459 [ 50.229205][ T402] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 50.248654][ T402] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 50.256892][ T402] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 403] chdir("./file0" [pid 407] close(3 [pid 406] symlink("/dev/binderfs", "./binderfs" [pid 405] <... mkdir resumed>) = 0 [pid 403] <... chdir resumed>) = 0 [pid 407] <... close resumed>) = 0 [pid 406] <... symlink resumed>) = 0 [pid 405] open("./file0", O_RDONLY [pid 403] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 407] symlink("/dev/binderfs", "./binderfs" [pid 406] mkdir("./file0", 000 [pid 405] <... open resumed>) = 3 [pid 403] <... add_key resumed>) = 326733441 [pid 407] <... symlink resumed>) = 0 [pid 406] <... mkdir resumed>) = 0 [pid 405] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 403] open("./bus", O_RDONLY [pid 407] mkdir("./file0", 000 [pid 406] open("./file0", O_RDONLY [pid 405] <... ioctl resumed>) = 0 [pid 403] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 407] <... mkdir resumed>) = 0 [pid 406] <... open resumed>) = 3 [pid 405] chdir("./file0" [pid 403] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 407] open("./file0", O_RDONLY [pid 406] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 405] <... chdir resumed>) = 0 [pid 403] <... openat resumed>) = 4 [pid 407] <... open resumed>) = 3 [pid 406] <... ioctl resumed>) = 0 [pid 405] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 403] write(4, "24", 2 [pid 407] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 406] chdir("./file0" [pid 405] <... add_key resumed>) = 37472987 [pid 403] <... write resumed>) = 2 [pid 407] <... ioctl resumed>) = 0 [pid 406] <... chdir resumed>) = 0 [pid 405] open("./bus", O_RDONLY [pid 403] symlink("./file0", "./file0" [pid 407] chdir("./file0" [pid 406] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 405] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 407] <... chdir resumed>) = 0 [pid 406] <... add_key resumed>) = 61551645 [pid 405] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 407] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 406] open("./bus", O_RDONLY [pid 405] <... openat resumed>) = 4 [pid 407] <... add_key resumed>) = 706021113 [pid 406] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 405] write(4, "24", 2 [pid 407] open("./bus", O_RDONLY [pid 406] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 405] <... write resumed>) = 2 [pid 407] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 406] <... openat resumed>) = 4 [pid 405] symlink("./file0", "./file0" [pid 407] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 406] write(4, "24", 2 [pid 407] <... openat resumed>) = 4 [pid 406] <... write resumed>) = 2 [pid 407] write(4, "24", 2 [pid 406] symlink("./file0", "./file0" [pid 407] <... write resumed>) = 2 [ 50.264710][ T402] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 50.272518][ T402] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 50.280328][ T402] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 50.288136][ T402] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000e [ 50.295954][ T402] [ 50.298816][ T405] CPU: 0 PID: 405 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 50.308971][ T405] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 50.318867][ T405] Call Trace: [ 50.322005][ T405] [ 50.324765][ T405] dump_stack_lvl+0x151/0x1b7 [ 50.329277][ T405] ? io_uring_drop_tctx_refs+0x190/0x190 [ 50.334744][ T405] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 50.340476][ T405] dump_stack+0x15/0x17 [ 50.344467][ T405] should_fail+0x3c6/0x510 [ 50.348719][ T405] __should_failslab+0xa4/0xe0 [ 50.353319][ T405] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 50.358439][ T405] should_failslab+0x9/0x20 [ 50.362782][ T405] slab_pre_alloc_hook+0x37/0xd0 [ 50.367566][ T405] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 50.372674][ T405] kmem_cache_alloc+0x44/0x200 [ 50.377278][ T405] ext4_mb_new_blocks+0xd97/0x43f0 [ 50.382226][ T405] ? ext4_mb_pa_callback+0xd0/0xd0 [ 50.387167][ T405] ? ext4_xattr_ibody_set+0x390/0x390 [ 50.392376][ T405] ext4_new_meta_blocks+0x206/0x4f0 [ 50.397410][ T405] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 50.402881][ T405] ? __entry_find+0x398/0x3f0 [ 50.407479][ T405] ? __kmalloc+0x13a/0x270 [ 50.411734][ T405] ext4_xattr_block_set+0x233e/0x3760 [ 50.416944][ T405] ? __ext4_journal_ensure_credits+0x470/0x470 [ 50.422930][ T405] ? ext4_xattr_block_find+0x520/0x520 [ 50.428223][ T405] ? __xattr_check_inode+0x3d5/0x440 [ 50.433342][ T405] ext4_xattr_set_handle+0xdac/0x1560 [ 50.438555][ T405] ? sidtab_sid2str_put+0x2d7/0x640 [ 50.443585][ T405] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 50.448971][ T405] ? selinux_inode_init_security+0x52d/0x780 [ 50.454780][ T405] ? selinux_inode_free_security+0x210/0x210 [ 50.460598][ T405] ext4_initxattrs+0xa7/0x120 [ 50.465109][ T405] security_inode_init_security+0x252/0x390 [ 50.470837][ T405] ? ext4_init_security+0x40/0x40 [ 50.475696][ T405] ? security_dentry_create_files_as+0xc0/0xc0 [ 50.481791][ T405] ? fscrypt_set_context+0x439/0x740 [ 50.486916][ T405] ? __ext4_set_acl+0x5e0/0x5e0 [ 50.491599][ T405] ? prandom_u32+0x24c/0x290 [ 50.496023][ T405] ext4_init_security+0x34/0x40 [ 50.500713][ T405] __ext4_new_inode+0x31f0/0x40a0 [ 50.505575][ T405] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 50.511127][ T405] ? dquot_initialize+0x20/0x20 [ 50.515812][ T405] ? selinux_determine_inode_label+0x29c/0x3b0 [ 50.521805][ T405] ext4_symlink+0x4c3/0xed0 [ 50.526145][ T405] ? ext4_unlink+0x3f0/0x3f0 [ 50.530570][ T405] ? selinux_inode_symlink+0x22/0x30 [ 50.535692][ T405] ? security_inode_symlink+0xb8/0x100 [ 50.541095][ T405] vfs_symlink+0x29f/0x480 [ 50.545338][ T405] do_symlinkat+0x1ea/0x5a0 [ 50.549677][ T405] ? __check_object_size+0x2ec/0x3d0 [ 50.554804][ T405] ? vfs_symlink+0x480/0x480 [ 50.559229][ T405] ? getname_flags+0x1fd/0x520 [ 50.563916][ T405] __x64_sys_symlink+0x7e/0x90 [ 50.568528][ T405] do_syscall_64+0x3d/0xb0 [ 50.572783][ T405] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 50.578511][ T405] RIP: 0033:0x7f3575952459 [ 50.582763][ T405] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 50.602208][ T405] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 50.610455][ T405] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 50.618261][ T405] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 50.626073][ T405] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 50.633886][ T405] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 50.641823][ T405] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000c [ 50.649640][ T405] [ 50.652594][ T403] CPU: 1 PID: 403 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 50.662573][ T403] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 50.672463][ T403] Call Trace: [ 50.675586][ T403] [ 50.678363][ T403] dump_stack_lvl+0x151/0x1b7 [ 50.682884][ T403] ? io_uring_drop_tctx_refs+0x190/0x190 [ 50.688433][ T403] ? wb_get_create+0xe0a/0xe40 [ 50.693032][ T403] ? sb_end_intwrite+0x120/0x120 [ 50.697817][ T403] dump_stack+0x15/0x17 [ 50.701812][ T403] should_fail+0x3c6/0x510 [ 50.706059][ T403] __should_failslab+0xa4/0xe0 [ 50.710654][ T403] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 50.715777][ T403] should_failslab+0x9/0x20 [ 50.720113][ T403] slab_pre_alloc_hook+0x37/0xd0 [ 50.724888][ T403] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 50.730006][ T403] kmem_cache_alloc+0x44/0x200 [ 50.734720][ T403] ext4_mb_new_blocks+0x4ed/0x43f0 [ 50.739670][ T403] ? ext4_mb_pa_callback+0xd0/0xd0 [ 50.744615][ T403] ? ext4_xattr_ibody_set+0x390/0x390 [ 50.749831][ T403] ext4_new_meta_blocks+0x206/0x4f0 [ 50.754865][ T403] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 50.760324][ T403] ? __entry_find+0x398/0x3f0 [ 50.764836][ T403] ? __kmalloc+0x13a/0x270 [ 50.769089][ T403] ext4_xattr_block_set+0x233e/0x3760 [ 50.774301][ T403] ? __ext4_journal_ensure_credits+0x470/0x470 [ 50.780412][ T403] ? ext4_xattr_block_find+0x520/0x520 [ 50.785712][ T403] ? __xattr_check_inode+0x3d5/0x440 [ 50.790837][ T403] ext4_xattr_set_handle+0xdac/0x1560 [ 50.796033][ T403] ? sidtab_sid2str_put+0x2d7/0x640 [ 50.801066][ T403] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 50.806454][ T403] ? selinux_inode_init_security+0x52d/0x780 [ 50.812264][ T403] ? selinux_inode_free_security+0x210/0x210 [ 50.818165][ T403] ext4_initxattrs+0xa7/0x120 [ 50.822680][ T403] security_inode_init_security+0x252/0x390 [ 50.828404][ T403] ? ext4_init_security+0x40/0x40 [ 50.833264][ T403] ? security_dentry_create_files_as+0xc0/0xc0 [ 50.839249][ T403] ? fscrypt_set_context+0x439/0x740 [ 50.844379][ T403] ? __ext4_set_acl+0x5e0/0x5e0 [ 50.849066][ T403] ? prandom_u32+0x24c/0x290 [ 50.853488][ T403] ext4_init_security+0x34/0x40 [ 50.858175][ T403] __ext4_new_inode+0x31f0/0x40a0 [ 50.863036][ T403] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 50.868590][ T403] ? dquot_initialize+0x20/0x20 [ 50.873274][ T403] ? selinux_determine_inode_label+0x29c/0x3b0 [ 50.879264][ T403] ext4_symlink+0x4c3/0xed0 [ 50.883606][ T403] ? ext4_unlink+0x3f0/0x3f0 [ 50.888031][ T403] ? selinux_inode_symlink+0x22/0x30 [ 50.893157][ T403] ? security_inode_symlink+0xb8/0x100 [ 50.898448][ T403] vfs_symlink+0x29f/0x480 [ 50.902698][ T403] do_symlinkat+0x1ea/0x5a0 [ 50.907039][ T403] ? __check_object_size+0x2ec/0x3d0 [ 50.912162][ T403] ? vfs_symlink+0x480/0x480 [ 50.916583][ T403] ? getname_flags+0x1fd/0x520 [ 50.921187][ T403] __x64_sys_symlink+0x7e/0x90 [ 50.925783][ T403] do_syscall_64+0x3d/0xb0 [ 50.930046][ T403] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 50.935769][ T403] RIP: 0033:0x7f3575952459 [ 50.940024][ T403] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 50.959944][ T403] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 407] symlink("./file0", "./file0" [pid 402] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 402] exit_group(0) = ? [pid 402] +++ exited with 0 +++ [ 50.968188][ T403] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 50.976004][ T403] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 50.983812][ T403] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 50.991625][ T403] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 50.999610][ T403] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000d [ 51.007429][ T403] [ 51.010284][ T404] CPU: 0 PID: 404 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 51.020351][ T404] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 51.030248][ T404] Call Trace: [ 51.033367][ T404] [ 51.036145][ T404] dump_stack_lvl+0x151/0x1b7 [ 51.040660][ T404] ? io_uring_drop_tctx_refs+0x190/0x190 [ 51.046235][ T404] dump_stack+0x15/0x17 [ 51.050208][ T404] should_fail+0x3c6/0x510 [ 51.054460][ T404] should_fail_alloc_page+0x5a/0x80 [ 51.059493][ T404] prepare_alloc_pages+0x15c/0x700 [ 51.064442][ T404] ? __alloc_pages_bulk+0xe40/0xe40 [ 51.069493][ T404] ? __kasan_check_write+0x14/0x20 [ 51.074421][ T404] __alloc_pages+0x18c/0x8f0 [ 51.078850][ T404] ? prep_new_page+0x110/0x110 [ 51.083449][ T404] ? jbd2_journal_stop+0x143/0xc70 [ 51.088397][ T404] ? _raw_spin_unlock+0x4d/0x70 [ 51.093081][ T404] ? inode_add_bytes+0x118/0x160 [ 51.097857][ T404] new_slab+0x9a/0x4e0 [ 51.101771][ T404] ___slab_alloc+0x39e/0x830 [ 51.106187][ T404] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 51.111310][ T404] ? _raw_spin_lock+0xa4/0x1b0 [ 51.115910][ T404] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 51.121030][ T404] __slab_alloc+0x4a/0x90 [ 51.125197][ T404] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 51.130402][ T404] kmem_cache_alloc+0x134/0x200 [ 51.135092][ T404] ext4_mb_new_blocks+0x4ed/0x43f0 [ 51.140042][ T404] ? ext4_mb_pa_callback+0xd0/0xd0 [ 51.144983][ T404] ? ext4_xattr_ibody_set+0x390/0x390 [ 51.150193][ T404] ext4_new_meta_blocks+0x206/0x4f0 [ 51.155228][ T404] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 51.160784][ T404] ? __entry_find+0x398/0x3f0 [ 51.165294][ T404] ? __kmalloc+0x13a/0x270 [ 51.169554][ T404] ext4_xattr_block_set+0x233e/0x3760 [ 51.174757][ T404] ? __ext4_journal_ensure_credits+0x470/0x470 [ 51.180741][ T404] ? ext4_xattr_block_find+0x520/0x520 [ 51.186039][ T404] ? __xattr_check_inode+0x3d5/0x440 [ 51.191164][ T404] ext4_xattr_set_handle+0xdac/0x1560 [ 51.196364][ T404] ? sidtab_sid2str_put+0x2d7/0x640 [ 51.201402][ T404] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 51.206791][ T404] ? selinux_inode_init_security+0x52d/0x780 [ 51.212595][ T404] ? selinux_inode_free_security+0x210/0x210 [ 51.218413][ T404] ext4_initxattrs+0xa7/0x120 [ 51.222926][ T404] security_inode_init_security+0x252/0x390 [ 51.228763][ T404] ? ext4_init_security+0x40/0x40 [ 51.233631][ T404] ? security_dentry_create_files_as+0xc0/0xc0 [ 51.239609][ T404] ? fscrypt_set_context+0x439/0x740 [ 51.244816][ T404] ? __ext4_set_acl+0x5e0/0x5e0 [ 51.249507][ T404] ? prandom_u32+0x24c/0x290 [ 51.253930][ T404] ext4_init_security+0x34/0x40 [ 51.258620][ T404] __ext4_new_inode+0x31f0/0x40a0 [ 51.263568][ T404] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 51.269122][ T404] ? dquot_initialize+0x20/0x20 [ 51.273805][ T404] ? selinux_determine_inode_label+0x29c/0x3b0 [ 51.279799][ T404] ext4_symlink+0x4c3/0xed0 [ 51.284135][ T404] ? ext4_unlink+0x3f0/0x3f0 [ 51.288562][ T404] ? selinux_inode_symlink+0x22/0x30 [ 51.293683][ T404] ? security_inode_symlink+0xb8/0x100 [ 51.298976][ T404] vfs_symlink+0x29f/0x480 [ 51.303232][ T404] do_symlinkat+0x1ea/0x5a0 [ 51.307568][ T404] ? __check_object_size+0x2ec/0x3d0 [ 51.312690][ T404] ? vfs_symlink+0x480/0x480 [ 51.317114][ T404] ? getname_flags+0x1fd/0x520 [ 51.321717][ T404] __x64_sys_symlink+0x7e/0x90 [ 51.326316][ T404] do_syscall_64+0x3d/0xb0 [ 51.330570][ T404] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 51.336298][ T404] RIP: 0033:0x7f3575952459 [ 51.340550][ T404] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 51.359993][ T404] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 51.368234][ T404] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 51.376046][ T404] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 51.383857][ T404] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 51.391668][ T404] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 51.399480][ T404] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000d [ 51.407298][ T404] [ 51.410350][ T406] CPU: 1 PID: 406 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=402, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- [pid 295] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./14/binderfs") = 0 [pid 295] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./14/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 295] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] close(4) = 0 [pid 295] rmdir("./14/file0") = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3) = 0 [pid 295] rmdir("./14") = 0 [pid 295] mkdir("./15", 0777) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 409 [pid 403] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 403] exit_group(0) = ? [pid 403] +++ exited with 0 +++ ./strace-static-x86_64: Process 409 attached [pid 409] set_robust_list(0x555555a60660, 24) = 0 [pid 409] chdir("./15") = 0 [pid 409] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 409] setpgid(0, 0) = 0 [pid 409] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 409] write(3, "1000", 4) = 4 [pid 409] close(3) = 0 [pid 409] symlink("/dev/binderfs", "./binderfs") = 0 [pid 409] mkdir("./file0", 000) = 0 [pid 409] open("./file0", O_RDONLY) = 3 [pid 409] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 409] chdir("./file0") = 0 [pid 409] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 442792870 [pid 409] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 409] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 409] write(4, "24", 2) = 2 [ 51.420408][ T406] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 51.428632][ T409] FAULT_INJECTION: forcing a failure. [ 51.428632][ T409] name failslab, interval 1, probability 0, space 0, times 0 [ 51.430301][ T406] Call Trace: [ 51.430309][ T406] [ 51.430318][ T406] dump_stack_lvl+0x151/0x1b7 [ 51.453130][ T406] ? io_uring_drop_tctx_refs+0x190/0x190 [ 51.458603][ T406] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 51.464444][ T406] dump_stack+0x15/0x17 [ 51.468429][ T406] should_fail+0x3c6/0x510 [ 51.472683][ T406] __should_failslab+0xa4/0xe0 [ 51.477282][ T406] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 51.482404][ T406] should_failslab+0x9/0x20 [ 51.486745][ T406] slab_pre_alloc_hook+0x37/0xd0 [ 51.491516][ T406] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 51.496640][ T406] kmem_cache_alloc+0x44/0x200 [ 51.501237][ T406] ext4_mb_new_blocks+0xd97/0x43f0 [ 51.506192][ T406] ? ext4_mb_pa_callback+0xd0/0xd0 [ 51.511130][ T406] ? ext4_xattr_ibody_set+0x390/0x390 [ 51.516344][ T406] ext4_new_meta_blocks+0x206/0x4f0 [ 51.521381][ T406] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 51.526850][ T406] ? __entry_find+0x398/0x3f0 [ 51.531356][ T406] ? __kmalloc+0x13a/0x270 [ 51.535613][ T406] ext4_xattr_block_set+0x233e/0x3760 [ 51.540821][ T406] ? __ext4_journal_ensure_credits+0x470/0x470 [ 51.547021][ T406] ? ext4_xattr_block_find+0x520/0x520 [ 51.552307][ T406] ? __xattr_check_inode+0x3d5/0x440 [ 51.557428][ T406] ext4_xattr_set_handle+0xdac/0x1560 [ 51.562632][ T406] ? sidtab_sid2str_put+0x2d7/0x640 [ 51.567671][ T406] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 51.573054][ T406] ? selinux_inode_init_security+0x52d/0x780 [ 51.578862][ T406] ? selinux_inode_free_security+0x210/0x210 [ 51.584678][ T406] ext4_initxattrs+0xa7/0x120 [ 51.589192][ T406] security_inode_init_security+0x252/0x390 [ 51.594923][ T406] ? ext4_init_security+0x40/0x40 [ 51.599777][ T406] ? security_dentry_create_files_as+0xc0/0xc0 [ 51.605767][ T406] ? fscrypt_set_context+0x439/0x740 [ 51.610895][ T406] ? __ext4_set_acl+0x5e0/0x5e0 [ 51.615595][ T406] ? prandom_u32+0x24c/0x290 [ 51.620003][ T406] ext4_init_security+0x34/0x40 [ 51.624687][ T406] __ext4_new_inode+0x31f0/0x40a0 [ 51.629554][ T406] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 51.635109][ T406] ? dquot_initialize+0x20/0x20 [ 51.639795][ T406] ? selinux_determine_inode_label+0x29c/0x3b0 [ 51.645779][ T406] ext4_symlink+0x4c3/0xed0 [ 51.650142][ T406] ? ext4_unlink+0x3f0/0x3f0 [ 51.654547][ T406] ? selinux_inode_symlink+0x22/0x30 [ 51.659662][ T406] ? security_inode_symlink+0xb8/0x100 [ 51.664961][ T406] vfs_symlink+0x29f/0x480 [ 51.670091][ T406] do_symlinkat+0x1ea/0x5a0 [ 51.674428][ T406] ? __check_object_size+0x2ec/0x3d0 [ 51.679546][ T406] ? vfs_symlink+0x480/0x480 [ 51.683978][ T406] ? getname_flags+0x1fd/0x520 [ 51.688575][ T406] __x64_sys_symlink+0x7e/0x90 [ 51.693173][ T406] do_syscall_64+0x3d/0xb0 [ 51.697425][ T406] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 51.704123][ T406] RIP: 0033:0x7f3575952459 [ 51.708582][ T406] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 51.728020][ T406] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 51.736265][ T406] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 51.744197][ T406] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 51.752006][ T406] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 51.759816][ T406] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 51.767624][ T406] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000d [ 51.775442][ T406] [ 51.778304][ T409] CPU: 0 PID: 409 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 51.788371][ T409] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 51.798263][ T409] Call Trace: [ 51.801390][ T409] [ 51.804258][ T409] dump_stack_lvl+0x151/0x1b7 [ 51.808765][ T409] ? io_uring_drop_tctx_refs+0x190/0x190 [ 51.814322][ T409] ? wb_get_create+0xe0a/0xe40 [ 51.818920][ T409] ? sb_end_intwrite+0x120/0x120 [ 51.823694][ T409] dump_stack+0x15/0x17 [ 51.827688][ T409] should_fail+0x3c6/0x510 [ 51.831940][ T409] __should_failslab+0xa4/0xe0 [ 51.836540][ T409] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 51.841658][ T409] should_failslab+0x9/0x20 [ 51.845997][ T409] slab_pre_alloc_hook+0x37/0xd0 [ 51.850774][ T409] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 51.855892][ T409] kmem_cache_alloc+0x44/0x200 [ 51.860517][ T409] ext4_mb_new_blocks+0x4ed/0x43f0 [ 51.865454][ T409] ? ext4_mb_pa_callback+0xd0/0xd0 [ 51.870480][ T409] ? ext4_xattr_ibody_set+0x390/0x390 [ 51.875682][ T409] ext4_new_meta_blocks+0x206/0x4f0 [ 51.880719][ T409] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 51.886186][ T409] ? __entry_find+0x398/0x3f0 [ 51.890697][ T409] ? __kmalloc+0x13a/0x270 [ 51.894951][ T409] ext4_xattr_block_set+0x233e/0x3760 [ 51.900164][ T409] ? __ext4_journal_ensure_credits+0x470/0x470 [ 51.906148][ T409] ? ext4_xattr_block_find+0x520/0x520 [ 51.911444][ T409] ? __xattr_check_inode+0x3d5/0x440 [ 51.916564][ T409] ext4_xattr_set_handle+0xdac/0x1560 [ 51.921769][ T409] ? sidtab_sid2str_put+0x2d7/0x640 [ 51.926805][ T409] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 51.932187][ T409] ? selinux_inode_init_security+0x52d/0x780 [ 51.938000][ T409] ? selinux_inode_free_security+0x210/0x210 [ 51.943847][ T409] ext4_initxattrs+0xa7/0x120 [ 51.948329][ T409] security_inode_init_security+0x252/0x390 [ 51.954057][ T409] ? ext4_init_security+0x40/0x40 [ 51.958915][ T409] ? security_dentry_create_files_as+0xc0/0xc0 [ 51.964904][ T409] ? fscrypt_set_context+0x439/0x740 [ 51.970027][ T409] ? __ext4_set_acl+0x5e0/0x5e0 [ 51.974715][ T409] ? prandom_u32+0x24c/0x290 [ 51.979137][ T409] ext4_init_security+0x34/0x40 [ 51.983827][ T409] __ext4_new_inode+0x31f0/0x40a0 [ 51.988691][ T409] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 51.994242][ T409] ? dquot_initialize+0x20/0x20 [ 51.998928][ T409] ? selinux_determine_inode_label+0x29c/0x3b0 [ 52.004920][ T409] ext4_symlink+0x4c3/0xed0 [ 52.009258][ T409] ? ext4_unlink+0x3f0/0x3f0 [ 52.014117][ T409] ? selinux_inode_symlink+0x22/0x30 [ 52.019235][ T409] ? security_inode_symlink+0xb8/0x100 [ 52.024533][ T409] vfs_symlink+0x29f/0x480 [ 52.028785][ T409] do_symlinkat+0x1ea/0x5a0 [ 52.033122][ T409] ? __check_object_size+0x2ec/0x3d0 [ 52.038244][ T409] ? vfs_symlink+0x480/0x480 [ 52.042671][ T409] ? getname_flags+0x1fd/0x520 [ 52.047269][ T409] __x64_sys_symlink+0x7e/0x90 [ 52.051886][ T409] do_syscall_64+0x3d/0xb0 [ 52.056126][ T409] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 52.061851][ T409] RIP: 0033:0x7f3575952459 [ 52.066105][ T409] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 52.085544][ T409] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 52.093789][ T409] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 52.101603][ T409] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 52.109413][ T409] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 52.117225][ T409] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [pid 409] symlink("./file0", "./file0" [pid 406] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 405] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 404] <... symlink resumed>) = 0 [ 52.125035][ T409] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000f [ 52.132849][ T409] [ 52.136724][ T407] CPU: 0 PID: 407 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 52.146781][ T407] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 52.156675][ T407] Call Trace: [ 52.159802][ T407] [ 52.162574][ T407] dump_stack_lvl+0x151/0x1b7 [ 52.167089][ T407] ? io_uring_drop_tctx_refs+0x190/0x190 [ 52.172554][ T407] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 52.178285][ T407] dump_stack+0x15/0x17 [ 52.182280][ T407] should_fail+0x3c6/0x510 [ 52.186530][ T407] __should_failslab+0xa4/0xe0 [ 52.191131][ T407] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 52.196247][ T407] should_failslab+0x9/0x20 [ 52.200589][ T407] slab_pre_alloc_hook+0x37/0xd0 [ 52.205362][ T407] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 52.210488][ T407] kmem_cache_alloc+0x44/0x200 [ 52.215349][ T407] ext4_mb_new_blocks+0xd97/0x43f0 [ 52.220294][ T407] ? ext4_mb_pa_callback+0xd0/0xd0 [ 52.225239][ T407] ? ext4_xattr_ibody_set+0x390/0x390 [ 52.230457][ T407] ext4_new_meta_blocks+0x206/0x4f0 [ 52.235482][ T407] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 52.240952][ T407] ? __entry_find+0x398/0x3f0 [ 52.245459][ T407] ? __kmalloc+0x13a/0x270 [ 52.249714][ T407] ext4_xattr_block_set+0x233e/0x3760 [ 52.254925][ T407] ? __ext4_journal_ensure_credits+0x470/0x470 [ 52.260912][ T407] ? ext4_xattr_block_find+0x520/0x520 [ 52.266466][ T407] ? __xattr_check_inode+0x3d5/0x440 [ 52.271589][ T407] ext4_xattr_set_handle+0xdac/0x1560 [ 52.276794][ T407] ? sidtab_sid2str_put+0x2d7/0x640 [ 52.281829][ T407] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 52.287216][ T407] ? selinux_inode_init_security+0x52d/0x780 [ 52.293024][ T407] ? selinux_inode_free_security+0x210/0x210 [ 52.298840][ T407] ext4_initxattrs+0xa7/0x120 [ 52.303354][ T407] security_inode_init_security+0x252/0x390 [ 52.309079][ T407] ? ext4_init_security+0x40/0x40 [ 52.313941][ T407] ? security_dentry_create_files_as+0xc0/0xc0 [ 52.319930][ T407] ? fscrypt_set_context+0x439/0x740 [ 52.325048][ T407] ? __ext4_set_acl+0x5e0/0x5e0 [ 52.329735][ T407] ? prandom_u32+0x24c/0x290 [ 52.334167][ T407] ext4_init_security+0x34/0x40 [ 52.338867][ T407] __ext4_new_inode+0x31f0/0x40a0 [ 52.343713][ T407] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 52.349263][ T407] ? dquot_initialize+0x20/0x20 [ 52.353952][ T407] ? selinux_determine_inode_label+0x29c/0x3b0 [ 52.359945][ T407] ext4_symlink+0x4c3/0xed0 [ 52.364281][ T407] ? ext4_unlink+0x3f0/0x3f0 [ 52.368708][ T407] ? selinux_inode_symlink+0x22/0x30 [ 52.373827][ T407] ? security_inode_symlink+0xb8/0x100 [ 52.379123][ T407] vfs_symlink+0x29f/0x480 [ 52.383377][ T407] do_symlinkat+0x1ea/0x5a0 [ 52.387715][ T407] ? __check_object_size+0x2ec/0x3d0 [ 52.392846][ T407] ? vfs_symlink+0x480/0x480 [ 52.397374][ T407] ? getname_flags+0x1fd/0x520 [ 52.401976][ T407] __x64_sys_symlink+0x7e/0x90 [ 52.406601][ T407] do_syscall_64+0x3d/0xb0 [ 52.410846][ T407] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 52.416555][ T407] RIP: 0033:0x7f3575952459 [ 52.420817][ T407] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 52.440249][ T407] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 52.448502][ T407] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 52.456304][ T407] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 52.464205][ T407] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [pid 406] exit_group(0 [pid 405] exit_group(0 [pid 404] exit_group(0 [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=403, si_uid=0, si_status=0, si_utime=0, si_stime=3} --- [pid 406] <... exit_group resumed>) = ? [pid 405] <... exit_group resumed>) = ? [pid 404] <... exit_group resumed>) = ? [pid 298] restart_syscall(<... resuming interrupted clone ...> [pid 404] +++ exited with 0 +++ [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=404, si_uid=0, si_status=0, si_utime=0, si_stime=35} --- [pid 405] +++ exited with 0 +++ [pid 298] <... restart_syscall resumed>) = 0 [pid 407] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 406] +++ exited with 0 +++ [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=406, si_uid=0, si_status=0, si_utime=0, si_stime=15} --- [pid 297] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=405, si_uid=0, si_status=0, si_utime=0, si_stime=4} --- [pid 298] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] restart_syscall(<... resuming interrupted clone ...> [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... restart_syscall resumed>) = 0 [pid 298] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] <... openat resumed>) = 3 [pid 296] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./12", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] newfstatat(3, "", [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] getdents64(3, [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] openat(AT_FDCWD, "./12", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] getdents64(3, [pid 296] <... openat resumed>) = 3 [pid 293] <... openat resumed>) = 3 [pid 296] newfstatat(3, "", [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] newfstatat(3, "", [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] getdents64(3, [pid 293] getdents64(3, [pid 409] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 298] newfstatat(AT_FDCWD, "./13/binderfs", [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 407] exit_group(0 [pid 298] unlink("./13/binderfs" [pid 293] umount2("./12/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 409] exit_group(0 [pid 407] <... exit_group resumed>) = ? [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./13/binderfs", [pid 298] <... unlink resumed>) = 0 [pid 296] newfstatat(AT_FDCWD, "./13/binderfs", [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] unlink("./13/binderfs" [pid 409] <... exit_group resumed>) = ? [pid 298] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... unlink resumed>) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] newfstatat(AT_FDCWD, "./12/binderfs", [pid 297] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] unlink("./13/binderfs" [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] newfstatat(AT_FDCWD, "./13/file0", [pid 297] newfstatat(AT_FDCWD, "./13/file0", [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... unlink resumed>) = 0 [pid 293] unlink("./12/binderfs" [pid 298] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... unlink resumed>) = 0 [pid 298] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] <... openat resumed>) = 4 [pid 296] newfstatat(AT_FDCWD, "./13/file0", [pid 298] <... openat resumed>) = 4 [pid 297] newfstatat(4, "", [pid 293] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] newfstatat(4, "", [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(4, [pid 296] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] getdents64(4, [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./12/file0", [pid 298] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] getdents64(4, [pid 296] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] getdents64(4, [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] close(4 [pid 296] <... openat resumed>) = 4 [pid 293] umount2("./12/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] close(4 [pid 297] <... close resumed>) = 0 [pid 296] newfstatat(4, "", [pid 298] <... close resumed>) = 0 [pid 297] rmdir("./13/file0" [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 409] +++ exited with 0 +++ [pid 407] +++ exited with 0 +++ [pid 298] rmdir("./13/file0" [pid 297] <... rmdir resumed>) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] openat(AT_FDCWD, "./12/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] getdents64(3, [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=409, si_uid=0, si_status=0, si_utime=0, si_stime=15} --- [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=407, si_uid=0, si_status=0, si_utime=0, si_stime=35} --- [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] <... rmdir resumed>) = 0 [pid 297] close(3 [pid 296] getdents64(4, [pid 293] <... openat resumed>) = 4 [pid 298] getdents64(3, [pid 297] <... close resumed>) = 0 [pid 296] <... getdents64 resumed>0x555555a69730 /* 3 entries */, 32768) = 80 [pid 295] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] rmdir("./13" [pid 296] umount2("./13/file0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] newfstatat(4, "", [pid 298] close(3 [pid 297] <... rmdir resumed>) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] <... close resumed>) = 0 [pid 297] mkdir("./14", 0777 [pid 296] newfstatat(AT_FDCWD, "./13/file0/file0", [pid 295] <... openat resumed>) = 3 [pid 294] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] getdents64(4, [pid 298] rmdir("./13" [pid 297] <... mkdir resumed>) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=7, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] newfstatat(3, "", [pid 294] <... openat resumed>) = 3 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] newfstatat(3, "", [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 ./strace-static-x86_64: Process 411 attached [pid 298] <... rmdir resumed>) = 0 [pid 296] unlink("./13/file0/file0" [pid 295] getdents64(3, [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(4, [pid 298] mkdir("./14", 0777 [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 411 [pid 296] <... unlink resumed>) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] getdents64(3, [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] <... mkdir resumed>) = 0 [pid 296] getdents64(4, [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] close(4 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] newfstatat(AT_FDCWD, "./15/binderfs", [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] newfstatat(AT_FDCWD, "./13/binderfs", [pid 293] <... close resumed>) = 0 [pid 296] close(4 [pid 295] unlink("./15/binderfs" [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] rmdir("./12/file0" [pid 298] <... clone resumed>, child_tidptr=0x555555a60650) = 412 [pid 296] <... close resumed>) = 0 [pid 295] <... unlink resumed>) = 0 [pid 294] unlink("./13/binderfs" [pid 295] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... unlink resumed>) = 0 [pid 296] rmdir("./13/file0" [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... rmdir resumed>) = 0 [pid 295] newfstatat(AT_FDCWD, "./15/file0", [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] newfstatat(AT_FDCWD, "./13/file0", [pid 296] <... rmdir resumed>) = 0 [pid 295] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] getdents64(3, [pid 296] getdents64(3, [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] close(3 [pid 295] <... openat resumed>) = 4 [pid 294] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] close(3 [pid 296] <... close resumed>) = 0 [pid 295] newfstatat(4, "", [pid 294] <... openat resumed>) = 4 [pid 296] rmdir("./13" [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] newfstatat(4, "", [pid 293] <... close resumed>) = 0 [pid 295] getdents64(4, [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 411] set_robust_list(0x555555a60660, 24 [pid 296] <... rmdir resumed>) = 0 [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, [pid 293] rmdir("./12" [pid 411] <... set_robust_list resumed>) = 0 [pid 296] mkdir("./14", 0777 [pid 295] getdents64(4, [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] getdents64(4, [pid 293] <... rmdir resumed>) = 0 [pid 295] close(4 [pid 294] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] <... close resumed>) = 0 [pid 294] close(4 [pid 296] <... mkdir resumed>) = 0 [pid 295] rmdir("./15/file0" [pid 294] <... close resumed>) = 0 [pid 293] mkdir("./13", 0777./strace-static-x86_64: Process 412 attached [pid 411] chdir("./14" [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] <... rmdir resumed>) = 0 [pid 294] rmdir("./13/file0" [pid 412] set_robust_list(0x555555a60660, 24 [pid 295] getdents64(3, [pid 294] <... rmdir resumed>) = 0 [pid 293] <... mkdir resumed>) = 0 [pid 412] <... set_robust_list resumed>) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] getdents64(3, [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 412] chdir("./14" [pid 411] <... chdir resumed>) = 0 [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 413 [pid 295] close(3 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 412] <... chdir resumed>) = 0 [pid 295] <... close resumed>) = 0 [pid 294] close(3 [pid 412] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 295] rmdir("./15" [pid 294] <... close resumed>) = 0 ./strace-static-x86_64: Process 414 attached [pid 412] <... prctl resumed>) = 0 [pid 411] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 295] <... rmdir resumed>) = 0 [pid 294] rmdir("./13" [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 414 [pid 414] set_robust_list(0x555555a60660, 24 [pid 412] setpgid(0, 0 [pid 411] <... prctl resumed>) = 0 [pid 295] mkdir("./16", 0777 [pid 294] <... rmdir resumed>) = 0 [pid 414] <... set_robust_list resumed>) = 0 [pid 412] <... setpgid resumed>) = 0 [pid 411] setpgid(0, 0 [pid 295] <... mkdir resumed>) = 0 [pid 294] mkdir("./14", 0777 [pid 414] chdir("./13" [pid 412] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 411] <... setpgid resumed>) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] <... mkdir resumed>) = 0 [pid 414] <... chdir resumed>) = 0 [pid 412] <... openat resumed>) = 3 [pid 411] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 415 attached [pid 414] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 412] write(3, "1000", 4 [pid 411] <... openat resumed>) = 3 [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 415 [pid 412] <... write resumed>) = 4 [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 416 ./strace-static-x86_64: Process 416 attached [pid 415] set_robust_list(0x555555a60660, 24 [pid 414] <... prctl resumed>) = 0 [pid 412] close(3 [pid 411] write(3, "1000", 4 [pid 412] <... close resumed>) = 0 [pid 416] set_robust_list(0x555555a60660, 24 [pid 415] <... set_robust_list resumed>) = 0 [pid 414] setpgid(0, 0 [pid 412] symlink("/dev/binderfs", "./binderfs" [pid 411] <... write resumed>) = 4 [pid 416] <... set_robust_list resumed>) = 0 [pid 415] chdir("./16" [pid 414] <... setpgid resumed>) = 0 [pid 412] <... symlink resumed>) = 0 [pid 411] close(3 [pid 412] mkdir("./file0", 000 [pid 414] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 411] <... close resumed>) = 0 [pid 416] chdir("./14" [pid 415] <... chdir resumed>) = 0 [pid 412] <... mkdir resumed>) = 0 ./strace-static-x86_64: Process 413 attached [pid 412] open("./file0", O_RDONLY [pid 416] <... chdir resumed>) = 0 [pid 415] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 414] <... openat resumed>) = 3 [pid 413] set_robust_list(0x555555a60660, 24 [pid 412] <... open resumed>) = 3 [pid 411] symlink("/dev/binderfs", "./binderfs" [pid 413] <... set_robust_list resumed>) = 0 [pid 412] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 416] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 415] <... prctl resumed>) = 0 [pid 414] write(3, "1000", 4 [pid 413] chdir("./14" [pid 412] <... ioctl resumed>) = 0 [pid 411] <... symlink resumed>) = 0 [pid 414] <... write resumed>) = 4 [pid 413] <... chdir resumed>) = 0 [pid 412] chdir("./file0" [pid 414] close(3 [pid 413] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 412] <... chdir resumed>) = 0 [pid 411] mkdir("./file0", 000 [pid 414] <... close resumed>) = 0 [pid 413] <... prctl resumed>) = 0 [pid 412] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 414] symlink("/dev/binderfs", "./binderfs" [pid 413] setpgid(0, 0 [pid 412] <... add_key resumed>) = 532748189 [pid 411] <... mkdir resumed>) = 0 [pid 413] <... setpgid resumed>) = 0 [pid 412] open("./bus", O_RDONLY [pid 416] <... prctl resumed>) = 0 [pid 415] setpgid(0, 0 [pid 414] <... symlink resumed>) = 0 [pid 413] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 412] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 411] open("./file0", O_RDONLY [pid 415] <... setpgid resumed>) = 0 [pid 414] mkdir("./file0", 000 [pid 413] <... openat resumed>) = 3 [pid 412] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 411] <... open resumed>) = 3 [pid 415] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 414] <... mkdir resumed>) = 0 [pid 413] write(3, "1000", 4 [pid 412] <... openat resumed>) = 4 [pid 411] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 415] <... openat resumed>) = 3 [pid 414] open("./file0", O_RDONLY [pid 413] <... write resumed>) = 4 [pid 412] write(4, "24", 2 [pid 415] write(3, "1000", 4 [pid 414] <... open resumed>) = 3 [pid 413] close(3 [pid 412] <... write resumed>) = 2 [pid 411] <... ioctl resumed>) = 0 [pid 415] <... write resumed>) = 4 [pid 414] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 413] <... close resumed>) = 0 [ 52.472018][ T407] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 52.479827][ T407] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000d [ 52.487638][ T407] [pid 412] symlink("./file0", "./file0" [pid 411] chdir("./file0" [pid 416] setpgid(0, 0 [pid 415] close(3 [pid 414] <... ioctl resumed>) = 0 [pid 413] symlink("/dev/binderfs", "./binderfs" [pid 411] <... chdir resumed>) = 0 [pid 416] <... setpgid resumed>) = 0 [pid 415] <... close resumed>) = 0 [pid 414] chdir("./file0" [pid 411] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 416] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 415] symlink("/dev/binderfs", "./binderfs" [pid 414] <... chdir resumed>) = 0 [pid 411] <... add_key resumed>) = 518310026 [pid 416] <... openat resumed>) = 3 [pid 415] <... symlink resumed>) = 0 [pid 414] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 411] open("./bus", O_RDONLY [pid 416] write(3, "1000", 4 [pid 415] mkdir("./file0", 000 [pid 414] <... add_key resumed>) = 79453033 [pid 411] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 416] <... write resumed>) = 4 [pid 415] <... mkdir resumed>) = 0 [pid 414] open("./bus", O_RDONLY [pid 411] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 416] close(3 [pid 415] open("./file0", O_RDONLY [pid 414] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 411] <... openat resumed>) = 4 [pid 416] <... close resumed>) = 0 [pid 415] <... open resumed>) = 3 [pid 414] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 411] write(4, "24", 2 [pid 416] symlink("/dev/binderfs", "./binderfs" [pid 415] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 414] <... openat resumed>) = 4 [pid 413] <... symlink resumed>) = 0 [pid 411] <... write resumed>) = 2 [pid 416] <... symlink resumed>) = 0 [pid 415] <... ioctl resumed>) = 0 [pid 414] write(4, "24", 2 [pid 411] symlink("./file0", "./file0" [pid 416] mkdir("./file0", 000 [pid 415] chdir("./file0" [pid 414] <... write resumed>) = 2 [pid 416] <... mkdir resumed>) = 0 [pid 415] <... chdir resumed>) = 0 [pid 414] symlink("./file0", "./file0" [pid 416] open("./file0", O_RDONLY [pid 415] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 416] <... open resumed>) = 3 [pid 415] <... add_key resumed>) = 785554580 [pid 416] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 415] open("./bus", O_RDONLY [pid 416] <... ioctl resumed>) = 0 [pid 415] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 416] chdir("./file0" [ 52.530410][ T412] FAULT_INJECTION: forcing a failure. [ 52.530410][ T412] name failslab, interval 1, probability 0, space 0, times 0 [ 52.543307][ T412] CPU: 0 PID: 412 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 52.545162][ T411] FAULT_INJECTION: forcing a failure. [ 52.545162][ T411] name failslab, interval 1, probability 0, space 0, times 0 [ 52.553464][ T412] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 52.553480][ T412] Call Trace: [pid 415] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 416] <... chdir resumed>) = 0 [pid 415] <... openat resumed>) = 4 [pid 416] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 415] write(4, "24", 2 [pid 416] <... add_key resumed>) = 207764906 [pid 415] <... write resumed>) = 2 [pid 416] open("./bus", O_RDONLY [pid 415] symlink("./file0", "./file0" [pid 416] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 416] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 416] write(4, "24", 2) = 2 [ 52.553486][ T412] [ 52.553494][ T412] dump_stack_lvl+0x151/0x1b7 [ 52.553522][ T412] ? io_uring_drop_tctx_refs+0x190/0x190 [ 52.553547][ T412] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 52.553573][ T412] dump_stack+0x15/0x17 [ 52.553592][ T412] should_fail+0x3c6/0x510 [ 52.567987][ T414] FAULT_INJECTION: forcing a failure. [ 52.567987][ T414] name failslab, interval 1, probability 0, space 0, times 0 [ 52.575771][ T412] __should_failslab+0xa4/0xe0 [ 52.583004][ T415] FAULT_INJECTION: forcing a failure. [ 52.583004][ T415] name failslab, interval 1, probability 0, space 0, times 0 [ 52.586182][ T412] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 52.586211][ T412] should_failslab+0x9/0x20 [ 52.593543][ T416] FAULT_INJECTION: forcing a failure. [ 52.593543][ T416] name failslab, interval 1, probability 0, space 0, times 0 [ 52.597380][ T412] slab_pre_alloc_hook+0x37/0xd0 [ 52.597408][ T412] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 52.597431][ T412] kmem_cache_alloc+0x44/0x200 [ 52.671420][ T412] ext4_mb_new_blocks+0xd97/0x43f0 [ 52.676363][ T412] ? ext4_mb_pa_callback+0xd0/0xd0 [ 52.681486][ T412] ? ext4_xattr_ibody_set+0x390/0x390 [ 52.686693][ T412] ext4_new_meta_blocks+0x206/0x4f0 [ 52.691727][ T412] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 52.697190][ T412] ? __entry_find+0x398/0x3f0 [ 52.701707][ T412] ? __kmalloc+0x13a/0x270 [ 52.706062][ T412] ext4_xattr_block_set+0x233e/0x3760 [ 52.711255][ T412] ? __ext4_journal_ensure_credits+0x470/0x470 [ 52.717243][ T412] ? ext4_xattr_block_find+0x520/0x520 [ 52.722536][ T412] ? __xattr_check_inode+0x3d5/0x440 [ 52.727658][ T412] ext4_xattr_set_handle+0xdac/0x1560 [ 52.732864][ T412] ? sidtab_sid2str_put+0x2d7/0x640 [ 52.737901][ T412] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 52.743284][ T412] ? selinux_inode_init_security+0x52d/0x780 [ 52.749097][ T412] ? selinux_inode_free_security+0x210/0x210 [ 52.754913][ T412] ext4_initxattrs+0xa7/0x120 [ 52.759513][ T412] security_inode_init_security+0x252/0x390 [ 52.765246][ T412] ? ext4_init_security+0x40/0x40 [ 52.770126][ T412] ? security_dentry_create_files_as+0xc0/0xc0 [ 52.776089][ T412] ? fscrypt_set_context+0x439/0x740 [ 52.781211][ T412] ? __ext4_set_acl+0x5e0/0x5e0 [ 52.785985][ T412] ? prandom_u32+0x24c/0x290 [ 52.790410][ T412] ext4_init_security+0x34/0x40 [ 52.795097][ T412] __ext4_new_inode+0x31f0/0x40a0 [ 52.799958][ T412] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 52.805511][ T412] ? dquot_initialize+0x20/0x20 [ 52.810200][ T412] ? selinux_determine_inode_label+0x29c/0x3b0 [ 52.816187][ T412] ext4_symlink+0x4c3/0xed0 [ 52.820528][ T412] ? ext4_unlink+0x3f0/0x3f0 [ 52.824950][ T412] ? selinux_inode_symlink+0x22/0x30 [ 52.830070][ T412] ? security_inode_symlink+0xb8/0x100 [ 52.835376][ T412] vfs_symlink+0x29f/0x480 [ 52.839627][ T412] do_symlinkat+0x1ea/0x5a0 [ 52.843960][ T412] ? __check_object_size+0x2ec/0x3d0 [ 52.849080][ T412] ? vfs_symlink+0x480/0x480 [ 52.853505][ T412] ? getname_flags+0x1fd/0x520 [ 52.858105][ T412] __x64_sys_symlink+0x7e/0x90 [ 52.862706][ T412] do_syscall_64+0x3d/0xb0 [ 52.866961][ T412] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 52.872690][ T412] RIP: 0033:0x7f3575952459 [ 52.876945][ T412] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 52.896380][ T412] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 52.904630][ T412] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 52.912438][ T412] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 52.920267][ T412] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 52.928064][ T412] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 52.935872][ T412] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000e [ 52.943692][ T412] [ 52.946751][ T414] CPU: 1 PID: 414 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 52.956823][ T414] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 52.966799][ T414] Call Trace: [ 52.969926][ T414] [ 52.972699][ T414] dump_stack_lvl+0x151/0x1b7 [ 52.977213][ T414] ? io_uring_drop_tctx_refs+0x190/0x190 [ 52.982680][ T414] ? wb_get_create+0xe0a/0xe40 [ 52.987280][ T414] ? sb_end_intwrite+0x120/0x120 [ 52.992057][ T414] dump_stack+0x15/0x17 [ 52.996049][ T414] should_fail+0x3c6/0x510 [ 53.000301][ T414] __should_failslab+0xa4/0xe0 [ 53.004902][ T414] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 53.010024][ T414] should_failslab+0x9/0x20 [ 53.014369][ T414] slab_pre_alloc_hook+0x37/0xd0 [ 53.014715][ T413] FAULT_INJECTION: forcing a failure. [ 53.014715][ T413] name failslab, interval 1, probability 0, space 0, times 0 [pid 416] symlink("./file0", "./file0" [pid 413] mkdir("./file0", 000 [pid 412] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 413] <... mkdir resumed>) = 0 [pid 412] exit_group(0 [pid 413] open("./file0", O_RDONLY [pid 412] <... exit_group resumed>) = ? [pid 413] <... open resumed>) = 3 [pid 412] +++ exited with 0 +++ [pid 413] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=412, si_uid=0, si_status=0, si_utime=0, si_stime=2} --- [pid 413] <... ioctl resumed>) = 0 [pid 413] chdir("./file0") = 0 [pid 298] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW [pid 413] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 413] <... add_key resumed>) = 856027554 [pid 298] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 413] open("./bus", O_RDONLY [pid 298] <... openat resumed>) = 3 [pid 413] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 298] newfstatat(3, "", [pid 413] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 413] <... openat resumed>) = 4 [pid 298] getdents64(3, [pid 413] write(4, "24", 2 [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 413] <... write resumed>) = 2 [pid 298] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 413] symlink("./file0", "./file0" [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./14/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./14/binderfs") = 0 [pid 298] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./14/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 298] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4) = 0 [pid 298] rmdir("./14/file0") = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3) = 0 [pid 298] rmdir("./14") = 0 [pid 298] mkdir("./15", 0777) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 417 [ 53.019136][ T414] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 53.019162][ T414] kmem_cache_alloc+0x44/0x200 [ 53.041447][ T414] ext4_mb_new_blocks+0x4ed/0x43f0 [ 53.046493][ T414] ? ext4_mb_pa_callback+0xd0/0xd0 [ 53.051436][ T414] ? ext4_xattr_ibody_set+0x390/0x390 [ 53.056643][ T414] ext4_new_meta_blocks+0x206/0x4f0 [ 53.061681][ T414] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 53.067145][ T414] ? __entry_find+0x398/0x3f0 [ 53.071660][ T414] ? __kmalloc+0x13a/0x270 [ 53.075910][ T414] ext4_xattr_block_set+0x233e/0x3760 [ 53.081132][ T414] ? __ext4_journal_ensure_credits+0x470/0x470 [ 53.087104][ T414] ? ext4_xattr_block_find+0x520/0x520 [ 53.092401][ T414] ? __xattr_check_inode+0x3d5/0x440 [ 53.097524][ T414] ext4_xattr_set_handle+0xdac/0x1560 [ 53.102729][ T414] ? sidtab_sid2str_put+0x2d7/0x640 [ 53.107768][ T414] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 53.113682][ T414] ? selinux_inode_init_security+0x52d/0x780 [ 53.119484][ T414] ? selinux_inode_free_security+0x210/0x210 [ 53.125295][ T414] ext4_initxattrs+0xa7/0x120 [ 53.129809][ T414] security_inode_init_security+0x252/0x390 [ 53.135622][ T414] ? ext4_init_security+0x40/0x40 [ 53.140497][ T414] ? security_dentry_create_files_as+0xc0/0xc0 [ 53.146638][ T414] ? fscrypt_set_context+0x439/0x740 [ 53.151762][ T414] ? __ext4_set_acl+0x5e0/0x5e0 [ 53.156495][ T414] ? prandom_u32+0x24c/0x290 [ 53.160878][ T414] ext4_init_security+0x34/0x40 [ 53.165561][ T414] __ext4_new_inode+0x31f0/0x40a0 [ 53.170425][ T414] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 53.175972][ T414] ? dquot_initialize+0x20/0x20 [ 53.180671][ T414] ? selinux_determine_inode_label+0x29c/0x3b0 [ 53.186659][ T414] ext4_symlink+0x4c3/0xed0 [ 53.190991][ T414] ? ext4_unlink+0x3f0/0x3f0 [ 53.195414][ T414] ? selinux_inode_symlink+0x22/0x30 [ 53.200536][ T414] ? security_inode_symlink+0xb8/0x100 [ 53.205836][ T414] vfs_symlink+0x29f/0x480 [ 53.210086][ T414] do_symlinkat+0x1ea/0x5a0 [ 53.214424][ T414] ? __check_object_size+0x2ec/0x3d0 [ 53.219546][ T414] ? vfs_symlink+0x480/0x480 [ 53.223973][ T414] ? getname_flags+0x1fd/0x520 [ 53.228574][ T414] __x64_sys_symlink+0x7e/0x90 [ 53.233173][ T414] do_syscall_64+0x3d/0xb0 [ 53.237424][ T414] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 53.243153][ T414] RIP: 0033:0x7f3575952459 [ 53.247408][ T414] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 53.266844][ T414] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 53.275092][ T414] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 53.282911][ T414] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 53.290718][ T414] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 53.298525][ T414] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 53.306341][ T414] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000d [ 53.314154][ T414] [ 53.317607][ T411] CPU: 1 PID: 411 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 53.327668][ T411] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 53.337563][ T411] Call Trace: [ 53.340685][ T411] [ 53.343466][ T411] dump_stack_lvl+0x151/0x1b7 [ 53.347976][ T411] ? io_uring_drop_tctx_refs+0x190/0x190 [ 53.353448][ T411] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 53.359177][ T411] dump_stack+0x15/0x17 [ 53.363167][ T411] should_fail+0x3c6/0x510 [ 53.367419][ T411] __should_failslab+0xa4/0xe0 [ 53.372032][ T411] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 53.377143][ T411] should_failslab+0x9/0x20 [ 53.381485][ T411] slab_pre_alloc_hook+0x37/0xd0 [ 53.386281][ T411] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 53.391380][ T411] kmem_cache_alloc+0x44/0x200 [ 53.395973][ T411] ext4_mb_new_blocks+0xd97/0x43f0 [ 53.400926][ T411] ? ext4_mb_pa_callback+0xd0/0xd0 [ 53.405884][ T411] ? ext4_xattr_ibody_set+0x390/0x390 [ 53.411255][ T411] ext4_new_meta_blocks+0x206/0x4f0 [ 53.416292][ T411] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 53.421755][ T411] ? __entry_find+0x398/0x3f0 [ 53.426261][ T411] ? __kmalloc+0x13a/0x270 [ 53.430521][ T411] ext4_xattr_block_set+0x233e/0x3760 [ 53.435729][ T411] ? __ext4_journal_ensure_credits+0x470/0x470 [ 53.441718][ T411] ? ext4_xattr_block_find+0x520/0x520 [ 53.447013][ T411] ? __xattr_check_inode+0x3d5/0x440 [ 53.452129][ T411] ext4_xattr_set_handle+0xdac/0x1560 [ 53.457336][ T411] ? sidtab_sid2str_put+0x2d7/0x640 [ 53.462375][ T411] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 53.467757][ T411] ? selinux_inode_init_security+0x52d/0x780 [ 53.473566][ T411] ? selinux_inode_free_security+0x210/0x210 [ 53.479387][ T411] ext4_initxattrs+0xa7/0x120 [ 53.483896][ T411] security_inode_init_security+0x252/0x390 [ 53.489620][ T411] ? ext4_init_security+0x40/0x40 [ 53.494485][ T411] ? security_dentry_create_files_as+0xc0/0xc0 [ 53.500468][ T411] ? fscrypt_set_context+0x439/0x740 [ 53.505594][ T411] ? __ext4_set_acl+0x5e0/0x5e0 [ 53.510280][ T411] ? prandom_u32+0x24c/0x290 [ 53.514719][ T411] ext4_init_security+0x34/0x40 [ 53.519396][ T411] __ext4_new_inode+0x31f0/0x40a0 [ 53.524259][ T411] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 53.529810][ T411] ? dquot_initialize+0x20/0x20 [ 53.534502][ T411] ? selinux_determine_inode_label+0x29c/0x3b0 [ 53.540490][ T411] ext4_symlink+0x4c3/0xed0 [ 53.544828][ T411] ? ext4_unlink+0x3f0/0x3f0 [ 53.549249][ T411] ? selinux_inode_symlink+0x22/0x30 [ 53.554373][ T411] ? security_inode_symlink+0xb8/0x100 [ 53.559662][ T411] vfs_symlink+0x29f/0x480 [ 53.563917][ T411] do_symlinkat+0x1ea/0x5a0 [ 53.568265][ T411] ? __check_object_size+0x2ec/0x3d0 [ 53.573380][ T411] ? vfs_symlink+0x480/0x480 [ 53.577808][ T411] ? getname_flags+0x1fd/0x520 [ 53.582408][ T411] __x64_sys_symlink+0x7e/0x90 [ 53.587012][ T411] do_syscall_64+0x3d/0xb0 [ 53.591254][ T411] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 53.596988][ T411] RIP: 0033:0x7f3575952459 [ 53.601239][ T411] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 53.621118][ T411] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 53.629361][ T411] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 53.637239][ T411] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 53.644981][ T411] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 53.652796][ T411] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 53.660610][ T411] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000e [ 53.668420][ T411] [ 53.671281][ T413] CPU: 0 PID: 413 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 53.681352][ T413] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 53.691244][ T413] Call Trace: [ 53.694366][ T413] [ 53.697146][ T413] dump_stack_lvl+0x151/0x1b7 [ 53.701660][ T413] ? io_uring_drop_tctx_refs+0x190/0x190 [ 53.707298][ T413] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 53.713030][ T413] dump_stack+0x15/0x17 [ 53.717026][ T413] should_fail+0x3c6/0x510 [ 53.721273][ T413] __should_failslab+0xa4/0xe0 [ 53.725878][ T413] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 53.730998][ T413] should_failslab+0x9/0x20 [ 53.732314][ T417] FAULT_INJECTION: forcing a failure. [ 53.732314][ T417] name failslab, interval 1, probability 0, space 0, times 0 [ 53.735331][ T413] slab_pre_alloc_hook+0x37/0xd0 [ 53.752521][ T413] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 53.757640][ T413] kmem_cache_alloc+0x44/0x200 [ 53.762246][ T413] ext4_mb_new_blocks+0xd97/0x43f0 [ 53.767189][ T413] ? ext4_mb_pa_callback+0xd0/0xd0 [ 53.772135][ T413] ? ext4_xattr_ibody_set+0x390/0x390 [ 53.777342][ T413] ext4_new_meta_blocks+0x206/0x4f0 [ 53.782378][ T413] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 53.787844][ T413] ? __entry_find+0x398/0x3f0 [ 53.792355][ T413] ? __kmalloc+0x13a/0x270 [ 53.796610][ T413] ext4_xattr_block_set+0x233e/0x3760 [ 53.801822][ T413] ? __ext4_journal_ensure_credits+0x470/0x470 [ 53.807805][ T413] ? ext4_xattr_block_find+0x520/0x520 [ 53.813098][ T413] ? __xattr_check_inode+0x3d5/0x440 [ 53.818224][ T413] ext4_xattr_set_handle+0xdac/0x1560 [ 53.823438][ T413] ? sidtab_sid2str_put+0x2d7/0x640 [ 53.828464][ T413] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 53.833872][ T413] ? selinux_inode_init_security+0x52d/0x780 [ 53.839744][ T413] ? selinux_inode_free_security+0x210/0x210 [ 53.845559][ T413] ext4_initxattrs+0xa7/0x120 [ 53.850073][ T413] security_inode_init_security+0x252/0x390 [ 53.855807][ T413] ? ext4_init_security+0x40/0x40 [ 53.860660][ T413] ? security_dentry_create_files_as+0xc0/0xc0 [ 53.866649][ T413] ? fscrypt_set_context+0x439/0x740 [ 53.871784][ T413] ? __ext4_set_acl+0x5e0/0x5e0 [ 53.876456][ T413] ? prandom_u32+0x24c/0x290 [ 53.880893][ T413] ext4_init_security+0x34/0x40 [ 53.885569][ T413] __ext4_new_inode+0x31f0/0x40a0 [ 53.890432][ T413] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 53.895986][ T413] ? dquot_initialize+0x20/0x20 [ 53.900677][ T413] ? selinux_determine_inode_label+0x29c/0x3b0 [ 53.906668][ T413] ext4_symlink+0x4c3/0xed0 [ 53.911352][ T413] ? ext4_unlink+0x3f0/0x3f0 [ 53.915776][ T413] ? selinux_inode_symlink+0x22/0x30 [ 53.920919][ T413] ? security_inode_symlink+0xb8/0x100 [ 53.926189][ T413] vfs_symlink+0x29f/0x480 [ 53.930441][ T413] do_symlinkat+0x1ea/0x5a0 [ 53.934781][ T413] ? __check_object_size+0x2ec/0x3d0 [ 53.939901][ T413] ? vfs_symlink+0x480/0x480 [ 53.944327][ T413] ? getname_flags+0x1fd/0x520 [ 53.948937][ T413] __x64_sys_symlink+0x7e/0x90 [ 53.953544][ T413] do_syscall_64+0x3d/0xb0 [ 53.957781][ T413] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 53.963507][ T413] RIP: 0033:0x7f3575952459 [ 53.967765][ T413] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 53.987207][ T413] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 53.995448][ T413] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 54.003261][ T413] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 54.011073][ T413] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 54.018882][ T413] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 54.026694][ T413] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000e [ 54.034510][ T413] ./strace-static-x86_64: Process 417 attached [pid 414] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 411] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 417] set_robust_list(0x555555a60660, 24 [pid 414] exit_group(0 [pid 411] exit_group(0 [pid 417] <... set_robust_list resumed>) = 0 [pid 414] <... exit_group resumed>) = ? [pid 411] <... exit_group resumed>) = ? [pid 417] chdir("./15" [pid 414] +++ exited with 0 +++ [pid 411] +++ exited with 0 +++ [pid 417] <... chdir resumed>) = 0 [pid 417] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 417] setpgid(0, 0) = 0 [pid 417] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 417] write(3, "1000", 4) = 4 [pid 417] close(3) = 0 [pid 417] symlink("/dev/binderfs", "./binderfs") = 0 [pid 417] mkdir("./file0", 000) = 0 [pid 417] open("./file0", O_RDONLY) = 3 [pid 417] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 417] chdir("./file0") = 0 [pid 417] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 665366613 [pid 417] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 417] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 417] write(4, "24", 2) = 2 [ 54.037400][ T417] CPU: 1 PID: 417 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 54.047454][ T417] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 54.057332][ T417] Call Trace: [ 54.060459][ T417] [ 54.063232][ T417] dump_stack_lvl+0x151/0x1b7 [ 54.067747][ T417] ? io_uring_drop_tctx_refs+0x190/0x190 [ 54.073217][ T417] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 54.078943][ T417] dump_stack+0x15/0x17 [ 54.082935][ T417] should_fail+0x3c6/0x510 [pid 417] symlink("./file0", "./file0" [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=411, si_uid=0, si_status=0, si_utime=0, si_stime=5} --- [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=414, si_uid=0, si_status=0, si_utime=0, si_stime=7} --- [pid 297] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./13", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [ 54.087190][ T417] __should_failslab+0xa4/0xe0 [ 54.091788][ T417] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 54.096927][ T417] should_failslab+0x9/0x20 [ 54.101259][ T417] slab_pre_alloc_hook+0x37/0xd0 [ 54.106022][ T417] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 54.111146][ T417] kmem_cache_alloc+0x44/0x200 [ 54.115741][ T417] ext4_mb_new_blocks+0xd97/0x43f0 [ 54.120694][ T417] ? ext4_mb_pa_callback+0xd0/0xd0 [ 54.125640][ T417] ? ext4_xattr_ibody_set+0x390/0x390 [ 54.130848][ T417] ext4_new_meta_blocks+0x206/0x4f0 [pid 297] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] openat(AT_FDCWD, "./13", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] <... openat resumed>) = 3 [pid 293] <... openat resumed>) = 3 [pid 297] newfstatat(3, "", [pid 293] newfstatat(3, "", [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(3, [pid 293] getdents64(3, [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./13/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./14/binderfs", [pid 293] newfstatat(AT_FDCWD, "./13/binderfs", [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] unlink("./14/binderfs" [pid 293] unlink("./13/binderfs" [pid 297] <... unlink resumed>) = 0 [pid 293] <... unlink resumed>) = 0 [pid 297] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./14/file0", [pid 293] newfstatat(AT_FDCWD, "./13/file0", [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] umount2("./13/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(4, "", [pid 293] openat(AT_FDCWD, "./13/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] <... openat resumed>) = 4 [pid 297] getdents64(4, [pid 293] newfstatat(4, "", [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(4, [pid 293] getdents64(4, [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] close(4 [pid 293] getdents64(4, [pid 297] <... close resumed>) = 0 [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] rmdir("./14/file0" [pid 293] close(4 [pid 297] <... rmdir resumed>) = 0 [pid 293] <... close resumed>) = 0 [pid 297] getdents64(3, [pid 293] rmdir("./13/file0" [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] <... rmdir resumed>) = 0 [pid 297] close(3 [pid 293] getdents64(3, [pid 297] <... close resumed>) = 0 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] rmdir("./14" [pid 293] close(3 [pid 297] <... rmdir resumed>) = 0 [pid 293] <... close resumed>) = 0 [pid 297] mkdir("./15", 0777 [pid 293] rmdir("./13" [pid 297] <... mkdir resumed>) = 0 [pid 293] <... rmdir resumed>) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 293] mkdir("./14", 0777) = 0 [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 419 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 420 ./strace-static-x86_64: Process 420 attached [pid 420] set_robust_list(0x555555a60660, 24) = 0 [pid 420] chdir("./14") = 0 [pid 420] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 420] setpgid(0, 0) = 0 [pid 420] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 420] write(3, "1000", 4) = 4 [pid 420] close(3) = 0 [pid 420] symlink("/dev/binderfs", "./binderfs") = 0 [pid 420] mkdir("./file0", 000) = 0 [pid 420] open("./file0", O_RDONLY) = 3 [pid 420] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 420] chdir("./file0") = 0 [pid 420] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 920517612 [pid 420] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 420] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 420] write(4, "24", 2) = 2 [ 54.135882][ T417] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 54.141352][ T417] ? __entry_find+0x398/0x3f0 [ 54.145866][ T417] ? __kmalloc+0x13a/0x270 [ 54.150122][ T417] ext4_xattr_block_set+0x233e/0x3760 [ 54.155331][ T417] ? __ext4_journal_ensure_credits+0x470/0x470 [ 54.161319][ T417] ? ext4_xattr_block_find+0x520/0x520 [ 54.166607][ T417] ? __xattr_check_inode+0x3d5/0x440 [ 54.171734][ T417] ext4_xattr_set_handle+0xdac/0x1560 [ 54.176940][ T417] ? sidtab_sid2str_put+0x2d7/0x640 [ 54.181776][ T420] FAULT_INJECTION: forcing a failure. [ 54.181776][ T420] name failslab, interval 1, probability 0, space 0, times 0 [ 54.181969][ T417] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 54.199777][ T417] ? selinux_inode_init_security+0x52d/0x780 [ 54.205574][ T417] ? selinux_inode_free_security+0x210/0x210 [ 54.211826][ T417] ext4_initxattrs+0xa7/0x120 [ 54.216336][ T417] security_inode_init_security+0x252/0x390 [ 54.222073][ T417] ? ext4_init_security+0x40/0x40 [ 54.226929][ T417] ? security_dentry_create_files_as+0xc0/0xc0 [ 54.233092][ T417] ? fscrypt_set_context+0x439/0x740 [ 54.238215][ T417] ? __ext4_set_acl+0x5e0/0x5e0 [ 54.242896][ T417] ? prandom_u32+0x24c/0x290 [ 54.247323][ T417] ext4_init_security+0x34/0x40 [ 54.252019][ T417] __ext4_new_inode+0x31f0/0x40a0 [ 54.256875][ T417] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 54.262428][ T417] ? dquot_initialize+0x20/0x20 [ 54.267111][ T417] ? selinux_determine_inode_label+0x29c/0x3b0 [ 54.273103][ T417] ext4_symlink+0x4c3/0xed0 [ 54.277444][ T417] ? ext4_unlink+0x3f0/0x3f0 [ 54.281869][ T417] ? selinux_inode_symlink+0x22/0x30 [ 54.286987][ T417] ? security_inode_symlink+0xb8/0x100 [ 54.292284][ T417] vfs_symlink+0x29f/0x480 [ 54.296537][ T417] do_symlinkat+0x1ea/0x5a0 [ 54.300893][ T417] ? __check_object_size+0x2ec/0x3d0 [ 54.306004][ T417] ? vfs_symlink+0x480/0x480 [ 54.310424][ T417] ? getname_flags+0x1fd/0x520 [ 54.315018][ T417] __x64_sys_symlink+0x7e/0x90 [ 54.319619][ T417] do_syscall_64+0x3d/0xb0 [ 54.323874][ T417] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 54.329598][ T417] RIP: 0033:0x7f3575952459 [ 54.333855][ T417] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 54.353295][ T417] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 54.361540][ T417] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 54.369351][ T417] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 54.377173][ T417] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 54.384972][ T417] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 54.392784][ T417] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000f [ 54.400603][ T417] [ 54.403463][ T416] CPU: 0 PID: 416 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 54.413528][ T416] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 54.423426][ T416] Call Trace: [ 54.426546][ T416] [ 54.429326][ T416] dump_stack_lvl+0x151/0x1b7 [ 54.433841][ T416] ? io_uring_drop_tctx_refs+0x190/0x190 [ 54.439309][ T416] ? wb_get_create+0xe0a/0xe40 [ 54.443904][ T416] ? sb_end_intwrite+0x120/0x120 [ 54.448682][ T416] dump_stack+0x15/0x17 [ 54.452685][ T416] should_fail+0x3c6/0x510 [ 54.456932][ T416] __should_failslab+0xa4/0xe0 [ 54.461531][ T416] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 54.466666][ T416] should_failslab+0x9/0x20 [ 54.470989][ T416] slab_pre_alloc_hook+0x37/0xd0 [ 54.475760][ T416] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 54.480885][ T416] kmem_cache_alloc+0x44/0x200 [ 54.485479][ T416] ext4_mb_new_blocks+0x4ed/0x43f0 [ 54.490434][ T416] ? ext4_mb_pa_callback+0xd0/0xd0 [ 54.495375][ T416] ? ext4_xattr_ibody_set+0x390/0x390 [ 54.500582][ T416] ext4_new_meta_blocks+0x206/0x4f0 [ 54.505618][ T416] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 54.511086][ T416] ? __entry_find+0x398/0x3f0 [ 54.515599][ T416] ? __kmalloc+0x13a/0x270 [ 54.519858][ T416] ext4_xattr_block_set+0x233e/0x3760 [ 54.525061][ T416] ? __ext4_journal_ensure_credits+0x470/0x470 [ 54.531133][ T416] ? ext4_xattr_block_find+0x520/0x520 [ 54.536433][ T416] ? __xattr_check_inode+0x3d5/0x440 [ 54.541561][ T416] ext4_xattr_set_handle+0xdac/0x1560 [ 54.546758][ T416] ? sidtab_sid2str_put+0x2d7/0x640 [ 54.550627][ T419] FAULT_INJECTION: forcing a failure. [ 54.550627][ T419] name failslab, interval 1, probability 0, space 0, times 0 [ 54.551797][ T416] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 54.569588][ T416] ? selinux_inode_init_security+0x52d/0x780 [ 54.575401][ T416] ? selinux_inode_free_security+0x210/0x210 [ 54.581227][ T416] ext4_initxattrs+0xa7/0x120 [ 54.585731][ T416] security_inode_init_security+0x252/0x390 [ 54.591457][ T416] ? ext4_init_security+0x40/0x40 [ 54.596318][ T416] ? security_dentry_create_files_as+0xc0/0xc0 [ 54.602303][ T416] ? fscrypt_set_context+0x439/0x740 [ 54.607425][ T416] ? __ext4_set_acl+0x5e0/0x5e0 [ 54.612379][ T416] ? prandom_u32+0x24c/0x290 [ 54.616805][ T416] ext4_init_security+0x34/0x40 [ 54.621491][ T416] __ext4_new_inode+0x31f0/0x40a0 [ 54.626348][ T416] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 54.631903][ T416] ? dquot_initialize+0x20/0x20 [ 54.636584][ T416] ? selinux_determine_inode_label+0x29c/0x3b0 [ 54.642580][ T416] ext4_symlink+0x4c3/0xed0 [ 54.646917][ T416] ? ext4_unlink+0x3f0/0x3f0 [ 54.651345][ T416] ? selinux_inode_symlink+0x22/0x30 [ 54.656464][ T416] ? security_inode_symlink+0xb8/0x100 [ 54.661758][ T416] vfs_symlink+0x29f/0x480 [ 54.666013][ T416] do_symlinkat+0x1ea/0x5a0 [ 54.670347][ T416] ? __check_object_size+0x2ec/0x3d0 [ 54.675468][ T416] ? vfs_symlink+0x480/0x480 [ 54.679894][ T416] ? getname_flags+0x1fd/0x520 [ 54.684496][ T416] __x64_sys_symlink+0x7e/0x90 [pid 420] symlink("./file0", "./file0"./strace-static-x86_64: Process 419 attached [pid 419] set_robust_list(0x555555a60660, 24) = 0 [pid 419] chdir("./15") = 0 [pid 419] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 419] setpgid(0, 0) = 0 [pid 419] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 419] write(3, "1000", 4) = 4 [pid 419] close(3) = 0 [pid 419] symlink("/dev/binderfs", "./binderfs") = 0 [pid 419] mkdir("./file0", 000) = 0 [pid 419] open("./file0", O_RDONLY) = 3 [pid 419] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 419] chdir("./file0") = 0 [pid 419] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 770507492 [pid 419] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 419] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 419] write(4, "24", 2) = 2 [ 54.689098][ T416] do_syscall_64+0x3d/0xb0 [ 54.693351][ T416] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 54.699077][ T416] RIP: 0033:0x7f3575952459 [ 54.703330][ T416] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 54.722769][ T416] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 54.731016][ T416] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 54.738828][ T416] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 54.746646][ T416] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 54.754460][ T416] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 54.762261][ T416] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000e [ 54.770080][ T416] [ 54.773476][ T420] CPU: 0 PID: 420 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 54.783537][ T420] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 54.793427][ T420] Call Trace: [ 54.796553][ T420] [ 54.799330][ T420] dump_stack_lvl+0x151/0x1b7 [ 54.803854][ T420] ? io_uring_drop_tctx_refs+0x190/0x190 [ 54.809314][ T420] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 54.815048][ T420] dump_stack+0x15/0x17 [ 54.819036][ T420] should_fail+0x3c6/0x510 [ 54.823291][ T420] __should_failslab+0xa4/0xe0 [ 54.827899][ T420] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 54.833006][ T420] should_failslab+0x9/0x20 [ 54.837452][ T420] slab_pre_alloc_hook+0x37/0xd0 [ 54.842215][ T420] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 54.847338][ T420] kmem_cache_alloc+0x44/0x200 [ 54.851949][ T420] ext4_mb_new_blocks+0xd97/0x43f0 [ 54.856892][ T420] ? ext4_mb_pa_callback+0xd0/0xd0 [ 54.861832][ T420] ? ext4_xattr_ibody_set+0x390/0x390 [ 54.867039][ T420] ext4_new_meta_blocks+0x206/0x4f0 [ 54.872096][ T420] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 54.877540][ T420] ? __entry_find+0x398/0x3f0 [ 54.882069][ T420] ? __kmalloc+0x13a/0x270 [ 54.886310][ T420] ext4_xattr_block_set+0x233e/0x3760 [ 54.891519][ T420] ? __ext4_journal_ensure_credits+0x470/0x470 [ 54.897502][ T420] ? ext4_xattr_block_find+0x520/0x520 [ 54.902796][ T420] ? __xattr_check_inode+0x3d5/0x440 [ 54.907922][ T420] ext4_xattr_set_handle+0xdac/0x1560 [ 54.913133][ T420] ? sidtab_sid2str_put+0x2d7/0x640 [ 54.918170][ T420] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 54.923546][ T420] ? selinux_inode_init_security+0x52d/0x780 [ 54.929357][ T420] ? selinux_inode_free_security+0x210/0x210 [ 54.935180][ T420] ext4_initxattrs+0xa7/0x120 [ 54.939688][ T420] security_inode_init_security+0x252/0x390 [ 54.945460][ T420] ? ext4_init_security+0x40/0x40 [ 54.950275][ T420] ? security_dentry_create_files_as+0xc0/0xc0 [ 54.956259][ T420] ? fscrypt_set_context+0x439/0x740 [ 54.961382][ T420] ? __ext4_set_acl+0x5e0/0x5e0 [ 54.966070][ T420] ? prandom_u32+0x24c/0x290 [ 54.970497][ T420] ext4_init_security+0x34/0x40 [ 54.975235][ T420] __ext4_new_inode+0x31f0/0x40a0 [ 54.980045][ T420] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 54.985597][ T420] ? dquot_initialize+0x20/0x20 [ 54.990287][ T420] ? selinux_determine_inode_label+0x29c/0x3b0 [ 54.996275][ T420] ext4_symlink+0x4c3/0xed0 [ 55.000618][ T420] ? ext4_unlink+0x3f0/0x3f0 [ 55.005038][ T420] ? selinux_inode_symlink+0x22/0x30 [ 55.010164][ T420] ? security_inode_symlink+0xb8/0x100 [ 55.015801][ T420] vfs_symlink+0x29f/0x480 [ 55.020055][ T420] do_symlinkat+0x1ea/0x5a0 [ 55.024393][ T420] ? __check_object_size+0x2ec/0x3d0 [ 55.029530][ T420] ? vfs_symlink+0x480/0x480 [ 55.033943][ T420] ? getname_flags+0x1fd/0x520 [ 55.038540][ T420] __x64_sys_symlink+0x7e/0x90 [ 55.043142][ T420] do_syscall_64+0x3d/0xb0 [ 55.047395][ T420] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 55.053123][ T420] RIP: 0033:0x7f3575952459 [ 55.057375][ T420] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 55.077017][ T420] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 419] symlink("./file0", "./file0" [pid 420] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 416] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 413] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 417] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [ 55.085260][ T420] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 55.093071][ T420] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 55.100890][ T420] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 55.108697][ T420] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 55.116768][ T420] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000e [ 55.124581][ T420] [ 55.128996][ T419] CPU: 0 PID: 419 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [pid 420] exit_group(0 [pid 416] exit_group(0 [pid 413] exit_group(0 [pid 420] <... exit_group resumed>) = ? [pid 416] <... exit_group resumed>) = ? [pid 413] <... exit_group resumed>) = ? [pid 420] +++ exited with 0 +++ [pid 416] +++ exited with 0 +++ [pid 413] +++ exited with 0 +++ [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=416, si_uid=0, si_status=0, si_utime=0, si_stime=39} --- [pid 294] restart_syscall(<... resuming interrupted clone ...> [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=420, si_uid=0, si_status=0, si_utime=0, si_stime=10} --- [pid 294] <... restart_syscall resumed>) = 0 [pid 293] restart_syscall(<... resuming interrupted clone ...> [pid 294] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] <... restart_syscall resumed>) = 0 [pid 294] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 294] newfstatat(3, "", [pid 293] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] getdents64(3, [pid 293] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 293] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 55.139063][ T419] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 55.148960][ T419] Call Trace: [ 55.152081][ T419] [ 55.154855][ T419] dump_stack_lvl+0x151/0x1b7 [ 55.159376][ T419] ? io_uring_drop_tctx_refs+0x190/0x190 [ 55.164835][ T419] ? wb_get_create+0xe0a/0xe40 [ 55.169440][ T419] ? sb_end_intwrite+0x120/0x120 [ 55.174647][ T419] dump_stack+0x15/0x17 [ 55.178644][ T419] should_fail+0x3c6/0x510 [ 55.182895][ T419] __should_failslab+0xa4/0xe0 [ 55.187491][ T419] ? ext4_mb_new_blocks+0x4ed/0x43f0 [pid 293] getdents64(3, [ 55.192619][ T419] should_failslab+0x9/0x20 [ 55.197063][ T419] slab_pre_alloc_hook+0x37/0xd0 [ 55.201840][ T419] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 55.206959][ T419] kmem_cache_alloc+0x44/0x200 [ 55.211561][ T419] ext4_mb_new_blocks+0x4ed/0x43f0 [ 55.216507][ T419] ? ext4_mb_pa_callback+0xd0/0xd0 [ 55.221454][ T419] ? ext4_xattr_ibody_set+0x390/0x390 [ 55.226661][ T419] ext4_new_meta_blocks+0x206/0x4f0 [ 55.231694][ T419] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 55.237161][ T419] ? __entry_find+0x398/0x3f0 [pid 417] exit_group(0) = ? [ 55.241674][ T419] ? __kmalloc+0x13a/0x270 [ 55.245930][ T419] ext4_xattr_block_set+0x233e/0x3760 [ 55.251145][ T419] ? __ext4_journal_ensure_credits+0x470/0x470 [ 55.257122][ T419] ? ext4_xattr_block_find+0x520/0x520 [ 55.262418][ T419] ? __xattr_check_inode+0x3d5/0x440 [ 55.267541][ T419] ext4_xattr_set_handle+0xdac/0x1560 [ 55.272743][ T419] ? sidtab_sid2str_put+0x2d7/0x640 [ 55.277784][ T419] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 55.283166][ T419] ? selinux_inode_init_security+0x52d/0x780 [ 55.288978][ T419] ? selinux_inode_free_security+0x210/0x210 [ 55.294796][ T419] ext4_initxattrs+0xa7/0x120 [ 55.299305][ T419] security_inode_init_security+0x252/0x390 [ 55.305056][ T419] ? ext4_init_security+0x40/0x40 [ 55.309897][ T419] ? security_dentry_create_files_as+0xc0/0xc0 [ 55.316346][ T419] ? fscrypt_set_context+0x439/0x740 [ 55.321457][ T419] ? __ext4_set_acl+0x5e0/0x5e0 [ 55.326136][ T419] ? prandom_u32+0x24c/0x290 [ 55.330580][ T419] ext4_init_security+0x34/0x40 [ 55.335252][ T419] __ext4_new_inode+0x31f0/0x40a0 [ 55.340118][ T419] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 55.345668][ T419] ? dquot_initialize+0x20/0x20 [ 55.350352][ T419] ? selinux_determine_inode_label+0x29c/0x3b0 [ 55.356352][ T419] ext4_symlink+0x4c3/0xed0 [ 55.360682][ T419] ? ext4_unlink+0x3f0/0x3f0 [ 55.365111][ T419] ? selinux_inode_symlink+0x22/0x30 [ 55.370234][ T419] ? security_inode_symlink+0xb8/0x100 [ 55.375528][ T419] vfs_symlink+0x29f/0x480 [ 55.379779][ T419] do_symlinkat+0x1ea/0x5a0 [ 55.384115][ T419] ? __check_object_size+0x2ec/0x3d0 [ 55.389235][ T419] ? vfs_symlink+0x480/0x480 [ 55.393661][ T419] ? getname_flags+0x1fd/0x520 [ 55.398277][ T419] __x64_sys_symlink+0x7e/0x90 [ 55.402894][ T419] do_syscall_64+0x3d/0xb0 [ 55.407118][ T419] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 55.412869][ T419] RIP: 0033:0x7f3575952459 [ 55.417099][ T419] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [pid 417] +++ exited with 0 +++ [ 55.436540][ T419] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 55.444782][ T419] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 55.452594][ T419] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 55.460405][ T419] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 55.468218][ T419] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 55.476027][ T419] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000f [ 55.483844][ T419] [ 55.486742][ T415] CPU: 1 PID: 415 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 55.496773][ T415] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 55.506670][ T415] Call Trace: [ 55.509796][ T415] [ 55.513152][ T415] dump_stack_lvl+0x151/0x1b7 [ 55.517657][ T415] ? io_uring_drop_tctx_refs+0x190/0x190 [ 55.523121][ T415] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 55.528860][ T415] dump_stack+0x15/0x17 [ 55.532840][ T415] should_fail+0x3c6/0x510 [ 55.537109][ T415] __should_failslab+0xa4/0xe0 [ 55.541694][ T415] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 55.546815][ T415] should_failslab+0x9/0x20 [ 55.551152][ T415] slab_pre_alloc_hook+0x37/0xd0 [ 55.555929][ T415] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 55.561054][ T415] kmem_cache_alloc+0x44/0x200 [ 55.565659][ T415] ext4_mb_new_blocks+0xd97/0x43f0 [ 55.570611][ T415] ? ext4_mb_pa_callback+0xd0/0xd0 [ 55.575546][ T415] ? ext4_xattr_ibody_set+0x390/0x390 [ 55.580862][ T415] ext4_new_meta_blocks+0x206/0x4f0 [ 55.585889][ T415] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 55.591357][ T415] ? __entry_find+0x398/0x3f0 [ 55.595866][ T415] ? __kmalloc+0x13a/0x270 [ 55.600119][ T415] ext4_xattr_block_set+0x233e/0x3760 [ 55.605330][ T415] ? __ext4_journal_ensure_credits+0x470/0x470 [ 55.611316][ T415] ? ext4_xattr_block_find+0x520/0x520 [ 55.616614][ T415] ? __xattr_check_inode+0x3d5/0x440 [ 55.621736][ T415] ext4_xattr_set_handle+0xdac/0x1560 [ 55.626937][ T415] ? sidtab_sid2str_put+0x2d7/0x640 [ 55.631977][ T415] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 55.637354][ T415] ? selinux_inode_init_security+0x52d/0x780 [ 55.643187][ T415] ? selinux_inode_free_security+0x210/0x210 [ 55.648984][ T415] ext4_initxattrs+0xa7/0x120 [ 55.653499][ T415] security_inode_init_security+0x252/0x390 [ 55.659224][ T415] ? ext4_init_security+0x40/0x40 [ 55.664086][ T415] ? security_dentry_create_files_as+0xc0/0xc0 [ 55.670074][ T415] ? fscrypt_set_context+0x439/0x740 [ 55.675195][ T415] ? __ext4_set_acl+0x5e0/0x5e0 [ 55.679880][ T415] ? prandom_u32+0x24c/0x290 [ 55.684307][ T415] ext4_init_security+0x34/0x40 [ 55.688996][ T415] __ext4_new_inode+0x31f0/0x40a0 [ 55.693858][ T415] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 55.699409][ T415] ? dquot_initialize+0x20/0x20 [ 55.704095][ T415] ? selinux_determine_inode_label+0x29c/0x3b0 [ 55.710096][ T415] ext4_symlink+0x4c3/0xed0 [ 55.714428][ T415] ? ext4_unlink+0x3f0/0x3f0 [ 55.718853][ T415] ? selinux_inode_symlink+0x22/0x30 [ 55.723973][ T415] ? security_inode_symlink+0xb8/0x100 [ 55.729271][ T415] vfs_symlink+0x29f/0x480 [ 55.733522][ T415] do_symlinkat+0x1ea/0x5a0 [ 55.737858][ T415] ? __check_object_size+0x2ec/0x3d0 [ 55.742980][ T415] ? vfs_symlink+0x480/0x480 [ 55.747407][ T415] ? getname_flags+0x1fd/0x520 [ 55.752023][ T415] __x64_sys_symlink+0x7e/0x90 [ 55.756609][ T415] do_syscall_64+0x3d/0xb0 [ 55.760873][ T415] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 55.766599][ T415] RIP: 0033:0x7f3575952459 [ 55.770844][ T415] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [pid 419] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 419] exit_group(0 [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=417, si_uid=0, si_status=0, si_utime=0, si_stime=4} --- [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=413, si_uid=0, si_status=0, si_utime=0, si_stime=19} --- [pid 419] <... exit_group resumed>) = ? [pid 415] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 415] exit_group(0) = ? [pid 415] +++ exited with 0 +++ [pid 419] +++ exited with 0 +++ [pid 298] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./14", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=415, si_uid=0, si_status=0, si_utime=0, si_stime=96} --- [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=419, si_uid=0, si_status=0, si_utime=0, si_stime=14} --- [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] restart_syscall(<... resuming interrupted clone ...> [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] openat(AT_FDCWD, "./14", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] <... restart_syscall resumed>) = 0 [pid 297] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... openat resumed>) = 3 [pid 296] <... openat resumed>) = 3 [pid 298] newfstatat(3, "", [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(3, "", [pid 297] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... openat resumed>) = 3 [pid 297] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(3, [pid 295] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] getdents64(3, [pid 297] getdents64(3, [pid 295] <... openat resumed>) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./14/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./15/binderfs", [pid 297] newfstatat(AT_FDCWD, "./15/binderfs", [pid 296] newfstatat(AT_FDCWD, "./14/binderfs", [pid 295] newfstatat(AT_FDCWD, "./16/binderfs", [pid 293] newfstatat(AT_FDCWD, "./14/binderfs", [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] newfstatat(AT_FDCWD, "./14/binderfs", [pid 298] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./15/binderfs" [pid 297] unlink("./15/binderfs" [pid 296] unlink("./14/binderfs" [pid 295] unlink("./16/binderfs" [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] unlink("./14/binderfs" [pid 297] <... unlink resumed>) = 0 [pid 296] <... unlink resumed>) = 0 [pid 294] unlink("./14/binderfs" [pid 293] <... unlink resumed>) = 0 [pid 298] <... unlink resumed>) = 0 [pid 298] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] <... unlink resumed>) = 0 [pid 298] newfstatat(AT_FDCWD, "./15/file0", [pid 297] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... unlink resumed>) = 0 [pid 294] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./14/file0", [pid 298] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] newfstatat(AT_FDCWD, "./15/file0", [pid 296] newfstatat(AT_FDCWD, "./14/file0", [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./14/file0", [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] newfstatat(AT_FDCWD, "./16/file0", [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] umount2("./14/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] <... openat resumed>) = 4 [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] newfstatat(4, "", [pid 297] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./14/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 293] <... openat resumed>) = 4 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] <... openat resumed>) = 4 [pid 296] <... openat resumed>) = 4 [pid 295] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] <... openat resumed>) = 4 [pid 293] newfstatat(4, "", [pid 298] getdents64(4, [pid 297] newfstatat(4, "", [pid 296] newfstatat(4, "", [pid 295] <... openat resumed>) = 4 [pid 294] newfstatat(4, "", [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] newfstatat(4, "", [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(4, [pid 298] getdents64(4, [pid 297] getdents64(4, [pid 296] getdents64(4, [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] getdents64(4, [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] getdents64(4, [pid 298] close(4 [pid 297] getdents64(4, [pid 296] getdents64(4, [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] <... close resumed>) = 0 [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] getdents64(4, [pid 294] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] close(4 [pid 298] rmdir("./15/file0" [pid 297] close(4 [pid 296] close(4 [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] close(4 [pid 293] <... close resumed>) = 0 [pid 297] <... close resumed>) = 0 [pid 296] <... close resumed>) = 0 [pid 295] close(4 [pid 294] <... close resumed>) = 0 [pid 293] rmdir("./14/file0" [pid 298] <... rmdir resumed>) = 0 [pid 297] rmdir("./15/file0" [pid 296] rmdir("./14/file0" [pid 295] <... close resumed>) = 0 [pid 294] rmdir("./14/file0" [pid 298] getdents64(3, [pid 293] <... rmdir resumed>) = 0 [pid 298] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 298] close(3 [pid 296] <... rmdir resumed>) = 0 [pid 293] getdents64(3, [pid 298] <... close resumed>) = 0 [pid 297] getdents64(3, [pid 296] getdents64(3, [pid 295] rmdir("./16/file0" [pid 294] <... rmdir resumed>) = 0 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] rmdir("./15" [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] <... rmdir resumed>) = 0 [pid 297] close(3 [pid 296] close(3 [pid 295] <... rmdir resumed>) = 0 [pid 294] getdents64(3, [pid 293] close(3 [pid 298] mkdir("./16", 0777 [pid 297] <... close resumed>) = 0 [pid 296] <... close resumed>) = 0 [pid 297] rmdir("./15" [pid 296] rmdir("./14" [pid 295] getdents64(3, [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] <... close resumed>) = 0 [pid 298] <... mkdir resumed>) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 296] <... rmdir resumed>) = 0 [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] close(3 [pid 293] rmdir("./14" [ 55.790289][ T415] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 55.798527][ T415] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 55.806338][ T415] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 55.814159][ T415] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 55.821965][ T415] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 55.829774][ T415] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000010 [ 55.837594][ T415] [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 297] mkdir("./16", 0777 [pid 296] mkdir("./15", 0777 [pid 295] close(3 [pid 294] <... close resumed>) = 0 ./strace-static-x86_64: Process 422 attached [pid 297] <... mkdir resumed>) = 0 [pid 293] <... rmdir resumed>) = 0 [pid 422] set_robust_list(0x555555a60660, 24 [pid 298] <... clone resumed>, child_tidptr=0x555555a60650) = 422 [pid 422] <... set_robust_list resumed>) = 0 [pid 296] <... mkdir resumed>) = 0 [pid 295] <... close resumed>) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] rmdir("./14" [pid 293] mkdir("./15", 0777 [pid 422] chdir("./16" [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 295] rmdir("./16" [pid 422] <... chdir resumed>) = 0 [pid 422] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 422] setpgid(0, 0 [pid 294] <... rmdir resumed>) = 0 [pid 422] <... setpgid resumed>) = 0 [pid 422] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 293] <... mkdir resumed>) = 0 [pid 422] write(3, "1000", 4) = 4 [pid 422] close(3) = 0 [pid 295] <... rmdir resumed>) = 0 [pid 294] mkdir("./15", 0777 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 422] symlink("/dev/binderfs", "./binderfs") = 0 [pid 295] mkdir("./17", 0777 [pid 422] mkdir("./file0", 000) = 0 [pid 294] <... mkdir resumed>) = 0 [pid 422] open("./file0", O_RDONLY [pid 295] <... mkdir resumed>) = 0 [pid 422] <... open resumed>) = 3 [pid 422] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 423 [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 424 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 422] chdir("./file0") = 0 [pid 422] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 259237742 [pid 422] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 426 [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 425 [pid 422] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 427 ./strace-static-x86_64: Process 427 attached ./strace-static-x86_64: Process 426 attached ./strace-static-x86_64: Process 425 attached ./strace-static-x86_64: Process 424 attached ./strace-static-x86_64: Process 423 attached [pid 422] <... openat resumed>) = 4 [pid 427] set_robust_list(0x555555a60660, 24 [pid 426] set_robust_list(0x555555a60660, 24 [pid 425] set_robust_list(0x555555a60660, 24 [pid 424] set_robust_list(0x555555a60660, 24 [pid 423] set_robust_list(0x555555a60660, 24 [pid 422] write(4, "24", 2 [pid 427] <... set_robust_list resumed>) = 0 [pid 422] <... write resumed>) = 2 [pid 426] <... set_robust_list resumed>) = 0 [pid 425] <... set_robust_list resumed>) = 0 [pid 424] <... set_robust_list resumed>) = 0 [pid 423] <... set_robust_list resumed>) = 0 [pid 427] chdir("./15" [pid 426] chdir("./17" [pid 425] chdir("./15" [pid 424] chdir("./15" [pid 423] chdir("./16" [pid 422] symlink("./file0", "./file0" [pid 427] <... chdir resumed>) = 0 [pid 426] <... chdir resumed>) = 0 [pid 424] <... chdir resumed>) = 0 [pid 423] <... chdir resumed>) = 0 [pid 427] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 426] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 424] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 423] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 427] <... prctl resumed>) = 0 [pid 426] <... prctl resumed>) = 0 [pid 424] <... prctl resumed>) = 0 [pid 423] <... prctl resumed>) = 0 [pid 427] setpgid(0, 0 [pid 426] setpgid(0, 0 [pid 424] setpgid(0, 0 [pid 423] setpgid(0, 0 [pid 426] <... setpgid resumed>) = 0 [pid 424] <... setpgid resumed>) = 0 [pid 423] <... setpgid resumed>) = 0 [pid 427] <... setpgid resumed>) = 0 [pid 426] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 425] <... chdir resumed>) = 0 [pid 424] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 423] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 426] <... openat resumed>) = 3 [pid 424] <... openat resumed>) = 3 [pid 423] <... openat resumed>) = 3 [pid 426] write(3, "1000", 4 [pid 424] write(3, "1000", 4 [pid 423] write(3, "1000", 4 [pid 427] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 426] <... write resumed>) = 4 [pid 424] <... write resumed>) = 4 [pid 423] <... write resumed>) = 4 [pid 426] close(3 [pid 424] close(3 [pid 423] close(3 [pid 427] <... openat resumed>) = 3 [pid 426] <... close resumed>) = 0 [pid 424] <... close resumed>) = 0 [pid 423] <... close resumed>) = 0 [pid 427] write(3, "1000", 4 [pid 426] symlink("/dev/binderfs", "./binderfs" [pid 425] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 424] symlink("/dev/binderfs", "./binderfs" [pid 423] symlink("/dev/binderfs", "./binderfs" [pid 426] <... symlink resumed>) = 0 [pid 424] <... symlink resumed>) = 0 [pid 423] <... symlink resumed>) = 0 [pid 426] mkdir("./file0", 000 [pid 424] mkdir("./file0", 000 [pid 423] mkdir("./file0", 000 [pid 426] <... mkdir resumed>) = 0 [pid 424] <... mkdir resumed>) = 0 [pid 423] <... mkdir resumed>) = 0 [pid 426] open("./file0", O_RDONLY [pid 424] open("./file0", O_RDONLY [pid 423] open("./file0", O_RDONLY [pid 426] <... open resumed>) = 3 [pid 424] <... open resumed>) = 3 [pid 423] <... open resumed>) = 3 [pid 426] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 424] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 423] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 426] <... ioctl resumed>) = 0 [pid 424] <... ioctl resumed>) = 0 [pid 423] <... ioctl resumed>) = 0 [pid 426] chdir("./file0" [pid 424] chdir("./file0" [pid 423] chdir("./file0" [pid 426] <... chdir resumed>) = 0 [pid 424] <... chdir resumed>) = 0 [pid 423] <... chdir resumed>) = 0 [pid 426] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 424] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 423] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 426] <... add_key resumed>) = 988882675 [pid 424] <... add_key resumed>) = 556542993 [pid 423] <... add_key resumed>) = 423047718 [pid 426] open("./bus", O_RDONLY [pid 424] open("./bus", O_RDONLY [pid 423] open("./bus", O_RDONLY [pid 426] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 424] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 423] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 426] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 424] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 423] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 426] <... openat resumed>) = 4 [pid 424] <... openat resumed>) = 4 [pid 423] <... openat resumed>) = 4 [pid 426] write(4, "24", 2 [pid 424] write(4, "24", 2 [pid 423] write(4, "24", 2 [pid 426] <... write resumed>) = 2 [pid 424] <... write resumed>) = 2 [pid 423] <... write resumed>) = 2 [pid 426] symlink("./file0", "./file0" [pid 424] symlink("./file0", "./file0" [ 55.888147][ T422] FAULT_INJECTION: forcing a failure. [ 55.888147][ T422] name failslab, interval 1, probability 0, space 0, times 0 [ 55.895756][ T426] FAULT_INJECTION: forcing a failure. [ 55.895756][ T426] name failslab, interval 1, probability 0, space 0, times 0 [ 55.900975][ T422] CPU: 0 PID: 422 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 55.913500][ T424] FAULT_INJECTION: forcing a failure. [ 55.913500][ T424] name failslab, interval 1, probability 0, space 0, times 0 [pid 423] symlink("./file0", "./file0" [pid 427] <... write resumed>) = 4 [pid 425] <... prctl resumed>) = 0 [ 55.923054][ T422] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 55.923068][ T422] Call Trace: [ 55.923074][ T422] [ 55.923082][ T422] dump_stack_lvl+0x151/0x1b7 [ 55.923109][ T422] ? io_uring_drop_tctx_refs+0x190/0x190 [ 55.936413][ T423] FAULT_INJECTION: forcing a failure. [ 55.936413][ T423] name failslab, interval 1, probability 0, space 0, times 0 [ 55.945355][ T422] ? wb_get_create+0xe0a/0xe40 [ 55.945381][ T422] ? sb_end_intwrite+0x120/0x120 [ 55.945402][ T422] dump_stack+0x15/0x17 [ 55.987023][ T422] should_fail+0x3c6/0x510 [ 55.991269][ T422] __should_failslab+0xa4/0xe0 [ 55.995868][ T422] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 56.000990][ T422] should_failslab+0x9/0x20 [ 56.005329][ T422] slab_pre_alloc_hook+0x37/0xd0 [ 56.010104][ T422] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 56.015764][ T422] kmem_cache_alloc+0x44/0x200 [ 56.020373][ T422] ext4_mb_new_blocks+0x4ed/0x43f0 [ 56.025323][ T422] ? ext4_mb_pa_callback+0xd0/0xd0 [ 56.030264][ T422] ? ext4_xattr_ibody_set+0x390/0x390 [ 56.035472][ T422] ext4_new_meta_blocks+0x206/0x4f0 [ 56.040516][ T422] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 56.045970][ T422] ? __entry_find+0x398/0x3f0 [ 56.050499][ T422] ? __kmalloc+0x13a/0x270 [ 56.054754][ T422] ext4_xattr_block_set+0x233e/0x3760 [ 56.060037][ T422] ? __ext4_journal_ensure_credits+0x470/0x470 [ 56.066025][ T422] ? ext4_xattr_block_find+0x520/0x520 [ 56.071322][ T422] ? __xattr_check_inode+0x3d5/0x440 [ 56.076441][ T422] ext4_xattr_set_handle+0xdac/0x1560 [ 56.081652][ T422] ? sidtab_sid2str_put+0x2d7/0x640 [ 56.086697][ T422] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 56.092061][ T422] ? selinux_inode_init_security+0x52d/0x780 [ 56.097870][ T422] ? selinux_inode_free_security+0x210/0x210 [ 56.103687][ T422] ext4_initxattrs+0xa7/0x120 [ 56.108202][ T422] security_inode_init_security+0x252/0x390 [ 56.113927][ T422] ? ext4_init_security+0x40/0x40 [ 56.118790][ T422] ? security_dentry_create_files_as+0xc0/0xc0 [ 56.124909][ T422] ? fscrypt_set_context+0x439/0x740 [ 56.130034][ T422] ? __ext4_set_acl+0x5e0/0x5e0 [ 56.134714][ T422] ? prandom_u32+0x24c/0x290 [ 56.139140][ T422] ext4_init_security+0x34/0x40 [ 56.143828][ T422] __ext4_new_inode+0x31f0/0x40a0 [ 56.148695][ T422] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 56.154239][ T422] ? dquot_initialize+0x20/0x20 [ 56.158927][ T422] ? selinux_determine_inode_label+0x29c/0x3b0 [ 56.164916][ T422] ext4_symlink+0x4c3/0xed0 [ 56.169260][ T422] ? ext4_unlink+0x3f0/0x3f0 [ 56.173694][ T422] ? selinux_inode_symlink+0x22/0x30 [ 56.178801][ T422] ? security_inode_symlink+0xb8/0x100 [ 56.184099][ T422] vfs_symlink+0x29f/0x480 [ 56.188354][ T422] do_symlinkat+0x1ea/0x5a0 [ 56.192691][ T422] ? __check_object_size+0x2ec/0x3d0 [ 56.196688][ T427] FAULT_INJECTION: forcing a failure. [ 56.196688][ T427] name failslab, interval 1, probability 0, space 0, times 0 [ 56.197810][ T422] ? vfs_symlink+0x480/0x480 [ 56.197837][ T422] ? getname_flags+0x1fd/0x520 [ 56.212445][ T425] FAULT_INJECTION: forcing a failure. [ 56.212445][ T425] name failslab, interval 1, probability 0, space 0, times 0 [ 56.214647][ T422] __x64_sys_symlink+0x7e/0x90 [ 56.236262][ T422] do_syscall_64+0x3d/0xb0 [ 56.240517][ T422] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 56.246243][ T422] RIP: 0033:0x7f3575952459 [ 56.250510][ T422] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 56.269941][ T422] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 56.278186][ T422] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 427] close(3 [pid 425] setpgid(0, 0 [pid 427] <... close resumed>) = 0 [pid 425] <... setpgid resumed>) = 0 [pid 427] symlink("/dev/binderfs", "./binderfs" [pid 425] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 427] <... symlink resumed>) = 0 [pid 425] <... openat resumed>) = 3 [pid 427] mkdir("./file0", 000 [pid 425] write(3, "1000", 4 [pid 427] <... mkdir resumed>) = 0 [pid 425] <... write resumed>) = 4 [pid 427] open("./file0", O_RDONLY [pid 425] close(3 [pid 427] <... open resumed>) = 3 [pid 425] <... close resumed>) = 0 [pid 427] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 425] symlink("/dev/binderfs", "./binderfs" [pid 427] <... ioctl resumed>) = 0 [pid 425] <... symlink resumed>) = 0 [pid 427] chdir("./file0" [pid 425] mkdir("./file0", 000 [pid 427] <... chdir resumed>) = 0 [pid 425] <... mkdir resumed>) = 0 [pid 427] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 425] open("./file0", O_RDONLY [pid 427] <... add_key resumed>) = 39378246 [pid 425] <... open resumed>) = 3 [pid 427] open("./bus", O_RDONLY [pid 425] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 427] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 425] <... ioctl resumed>) = 0 [pid 427] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 425] chdir("./file0" [pid 427] <... openat resumed>) = 4 [pid 425] <... chdir resumed>) = 0 [pid 427] write(4, "24", 2 [pid 425] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 427] <... write resumed>) = 2 [pid 425] <... add_key resumed>) = 1070429267 [pid 427] symlink("./file0", "./file0" [pid 425] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 425] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 425] write(4, "24", 2) = 2 [ 56.285995][ T422] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 56.293811][ T422] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 56.301615][ T422] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 56.309423][ T422] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000010 [ 56.317324][ T422] [ 56.320365][ T424] CPU: 1 PID: 424 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 56.330448][ T424] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 56.340324][ T424] Call Trace: [ 56.343446][ T424] [ 56.346227][ T424] dump_stack_lvl+0x151/0x1b7 [ 56.350742][ T424] ? io_uring_drop_tctx_refs+0x190/0x190 [ 56.356217][ T424] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 56.361933][ T424] dump_stack+0x15/0x17 [ 56.365928][ T424] should_fail+0x3c6/0x510 [ 56.370179][ T424] __should_failslab+0xa4/0xe0 [ 56.374779][ T424] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 56.379905][ T424] should_failslab+0x9/0x20 [ 56.384239][ T424] slab_pre_alloc_hook+0x37/0xd0 [ 56.389011][ T424] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 56.394134][ T424] kmem_cache_alloc+0x44/0x200 [ 56.398743][ T424] ext4_mb_new_blocks+0xd97/0x43f0 [ 56.403685][ T424] ? ext4_mb_pa_callback+0xd0/0xd0 [ 56.408630][ T424] ? ext4_xattr_ibody_set+0x390/0x390 [ 56.413838][ T424] ext4_new_meta_blocks+0x206/0x4f0 [ 56.418959][ T424] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 56.424424][ T424] ? __entry_find+0x398/0x3f0 [ 56.428939][ T424] ? __kmalloc+0x13a/0x270 [ 56.433193][ T424] ext4_xattr_block_set+0x233e/0x3760 [ 56.438415][ T424] ? __ext4_journal_ensure_credits+0x470/0x470 [ 56.444389][ T424] ? ext4_xattr_block_find+0x520/0x520 [ 56.449683][ T424] ? __xattr_check_inode+0x3d5/0x440 [ 56.454804][ T424] ext4_xattr_set_handle+0xdac/0x1560 [ 56.460009][ T424] ? sidtab_sid2str_put+0x2d7/0x640 [ 56.465047][ T424] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 56.470440][ T424] ? selinux_inode_init_security+0x52d/0x780 [ 56.476243][ T424] ? selinux_inode_free_security+0x210/0x210 [ 56.482064][ T424] ext4_initxattrs+0xa7/0x120 [ 56.486578][ T424] security_inode_init_security+0x252/0x390 [ 56.492297][ T424] ? ext4_init_security+0x40/0x40 [ 56.497156][ T424] ? security_dentry_create_files_as+0xc0/0xc0 [ 56.503144][ T424] ? fscrypt_set_context+0x439/0x740 [ 56.508269][ T424] ? __ext4_set_acl+0x5e0/0x5e0 [ 56.512954][ T424] ? prandom_u32+0x24c/0x290 [ 56.517379][ T424] ext4_init_security+0x34/0x40 [ 56.522071][ T424] __ext4_new_inode+0x31f0/0x40a0 [ 56.526932][ T424] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 56.532481][ T424] ? dquot_initialize+0x20/0x20 [ 56.537167][ T424] ? selinux_determine_inode_label+0x29c/0x3b0 [ 56.543191][ T424] ext4_symlink+0x4c3/0xed0 [ 56.547500][ T424] ? ext4_unlink+0x3f0/0x3f0 [ 56.551923][ T424] ? selinux_inode_symlink+0x22/0x30 [ 56.557042][ T424] ? security_inode_symlink+0xb8/0x100 [ 56.562341][ T424] vfs_symlink+0x29f/0x480 [ 56.566593][ T424] do_symlinkat+0x1ea/0x5a0 [ 56.570936][ T424] ? __check_object_size+0x2ec/0x3d0 [ 56.576051][ T424] ? vfs_symlink+0x480/0x480 [ 56.580507][ T424] ? getname_flags+0x1fd/0x520 [ 56.585078][ T424] __x64_sys_symlink+0x7e/0x90 [ 56.589679][ T424] do_syscall_64+0x3d/0xb0 [ 56.593929][ T424] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 56.599663][ T424] RIP: 0033:0x7f3575952459 [ 56.603915][ T424] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 56.623352][ T424] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 56.631601][ T424] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 56.639408][ T424] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 56.647222][ T424] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 56.655043][ T424] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 56.662842][ T424] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000f [ 56.670661][ T424] [ 56.674774][ T425] CPU: 1 PID: 425 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 56.684835][ T425] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 56.694727][ T425] Call Trace: [ 56.697850][ T425] [ 56.700632][ T425] dump_stack_lvl+0x151/0x1b7 [ 56.705144][ T425] ? io_uring_drop_tctx_refs+0x190/0x190 [ 56.710613][ T425] ? wb_get_create+0xe0a/0xe40 [ 56.715210][ T425] ? sb_end_intwrite+0x120/0x120 [ 56.719987][ T425] dump_stack+0x15/0x17 [ 56.723978][ T425] should_fail+0x3c6/0x510 [ 56.728234][ T425] __should_failslab+0xa4/0xe0 [ 56.732842][ T425] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 56.737956][ T425] should_failslab+0x9/0x20 [ 56.742299][ T425] slab_pre_alloc_hook+0x37/0xd0 [ 56.747087][ T425] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 56.752193][ T425] kmem_cache_alloc+0x44/0x200 [ 56.756788][ T425] ext4_mb_new_blocks+0x4ed/0x43f0 [ 56.761752][ T425] ? ext4_mb_pa_callback+0xd0/0xd0 [ 56.766679][ T425] ? ext4_xattr_ibody_set+0x390/0x390 [ 56.771906][ T425] ext4_new_meta_blocks+0x206/0x4f0 [ 56.776924][ T425] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 56.782395][ T425] ? __entry_find+0x398/0x3f0 [ 56.786900][ T425] ? __kmalloc+0x13a/0x270 [ 56.791155][ T425] ext4_xattr_block_set+0x233e/0x3760 [ 56.796365][ T425] ? __ext4_journal_ensure_credits+0x470/0x470 [ 56.802351][ T425] ? ext4_xattr_block_find+0x520/0x520 [ 56.807645][ T425] ? __xattr_check_inode+0x3d5/0x440 [ 56.813355][ T425] ext4_xattr_set_handle+0xdac/0x1560 [ 56.818558][ T425] ? sidtab_sid2str_put+0x2d7/0x640 [ 56.823596][ T425] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 56.828978][ T425] ? selinux_inode_init_security+0x52d/0x780 [ 56.834790][ T425] ? selinux_inode_free_security+0x210/0x210 [ 56.840605][ T425] ext4_initxattrs+0xa7/0x120 [ 56.845122][ T425] security_inode_init_security+0x252/0x390 [ 56.850848][ T425] ? ext4_init_security+0x40/0x40 [ 56.855718][ T425] ? security_dentry_create_files_as+0xc0/0xc0 [ 56.861698][ T425] ? fscrypt_set_context+0x439/0x740 [ 56.866824][ T425] ? __ext4_set_acl+0x5e0/0x5e0 [ 56.871506][ T425] ? prandom_u32+0x24c/0x290 [ 56.875936][ T425] ext4_init_security+0x34/0x40 [ 56.880619][ T425] __ext4_new_inode+0x31f0/0x40a0 [ 56.885486][ T425] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 56.891031][ T425] ? dquot_initialize+0x20/0x20 [ 56.895718][ T425] ? selinux_determine_inode_label+0x29c/0x3b0 [ 56.901712][ T425] ext4_symlink+0x4c3/0xed0 [ 56.906049][ T425] ? ext4_unlink+0x3f0/0x3f0 [ 56.910485][ T425] ? selinux_inode_symlink+0x22/0x30 [ 56.915596][ T425] ? security_inode_symlink+0xb8/0x100 [ 56.920899][ T425] vfs_symlink+0x29f/0x480 [ 56.925143][ T425] do_symlinkat+0x1ea/0x5a0 [ 56.929485][ T425] ? __check_object_size+0x2ec/0x3d0 [ 56.934603][ T425] ? vfs_symlink+0x480/0x480 [ 56.939141][ T425] ? getname_flags+0x1fd/0x520 [ 56.943749][ T425] __x64_sys_symlink+0x7e/0x90 [ 56.948331][ T425] do_syscall_64+0x3d/0xb0 [ 56.952582][ T425] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 56.958316][ T425] RIP: 0033:0x7f3575952459 [ 56.962571][ T425] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 56.982096][ T425] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 56.990340][ T425] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 56.998248][ T425] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 57.006058][ T425] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 57.013869][ T425] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 57.021681][ T425] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000f [ 57.029500][ T425] [ 57.032358][ T426] CPU: 0 PID: 426 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 57.042434][ T426] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 57.052322][ T426] Call Trace: [ 57.055448][ T426] [ 57.058224][ T426] dump_stack_lvl+0x151/0x1b7 [ 57.062742][ T426] ? io_uring_drop_tctx_refs+0x190/0x190 [ 57.068204][ T426] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 57.073937][ T426] dump_stack+0x15/0x17 [ 57.077923][ T426] should_fail+0x3c6/0x510 [ 57.082185][ T426] __should_failslab+0xa4/0xe0 [ 57.086776][ T426] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 57.091900][ T426] should_failslab+0x9/0x20 [ 57.096238][ T426] slab_pre_alloc_hook+0x37/0xd0 [ 57.101011][ T426] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 57.106130][ T426] kmem_cache_alloc+0x44/0x200 [ 57.110734][ T426] ext4_mb_new_blocks+0xd97/0x43f0 [ 57.115686][ T426] ? ext4_mb_pa_callback+0xd0/0xd0 [ 57.120638][ T426] ? ext4_xattr_ibody_set+0x390/0x390 [ 57.125840][ T426] ext4_new_meta_blocks+0x206/0x4f0 [ 57.130880][ T426] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 57.136337][ T426] ? __entry_find+0x398/0x3f0 [ 57.140848][ T426] ? __kmalloc+0x13a/0x270 [ 57.145105][ T426] ext4_xattr_block_set+0x233e/0x3760 [ 57.150315][ T426] ? __ext4_journal_ensure_credits+0x470/0x470 [ 57.156315][ T426] ? ext4_xattr_block_find+0x520/0x520 [ 57.161595][ T426] ? __xattr_check_inode+0x3d5/0x440 [ 57.166721][ T426] ext4_xattr_set_handle+0xdac/0x1560 [ 57.171928][ T426] ? sidtab_sid2str_put+0x2d7/0x640 [ 57.176958][ T426] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 57.182341][ T426] ? selinux_inode_init_security+0x52d/0x780 [ 57.188151][ T426] ? selinux_inode_free_security+0x210/0x210 [ 57.193971][ T426] ext4_initxattrs+0xa7/0x120 [ 57.198481][ T426] security_inode_init_security+0x252/0x390 [ 57.204209][ T426] ? ext4_init_security+0x40/0x40 [ 57.209071][ T426] ? security_dentry_create_files_as+0xc0/0xc0 [ 57.215059][ T426] ? fscrypt_set_context+0x439/0x740 [ 57.220197][ T426] ? __ext4_set_acl+0x5e0/0x5e0 [ 57.224872][ T426] ? prandom_u32+0x24c/0x290 [ 57.229299][ T426] ext4_init_security+0x34/0x40 [ 57.233978][ T426] __ext4_new_inode+0x31f0/0x40a0 [ 57.238841][ T426] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 57.244401][ T426] ? dquot_initialize+0x20/0x20 [ 57.249085][ T426] ? selinux_determine_inode_label+0x29c/0x3b0 [ 57.255072][ T426] ext4_symlink+0x4c3/0xed0 [ 57.259414][ T426] ? ext4_unlink+0x3f0/0x3f0 [ 57.263840][ T426] ? selinux_inode_symlink+0x22/0x30 [ 57.268954][ T426] ? security_inode_symlink+0xb8/0x100 [ 57.274253][ T426] vfs_symlink+0x29f/0x480 [ 57.278504][ T426] do_symlinkat+0x1ea/0x5a0 [ 57.282845][ T426] ? __check_object_size+0x2ec/0x3d0 [ 57.287969][ T426] ? vfs_symlink+0x480/0x480 [ 57.292396][ T426] ? getname_flags+0x1fd/0x520 [ 57.296989][ T426] __x64_sys_symlink+0x7e/0x90 [ 57.301589][ T426] do_syscall_64+0x3d/0xb0 [ 57.305845][ T426] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 57.311569][ T426] RIP: 0033:0x7f3575952459 [ 57.315822][ T426] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 57.335351][ T426] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 57.343597][ T426] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 57.351409][ T426] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 57.359312][ T426] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 57.367118][ T426] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 57.374932][ T426] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000011 [ 57.382832][ T426] [ 57.385693][ T423] CPU: 1 PID: 423 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 57.395767][ T423] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 57.405654][ T423] Call Trace: [ 57.408782][ T423] [ 57.411563][ T423] dump_stack_lvl+0x151/0x1b7 [ 57.416071][ T423] ? io_uring_drop_tctx_refs+0x190/0x190 [ 57.421539][ T423] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 57.427266][ T423] dump_stack+0x15/0x17 [ 57.431258][ T423] should_fail+0x3c6/0x510 [ 57.435515][ T423] __should_failslab+0xa4/0xe0 [ 57.440108][ T423] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 57.445232][ T423] should_failslab+0x9/0x20 [ 57.449568][ T423] slab_pre_alloc_hook+0x37/0xd0 [ 57.454348][ T423] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 57.459561][ T423] kmem_cache_alloc+0x44/0x200 [ 57.464165][ T423] ext4_mb_new_blocks+0xd97/0x43f0 [ 57.469111][ T423] ? ext4_mb_pa_callback+0xd0/0xd0 [ 57.474057][ T423] ? ext4_xattr_ibody_set+0x390/0x390 [ 57.479264][ T423] ext4_new_meta_blocks+0x206/0x4f0 [ 57.484310][ T423] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 57.489763][ T423] ? __entry_find+0x398/0x3f0 [ 57.494275][ T423] ? __kmalloc+0x13a/0x270 [ 57.498545][ T423] ext4_xattr_block_set+0x233e/0x3760 [ 57.503740][ T423] ? __ext4_journal_ensure_credits+0x470/0x470 [ 57.509725][ T423] ? ext4_xattr_block_find+0x520/0x520 [ 57.515021][ T423] ? __xattr_check_inode+0x3d5/0x440 [ 57.520150][ T423] ext4_xattr_set_handle+0xdac/0x1560 [ 57.525353][ T423] ? sidtab_sid2str_put+0x2d7/0x640 [ 57.530408][ T423] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 57.535765][ T423] ? selinux_inode_init_security+0x52d/0x780 [ 57.541583][ T423] ? selinux_inode_free_security+0x210/0x210 [ 57.547396][ T423] ext4_initxattrs+0xa7/0x120 [ 57.551910][ T423] security_inode_init_security+0x252/0x390 [ 57.557636][ T423] ? ext4_init_security+0x40/0x40 [ 57.562509][ T423] ? security_dentry_create_files_as+0xc0/0xc0 [ 57.568493][ T423] ? fscrypt_set_context+0x439/0x740 [ 57.573606][ T423] ? __ext4_set_acl+0x5e0/0x5e0 [ 57.578294][ T423] ? prandom_u32+0x24c/0x290 [ 57.582717][ T423] ext4_init_security+0x34/0x40 [ 57.587408][ T423] __ext4_new_inode+0x31f0/0x40a0 [ 57.592271][ T423] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 57.597822][ T423] ? dquot_initialize+0x20/0x20 [ 57.602523][ T423] ? selinux_determine_inode_label+0x29c/0x3b0 [ 57.608502][ T423] ext4_symlink+0x4c3/0xed0 [ 57.612839][ T423] ? ext4_unlink+0x3f0/0x3f0 [ 57.617261][ T423] ? selinux_inode_symlink+0x22/0x30 [ 57.622384][ T423] ? security_inode_symlink+0xb8/0x100 [ 57.627679][ T423] vfs_symlink+0x29f/0x480 [ 57.631934][ T423] do_symlinkat+0x1ea/0x5a0 [ 57.636269][ T423] ? __check_object_size+0x2ec/0x3d0 [ 57.641394][ T423] ? vfs_symlink+0x480/0x480 [ 57.645820][ T423] ? getname_flags+0x1fd/0x520 [ 57.650420][ T423] __x64_sys_symlink+0x7e/0x90 [ 57.655015][ T423] do_syscall_64+0x3d/0xb0 [ 57.659271][ T423] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 57.664996][ T423] RIP: 0033:0x7f3575952459 [ 57.669268][ T423] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [pid 425] symlink("./file0", "./file0" [pid 424] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 424] exit_group(0) = ? [pid 424] +++ exited with 0 +++ [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=424, si_uid=0, si_status=0, si_utime=0, si_stime=8} --- [pid 296] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 296] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./15/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] unlink("./15/binderfs") = 0 [ 57.688694][ T423] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 57.696940][ T423] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 57.704750][ T423] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 57.712559][ T423] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 57.720370][ T423] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 57.728184][ T423] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000010 [ 57.735998][ T423] [pid 296] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./15/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 296] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] close(4) = 0 [pid 296] rmdir("./15/file0") = 0 [pid 296] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] close(3) = 0 [ 57.738879][ T427] CPU: 0 PID: 427 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 57.748930][ T427] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 57.758830][ T427] Call Trace: [ 57.761950][ T427] [ 57.764729][ T427] dump_stack_lvl+0x151/0x1b7 [ 57.769250][ T427] ? io_uring_drop_tctx_refs+0x190/0x190 [ 57.774188][ T430] FAULT_INJECTION: forcing a failure. [ 57.774188][ T430] name failslab, interval 1, probability 0, space 0, times 0 [ 57.774708][ T427] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 57.792852][ T427] dump_stack+0x15/0x17 [ 57.796887][ T427] should_fail+0x3c6/0x510 [ 57.801106][ T427] __should_failslab+0xa4/0xe0 [ 57.805699][ T427] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 57.806088][ T431] FAULT_INJECTION: forcing a failure. [ 57.806088][ T431] name failslab, interval 1, probability 0, space 0, times 0 [ 57.811244][ T427] should_failslab+0x9/0x20 [ 57.811273][ T427] slab_pre_alloc_hook+0x37/0xd0 [ 57.833291][ T427] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 57.838411][ T427] kmem_cache_alloc+0x44/0x200 [ 57.843013][ T427] ext4_mb_new_blocks+0xd97/0x43f0 [ 57.847963][ T427] ? ext4_mb_pa_callback+0xd0/0xd0 [ 57.852911][ T427] ? ext4_xattr_ibody_set+0x390/0x390 [ 57.858119][ T427] ext4_new_meta_blocks+0x206/0x4f0 [ 57.863148][ T427] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 57.868704][ T427] ? __entry_find+0x398/0x3f0 [ 57.873215][ T427] ? __kmalloc+0x13a/0x270 [ 57.877474][ T427] ext4_xattr_block_set+0x233e/0x3760 [ 57.882682][ T427] ? __ext4_journal_ensure_credits+0x470/0x470 [ 57.888671][ T427] ? ext4_xattr_block_find+0x520/0x520 [ 57.893958][ T427] ? __xattr_check_inode+0x3d5/0x440 [ 57.899360][ T427] ext4_xattr_set_handle+0xdac/0x1560 [ 57.904581][ T427] ? sidtab_sid2str_put+0x2d7/0x640 [ 57.909620][ T427] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 57.915690][ T427] ? selinux_inode_init_security+0x52d/0x780 [ 57.921508][ T427] ? selinux_inode_free_security+0x210/0x210 [ 57.927430][ T427] ext4_initxattrs+0xa7/0x120 [ 57.931942][ T427] security_inode_init_security+0x252/0x390 [ 57.937671][ T427] ? ext4_init_security+0x40/0x40 [ 57.942531][ T427] ? security_dentry_create_files_as+0xc0/0xc0 [ 57.948609][ T427] ? fscrypt_set_context+0x439/0x740 [ 57.953726][ T427] ? __ext4_set_acl+0x5e0/0x5e0 [ 57.958414][ T427] ? prandom_u32+0x24c/0x290 [ 57.962842][ T427] ext4_init_security+0x34/0x40 [ 57.969786][ T427] __ext4_new_inode+0x31f0/0x40a0 [ 57.974653][ T427] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 57.980204][ T427] ? dquot_initialize+0x20/0x20 [ 57.984885][ T427] ? selinux_determine_inode_label+0x29c/0x3b0 [ 57.990892][ T427] ext4_symlink+0x4c3/0xed0 [ 57.995220][ T427] ? ext4_unlink+0x3f0/0x3f0 [ 57.999644][ T427] ? selinux_inode_symlink+0x22/0x30 [ 58.004765][ T427] ? security_inode_symlink+0xb8/0x100 [ 58.010055][ T427] vfs_symlink+0x29f/0x480 [ 58.014319][ T427] do_symlinkat+0x1ea/0x5a0 [ 58.018652][ T427] ? __check_object_size+0x2ec/0x3d0 [ 58.023771][ T427] ? vfs_symlink+0x480/0x480 [ 58.028196][ T427] ? getname_flags+0x1fd/0x520 [ 58.032793][ T427] __x64_sys_symlink+0x7e/0x90 [ 58.037393][ T427] do_syscall_64+0x3d/0xb0 [ 58.041736][ T427] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 58.047460][ T427] RIP: 0033:0x7f3575952459 [ 58.051728][ T427] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 58.071157][ T427] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 58.079406][ T427] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 58.088168][ T427] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [pid 296] rmdir("./15") = 0 [pid 296] mkdir("./16", 0777) = 0 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 430 ./strace-static-x86_64: Process 430 attached [pid 430] set_robust_list(0x555555a60660, 24) = 0 [pid 430] chdir("./16") = 0 [pid 430] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 430] setpgid(0, 0) = 0 [pid 430] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 430] write(3, "1000", 4) = 4 [pid 430] close(3) = 0 [pid 430] symlink("/dev/binderfs", "./binderfs") = 0 [pid 430] mkdir("./file0", 000) = 0 [pid 430] open("./file0", O_RDONLY) = 3 [pid 430] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 425] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 430] chdir("./file0") = 0 [pid 430] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 425] exit_group(0 [pid 430] <... add_key resumed>) = 1048826988 [pid 425] <... exit_group resumed>) = ? [pid 425] +++ exited with 0 +++ [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=425, si_uid=0, si_status=0, si_utime=0, si_stime=4} --- [pid 293] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 293] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 293] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(3, [pid 430] open("./bus", O_RDONLY [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 430] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 293] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 430] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 430] <... openat resumed>) = 4 [pid 293] newfstatat(AT_FDCWD, "./15/binderfs", [pid 430] write(4, "24", 2 [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 430] <... write resumed>) = 2 [pid 293] unlink("./15/binderfs" [pid 430] symlink("./file0", "./file0" [pid 293] <... unlink resumed>) = 0 [pid 293] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./15/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 293] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] close(4) = 0 [pid 293] rmdir("./15/file0") = 0 [pid 293] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] close(3) = 0 [pid 293] rmdir("./15") = 0 [pid 293] mkdir("./16", 0777) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 431 ./strace-static-x86_64: Process 431 attached [pid 431] set_robust_list(0x555555a60660, 24) = 0 [pid 431] chdir("./16") = 0 [pid 431] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 431] setpgid(0, 0) = 0 [pid 431] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 431] write(3, "1000", 4) = 4 [pid 431] close(3) = 0 [pid 431] symlink("/dev/binderfs", "./binderfs") = 0 [pid 431] mkdir("./file0", 000) = 0 [pid 431] open("./file0", O_RDONLY) = 3 [pid 431] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 431] chdir("./file0") = 0 [pid 431] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 163942495 [pid 431] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 431] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 431] write(4, "24", 2) = 2 [ 58.095977][ T427] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 58.103792][ T427] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 58.111602][ T427] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 000000000000000f [ 58.119423][ T427] [ 58.122286][ T431] CPU: 1 PID: 431 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 58.132347][ T431] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 58.142241][ T431] Call Trace: [ 58.145363][ T431] [ 58.148141][ T431] dump_stack_lvl+0x151/0x1b7 [ 58.152889][ T431] ? io_uring_drop_tctx_refs+0x190/0x190 [ 58.158377][ T431] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 58.164258][ T431] dump_stack+0x15/0x17 [ 58.168249][ T431] should_fail+0x3c6/0x510 [ 58.172520][ T431] __should_failslab+0xa4/0xe0 [ 58.177103][ T431] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 58.182224][ T431] should_failslab+0x9/0x20 [ 58.186648][ T431] slab_pre_alloc_hook+0x37/0xd0 [ 58.191425][ T431] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 58.196540][ T431] kmem_cache_alloc+0x44/0x200 [ 58.201145][ T431] ext4_mb_new_blocks+0xd97/0x43f0 [ 58.206096][ T431] ? ext4_mb_pa_callback+0xd0/0xd0 [ 58.211039][ T431] ? ext4_xattr_ibody_set+0x390/0x390 [ 58.216245][ T431] ext4_new_meta_blocks+0x206/0x4f0 [ 58.221283][ T431] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 58.226747][ T431] ? __entry_find+0x398/0x3f0 [ 58.231261][ T431] ? __kmalloc+0x13a/0x270 [ 58.235515][ T431] ext4_xattr_block_set+0x233e/0x3760 [ 58.240725][ T431] ? __ext4_journal_ensure_credits+0x470/0x470 [ 58.246708][ T431] ? ext4_xattr_block_find+0x520/0x520 [ 58.252014][ T431] ? __xattr_check_inode+0x3d5/0x440 [ 58.257131][ T431] ext4_xattr_set_handle+0xdac/0x1560 [ 58.262334][ T431] ? sidtab_sid2str_put+0x2d7/0x640 [ 58.267370][ T431] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 58.272751][ T431] ? selinux_inode_init_security+0x52d/0x780 [ 58.278565][ T431] ? selinux_inode_free_security+0x210/0x210 [ 58.284380][ T431] ext4_initxattrs+0xa7/0x120 [ 58.288894][ T431] security_inode_init_security+0x252/0x390 [ 58.294642][ T431] ? ext4_init_security+0x40/0x40 [ 58.299479][ T431] ? security_dentry_create_files_as+0xc0/0xc0 [ 58.305470][ T431] ? fscrypt_set_context+0x439/0x740 [ 58.310593][ T431] ? __ext4_set_acl+0x5e0/0x5e0 [ 58.315278][ T431] ? prandom_u32+0x24c/0x290 [ 58.319701][ T431] ext4_init_security+0x34/0x40 [ 58.324391][ T431] __ext4_new_inode+0x31f0/0x40a0 [ 58.329254][ T431] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 58.334803][ T431] ? dquot_initialize+0x20/0x20 [ 58.339490][ T431] ? selinux_determine_inode_label+0x29c/0x3b0 [ 58.345495][ T431] ext4_symlink+0x4c3/0xed0 [ 58.349820][ T431] ? ext4_unlink+0x3f0/0x3f0 [ 58.354247][ T431] ? selinux_inode_symlink+0x22/0x30 [ 58.359369][ T431] ? security_inode_symlink+0xb8/0x100 [ 58.364665][ T431] vfs_symlink+0x29f/0x480 [ 58.368920][ T431] do_symlinkat+0x1ea/0x5a0 [ 58.373264][ T431] ? __check_object_size+0x2ec/0x3d0 [ 58.378374][ T431] ? vfs_symlink+0x480/0x480 [ 58.382799][ T431] ? getname_flags+0x1fd/0x520 [ 58.387403][ T431] __x64_sys_symlink+0x7e/0x90 [ 58.392015][ T431] do_syscall_64+0x3d/0xb0 [ 58.396253][ T431] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 58.401990][ T431] RIP: 0033:0x7f3575952459 [ 58.406241][ T431] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 58.425677][ T431] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 58.434009][ T431] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 58.441821][ T431] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [pid 431] symlink("./file0", "./file0" [pid 422] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [ 58.449719][ T431] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 58.457532][ T431] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 58.465425][ T431] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000010 [ 58.473359][ T431] [ 58.477201][ T430] CPU: 1 PID: 430 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 58.487272][ T430] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 58.497247][ T430] Call Trace: [ 58.500372][ T430] [ 58.503147][ T430] dump_stack_lvl+0x151/0x1b7 [ 58.507661][ T430] ? io_uring_drop_tctx_refs+0x190/0x190 [ 58.513133][ T430] ? wb_get_create+0xe0a/0xe40 [ 58.517729][ T430] ? sb_end_intwrite+0x120/0x120 [ 58.522515][ T430] dump_stack+0x15/0x17 [ 58.526508][ T430] should_fail+0x3c6/0x510 [ 58.530751][ T430] __should_failslab+0xa4/0xe0 [ 58.535361][ T430] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 58.540730][ T430] should_failslab+0x9/0x20 [ 58.545072][ T430] slab_pre_alloc_hook+0x37/0xd0 [ 58.549844][ T430] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 58.554963][ T430] kmem_cache_alloc+0x44/0x200 [ 58.559564][ T430] ext4_mb_new_blocks+0x4ed/0x43f0 [ 58.564516][ T430] ? ext4_mb_pa_callback+0xd0/0xd0 [ 58.569573][ T430] ? ext4_xattr_ibody_set+0x390/0x390 [ 58.574777][ T430] ext4_new_meta_blocks+0x206/0x4f0 [ 58.579805][ T430] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 58.585275][ T430] ? __entry_find+0x398/0x3f0 [ 58.589794][ T430] ? __kmalloc+0x13a/0x270 [ 58.594040][ T430] ext4_xattr_block_set+0x233e/0x3760 [ 58.599251][ T430] ? __ext4_journal_ensure_credits+0x470/0x470 [ 58.605238][ T430] ? ext4_xattr_block_find+0x520/0x520 [ 58.610530][ T430] ? __xattr_check_inode+0x3d5/0x440 [ 58.615658][ T430] ext4_xattr_set_handle+0xdac/0x1560 [ 58.620861][ T430] ? sidtab_sid2str_put+0x2d7/0x640 [ 58.625894][ T430] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 58.631276][ T430] ? selinux_inode_init_security+0x52d/0x780 [ 58.637088][ T430] ? selinux_inode_free_security+0x210/0x210 [ 58.642903][ T430] ext4_initxattrs+0xa7/0x120 [ 58.647417][ T430] security_inode_init_security+0x252/0x390 [ 58.653166][ T430] ? ext4_init_security+0x40/0x40 [ 58.658005][ T430] ? security_dentry_create_files_as+0xc0/0xc0 [ 58.663997][ T430] ? fscrypt_set_context+0x439/0x740 [ 58.669122][ T430] ? __ext4_set_acl+0x5e0/0x5e0 [ 58.673803][ T430] ? prandom_u32+0x24c/0x290 [ 58.678229][ T430] ext4_init_security+0x34/0x40 [ 58.682924][ T430] __ext4_new_inode+0x31f0/0x40a0 [ 58.687780][ T430] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 58.693331][ T430] ? dquot_initialize+0x20/0x20 [ 58.698015][ T430] ? selinux_determine_inode_label+0x29c/0x3b0 [ 58.704014][ T430] ext4_symlink+0x4c3/0xed0 [ 58.708527][ T430] ? ext4_unlink+0x3f0/0x3f0 [ 58.712948][ T430] ? selinux_inode_symlink+0x22/0x30 [ 58.718071][ T430] ? security_inode_symlink+0xb8/0x100 [ 58.723358][ T430] vfs_symlink+0x29f/0x480 [ 58.727616][ T430] do_symlinkat+0x1ea/0x5a0 [ 58.731951][ T430] ? __check_object_size+0x2ec/0x3d0 [ 58.737080][ T430] ? vfs_symlink+0x480/0x480 [ 58.741501][ T430] ? getname_flags+0x1fd/0x520 [ 58.746110][ T430] __x64_sys_symlink+0x7e/0x90 [ 58.750702][ T430] do_syscall_64+0x3d/0xb0 [ 58.755069][ T430] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 58.760786][ T430] RIP: 0033:0x7f3575952459 [ 58.765041][ T430] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 58.784486][ T430] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 58.792726][ T430] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 422] exit_group(0) = ? [pid 422] +++ exited with 0 +++ [pid 427] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 427] exit_group(0) = ? [pid 427] +++ exited with 0 +++ [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=422, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- [pid 426] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 423] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=427, si_uid=0, si_status=0, si_utime=0, si_stime=40} --- [pid 431] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 430] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 426] exit_group(0 [pid 423] exit_group(0 [pid 298] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW [pid 430] exit_group(0 [pid 426] <... exit_group resumed>) = ? [pid 423] <... exit_group resumed>) = ? [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 430] <... exit_group resumed>) = ? [pid 431] exit_group(0 [pid 430] +++ exited with 0 +++ [pid 426] +++ exited with 0 +++ [pid 423] +++ exited with 0 +++ [pid 298] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] umount2("./15", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... openat resumed>) = 3 [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=430, si_uid=0, si_status=0, si_utime=0, si_stime=16} --- [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=426, si_uid=0, si_status=0, si_utime=0, si_stime=27} --- [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(3, "", [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=423, si_uid=0, si_status=0, si_utime=0, si_stime=29} --- [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] openat(AT_FDCWD, "./15", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] getdents64(3, [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] <... openat resumed>) = 3 [pid 295] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... openat resumed>) = 3 [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(3, "", [pid 296] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(3, "", [pid 298] newfstatat(AT_FDCWD, "./16/binderfs", [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] getdents64(3, [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] unlink("./16/binderfs" [pid 297] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] getdents64(3, [pid 295] <... openat resumed>) = 3 [pid 298] <... unlink resumed>) = 0 [pid 297] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... openat resumed>) = 3 [pid 295] newfstatat(3, "", [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./16/binderfs", [pid 298] newfstatat(AT_FDCWD, "./16/file0", [pid 297] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] newfstatat(3, "", [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] umount2("./15/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] unlink("./16/binderfs" [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 431] <... exit_group resumed>) = ? [pid 298] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... unlink resumed>) = 0 [pid 295] getdents64(3, [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] getdents64(3, [pid 298] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 294] newfstatat(AT_FDCWD, "./15/binderfs", [pid 298] <... openat resumed>) = 4 [pid 297] newfstatat(AT_FDCWD, "./16/file0", [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] newfstatat(4, "", [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] unlink("./15/binderfs" [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./17/binderfs", [pid 298] getdents64(4, [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./16/binderfs", [pid 294] <... unlink resumed>) = 0 [pid 298] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] getdents64(4, [pid 297] <... openat resumed>) = 4 [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./17/binderfs" [pid 294] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] newfstatat(4, "", [pid 296] unlink("./16/binderfs" [pid 298] close(4 [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... unlink resumed>) = 0 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] <... close resumed>) = 0 [pid 297] getdents64(4, [pid 296] <... unlink resumed>) = 0 [pid 295] umount2("./17/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] newfstatat(AT_FDCWD, "./15/file0", [pid 298] rmdir("./16/file0" [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 431] +++ exited with 0 +++ [pid 298] <... rmdir resumed>) = 0 [pid 297] getdents64(4, [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./17/file0", [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] getdents64(3, [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] newfstatat(AT_FDCWD, "./16/file0", [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] umount2("./15/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 298] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] close(4 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] umount2("./17/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 298] close(3 [pid 297] <... close resumed>) = 0 [pid 296] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] openat(AT_FDCWD, "./15/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] <... close resumed>) = 0 [pid 297] rmdir("./16/file0" [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 298] rmdir("./16" [pid 297] <... rmdir resumed>) = 0 [pid 296] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] <... openat resumed>) = 4 [pid 294] <... openat resumed>) = 4 [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=431, si_uid=0, si_status=0, si_utime=0, si_stime=7} --- [pid 296] <... openat resumed>) = 4 [pid 295] newfstatat(4, "", [pid 294] newfstatat(4, "", [pid 298] <... rmdir resumed>) = 0 [pid 297] getdents64(3, [pid 296] newfstatat(4, "", [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] mkdir("./17", 0777 [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(4, [pid 294] getdents64(4, [pid 296] getdents64(4, [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] <... mkdir resumed>) = 0 [pid 297] close(3 [pid 296] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, [pid 294] getdents64(4, [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 297] <... close resumed>) = 0 [pid 296] getdents64(4, [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] close(4 [pid 294] close(4 [pid 296] close(4 [pid 295] <... close resumed>) = 0 [pid 294] <... close resumed>) = 0 [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] rmdir("./16" [pid 296] <... close resumed>) = 0 [pid 295] rmdir("./17/file0" [pid 294] rmdir("./15/file0" [pid 298] <... clone resumed>, child_tidptr=0x555555a60650) = 432 [pid 297] <... rmdir resumed>) = 0 [pid 296] rmdir("./16/file0" [pid 295] <... rmdir resumed>) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 293] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 297] mkdir("./17", 0777 [pid 296] <... rmdir resumed>) = 0 [pid 295] getdents64(3, [pid 294] getdents64(3, [pid 296] getdents64(3, [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] <... openat resumed>) = 3 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3 [pid 294] close(3 [pid 297] <... mkdir resumed>) = 0 [pid 296] close(3 [pid 295] <... close resumed>) = 0 [pid 294] <... close resumed>) = 0 [pid 293] newfstatat(3, "", [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] <... close resumed>) = 0 [pid 295] rmdir("./17" [pid 294] rmdir("./15"./strace-static-x86_64: Process 433 attached [pid 296] rmdir("./16" [pid 295] <... rmdir resumed>) = 0 [pid 294] <... rmdir resumed>) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 433] set_robust_list(0x555555a60660, 24 [pid 297] <... clone resumed>, child_tidptr=0x555555a60650) = 433 [pid 296] <... rmdir resumed>) = 0 [pid 295] mkdir("./18", 0777 [pid 294] mkdir("./16", 0777 [pid 293] getdents64(3, [pid 433] <... set_robust_list resumed>) = 0 [pid 296] mkdir("./17", 0777 [pid 295] <... mkdir resumed>) = 0 [pid 294] <... mkdir resumed>) = 0 [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 433] chdir("./17" [pid 296] <... mkdir resumed>) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 293] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW./strace-static-x86_64: Process 434 attached [pid 433] <... chdir resumed>) = 0 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) ./strace-static-x86_64: Process 435 attached [pid 434] set_robust_list(0x555555a60660, 24 [pid 433] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 434 [pid 294] <... clone resumed>, child_tidptr=0x555555a60650) = 435 [pid 293] newfstatat(AT_FDCWD, "./16/binderfs", [pid 296] <... clone resumed>, child_tidptr=0x555555a60650) = 436 [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] unlink("./16/binderfs" [pid 434] <... set_robust_list resumed>) = 0 [pid 433] <... prctl resumed>) = 0 [pid 293] <... unlink resumed>) = 0 [pid 433] setpgid(0, 0 [pid 293] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 434] chdir("./18" [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./16/file0", [pid 433] <... setpgid resumed>) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 ./strace-static-x86_64: Process 432 attached [pid 434] <... chdir resumed>) = 0 [pid 293] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 432] set_robust_list(0x555555a60660, 24 [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 432] <... set_robust_list resumed>) = 0 [pid 293] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 432] chdir("./17" [pid 293] <... openat resumed>) = 4 [pid 433] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 432] <... chdir resumed>) = 0 [pid 293] newfstatat(4, "", [pid 434] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 433] <... openat resumed>) = 3 [pid 432] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 293] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 432] <... prctl resumed>) = 0 [pid 293] getdents64(4, [pid 432] setpgid(0, 0 [pid 293] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 432] <... setpgid resumed>) = 0 [pid 293] getdents64(4, [pid 432] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 293] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 435] set_robust_list(0x555555a60660, 24 [pid 434] <... prctl resumed>) = 0 [pid 433] write(3, "1000", 4 [pid 432] <... openat resumed>) = 3 [pid 293] close(4 [pid 432] write(3, "1000", 4 [pid 293] <... close resumed>) = 0 [pid 432] <... write resumed>) = 4 [pid 293] rmdir("./16/file0"./strace-static-x86_64: Process 436 attached [pid 435] <... set_robust_list resumed>) = 0 [pid 434] setpgid(0, 0 [pid 433] <... write resumed>) = 4 [pid 432] close(3 [pid 293] <... rmdir resumed>) = 0 [pid 434] <... setpgid resumed>) = 0 [pid 433] close(3 [pid 432] <... close resumed>) = 0 [pid 293] getdents64(3, [pid 432] symlink("/dev/binderfs", "./binderfs" [pid 434] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 293] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 433] <... close resumed>) = 0 [pid 432] <... symlink resumed>) = 0 [pid 293] close(3 [pid 432] mkdir("./file0", 000 [pid 293] <... close resumed>) = 0 [pid 436] set_robust_list(0x555555a60660, 24 [pid 435] chdir("./16" [pid 434] <... openat resumed>) = 3 [pid 433] symlink("/dev/binderfs", "./binderfs" [pid 432] <... mkdir resumed>) = 0 [pid 293] rmdir("./16" [pid 435] <... chdir resumed>) = 0 [pid 436] <... set_robust_list resumed>) = 0 [pid 434] write(3, "1000", 4 [pid 433] <... symlink resumed>) = 0 [pid 432] open("./file0", O_RDONLY [pid 293] <... rmdir resumed>) = 0 [pid 434] <... write resumed>) = 4 [pid 433] mkdir("./file0", 000 [pid 432] <... open resumed>) = 3 [pid 293] mkdir("./17", 0777 [pid 434] close(3 [pid 433] <... mkdir resumed>) = 0 [pid 432] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 293] <... mkdir resumed>) = 0 [pid 435] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 434] <... close resumed>) = 0 [pid 433] open("./file0", O_RDONLY [pid 432] <... ioctl resumed>) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 437 attached [pid 436] chdir("./17" [pid 435] <... prctl resumed>) = 0 [pid 434] symlink("/dev/binderfs", "./binderfs" [pid 433] <... open resumed>) = 3 [pid 432] chdir("./file0") = 0 [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 437 [pid 434] <... symlink resumed>) = 0 [pid 432] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 435] setpgid(0, 0 [pid 434] mkdir("./file0", 000 [pid 433] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 432] <... add_key resumed>) = 868965829 [pid 437] set_robust_list(0x555555a60660, 24 [pid 436] <... chdir resumed>) = 0 [pid 432] open("./bus", O_RDONLY [pid 435] <... setpgid resumed>) = 0 [pid 432] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 432] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 432] write(4, "24", 2) = 2 [pid 434] <... mkdir resumed>) = 0 [ 58.800627][ T430] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 58.808436][ T430] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 58.816249][ T430] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 58.824062][ T430] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000010 [ 58.831875][ T430] [pid 432] symlink("./file0", "./file0" [pid 437] <... set_robust_list resumed>) = 0 [pid 436] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 435] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 434] open("./file0", O_RDONLY [pid 433] <... ioctl resumed>) = 0 [pid 437] chdir("./17" [pid 436] <... prctl resumed>) = 0 [pid 435] <... openat resumed>) = 3 [pid 434] <... open resumed>) = 3 [pid 433] chdir("./file0" [pid 435] write(3, "1000", 4 [pid 433] <... chdir resumed>) = 0 [pid 435] <... write resumed>) = 4 [pid 434] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 433] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 435] close(3 [pid 434] <... ioctl resumed>) = 0 [pid 433] <... add_key resumed>) = 93175385 [pid 435] <... close resumed>) = 0 [pid 434] chdir("./file0" [pid 433] open("./bus", O_RDONLY [pid 435] symlink("/dev/binderfs", "./binderfs" [pid 434] <... chdir resumed>) = 0 [pid 433] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 435] <... symlink resumed>) = 0 [pid 434] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 433] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 435] mkdir("./file0", 000 [pid 434] <... add_key resumed>) = 237096252 [pid 433] <... openat resumed>) = 4 [pid 435] <... mkdir resumed>) = 0 [pid 434] open("./bus", O_RDONLY [pid 433] write(4, "24", 2 [pid 435] open("./file0", O_RDONLY [pid 434] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 433] <... write resumed>) = 2 [pid 435] <... open resumed>) = 3 [pid 434] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 433] symlink("./file0", "./file0" [pid 435] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 434] <... openat resumed>) = 4 [pid 435] <... ioctl resumed>) = 0 [pid 434] write(4, "24", 2 [pid 435] chdir("./file0" [pid 434] <... write resumed>) = 2 [pid 436] setpgid(0, 0 [pid 435] <... chdir resumed>) = 0 [pid 434] symlink("./file0", "./file0" [pid 436] <... setpgid resumed>) = 0 [pid 435] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 436] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 435] <... add_key resumed>) = 219197442 [pid 436] <... openat resumed>) = 3 [ 58.868894][ T432] FAULT_INJECTION: forcing a failure. [ 58.868894][ T432] name failslab, interval 1, probability 0, space 0, times 0 [ 58.882116][ T432] CPU: 1 PID: 432 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 58.887780][ T433] FAULT_INJECTION: forcing a failure. [ 58.887780][ T433] name failslab, interval 1, probability 0, space 0, times 0 [ 58.892189][ T432] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 58.892203][ T432] Call Trace: [pid 435] open("./bus", O_RDONLY [pid 436] write(3, "1000", 4 [pid 435] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 436] <... write resumed>) = 4 [pid 435] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 436] close(3 [pid 435] <... openat resumed>) = 4 [pid 436] <... close resumed>) = 0 [pid 435] write(4, "24", 2 [pid 436] symlink("/dev/binderfs", "./binderfs" [pid 435] <... write resumed>) = 2 [pid 436] <... symlink resumed>) = 0 [pid 435] symlink("./file0", "./file0" [pid 436] mkdir("./file0", 000) = 0 [pid 436] open("./file0", O_RDONLY) = 3 [pid 436] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 436] chdir("./file0") = 0 [pid 436] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 324092536 [pid 436] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 436] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 436] write(4, "24", 2) = 2 [pid 436] symlink("./file0", "./file0" [pid 437] <... chdir resumed>) = 0 [pid 437] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 437] setpgid(0, 0) = 0 [pid 437] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 437] write(3, "1000", 4) = 4 [pid 437] close(3) = 0 [pid 437] symlink("/dev/binderfs", "./binderfs") = 0 [pid 437] mkdir("./file0", 000) = 0 [pid 437] open("./file0", O_RDONLY) = 3 [pid 437] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 437] chdir("./file0") = 0 [pid 437] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 587048676 [pid 437] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 437] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 437] write(4, "24", 2) = 2 [ 58.907079][ T434] FAULT_INJECTION: forcing a failure. [ 58.907079][ T434] name failslab, interval 1, probability 0, space 0, times 0 [ 58.914493][ T432] [ 58.914504][ T432] dump_stack_lvl+0x151/0x1b7 [ 58.914532][ T432] ? io_uring_drop_tctx_refs+0x190/0x190 [ 58.922836][ T435] FAULT_INJECTION: forcing a failure. [ 58.922836][ T435] name failslab, interval 1, probability 0, space 0, times 0 [ 58.930029][ T432] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 58.930061][ T432] dump_stack+0x15/0x17 [ 58.940607][ T436] FAULT_INJECTION: forcing a failure. [ 58.940607][ T436] name fail_page_alloc, interval 1, probability 0, space 0, times 0 [ 58.942788][ T432] should_fail+0x3c6/0x510 [ 58.942815][ T432] __should_failslab+0xa4/0xe0 [ 58.967572][ T437] FAULT_INJECTION: forcing a failure. [ 58.967572][ T437] name failslab, interval 1, probability 0, space 0, times 0 [ 58.977938][ T432] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 58.977969][ T432] should_failslab+0x9/0x20 [ 59.008665][ T432] slab_pre_alloc_hook+0x37/0xd0 [ 59.013441][ T432] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 59.018565][ T432] kmem_cache_alloc+0x44/0x200 [ 59.023161][ T432] ext4_mb_new_blocks+0xd97/0x43f0 [ 59.028110][ T432] ? ext4_mb_pa_callback+0xd0/0xd0 [ 59.033054][ T432] ? ext4_xattr_ibody_set+0x390/0x390 [ 59.038261][ T432] ext4_new_meta_blocks+0x206/0x4f0 [ 59.043294][ T432] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 59.048762][ T432] ? __entry_find+0x398/0x3f0 [ 59.053273][ T432] ? __kmalloc+0x13a/0x270 [ 59.057531][ T432] ext4_xattr_block_set+0x233e/0x3760 [ 59.062736][ T432] ? __ext4_journal_ensure_credits+0x470/0x470 [ 59.068727][ T432] ? ext4_xattr_block_find+0x520/0x520 [ 59.074021][ T432] ? __xattr_check_inode+0x3d5/0x440 [ 59.079152][ T432] ext4_xattr_set_handle+0xdac/0x1560 [ 59.084348][ T432] ? sidtab_sid2str_put+0x2d7/0x640 [ 59.089387][ T432] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 59.094765][ T432] ? selinux_inode_init_security+0x52d/0x780 [ 59.100666][ T432] ? selinux_inode_free_security+0x210/0x210 [ 59.106482][ T432] ext4_initxattrs+0xa7/0x120 [ 59.110992][ T432] security_inode_init_security+0x252/0x390 [ 59.116729][ T432] ? ext4_init_security+0x40/0x40 [ 59.121593][ T432] ? security_dentry_create_files_as+0xc0/0xc0 [ 59.127570][ T432] ? fscrypt_set_context+0x439/0x740 [ 59.132691][ T432] ? __ext4_set_acl+0x5e0/0x5e0 [ 59.137378][ T432] ? prandom_u32+0x24c/0x290 [ 59.141803][ T432] ext4_init_security+0x34/0x40 [ 59.146491][ T432] __ext4_new_inode+0x31f0/0x40a0 [ 59.151355][ T432] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 59.156907][ T432] ? dquot_initialize+0x20/0x20 [ 59.161592][ T432] ? selinux_determine_inode_label+0x29c/0x3b0 [ 59.167581][ T432] ext4_symlink+0x4c3/0xed0 [ 59.171925][ T432] ? ext4_unlink+0x3f0/0x3f0 [ 59.176345][ T432] ? selinux_inode_symlink+0x22/0x30 [ 59.181470][ T432] ? security_inode_symlink+0xb8/0x100 [ 59.186765][ T432] vfs_symlink+0x29f/0x480 [ 59.191016][ T432] do_symlinkat+0x1ea/0x5a0 [ 59.195357][ T432] ? __check_object_size+0x2ec/0x3d0 [ 59.200475][ T432] ? vfs_symlink+0x480/0x480 [ 59.204903][ T432] ? getname_flags+0x1fd/0x520 [ 59.209503][ T432] __x64_sys_symlink+0x7e/0x90 [ 59.214101][ T432] do_syscall_64+0x3d/0xb0 [ 59.218355][ T432] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 59.224085][ T432] RIP: 0033:0x7f3575952459 [ 59.228338][ T432] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 59.247784][ T432] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 59.256024][ T432] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 59.263835][ T432] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 59.271645][ T432] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 59.279458][ T432] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 59.287273][ T432] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000011 [ 59.295187][ T432] [ 59.298043][ T434] CPU: 0 PID: 434 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 59.308200][ T434] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 59.318095][ T434] Call Trace: [ 59.321219][ T434] [ 59.323996][ T434] dump_stack_lvl+0x151/0x1b7 [ 59.328506][ T434] ? io_uring_drop_tctx_refs+0x190/0x190 [ 59.333976][ T434] ? wb_get_create+0xe0a/0xe40 [ 59.338576][ T434] ? sb_end_intwrite+0x120/0x120 [ 59.343351][ T434] dump_stack+0x15/0x17 [ 59.347339][ T434] should_fail+0x3c6/0x510 [ 59.351595][ T434] __should_failslab+0xa4/0xe0 [ 59.356195][ T434] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 59.361315][ T434] should_failslab+0x9/0x20 [ 59.365654][ T434] slab_pre_alloc_hook+0x37/0xd0 [ 59.370431][ T434] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 59.375549][ T434] kmem_cache_alloc+0x44/0x200 [ 59.380146][ T434] ext4_mb_new_blocks+0x4ed/0x43f0 [ 59.385114][ T434] ? ext4_mb_pa_callback+0xd0/0xd0 [ 59.390040][ T434] ? ext4_xattr_ibody_set+0x390/0x390 [ 59.395257][ T434] ext4_new_meta_blocks+0x206/0x4f0 [ 59.400287][ T434] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 59.405752][ T434] ? __entry_find+0x398/0x3f0 [ 59.410268][ T434] ? __kmalloc+0x13a/0x270 [ 59.414519][ T434] ext4_xattr_block_set+0x233e/0x3760 [ 59.419727][ T434] ? __ext4_journal_ensure_credits+0x470/0x470 [ 59.425713][ T434] ? ext4_xattr_block_find+0x520/0x520 [ 59.431011][ T434] ? __xattr_check_inode+0x3d5/0x440 [ 59.436133][ T434] ext4_xattr_set_handle+0xdac/0x1560 [ 59.441335][ T434] ? sidtab_sid2str_put+0x2d7/0x640 [ 59.446374][ T434] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 59.451753][ T434] ? selinux_inode_init_security+0x52d/0x780 [ 59.457570][ T434] ? selinux_inode_free_security+0x210/0x210 [ 59.463380][ T434] ext4_initxattrs+0xa7/0x120 [ 59.467894][ T434] security_inode_init_security+0x252/0x390 [ 59.473623][ T434] ? ext4_init_security+0x40/0x40 [ 59.478484][ T434] ? security_dentry_create_files_as+0xc0/0xc0 [ 59.484471][ T434] ? fscrypt_set_context+0x439/0x740 [ 59.489593][ T434] ? __ext4_set_acl+0x5e0/0x5e0 [ 59.494285][ T434] ? prandom_u32+0x24c/0x290 [ 59.498708][ T434] ext4_init_security+0x34/0x40 [ 59.503396][ T434] __ext4_new_inode+0x31f0/0x40a0 [ 59.508256][ T434] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 59.513809][ T434] ? dquot_initialize+0x20/0x20 [ 59.518494][ T434] ? selinux_determine_inode_label+0x29c/0x3b0 [ 59.524488][ T434] ext4_symlink+0x4c3/0xed0 [ 59.528824][ T434] ? ext4_unlink+0x3f0/0x3f0 [ 59.533253][ T434] ? selinux_inode_symlink+0x22/0x30 [ 59.538371][ T434] ? security_inode_symlink+0xb8/0x100 [ 59.543665][ T434] vfs_symlink+0x29f/0x480 [ 59.548101][ T434] do_symlinkat+0x1ea/0x5a0 [ 59.552435][ T434] ? __check_object_size+0x2ec/0x3d0 [ 59.557642][ T434] ? vfs_symlink+0x480/0x480 [ 59.562067][ T434] ? getname_flags+0x1fd/0x520 [ 59.566673][ T434] __x64_sys_symlink+0x7e/0x90 [ 59.571372][ T434] do_syscall_64+0x3d/0xb0 [ 59.575626][ T434] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 59.581484][ T434] RIP: 0033:0x7f3575952459 [ 59.585722][ T434] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 59.605345][ T434] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 59.613599][ T434] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 59.621407][ T434] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 59.629216][ T434] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 59.637141][ T434] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 59.644947][ T434] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000012 [ 59.652762][ T434] [ 59.656129][ T437] CPU: 1 PID: 437 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 59.666199][ T437] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 59.676095][ T437] Call Trace: [ 59.679215][ T437] [ 59.681998][ T437] dump_stack_lvl+0x151/0x1b7 [ 59.686504][ T437] ? io_uring_drop_tctx_refs+0x190/0x190 [ 59.691973][ T437] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 59.697718][ T437] dump_stack+0x15/0x17 [ 59.701692][ T437] should_fail+0x3c6/0x510 [ 59.706033][ T437] __should_failslab+0xa4/0xe0 [ 59.710635][ T437] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 59.715756][ T437] should_failslab+0x9/0x20 [ 59.720095][ T437] slab_pre_alloc_hook+0x37/0xd0 [ 59.724866][ T437] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 59.729987][ T437] kmem_cache_alloc+0x44/0x200 [ 59.734587][ T437] ext4_mb_new_blocks+0xd97/0x43f0 [ 59.739548][ T437] ? ext4_mb_pa_callback+0xd0/0xd0 [ 59.744492][ T437] ? ext4_xattr_ibody_set+0x390/0x390 [ 59.749699][ T437] ext4_new_meta_blocks+0x206/0x4f0 [ 59.754728][ T437] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 59.760202][ T437] ? __entry_find+0x398/0x3f0 [ 59.764708][ T437] ? __kmalloc+0x13a/0x270 [ 59.768959][ T437] ext4_xattr_block_set+0x233e/0x3760 [ 59.774256][ T437] ? __ext4_journal_ensure_credits+0x470/0x470 [ 59.780242][ T437] ? ext4_xattr_block_find+0x520/0x520 [ 59.785547][ T437] ? __xattr_check_inode+0x3d5/0x440 [ 59.790661][ T437] ext4_xattr_set_handle+0xdac/0x1560 [ 59.795866][ T437] ? sidtab_sid2str_put+0x2d7/0x640 [ 59.800907][ T437] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 59.806280][ T437] ? selinux_inode_init_security+0x52d/0x780 [ 59.812098][ T437] ? selinux_inode_free_security+0x210/0x210 [ 59.817917][ T437] ext4_initxattrs+0xa7/0x120 [ 59.822428][ T437] security_inode_init_security+0x252/0x390 [ 59.828158][ T437] ? ext4_init_security+0x40/0x40 [ 59.833013][ T437] ? security_dentry_create_files_as+0xc0/0xc0 [ 59.839003][ T437] ? fscrypt_set_context+0x439/0x740 [ 59.844121][ T437] ? __ext4_set_acl+0x5e0/0x5e0 [ 59.848810][ T437] ? prandom_u32+0x24c/0x290 [ 59.853238][ T437] ext4_init_security+0x34/0x40 [ 59.857924][ T437] __ext4_new_inode+0x31f0/0x40a0 [ 59.862807][ T437] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 59.868351][ T437] ? dquot_initialize+0x20/0x20 [ 59.873036][ T437] ? selinux_determine_inode_label+0x29c/0x3b0 [ 59.879014][ T437] ext4_symlink+0x4c3/0xed0 [ 59.883371][ T437] ? ext4_unlink+0x3f0/0x3f0 [ 59.887778][ T437] ? selinux_inode_symlink+0x22/0x30 [ 59.892901][ T437] ? security_inode_symlink+0xb8/0x100 [ 59.898211][ T437] vfs_symlink+0x29f/0x480 [ 59.902449][ T437] do_symlinkat+0x1ea/0x5a0 [ 59.906785][ T437] ? __check_object_size+0x2ec/0x3d0 [ 59.911913][ T437] ? vfs_symlink+0x480/0x480 [ 59.916333][ T437] ? getname_flags+0x1fd/0x520 [ 59.920945][ T437] __x64_sys_symlink+0x7e/0x90 [ 59.925535][ T437] do_syscall_64+0x3d/0xb0 [ 59.929784][ T437] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 59.935511][ T437] RIP: 0033:0x7f3575952459 [ 59.939769][ T437] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 59.959209][ T437] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 59.967453][ T437] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 59.975266][ T437] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 59.983089][ T437] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 59.990887][ T437] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 59.998706][ T437] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000011 [ 60.006515][ T437] [ 60.009376][ T436] CPU: 0 PID: 436 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 60.019444][ T436] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 60.029446][ T436] Call Trace: [ 60.032796][ T436] [ 60.035554][ T436] dump_stack_lvl+0x151/0x1b7 [ 60.040068][ T436] ? io_uring_drop_tctx_refs+0x190/0x190 [ 60.045539][ T436] dump_stack+0x15/0x17 [ 60.049529][ T436] should_fail+0x3c6/0x510 [ 60.053785][ T436] should_fail_alloc_page+0x5a/0x80 [ 60.058815][ T436] prepare_alloc_pages+0x15c/0x700 [ 60.063851][ T436] ? __alloc_pages_bulk+0xe40/0xe40 [ 60.068881][ T436] ? __kasan_check_write+0x14/0x20 [ 60.073831][ T436] __alloc_pages+0x18c/0x8f0 [ 60.078256][ T436] ? prep_new_page+0x110/0x110 [ 60.082856][ T436] ? jbd2_journal_stop+0x143/0xc70 [ 60.087803][ T436] ? _raw_spin_unlock+0x4d/0x70 [ 60.092492][ T436] ? inode_add_bytes+0x118/0x160 [ 60.097266][ T436] new_slab+0x9a/0x4e0 [ 60.101170][ T436] ___slab_alloc+0x39e/0x830 [ 60.105597][ T436] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 60.110717][ T436] ? _raw_spin_lock+0xa4/0x1b0 [ 60.115316][ T436] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 60.120435][ T436] __slab_alloc+0x4a/0x90 [ 60.124605][ T436] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 60.129726][ T436] kmem_cache_alloc+0x134/0x200 [ 60.134412][ T436] ext4_mb_new_blocks+0x4ed/0x43f0 [ 60.139360][ T436] ? ext4_mb_pa_callback+0xd0/0xd0 [ 60.144303][ T436] ? ext4_xattr_ibody_set+0x390/0x390 [ 60.149519][ T436] ext4_new_meta_blocks+0x206/0x4f0 [ 60.154546][ T436] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 60.160016][ T436] ? __entry_find+0x398/0x3f0 [ 60.164530][ T436] ? __kmalloc+0x13a/0x270 [ 60.168781][ T436] ext4_xattr_block_set+0x233e/0x3760 [ 60.173990][ T436] ? __ext4_journal_ensure_credits+0x470/0x470 [ 60.179979][ T436] ? ext4_xattr_block_find+0x520/0x520 [ 60.185270][ T436] ? __xattr_check_inode+0x3d5/0x440 [ 60.190394][ T436] ext4_xattr_set_handle+0xdac/0x1560 [ 60.195597][ T436] ? sidtab_sid2str_put+0x2d7/0x640 [ 60.200637][ T436] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 60.206017][ T436] ? selinux_inode_init_security+0x52d/0x780 [ 60.211830][ T436] ? selinux_inode_free_security+0x210/0x210 [ 60.217645][ T436] ext4_initxattrs+0xa7/0x120 [ 60.222158][ T436] security_inode_init_security+0x252/0x390 [ 60.227887][ T436] ? ext4_init_security+0x40/0x40 [ 60.232748][ T436] ? security_dentry_create_files_as+0xc0/0xc0 [ 60.238736][ T436] ? fscrypt_set_context+0x439/0x740 [ 60.243857][ T436] ? __ext4_set_acl+0x5e0/0x5e0 [ 60.248543][ T436] ? prandom_u32+0x24c/0x290 [ 60.252973][ T436] ext4_init_security+0x34/0x40 [ 60.257657][ T436] __ext4_new_inode+0x31f0/0x40a0 [ 60.262521][ T436] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 60.268074][ T436] ? dquot_initialize+0x20/0x20 [ 60.272757][ T436] ? selinux_determine_inode_label+0x29c/0x3b0 [ 60.278747][ T436] ext4_symlink+0x4c3/0xed0 [ 60.283089][ T436] ? ext4_unlink+0x3f0/0x3f0 [ 60.287515][ T436] ? selinux_inode_symlink+0x22/0x30 [ 60.292635][ T436] ? security_inode_symlink+0xb8/0x100 [ 60.297928][ T436] vfs_symlink+0x29f/0x480 [ 60.302200][ T436] do_symlinkat+0x1ea/0x5a0 [ 60.306523][ T436] ? __check_object_size+0x2ec/0x3d0 [ 60.311655][ T436] ? vfs_symlink+0x480/0x480 [ 60.316072][ T436] ? getname_flags+0x1fd/0x520 [ 60.320668][ T436] __x64_sys_symlink+0x7e/0x90 [ 60.325269][ T436] do_syscall_64+0x3d/0xb0 [ 60.329522][ T436] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 60.335250][ T436] RIP: 0033:0x7f3575952459 [ 60.339505][ T436] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 60.358945][ T436] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 60.367186][ T436] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [pid 437] symlink("./file0", "./file0" [pid 434] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 434] exit_group(0) = ? [pid 434] +++ exited with 0 +++ [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=434, si_uid=0, si_status=0, si_utime=0, si_stime=13} --- [pid 295] restart_syscall(<... resuming interrupted clone ...> [pid 437] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 437] exit_group(0) = ? [pid 295] <... restart_syscall resumed>) = 0 [pid 295] umount2("./18", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./18/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./18/binderfs") = 0 [pid 295] umount2("./18/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./18/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] umount2("./18/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 295] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] close(4) = 0 [pid 295] rmdir("./18/file0") = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3) = 0 [pid 295] rmdir("./18") = 0 [pid 295] mkdir("./19", 0777) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 439 [pid 437] +++ exited with 0 +++ ./strace-static-x86_64: Process 439 attached [pid 293] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=437, si_uid=0, si_status=0, si_utime=0, si_stime=7} --- [pid 439] set_robust_list(0x555555a60660, 24) = 0 [pid 293] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 293] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(3, [pid 439] chdir("./19" [pid 293] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 293] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./17/binderfs", [pid 439] <... chdir resumed>) = 0 [pid 293] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] unlink("./17/binderfs" [pid 439] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 293] <... unlink resumed>) = 0 [pid 293] umount2("./17/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 439] <... prctl resumed>) = 0 [pid 293] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 293] newfstatat(AT_FDCWD, "./17/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 293] umount2("./17/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 439] setpgid(0, 0 [pid 293] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 439] <... setpgid resumed>) = 0 [pid 293] <... openat resumed>) = 4 [pid 293] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 293] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 293] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 293] close(4 [pid 439] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 293] <... close resumed>) = 0 [pid 293] rmdir("./17/file0" [pid 439] <... openat resumed>) = 3 [pid 439] write(3, "1000", 4) = 4 [pid 439] close(3) = 0 [pid 439] symlink("/dev/binderfs", "./binderfs" [pid 293] <... rmdir resumed>) = 0 [pid 293] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 293] close(3) = 0 [pid 293] rmdir("./17" [pid 439] <... symlink resumed>) = 0 [pid 439] mkdir("./file0", 000 [pid 293] <... rmdir resumed>) = 0 [pid 293] mkdir("./18", 0777 [pid 439] <... mkdir resumed>) = 0 [pid 439] open("./file0", O_RDONLY) = 3 [pid 439] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 293] <... mkdir resumed>) = 0 [pid 293] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 439] <... ioctl resumed>) = 0 [pid 439] chdir("./file0") = 0 [pid 439] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 479070758 [ 60.374998][ T436] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 60.382821][ T436] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 60.390796][ T436] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 60.398606][ T436] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000011 [ 60.406421][ T436] [ 60.424372][ T435] CPU: 0 PID: 435 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 60.425786][ T439] FAULT_INJECTION: forcing a failure. [ 60.425786][ T439] name failslab, interval 1, probability 0, space 0, times 0 [ 60.434448][ T435] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 60.434463][ T435] Call Trace: [ 60.434469][ T435] [ 60.434476][ T435] dump_stack_lvl+0x151/0x1b7 [ 60.434503][ T435] ? io_uring_drop_tctx_refs+0x190/0x190 [ 60.434526][ T435] ? wb_get_create+0xe0a/0xe40 [ 60.434547][ T435] ? sb_end_intwrite+0x120/0x120 [ 60.482214][ T435] dump_stack+0x15/0x17 [ 60.486183][ T435] should_fail+0x3c6/0x510 [ 60.490429][ T435] __should_failslab+0xa4/0xe0 [ 60.495031][ T435] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 60.500149][ T435] should_failslab+0x9/0x20 [ 60.504493][ T435] slab_pre_alloc_hook+0x37/0xd0 [ 60.509266][ T435] ? ext4_mb_new_blocks+0x4ed/0x43f0 [ 60.514383][ T435] kmem_cache_alloc+0x44/0x200 [ 60.518983][ T435] ext4_mb_new_blocks+0x4ed/0x43f0 [ 60.523932][ T435] ? ext4_mb_pa_callback+0xd0/0xd0 [ 60.528876][ T435] ? ext4_xattr_ibody_set+0x390/0x390 [ 60.534089][ T435] ext4_new_meta_blocks+0x206/0x4f0 [ 60.539119][ T435] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 60.544587][ T435] ? __entry_find+0x398/0x3f0 [ 60.549116][ T435] ? __kmalloc+0x13a/0x270 [ 60.553358][ T435] ext4_xattr_block_set+0x233e/0x3760 [ 60.558569][ T435] ? __ext4_journal_ensure_credits+0x470/0x470 [ 60.564637][ T435] ? ext4_xattr_block_find+0x520/0x520 [ 60.569931][ T435] ? __xattr_check_inode+0x3d5/0x440 [ 60.575079][ T435] ext4_xattr_set_handle+0xdac/0x1560 [ 60.580260][ T435] ? sidtab_sid2str_put+0x2d7/0x640 [ 60.585298][ T435] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 60.590681][ T435] ? selinux_inode_init_security+0x52d/0x780 [ 60.596494][ T435] ? selinux_inode_free_security+0x210/0x210 [ 60.602313][ T435] ext4_initxattrs+0xa7/0x120 [ 60.606821][ T435] security_inode_init_security+0x252/0x390 [ 60.612550][ T435] ? ext4_init_security+0x40/0x40 [ 60.617844][ T435] ? security_dentry_create_files_as+0xc0/0xc0 [ 60.623832][ T435] ? fscrypt_set_context+0x439/0x740 [ 60.628954][ T435] ? __ext4_set_acl+0x5e0/0x5e0 [ 60.633638][ T435] ? prandom_u32+0x24c/0x290 [ 60.638070][ T435] ext4_init_security+0x34/0x40 [ 60.642752][ T435] __ext4_new_inode+0x31f0/0x40a0 [ 60.647626][ T435] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 60.653174][ T435] ? dquot_initialize+0x20/0x20 [ 60.657855][ T435] ? selinux_determine_inode_label+0x29c/0x3b0 [ 60.663850][ T435] ext4_symlink+0x4c3/0xed0 [ 60.668183][ T435] ? ext4_unlink+0x3f0/0x3f0 [ 60.672618][ T435] ? selinux_inode_symlink+0x22/0x30 [ 60.677728][ T435] ? security_inode_symlink+0xb8/0x100 [ 60.683022][ T435] vfs_symlink+0x29f/0x480 [ 60.687277][ T435] do_symlinkat+0x1ea/0x5a0 [ 60.691624][ T435] ? __check_object_size+0x2ec/0x3d0 [ 60.696737][ T435] ? vfs_symlink+0x480/0x480 [ 60.701172][ T435] ? getname_flags+0x1fd/0x520 [ 60.705768][ T435] __x64_sys_symlink+0x7e/0x90 [ 60.710365][ T435] do_syscall_64+0x3d/0xb0 [ 60.714619][ T435] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 60.720346][ T435] RIP: 0033:0x7f3575952459 [ 60.724598][ T435] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 60.744037][ T435] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 60.752282][ T435] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 60.760189][ T435] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 60.768009][ T435] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [pid 439] open("./bus", O_RDONLY [pid 293] <... clone resumed>, child_tidptr=0x555555a60650) = 440 [pid 439] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 439] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 439] write(4, "24", 2) = 2 [ 60.775902][ T435] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 60.783821][ T435] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000010 [ 60.791637][ T435] [ 60.794498][ T433] CPU: 1 PID: 433 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 60.804564][ T433] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 60.814457][ T433] Call Trace: [ 60.817581][ T433] [ 60.820358][ T433] dump_stack_lvl+0x151/0x1b7 [ 60.824872][ T433] ? io_uring_drop_tctx_refs+0x190/0x190 [ 60.830339][ T433] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 60.836159][ T433] dump_stack+0x15/0x17 [ 60.840154][ T433] should_fail+0x3c6/0x510 [ 60.844402][ T433] __should_failslab+0xa4/0xe0 [ 60.849002][ T433] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 60.854127][ T433] should_failslab+0x9/0x20 [ 60.858459][ T433] slab_pre_alloc_hook+0x37/0xd0 [ 60.863232][ T433] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 60.868356][ T433] kmem_cache_alloc+0x44/0x200 [ 60.872956][ T433] ext4_mb_new_blocks+0xd97/0x43f0 [ 60.877903][ T433] ? ext4_mb_pa_callback+0xd0/0xd0 [ 60.882849][ T433] ? ext4_xattr_ibody_set+0x390/0x390 [ 60.888057][ T433] ext4_new_meta_blocks+0x206/0x4f0 [ 60.893266][ T433] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 60.898734][ T433] ? __entry_find+0x398/0x3f0 [ 60.903247][ T433] ? __kmalloc+0x13a/0x270 [ 60.907497][ T433] ext4_xattr_block_set+0x233e/0x3760 [ 60.912706][ T433] ? __ext4_journal_ensure_credits+0x470/0x470 [ 60.918695][ T433] ? ext4_xattr_block_find+0x520/0x520 [ 60.923985][ T433] ? __xattr_check_inode+0x3d5/0x440 [ 60.929110][ T433] ext4_xattr_set_handle+0xdac/0x1560 [ 60.934316][ T433] ? sidtab_sid2str_put+0x2d7/0x640 [ 60.939350][ T433] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 60.944734][ T433] ? selinux_inode_init_security+0x52d/0x780 [ 60.950546][ T433] ? selinux_inode_free_security+0x210/0x210 [ 60.956361][ T433] ext4_initxattrs+0xa7/0x120 [ 60.960878][ T433] security_inode_init_security+0x252/0x390 [ 60.966629][ T433] ? ext4_init_security+0x40/0x40 [ 60.971472][ T433] ? security_dentry_create_files_as+0xc0/0xc0 [ 60.977458][ T433] ? fscrypt_set_context+0x439/0x740 [ 60.982572][ T433] ? __ext4_set_acl+0x5e0/0x5e0 [ 60.987258][ T433] ? prandom_u32+0x24c/0x290 [ 60.991687][ T433] ext4_init_security+0x34/0x40 [ 60.996372][ T433] __ext4_new_inode+0x31f0/0x40a0 [ 61.001235][ T433] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 61.006785][ T433] ? dquot_initialize+0x20/0x20 [ 61.011563][ T433] ? selinux_determine_inode_label+0x29c/0x3b0 [ 61.017640][ T433] ext4_symlink+0x4c3/0xed0 [ 61.022154][ T433] ? ext4_unlink+0x3f0/0x3f0 [ 61.026584][ T433] ? selinux_inode_symlink+0x22/0x30 [ 61.031696][ T433] ? security_inode_symlink+0xb8/0x100 [ 61.036994][ T433] vfs_symlink+0x29f/0x480 [ 61.041269][ T433] do_symlinkat+0x1ea/0x5a0 [ 61.045605][ T433] ? __check_object_size+0x2ec/0x3d0 [ 61.050708][ T433] ? vfs_symlink+0x480/0x480 [ 61.055133][ T433] ? getname_flags+0x1fd/0x520 [ 61.059732][ T433] __x64_sys_symlink+0x7e/0x90 [ 61.064346][ T433] do_syscall_64+0x3d/0xb0 [ 61.068761][ T433] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 61.074485][ T433] RIP: 0033:0x7f3575952459 [ 61.078830][ T433] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 61.098387][ T433] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 61.106632][ T433] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 61.114442][ T433] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [pid 439] symlink("./file0", "./file0"./strace-static-x86_64: Process 440 attached [pid 436] <... symlink resumed>) = 0 [pid 435] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 440] set_robust_list(0x555555a60660, 24 [pid 436] exit_group(0 [pid 435] exit_group(0 [pid 440] <... set_robust_list resumed>) = 0 [pid 436] <... exit_group resumed>) = ? [pid 435] <... exit_group resumed>) = ? [pid 440] chdir("./18" [pid 436] +++ exited with 0 +++ [pid 435] +++ exited with 0 +++ [pid 440] <... chdir resumed>) = 0 [pid 440] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=436, si_uid=0, si_status=0, si_utime=0, si_stime=16} --- [pid 440] <... prctl resumed>) = 0 [pid 296] restart_syscall(<... resuming interrupted clone ...> [pid 440] setpgid(0, 0) = 0 [pid 440] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 440] write(3, "1000", 4) = 4 [pid 440] close(3) = 0 [pid 440] symlink("/dev/binderfs", "./binderfs") = 0 [pid 296] <... restart_syscall resumed>) = 0 [pid 440] mkdir("./file0", 000) = 0 [pid 294] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=435, si_uid=0, si_status=0, si_utime=0, si_stime=16} --- [pid 440] open("./file0", O_RDONLY [pid 296] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW [pid 440] <... open resumed>) = 3 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 440] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 296] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] umount2("./16", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... openat resumed>) = 3 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(3, "", [pid 294] openat(AT_FDCWD, "./16", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] <... openat resumed>) = 3 [pid 296] getdents64(3, [pid 294] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 61.122251][ T433] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 61.130066][ T433] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 61.137878][ T433] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000011 [ 61.145689][ T433] [ 61.149112][ T439] CPU: 1 PID: 439 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 61.159175][ T439] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 61.169073][ T439] Call Trace: [ 61.172188][ T439] [ 61.174970][ T439] dump_stack_lvl+0x151/0x1b7 [ 61.179484][ T439] ? io_uring_drop_tctx_refs+0x190/0x190 [ 61.185056][ T439] ? ext4_mb_initialize_context+0x4c1/0xc60 [ 61.190764][ T439] dump_stack+0x15/0x17 [ 61.194754][ T439] should_fail+0x3c6/0x510 [ 61.199009][ T439] __should_failslab+0xa4/0xe0 [ 61.203611][ T439] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 61.208731][ T439] should_failslab+0x9/0x20 [ 61.213072][ T439] slab_pre_alloc_hook+0x37/0xd0 [ 61.217842][ T439] ? ext4_mb_new_blocks+0xd97/0x43f0 [ 61.222963][ T439] kmem_cache_alloc+0x44/0x200 [ 61.227564][ T439] ext4_mb_new_blocks+0xd97/0x43f0 [ 61.232516][ T439] ? ext4_mb_pa_callback+0xd0/0xd0 [ 61.237458][ T439] ? ext4_xattr_ibody_set+0x390/0x390 [ 61.242664][ T439] ext4_new_meta_blocks+0x206/0x4f0 [ 61.247700][ T439] ? ext4_should_retry_alloc+0x2d0/0x2d0 [ 61.253168][ T439] ? __entry_find+0x398/0x3f0 [ 61.257682][ T439] ? __kmalloc+0x13a/0x270 [ 61.261934][ T439] ext4_xattr_block_set+0x233e/0x3760 [ 61.267142][ T439] ? __ext4_journal_ensure_credits+0x470/0x470 [ 61.273128][ T439] ? ext4_xattr_block_find+0x520/0x520 [ 61.278425][ T439] ? __xattr_check_inode+0x3d5/0x440 [ 61.283546][ T439] ext4_xattr_set_handle+0xdac/0x1560 [ 61.288752][ T439] ? sidtab_sid2str_put+0x2d7/0x640 [ 61.293787][ T439] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 61.299167][ T439] ? selinux_inode_init_security+0x52d/0x780 [ 61.304983][ T439] ? selinux_inode_free_security+0x210/0x210 [ 61.310807][ T439] ext4_initxattrs+0xa7/0x120 [ 61.315312][ T439] security_inode_init_security+0x252/0x390 [ 61.321039][ T439] ? ext4_init_security+0x40/0x40 [ 61.325897][ T439] ? security_dentry_create_files_as+0xc0/0xc0 [ 61.331890][ T439] ? fscrypt_set_context+0x439/0x740 [ 61.337012][ T439] ? __ext4_set_acl+0x5e0/0x5e0 [ 61.341698][ T439] ? prandom_u32+0x24c/0x290 [ 61.346125][ T439] ext4_init_security+0x34/0x40 [ 61.350815][ T439] __ext4_new_inode+0x31f0/0x40a0 [ 61.355675][ T439] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 61.361222][ T439] ? dquot_initialize+0x20/0x20 [ 61.365912][ T439] ? selinux_determine_inode_label+0x29c/0x3b0 [ 61.371902][ T439] ext4_symlink+0x4c3/0xed0 [ 61.376243][ T439] ? ext4_unlink+0x3f0/0x3f0 [ 61.380665][ T439] ? selinux_inode_symlink+0x22/0x30 [ 61.385787][ T439] ? security_inode_symlink+0xb8/0x100 [ 61.391094][ T439] vfs_symlink+0x29f/0x480 [ 61.395337][ T439] do_symlinkat+0x1ea/0x5a0 [ 61.399672][ T439] ? __check_object_size+0x2ec/0x3d0 [ 61.404794][ T439] ? vfs_symlink+0x480/0x480 [ 61.409222][ T439] ? getname_flags+0x1fd/0x520 [ 61.413823][ T439] __x64_sys_symlink+0x7e/0x90 [ 61.418422][ T439] do_syscall_64+0x3d/0xb0 [ 61.422677][ T439] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 61.428403][ T439] RIP: 0033:0x7f3575952459 [ 61.432659][ T439] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 61.452096][ T439] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 61.460343][ T439] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 61.468152][ T439] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [pid 294] getdents64(3, [pid 432] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 432] exit_group(0) = ? [pid 432] +++ exited with 0 +++ [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=432, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- [pid 298] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 298] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, [pid 439] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 433] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 439] exit_group(0) = ? [pid 298] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./17/binderfs" [pid 439] +++ exited with 0 +++ [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=439, si_uid=0, si_status=0, si_utime=0, si_stime=26} --- [pid 295] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./19", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./19", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 294] umount2("./16/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] <... openat resumed>) = 3 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./19/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./19/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./19/binderfs" [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 433] exit_group(0 [pid 294] newfstatat(AT_FDCWD, "./16/binderfs", [pid 433] <... exit_group resumed>) = ? [pid 294] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] unlink("./16/binderfs" [pid 433] +++ exited with 0 +++ [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=433, si_uid=0, si_status=0, si_utime=0, si_stime=16} --- [pid 297] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 297] umount2("./17", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./17", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 297] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./17/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] unlink("./17/binderfs" [pid 440] <... ioctl resumed>) = 0 [pid 298] <... unlink resumed>) = 0 [pid 296] <... getdents64 resumed>0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] <... unlink resumed>) = 0 [pid 294] <... unlink resumed>) = 0 [pid 298] umount2("./17/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 297] <... unlink resumed>) = 0 [pid 296] umount2("./17/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] umount2("./19/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 440] chdir("./file0" [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] umount2("./17/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 440] <... chdir resumed>) = 0 [pid 298] newfstatat(AT_FDCWD, "./17/file0", [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./17/binderfs", [pid 295] newfstatat(AT_FDCWD, "./19/file0", [pid 440] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] newfstatat(AT_FDCWD, "./17/file0", [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 440] <... add_key resumed>) = 679882931 [pid 298] umount2("./17/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] unlink("./17/binderfs" [pid 295] umount2("./19/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 440] open("./bus", O_RDONLY [pid 298] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] <... unlink resumed>) = 0 [pid 295] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 294] newfstatat(AT_FDCWD, "./16/file0", [pid 298] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] umount2("./17/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] openat(AT_FDCWD, "./19/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 440] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 298] <... openat resumed>) = 4 [pid 297] umount2("./17/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... openat resumed>) = 4 [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 440] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 298] newfstatat(4, "", [pid 297] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./17/file0", [pid 295] newfstatat(4, "", [pid 294] umount2("./16/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 440] <... openat resumed>) = 4 [pid 298] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 294] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 440] write(4, "24", 2 [pid 298] getdents64(4, [pid 297] <... openat resumed>) = 4 [pid 296] umount2("./17/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] getdents64(4, [ 61.475966][ T439] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 61.483773][ T439] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 61.491587][ T439] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000013 [ 61.499496][ T439] [pid 294] openat(AT_FDCWD, "./16/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 440] <... write resumed>) = 2 [pid 298] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] newfstatat(4, "", [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 440] symlink("./file0", "./file0" [pid 298] getdents64(4, [pid 297] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] openat(AT_FDCWD, "./17/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 295] getdents64(4, [pid 294] <... openat resumed>) = 4 [pid 298] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] <... openat resumed>) = 4 [pid 295] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4 [pid 296] newfstatat(4, "", [pid 295] close(4 [pid 298] <... close resumed>) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] <... close resumed>) = 0 [pid 298] rmdir("./17/file0" [pid 296] getdents64(4, [pid 295] rmdir("./19/file0" [pid 298] <... rmdir resumed>) = 0 [pid 296] <... getdents64 resumed>0x555555a69730 /* 3 entries */, 32768) = 80 [pid 295] <... rmdir resumed>) = 0 [pid 298] getdents64(3, [pid 296] umount2("./17/file0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 295] getdents64(3, [pid 298] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 295] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3 [pid 296] newfstatat(AT_FDCWD, "./17/file0/file0", [pid 295] close(3 [pid 298] <... close resumed>) = 0 [pid 296] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=7, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] <... close resumed>) = 0 [pid 298] rmdir("./17" [pid 296] unlink("./17/file0/file0" [pid 295] rmdir("./19" [pid 298] <... rmdir resumed>) = 0 [pid 296] <... unlink resumed>) = 0 [pid 295] <... rmdir resumed>) = 0 [pid 298] mkdir("./18", 0777 [pid 296] getdents64(4, [pid 295] mkdir("./20", 0777 [pid 298] <... mkdir resumed>) = 0 [pid 296] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] <... mkdir resumed>) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] close(4 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 296] <... close resumed>) = 0 [pid 298] <... clone resumed>, child_tidptr=0x555555a60650) = 442 [pid 296] rmdir("./17/file0" [pid 295] <... clone resumed>, child_tidptr=0x555555a60650) = 443 [pid 296] <... rmdir resumed>) = 0 [pid 296] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] close(3) = 0 [pid 296] rmdir("./17") = 0 [pid 296] mkdir("./18", 0777) = 0 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 444 ./strace-static-x86_64: Process 444 attached [pid 444] set_robust_list(0x555555a60660, 24) = 0 [pid 444] chdir("./18") = 0 [pid 444] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 444] setpgid(0, 0) = 0 [pid 444] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 444] write(3, "1000", 4) = 4 [pid 444] close(3) = 0 [pid 444] symlink("/dev/binderfs", "./binderfs") = 0 [pid 444] mkdir("./file0", 000) = 0 [pid 444] open("./file0", O_RDONLY) = 3 [pid 444] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 ./strace-static-x86_64: Process 443 attached [pid 444] chdir("./file0") = 0 [pid 443] set_robust_list(0x555555a60660, 24 [pid 444] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 443] <... set_robust_list resumed>) = 0 [pid 444] <... add_key resumed>) = 846564402 [pid 443] chdir("./20" [pid 444] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 443] <... chdir resumed>) = 0 [pid 443] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 443] setpgid(0, 0) = 0 [pid 444] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 443] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 444] <... openat resumed>) = 4 [pid 294] newfstatat(4, "", [pid 297] getdents64(4, [pid 294] <... newfstatat resumed>{st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 443] <... openat resumed>) = 3 [pid 297] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 294] getdents64(4, [pid 297] getdents64(4, [pid 443] write(3, "1000", 4 [pid 297] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 294] <... getdents64 resumed>0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] close(4 [pid 443] <... write resumed>) = 4 [pid 294] getdents64(4, [pid 297] <... close resumed>) = 0 [pid 294] <... getdents64 resumed>0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] rmdir("./17/file0" [pid 294] close(4 [pid 443] close(3 [pid 444] write(4, "24", 2 [pid 443] <... close resumed>) = 0 [pid 443] symlink("/dev/binderfs", "./binderfs") = 0 [pid 297] <... rmdir resumed>) = 0 [pid 294] <... close resumed>) = 0 [pid 297] getdents64(3, [pid 294] rmdir("./16/file0" [pid 297] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 444] <... write resumed>) = 2 [ 61.538432][ T440] FAULT_INJECTION: forcing a failure. [ 61.538432][ T440] name failslab, interval 1, probability 0, space 0, times 0 [ 61.553981][ T444] FAULT_INJECTION: forcing a failure. [ 61.553981][ T444] name failslab, interval 1, probability 0, space 0, times 0 [ 61.554254][ T440] CPU: 0 PID: 440 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 61.569956][ T443] FAULT_INJECTION: forcing a failure. [pid 444] symlink("./file0", "./file0" [pid 297] close(3 [pid 294] <... rmdir resumed>) = 0 [pid 297] <... close resumed>) = 0 [pid 294] getdents64(3, [pid 297] rmdir("./17" [pid 443] mkdir("./file0", 000 [pid 294] <... getdents64 resumed>0x555555a616f0 /* 0 entries */, 32768) = 0 ./strace-static-x86_64: Process 442 attached [pid 443] <... mkdir resumed>) = 0 [pid 297] <... rmdir resumed>) = 0 [pid 443] open("./file0", O_RDONLY) = 3 [pid 443] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 443] chdir("./file0") = 0 [pid 443] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 921196381 [pid 443] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 443] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 443] write(4, "24", 2) = 2 [ 61.569956][ T443] name failslab, interval 1, probability 0, space 0, times 0 [ 61.576472][ T440] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 61.576488][ T440] Call Trace: [ 61.576495][ T440] [ 61.604693][ T440] dump_stack_lvl+0x151/0x1b7 [ 61.609201][ T440] ? io_uring_drop_tctx_refs+0x190/0x190 [ 61.614664][ T440] ? stack_trace_snprint+0xf0/0xf0 [ 61.619611][ T440] dump_stack+0x15/0x17 [ 61.623609][ T440] should_fail+0x3c6/0x510 [ 61.627858][ T440] __should_failslab+0xa4/0xe0 [ 61.632453][ T440] should_failslab+0x9/0x20 [pid 443] symlink("./file0", "./file0" [pid 294] close(3) = 0 [pid 294] rmdir("./16") = 0 [pid 294] mkdir("./17", 0777) = 0 [pid 294] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 445 [ 61.636793][ T440] slab_pre_alloc_hook+0x37/0xd0 [ 61.641566][ T440] __kmalloc+0x6d/0x270 [ 61.645563][ T440] ? fscrypt_fname_encrypt+0x249/0x5d0 [ 61.650856][ T440] ? fscrypt_generate_iv+0x133/0x340 [ 61.655977][ T440] fscrypt_fname_encrypt+0x249/0x5d0 [ 61.661101][ T440] ? fscrypt_initialize+0xa0/0xa0 [ 61.665960][ T440] ? __kasan_kmalloc+0x9/0x10 [ 61.670469][ T440] ? __kmalloc+0x13a/0x270 [ 61.674722][ T440] ? __fscrypt_encrypt_symlink+0x16d/0x430 [ 61.680365][ T440] __fscrypt_encrypt_symlink+0x1f1/0x430 [ 61.685830][ T440] ? fscrypt_prepare_symlink+0x150/0x150 [ 61.691303][ T440] ext4_symlink+0x5b2/0xed0 [ 61.695642][ T440] ? ext4_unlink+0x3f0/0x3f0 [ 61.700065][ T440] ? selinux_inode_symlink+0x22/0x30 [ 61.705365][ T440] ? security_inode_symlink+0xb8/0x100 [ 61.710655][ T440] vfs_symlink+0x29f/0x480 [ 61.714912][ T440] do_symlinkat+0x1ea/0x5a0 [ 61.719251][ T440] ? __check_object_size+0x2ec/0x3d0 [ 61.724371][ T440] ? vfs_symlink+0x480/0x480 [ 61.728795][ T440] ? getname_flags+0x1fd/0x520 [ 61.733398][ T440] __x64_sys_symlink+0x7e/0x90 [pid 297] mkdir("./18", 0777) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 446 [pid 442] set_robust_list(0x555555a60660, 24) = 0 [pid 442] chdir("./18") = 0 [pid 442] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 442] setpgid(0, 0) = 0 [pid 442] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 442] write(3, "1000", 4) = 4 [pid 442] close(3) = 0 [pid 442] symlink("/dev/binderfs", "./binderfs") = 0 [pid 442] mkdir("./file0", 000) = 0 [pid 442] open("./file0", O_RDONLY) = 3 [pid 442] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 442] chdir("./file0") = 0 [pid 442] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 807213770 [ 61.737996][ T440] do_syscall_64+0x3d/0xb0 [ 61.742252][ T440] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 61.747974][ T440] RIP: 0033:0x7f3575952459 [ 61.752231][ T440] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 61.771678][ T440] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 61.775310][ T442] FAULT_INJECTION: forcing a failure. [pid 442] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 442] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 442] write(4, "24", 2) = 2 [ 61.775310][ T442] name failslab, interval 1, probability 0, space 0, times 0 [ 61.779914][ T440] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 61.779934][ T440] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 61.779949][ T440] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 61.779963][ T440] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 61.779977][ T440] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000012 [ 61.831491][ T440] [ 61.834442][ T444] CPU: 1 PID: 444 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 61.835658][ T440] ================================================================== [ 61.844498][ T444] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 61.852492][ T440] BUG: KASAN: use-after-free in jbd2_journal_get_write_access+0x2cb/0x2d0 [ 61.862650][ T444] Call Trace: [ 61.870977][ T440] Read of size 4 at addr ffff88811b660acc by task syz-executor392/440 [ 61.874121][ T444] [ 61.882086][ T440] [ 61.887035][ T444] dump_stack_lvl+0x151/0x1b7 [ 61.891548][ T444] ? io_uring_drop_tctx_refs+0x190/0x190 [ 61.897017][ T444] ? write_boundary_block+0x150/0x150 [ 61.902222][ T444] ? arch_stack_walk+0xf3/0x140 [ 61.906911][ T444] dump_stack+0x15/0x17 [ 61.910902][ T444] should_fail+0x3c6/0x510 [ 61.915156][ T444] __should_failslab+0xa4/0xe0 [ 61.919757][ T444] should_failslab+0x9/0x20 [ 61.924094][ T444] slab_pre_alloc_hook+0x37/0xd0 [ 61.928869][ T444] __kmalloc+0x6d/0x270 [ 61.933122][ T444] ? ext4_xattr_block_set+0x340/0x3760 [ 61.938419][ T444] ext4_xattr_block_set+0x340/0x3760 [ 61.943541][ T444] ? __ext4_journal_ensure_credits+0x470/0x470 [ 61.949527][ T444] ? ext4_xattr_block_find+0x520/0x520 [ 61.954820][ T444] ? __xattr_check_inode+0x3d5/0x440 [ 61.959944][ T444] ext4_xattr_set_handle+0xdac/0x1560 [ 61.965150][ T444] ? sidtab_sid2str_put+0x2d7/0x640 [ 61.970184][ T444] ? ext4_xattr_set_entry+0x3a70/0x3a70 [ 61.975568][ T444] ? selinux_inode_init_security+0x52d/0x780 [ 61.981380][ T444] ? selinux_inode_free_security+0x210/0x210 [ 61.987202][ T444] ext4_initxattrs+0xa7/0x120 [ 61.991727][ T444] security_inode_init_security+0x252/0x390 [ 61.997437][ T444] ? ext4_init_security+0x40/0x40 [ 62.002298][ T444] ? security_dentry_create_files_as+0xc0/0xc0 [ 62.008283][ T444] ? fscrypt_set_context+0x439/0x740 [ 62.013406][ T444] ? __ext4_set_acl+0x5e0/0x5e0 [ 62.018095][ T444] ? prandom_u32+0x24c/0x290 [ 62.022517][ T444] ext4_init_security+0x34/0x40 [ 62.027204][ T444] __ext4_new_inode+0x31f0/0x40a0 [ 62.032071][ T444] ? ext4_has_group_desc_csum+0x1f0/0x1f0 [ 62.037619][ T444] ? dquot_initialize+0x20/0x20 [ 62.042305][ T444] ? selinux_determine_inode_label+0x29c/0x3b0 [ 62.048301][ T444] ext4_symlink+0x4c3/0xed0 [ 62.052653][ T444] ? ext4_unlink+0x3f0/0x3f0 [ 62.057095][ T444] ? selinux_inode_symlink+0x22/0x30 [ 62.062191][ T444] ? security_inode_symlink+0xb8/0x100 [ 62.067481][ T444] vfs_symlink+0x29f/0x480 [ 62.071734][ T444] do_symlinkat+0x1ea/0x5a0 [ 62.076072][ T444] ? __check_object_size+0x2ec/0x3d0 [ 62.081193][ T444] ? vfs_symlink+0x480/0x480 [ 62.085617][ T444] ? getname_flags+0x1fd/0x520 [ 62.090219][ T444] __x64_sys_symlink+0x7e/0x90 [ 62.094820][ T444] do_syscall_64+0x3d/0xb0 [ 62.099074][ T444] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 62.104800][ T444] RIP: 0033:0x7f3575952459 [ 62.109058][ T444] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 62.128494][ T444] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 62.136738][ T444] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 62.144640][ T444] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 62.152447][ T444] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 62.160258][ T444] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 62.168071][ T444] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000012 [ 62.175883][ T444] [ 62.178748][ T440] CPU: 0 PID: 440 Comm: syz-executor392 Not tainted 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 62.188825][ T440] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 62.198709][ T440] Call Trace: [ 62.201834][ T440] [ 62.204608][ T440] dump_stack_lvl+0x151/0x1b7 [ 62.209121][ T440] ? io_uring_drop_tctx_refs+0x190/0x190 [ 62.214589][ T440] ? panic+0x751/0x751 [ 62.218498][ T440] ? __getblk_gfp+0x42/0x7c0 [ 62.222928][ T440] print_address_description+0x87/0x3b0 [ 62.228303][ T440] kasan_report+0x179/0x1c0 [ 62.232657][ T440] ? jbd2_journal_get_write_access+0x2cb/0x2d0 [ 62.238632][ T440] ? jbd2_journal_get_write_access+0x2cb/0x2d0 [ 62.244742][ T440] __asan_report_load4_noabort+0x14/0x20 [ 62.250209][ T440] jbd2_journal_get_write_access+0x2cb/0x2d0 [ 62.256025][ T440] ? __ext4_journal_get_write_access+0x206/0x690 [ 62.262187][ T440] __ext4_journal_get_write_access+0x244/0x690 [ 62.268176][ T440] ? __ext4_journal_ensure_credits+0x470/0x470 [ 62.274166][ T440] ? debug_smp_processor_id+0x17/0x20 [ 62.279373][ T440] ext4_reserve_inode_write+0x2bd/0x3d0 [ 62.284749][ T440] ? ext4_mark_iloc_dirty+0x3f40/0x3f40 [ 62.290132][ T440] ? jbd2_journal_stop+0x82c/0xc70 [ 62.295080][ T440] ? ext4_symlink+0xa2c/0xed0 [ 62.299594][ T440] __ext4_mark_inode_dirty+0x129/0x7a0 [ 62.304886][ T440] ? sb_end_intwrite+0x120/0x120 [ 62.309663][ T440] ? jbd2_journal_start_reserved+0x410/0x410 [ 62.315475][ T440] ? fscrypt_prepare_symlink+0x150/0x150 [ 62.320944][ T440] ? __kasan_check_write+0x14/0x20 [ 62.325891][ T440] ? clear_nlink+0x89/0xe0 [ 62.330147][ T440] ext4_symlink+0xa2c/0xed0 [ 62.334499][ T440] ? ext4_unlink+0x3f0/0x3f0 [ 62.338908][ T440] ? selinux_inode_symlink+0x22/0x30 [ 62.344033][ T440] ? security_inode_symlink+0xb8/0x100 [ 62.349327][ T440] vfs_symlink+0x29f/0x480 [ 62.353581][ T440] do_symlinkat+0x1ea/0x5a0 [ 62.357917][ T440] ? __check_object_size+0x2ec/0x3d0 [ 62.363038][ T440] ? vfs_symlink+0x480/0x480 [ 62.367466][ T440] ? getname_flags+0x1fd/0x520 [ 62.372064][ T440] __x64_sys_symlink+0x7e/0x90 [ 62.376662][ T440] do_syscall_64+0x3d/0xb0 [ 62.380917][ T440] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 62.386645][ T440] RIP: 0033:0x7f3575952459 [ 62.390902][ T440] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 62.410339][ T440] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 62.418584][ T440] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 62.426408][ T440] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 62.434207][ T440] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 62.442020][ T440] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 62.449833][ T440] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000012 [ 62.457645][ T440] [ 62.460507][ T440] [ 62.462688][ T440] Allocated by task 440: [ 62.467103][ T440] __kasan_slab_alloc+0xb1/0xe0 [ 62.471789][ T440] slab_post_alloc_hook+0x53/0x2c0 [ 62.476738][ T440] kmem_cache_alloc+0xf5/0x200 [ 62.481338][ T440] jbd2__journal_start+0x150/0x710 [ 62.486295][ T440] __ext4_journal_start_sb+0xfa/0x2c0 [ 62.491494][ T440] __ext4_new_inode+0x135d/0x40a0 [ 62.496351][ T440] ext4_symlink+0x4c3/0xed0 [ 62.500693][ T440] vfs_symlink+0x29f/0x480 [ 62.504943][ T440] do_symlinkat+0x1ea/0x5a0 [ 62.509282][ T440] __x64_sys_symlink+0x7e/0x90 [ 62.514058][ T440] do_syscall_64+0x3d/0xb0 [ 62.518309][ T440] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 62.524038][ T440] [ 62.526219][ T440] Freed by task 440: [ 62.529943][ T440] kasan_set_track+0x4b/0x70 [ 62.534367][ T440] kasan_set_free_info+0x23/0x40 [ 62.539139][ T440] ____kasan_slab_free+0x126/0x160 [ 62.544089][ T440] __kasan_slab_free+0x11/0x20 [ 62.548686][ T440] slab_free_freelist_hook+0xbd/0x190 [ 62.553897][ T440] kmem_cache_free+0x116/0x2e0 [ 62.558499][ T440] jbd2_journal_stop+0x82c/0xc70 [ 62.563271][ T440] __ext4_journal_stop+0x111/0x1c0 [ 62.568219][ T440] ext4_symlink+0x5fe/0xed0 [ 62.572557][ T440] vfs_symlink+0x29f/0x480 [ 62.576829][ T440] do_symlinkat+0x1ea/0x5a0 [ 62.581150][ T440] __x64_sys_symlink+0x7e/0x90 [ 62.585753][ T440] do_syscall_64+0x3d/0xb0 [ 62.590005][ T440] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 62.595732][ T440] [ 62.597901][ T440] The buggy address belongs to the object at ffff88811b660aa8 [ 62.597901][ T440] which belongs to the cache jbd2_journal_handle of size 56 [ 62.612393][ T440] The buggy address is located 36 bytes inside of [ 62.612393][ T440] 56-byte region [ffff88811b660aa8, ffff88811b660ae0) [ 62.625456][ T440] The buggy address belongs to the page: [ 62.630938][ T440] page:ffffea00046d9800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11b660 [ 62.640995][ T440] flags: 0x4000000000000200(slab|zone=1) [ 62.646469][ T440] raw: 4000000000000200 0000000000000000 dead000000000122 ffff888104baf980 [ 62.654886][ T440] raw: 0000000000000000 00000000802e002e 00000001ffffffff 0000000000000000 [ 62.663295][ T440] page dumped because: kasan: bad access detected [ 62.669547][ T440] page_owner tracks the page as allocated [ 62.675102][ T440] page last allocated via order 0, migratetype Reclaimable, gfp_mask 0x12c50(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY|__GFP_RECLAIMABLE), pid 437, ts 58960885809, free_ts 0 [ 62.691596][ T440] post_alloc_hook+0x1a3/0x1b0 [ 62.696190][ T440] prep_new_page+0x1b/0x110 [ 62.700532][ T440] get_page_from_freelist+0x3550/0x35d0 [ 62.705998][ T440] __alloc_pages+0x27e/0x8f0 [ 62.710424][ T440] new_slab+0x9a/0x4e0 [ 62.714332][ T440] ___slab_alloc+0x39e/0x830 [ 62.718756][ T440] __slab_alloc+0x4a/0x90 [ 62.722921][ T440] kmem_cache_alloc+0x134/0x200 [ 62.727608][ T440] jbd2__journal_start+0x150/0x710 [ 62.732557][ T440] __ext4_journal_start_sb+0xfa/0x2c0 [ 62.737765][ T440] __ext4_new_inode+0x135d/0x40a0 [ 62.742624][ T440] ext4_mkdir+0x421/0xce0 [ 62.746795][ T440] vfs_mkdir+0x3f6/0x610 [ 62.750975][ T440] do_mkdirat+0x1eb/0x450 [ 62.755135][ T440] __x64_sys_mkdir+0x6e/0x80 [ 62.759566][ T440] do_syscall_64+0x3d/0xb0 [ 62.763820][ T440] page_owner free stack trace missing [ 62.769026][ T440] [ 62.771197][ T440] Memory state around the buggy address: [ 62.776671][ T440] ffff88811b660980: fc fc fc fc fa fb fb fb fb fb fb fc fc fc fc fa [ 62.784574][ T440] ffff88811b660a00: fb fb fb fb fb fb fc fc fc fc fa fb fb fb fb fb [pid 442] symlink("./file0", "./file0"./strace-static-x86_64: Process 446 attached ./strace-static-x86_64: Process 445 attached [ 62.792568][ T440] >ffff88811b660a80: fb fc fc fc fc fa fb fb fb fb fb fb fc fc fc fc [ 62.800462][ T440] ^ [ 62.806730][ T440] ffff88811b660b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 62.814615][ T440] ffff88811b660b80: fc fc fc fc fc fc fa fb fb fb fb fb fb fc fc fc [ 62.822508][ T440] ================================================================== [ 62.830404][ T440] Disabling lock debugging due to kernel taint [ 62.837116][ T442] CPU: 0 PID: 442 Comm: syz-executor392 Tainted: G B 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 62.848572][ T442] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 62.858464][ T442] Call Trace: [ 62.861587][ T442] [ 62.864379][ T442] dump_stack_lvl+0x151/0x1b7 [ 62.868877][ T442] ? io_uring_drop_tctx_refs+0x190/0x190 [ 62.874344][ T442] ? stack_trace_snprint+0xf0/0xf0 [ 62.879291][ T442] dump_stack+0x15/0x17 [ 62.883283][ T442] should_fail+0x3c6/0x510 [ 62.887536][ T442] __should_failslab+0xa4/0xe0 [ 62.892139][ T442] should_failslab+0x9/0x20 [ 62.896473][ T442] slab_pre_alloc_hook+0x37/0xd0 [ 62.901249][ T442] __kmalloc+0x6d/0x270 [ 62.905244][ T442] ? fscrypt_fname_encrypt+0x249/0x5d0 [ 62.910535][ T442] ? fscrypt_generate_iv+0x133/0x340 [ 62.915659][ T442] fscrypt_fname_encrypt+0x249/0x5d0 [ 62.920777][ T442] ? fscrypt_initialize+0xa0/0xa0 [ 62.925643][ T442] ? __kasan_kmalloc+0x9/0x10 [ 62.930160][ T442] ? __kmalloc+0x13a/0x270 [ 62.934411][ T442] ? __fscrypt_encrypt_symlink+0x16d/0x430 [ 62.940046][ T442] __fscrypt_encrypt_symlink+0x1f1/0x430 [ 62.945527][ T442] ? fscrypt_prepare_symlink+0x150/0x150 [ 62.950988][ T442] ext4_symlink+0x5b2/0xed0 [ 62.955327][ T442] ? ext4_unlink+0x3f0/0x3f0 [ 62.959752][ T442] ? selinux_inode_symlink+0x22/0x30 [ 62.964872][ T442] ? security_inode_symlink+0xb8/0x100 [ 62.970165][ T442] vfs_symlink+0x29f/0x480 [ 62.974422][ T442] do_symlinkat+0x1ea/0x5a0 [ 62.978755][ T442] ? __check_object_size+0x2ec/0x3d0 [ 62.983877][ T442] ? vfs_symlink+0x480/0x480 [ 62.988302][ T442] ? getname_flags+0x1fd/0x520 [ 62.992905][ T442] __x64_sys_symlink+0x7e/0x90 [ 62.997503][ T442] do_syscall_64+0x3d/0xb0 [ 63.001756][ T442] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 63.007498][ T442] RIP: 0033:0x7f3575952459 [ 63.011738][ T442] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 63.031278][ T442] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 446] set_robust_list(0x555555a60660, 24 [pid 445] set_robust_list(0x555555a60660, 24 [pid 446] <... set_robust_list resumed>) = 0 [pid 445] <... set_robust_list resumed>) = 0 [pid 446] chdir("./18" [pid 445] chdir("./17" [pid 446] <... chdir resumed>) = 0 [pid 445] <... chdir resumed>) = 0 [pid 446] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 445] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 446] <... prctl resumed>) = 0 [pid 445] <... prctl resumed>) = 0 [pid 446] setpgid(0, 0 [pid 445] setpgid(0, 0 [pid 446] <... setpgid resumed>) = 0 [pid 445] <... setpgid resumed>) = 0 [pid 446] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 445] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 446] <... openat resumed>) = 3 [pid 445] <... openat resumed>) = 3 [pid 446] write(3, "1000", 4 [pid 445] write(3, "1000", 4 [pid 446] <... write resumed>) = 4 [pid 445] <... write resumed>) = 4 [pid 446] close(3 [pid 445] close(3 [pid 446] <... close resumed>) = 0 [pid 445] <... close resumed>) = 0 [pid 446] symlink("/dev/binderfs", "./binderfs" [ 63.039521][ T442] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 63.047336][ T442] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 63.055147][ T442] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 63.062966][ T442] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 63.070777][ T442] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000012 [ 63.078675][ T442] [pid 445] symlink("/dev/binderfs", "./binderfs" [pid 446] <... symlink resumed>) = 0 [pid 445] <... symlink resumed>) = 0 [pid 446] mkdir("./file0", 000 [pid 445] mkdir("./file0", 000 [pid 446] <... mkdir resumed>) = 0 [pid 445] <... mkdir resumed>) = 0 [pid 446] open("./file0", O_RDONLY [pid 445] open("./file0", O_RDONLY [pid 446] <... open resumed>) = 3 [pid 445] <... open resumed>) = 3 [pid 446] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 445] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40 [pid 446] <... ioctl resumed>) = 0 [pid 445] <... ioctl resumed>) = 0 [pid 446] chdir("./file0" [pid 445] chdir("./file0" [pid 446] <... chdir resumed>) = 0 [pid 445] <... chdir resumed>) = 0 [pid 446] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 445] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING [pid 446] <... add_key resumed>) = 154044615 [pid 445] <... add_key resumed>) = 231075808 [pid 446] open("./bus", O_RDONLY [pid 445] open("./bus", O_RDONLY [pid 446] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 445] <... open resumed>) = -1 ENOENT (No such file or directory) [pid 446] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 445] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR [pid 446] <... openat resumed>) = 4 [pid 445] <... openat resumed>) = 4 [pid 446] write(4, "24", 2 [pid 445] write(4, "24", 2 [pid 446] <... write resumed>) = 2 [pid 445] <... write resumed>) = 2 [pid 446] symlink("./file0", "./file0" [ 63.085599][ T443] CPU: 1 PID: 443 Comm: syz-executor392 Tainted: G B 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 63.091630][ T445] FAULT_INJECTION: forcing a failure. [ 63.091630][ T445] name failslab, interval 1, probability 0, space 0, times 0 [ 63.097080][ T443] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 63.097096][ T443] Call Trace: [ 63.097102][ T443] [ 63.097110][ T443] dump_stack_lvl+0x151/0x1b7 [ 63.109581][ T446] FAULT_INJECTION: forcing a failure. [ 63.109581][ T446] name failslab, interval 1, probability 0, space 0, times 0 [ 63.119451][ T443] ? io_uring_drop_tctx_refs+0x190/0x190 [ 63.147750][ T443] ? prandom_u32+0x24c/0x290 [ 63.152176][ T443] dump_stack+0x15/0x17 [ 63.156251][ T443] should_fail+0x3c6/0x510 [ 63.160591][ T443] __should_failslab+0xa4/0xe0 [ 63.165202][ T443] should_failslab+0x9/0x20 [ 63.169532][ T443] slab_pre_alloc_hook+0x37/0xd0 [ 63.174305][ T443] __kmalloc+0x6d/0x270 [ 63.178300][ T443] ? __fscrypt_encrypt_symlink+0x16d/0x430 [ 63.184031][ T443] __fscrypt_encrypt_symlink+0x16d/0x430 [ 63.189496][ T443] ? selinux_determine_inode_label+0x29c/0x3b0 [ 63.195488][ T443] ? fscrypt_prepare_symlink+0x150/0x150 [ 63.200956][ T443] ext4_symlink+0x5b2/0xed0 [ 63.205316][ T443] ? ext4_unlink+0x3f0/0x3f0 [ 63.210758][ T443] ? selinux_inode_symlink+0x22/0x30 [ 63.215888][ T443] ? security_inode_symlink+0xb8/0x100 [ 63.221176][ T443] vfs_symlink+0x29f/0x480 [ 63.225428][ T443] do_symlinkat+0x1ea/0x5a0 [ 63.229770][ T443] ? __check_object_size+0x2ec/0x3d0 [ 63.234889][ T443] ? vfs_symlink+0x480/0x480 [ 63.239313][ T443] ? getname_flags+0x1fd/0x520 [ 63.243918][ T443] __x64_sys_symlink+0x7e/0x90 [ 63.250514][ T443] do_syscall_64+0x3d/0xb0 [ 63.254761][ T443] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 63.260492][ T443] RIP: 0033:0x7f3575952459 [ 63.264831][ T443] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 63.284272][ T443] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [pid 445] symlink("./file0", "./file0" [pid 444] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [ 63.292517][ T443] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 63.300327][ T443] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 63.308140][ T443] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 63.315950][ T443] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 63.323762][ T443] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000014 [ 63.331576][ T443] [ 63.335281][ T445] CPU: 1 PID: 445 Comm: syz-executor392 Tainted: G B 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 63.346733][ T445] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 63.356625][ T445] Call Trace: [ 63.359751][ T445] [ 63.362528][ T445] dump_stack_lvl+0x151/0x1b7 [ 63.367041][ T445] ? io_uring_drop_tctx_refs+0x190/0x190 [ 63.372507][ T445] ? stack_trace_snprint+0xf0/0xf0 [ 63.377454][ T445] dump_stack+0x15/0x17 [ 63.381447][ T445] should_fail+0x3c6/0x510 [ 63.385700][ T445] __should_failslab+0xa4/0xe0 [ 63.390298][ T445] should_failslab+0x9/0x20 [ 63.394639][ T445] slab_pre_alloc_hook+0x37/0xd0 [ 63.399411][ T445] __kmalloc+0x6d/0x270 [ 63.403406][ T445] ? fscrypt_fname_encrypt+0x249/0x5d0 [ 63.408729][ T445] ? fscrypt_generate_iv+0x133/0x340 [ 63.413826][ T445] fscrypt_fname_encrypt+0x249/0x5d0 [ 63.418943][ T445] ? fscrypt_initialize+0xa0/0xa0 [ 63.423803][ T445] ? __kasan_kmalloc+0x9/0x10 [ 63.428316][ T445] ? __kmalloc+0x13a/0x270 [ 63.432566][ T445] ? __fscrypt_encrypt_symlink+0x16d/0x430 [ 63.438211][ T445] __fscrypt_encrypt_symlink+0x1f1/0x430 [ 63.443679][ T445] ? fscrypt_prepare_symlink+0x150/0x150 [ 63.449149][ T445] ext4_symlink+0x5b2/0xed0 [ 63.453485][ T445] ? ext4_unlink+0x3f0/0x3f0 [ 63.457913][ T445] ? selinux_inode_symlink+0x22/0x30 [ 63.463029][ T445] ? security_inode_symlink+0xb8/0x100 [ 63.468324][ T445] vfs_symlink+0x29f/0x480 [ 63.472580][ T445] do_symlinkat+0x1ea/0x5a0 [ 63.476921][ T445] ? __check_object_size+0x2ec/0x3d0 [ 63.482042][ T445] ? vfs_symlink+0x480/0x480 [ 63.486467][ T445] ? getname_flags+0x1fd/0x520 [ 63.491067][ T445] __x64_sys_symlink+0x7e/0x90 [ 63.495667][ T445] do_syscall_64+0x3d/0xb0 [ 63.499917][ T445] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 63.505647][ T445] RIP: 0033:0x7f3575952459 [ 63.509904][ T445] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 63.529345][ T445] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 63.537584][ T445] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 63.545406][ T445] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 63.553209][ T445] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 63.561018][ T445] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 63.569006][ T445] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000011 [ 63.576819][ T445] [ 63.579806][ T446] CPU: 0 PID: 446 Comm: syz-executor392 Tainted: G B 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [pid 444] exit_group(0) = ? [pid 444] +++ exited with 0 +++ [pid 296] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=444, si_uid=0, si_status=0, si_utime=0, si_stime=10} --- [pid 296] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 296] umount2("./18", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 296] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 296] umount2("./18/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] unlink("./18/binderfs") = 0 [pid 296] umount2("./18/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] newfstatat(AT_FDCWD, "./18/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 296] umount2("./18/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 296] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 296] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 296] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 296] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 296] close(4) = 0 [pid 296] rmdir("./18/file0") = 0 [pid 296] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 296] close(3) = 0 [pid 296] rmdir("./18") = 0 [pid 296] mkdir("./19", 0777) = 0 [pid 296] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 448 ./strace-static-x86_64: Process 448 attached [pid 448] set_robust_list(0x555555a60660, 24) = 0 [pid 448] chdir("./19") = 0 [pid 448] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 448] setpgid(0, 0) = 0 [pid 448] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 448] write(3, "1000", 4) = 4 [pid 448] close(3) = 0 [pid 448] symlink("/dev/binderfs", "./binderfs") = 0 [pid 448] mkdir("./file0", 000) = 0 [pid 448] open("./file0", O_RDONLY) = 3 [pid 448] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 448] chdir("./file0") = 0 [pid 448] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 625340545 [pid 448] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 448] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 448] write(4, "24", 2) = 2 [ 63.591343][ T446] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 63.593302][ T448] FAULT_INJECTION: forcing a failure. [ 63.593302][ T448] name failslab, interval 1, probability 0, space 0, times 0 [ 63.601259][ T446] Call Trace: [ 63.601268][ T446] [ 63.601277][ T446] dump_stack_lvl+0x151/0x1b7 [ 63.601305][ T446] ? io_uring_drop_tctx_refs+0x190/0x190 [ 63.629535][ T446] ? prandom_u32+0x24c/0x290 [ 63.633961][ T446] dump_stack+0x15/0x17 [ 63.637951][ T446] should_fail+0x3c6/0x510 [ 63.642200][ T446] __should_failslab+0xa4/0xe0 [ 63.646804][ T446] should_failslab+0x9/0x20 [ 63.651143][ T446] slab_pre_alloc_hook+0x37/0xd0 [ 63.655916][ T446] __kmalloc+0x6d/0x270 [ 63.656914][ T443] EXT4-fs error (device sda1) in ext4_reserve_inode_write:5820: Readonly filesystem [ 63.659905][ T446] ? __fscrypt_encrypt_symlink+0x16d/0x430 [ 63.659931][ T446] __fscrypt_encrypt_symlink+0x16d/0x430 [ 63.680223][ T446] ? selinux_determine_inode_label+0x29c/0x3b0 [ 63.684668][ T443] EXT4-fs error (device sda1): ext4_symlink:3463: inode #1943: comm syz-executor392: mark_inode_dirty error [pid 448] symlink("./file0", "./file0" [pid 443] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 443] exit_group(0) = ? [pid 443] +++ exited with 0 +++ [pid 295] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=443, si_uid=0, si_status=0, si_utime=0, si_stime=12} --- [pid 295] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 295] umount2("./20", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./20", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 63.686205][ T446] ? fscrypt_prepare_symlink+0x150/0x150 [ 63.686233][ T446] ext4_symlink+0x5b2/0xed0 [ 63.707474][ T446] ? ext4_unlink+0x3f0/0x3f0 [ 63.711909][ T446] ? selinux_inode_symlink+0x22/0x30 [ 63.717018][ T446] ? security_inode_symlink+0xb8/0x100 [ 63.722317][ T446] vfs_symlink+0x29f/0x480 [ 63.726567][ T446] do_symlinkat+0x1ea/0x5a0 [ 63.730908][ T446] ? __check_object_size+0x2ec/0x3d0 [ 63.736029][ T446] ? vfs_symlink+0x480/0x480 [ 63.740457][ T446] ? getname_flags+0x1fd/0x520 [ 63.743373][ T449] FAULT_INJECTION: forcing a failure. [ 63.743373][ T449] name failslab, interval 1, probability 0, space 0, times 0 [ 63.745049][ T446] __x64_sys_symlink+0x7e/0x90 [ 63.745076][ T446] do_syscall_64+0x3d/0xb0 [ 63.766313][ T446] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 63.772043][ T446] RIP: 0033:0x7f3575952459 [ 63.776295][ T446] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [pid 295] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 295] umount2("./20/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./20/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] unlink("./20/binderfs") = 0 [pid 295] umount2("./20/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] newfstatat(AT_FDCWD, "./20/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 295] umount2("./20/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 295] openat(AT_FDCWD, "./20/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 295] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 295] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 295] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 295] close(4) = 0 [pid 295] rmdir("./20/file0") = 0 [pid 295] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 295] close(3) = 0 [pid 295] rmdir("./20") = 0 [pid 295] mkdir("./21", 0777) = 0 [pid 295] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 449 ./strace-static-x86_64: Process 449 attached [pid 449] set_robust_list(0x555555a60660, 24) = 0 [pid 449] chdir("./21") = 0 [pid 449] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 449] setpgid(0, 0) = 0 [pid 449] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 449] write(3, "1000", 4) = 4 [pid 449] close(3) = 0 [pid 449] symlink("/dev/binderfs", "./binderfs") = 0 [pid 449] mkdir("./file0", 000) = 0 [pid 449] open("./file0", O_RDONLY) = 3 [pid 449] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 449] chdir("./file0") = 0 [pid 449] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 899129961 [pid 449] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 449] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 449] write(4, "24", 2) = 2 [ 63.795735][ T446] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 63.803994][ T446] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 63.811797][ T446] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 63.819605][ T446] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 63.827418][ T446] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 63.835228][ T446] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000012 [ 63.843045][ T446] [ 63.846641][ T448] CPU: 1 PID: 448 Comm: syz-executor392 Tainted: G B 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 63.846844][ T446] EXT4-fs error (device sda1) in ext4_reserve_inode_write:5820: Readonly filesystem [ 63.858091][ T448] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 63.858106][ T448] Call Trace: [ 63.858112][ T448] [ 63.858120][ T448] dump_stack_lvl+0x151/0x1b7 [ 63.867380][ T446] EXT4-fs error (device sda1): ext4_symlink:3463: inode #1955: comm syz-executor392: mark_inode_dirty error [ 63.877187][ T448] ? io_uring_drop_tctx_refs+0x190/0x190 [ 63.877214][ T448] ? stack_trace_snprint+0xf0/0xf0 [ 63.880562][ T442] EXT4-fs error (device sda1) in ext4_reserve_inode_write:5820: Readonly filesystem [ 63.883086][ T448] dump_stack+0x15/0x17 [ 63.887666][ T442] EXT4-fs error (device sda1): ext4_symlink:3463: inode #1948: comm syz-executor392: mark_inode_dirty error [ 63.898883][ T448] should_fail+0x3c6/0x510 [ 63.898906][ T448] __should_failslab+0xa4/0xe0 [ 63.898928][ T448] should_failslab+0x9/0x20 [pid 449] symlink("./file0", "./file0" [pid 446] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 446] exit_group(0) = ? [pid 446] +++ exited with 0 +++ [pid 297] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=446, si_uid=0, si_status=0, si_utime=0, si_stime=15} --- [pid 297] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 297] umount2("./18", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 297] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 297] umount2("./18/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] unlink("./18/binderfs") = 0 [pid 297] umount2("./18/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] newfstatat(AT_FDCWD, "./18/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 297] umount2("./18/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 297] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 297] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 297] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 297] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 297] close(4) = 0 [pid 297] rmdir("./18/file0") = 0 [pid 297] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 297] close(3) = 0 [pid 297] rmdir("./18") = 0 [pid 297] mkdir("./19", 0777) = 0 [pid 297] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 450 [pid 442] <... symlink resumed>) = -1 ENOMEM (Cannot allocate memory) [pid 442] exit_group(0) = ? [pid 442] +++ exited with 0 +++ [pid 298] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=442, si_uid=0, si_status=0, si_utime=0, si_stime=4} --- [pid 298] restart_syscall(<... resuming interrupted clone ...>./strace-static-x86_64: Process 450 attached [pid 450] set_robust_list(0x555555a60660, 24) = 0 [pid 298] <... restart_syscall resumed>) = 0 [pid 298] umount2("./18", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./18", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 298] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 4 entries */, 32768) = 112 [pid 298] umount2("./18/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./18/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] unlink("./18/binderfs") = 0 [pid 298] umount2("./18/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] newfstatat(AT_FDCWD, "./18/file0", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 298] umount2("./18/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 298] openat(AT_FDCWD, "./18/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 298] newfstatat(4, "", {st_mode=S_IFDIR|000, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 298] getdents64(4, 0x555555a69730 /* 2 entries */, 32768) = 48 [pid 298] getdents64(4, 0x555555a69730 /* 0 entries */, 32768) = 0 [pid 298] close(4) = 0 [pid 298] rmdir("./18/file0") = 0 [pid 298] getdents64(3, 0x555555a616f0 /* 0 entries */, 32768) = 0 [pid 298] close(3) = 0 [pid 298] rmdir("./18") = 0 [pid 298] mkdir("./19", 0777) = 0 [pid 298] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555a60650) = 451 [pid 450] chdir("./19") = 0 [pid 450] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 450] setpgid(0, 0) = 0 [pid 450] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 450] write(3, "1000", 4) = 4 [pid 450] close(3) = 0 [pid 450] symlink("/dev/binderfs", "./binderfs") = 0 [pid 450] mkdir("./file0", 000) = 0 [pid 450] open("./file0", O_RDONLY) = 3 [pid 450] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 450] chdir("./file0") = 0 [pid 450] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 178545764 [pid 450] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 450] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 450] write(4, "24", 2) = 2 [pid 450] symlink("./file0", "./file0"./strace-static-x86_64: Process 451 attached [pid 451] set_robust_list(0x555555a60660, 24) = 0 [pid 451] chdir("./19") = 0 [pid 451] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 451] setpgid(0, 0) = 0 [pid 451] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 451] write(3, "1000", 4) = 4 [pid 451] close(3) = 0 [pid 451] symlink("/dev/binderfs", "./binderfs") = 0 [pid 451] mkdir("./file0", 000) = 0 [pid 451] open("./file0", O_RDONLY) = 3 [pid 451] ioctl(3, FS_IOC_SET_ENCRYPTION_POLICY, 0x20001e40) = 0 [pid 451] chdir("./file0") = 0 [pid 451] add_key("logon", "fscrypt:0000111122223333", "\x00\x00\x00\x00\x61\x5a\x09\x1a\x55\xa8\xc9\xa6\x40\x11\x5d\x99\xd9\x81\xb3\x88\x64\x20\x58\x9c\x66\x85\xd4\x98\x2a\x83\xb7\x1b\x90\x67\x69\xe7\x37\x20\x1a\xc6\xb7\xa7\x80\x44\x54\x15\x65\x69\xcb\xf3\xa5\xbe\x81\x1d\xeb\xc9\x57\xb5\x83\x1b\x89\xb5\x9d\x70\x3e\x74\x8c\x7c\x10\x00\x00\x00", 72, KEY_SPEC_THREAD_KEYRING) = 875272048 [pid 451] open("./bus", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 451] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 4 [pid 451] write(4, "24", 2) = 2 [ 63.925254][ T450] FAULT_INJECTION: forcing a failure. [ 63.925254][ T450] name failslab, interval 1, probability 0, space 0, times 0 [ 63.933777][ T448] slab_pre_alloc_hook+0x37/0xd0 [ 63.933818][ T448] __kmalloc+0x6d/0x270 [ 63.943323][ T451] FAULT_INJECTION: forcing a failure. [ 63.943323][ T451] name failslab, interval 1, probability 0, space 0, times 0 [ 63.946971][ T448] ? fscrypt_fname_encrypt+0x249/0x5d0 [ 63.946995][ T448] ? fscrypt_generate_iv+0x133/0x340 [ 63.947013][ T448] fscrypt_fname_encrypt+0x249/0x5d0 [ 63.947031][ T448] ? fscrypt_initialize+0xa0/0xa0 [ 64.000959][ T448] ? __kasan_kmalloc+0x9/0x10 [ 64.005465][ T448] ? __kmalloc+0x13a/0x270 [ 64.009723][ T448] ? __fscrypt_encrypt_symlink+0x16d/0x430 [ 64.015360][ T448] __fscrypt_encrypt_symlink+0x1f1/0x430 [ 64.020830][ T448] ? fscrypt_prepare_symlink+0x150/0x150 [ 64.026298][ T448] ext4_symlink+0x5b2/0xed0 [ 64.030637][ T448] ? ext4_unlink+0x3f0/0x3f0 [ 64.035074][ T448] ? selinux_inode_symlink+0x22/0x30 [ 64.040184][ T448] ? security_inode_symlink+0xb8/0x100 [ 64.045478][ T448] vfs_symlink+0x29f/0x480 [ 64.049738][ T448] do_symlinkat+0x1ea/0x5a0 [ 64.054067][ T448] ? __check_object_size+0x2ec/0x3d0 [ 64.059190][ T448] ? vfs_symlink+0x480/0x480 [ 64.063616][ T448] ? getname_flags+0x1fd/0x520 [ 64.068218][ T448] __x64_sys_symlink+0x7e/0x90 [ 64.072817][ T448] do_syscall_64+0x3d/0xb0 [ 64.077068][ T448] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 64.082806][ T448] RIP: 0033:0x7f3575952459 [ 64.087351][ T448] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 64.106928][ T448] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 64.115169][ T448] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 64.122986][ T448] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 64.130799][ T448] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 64.138702][ T448] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 64.146514][ T448] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000013 [ 64.154333][ T448] [ 64.157195][ T451] CPU: 0 PID: 451 Comm: syz-executor392 Tainted: G B 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 64.168658][ T451] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 64.178543][ T451] Call Trace: [ 64.181754][ T451] [ 64.184534][ T451] dump_stack_lvl+0x151/0x1b7 [ 64.189045][ T451] ? io_uring_drop_tctx_refs+0x190/0x190 [ 64.194514][ T451] ? prandom_u32+0x24c/0x290 [ 64.198939][ T451] dump_stack+0x15/0x17 [ 64.202933][ T451] should_fail+0x3c6/0x510 [ 64.207184][ T451] __should_failslab+0xa4/0xe0 [ 64.211787][ T451] should_failslab+0x9/0x20 [ 64.216125][ T451] slab_pre_alloc_hook+0x37/0xd0 [ 64.220918][ T451] __kmalloc+0x6d/0x270 [ 64.224894][ T451] ? __fscrypt_encrypt_symlink+0x16d/0x430 [ 64.230535][ T451] __fscrypt_encrypt_symlink+0x16d/0x430 [ 64.236004][ T451] ? selinux_determine_inode_label+0x29c/0x3b0 [ 64.241991][ T451] ? fscrypt_prepare_symlink+0x150/0x150 [ 64.247469][ T451] ext4_symlink+0x5b2/0xed0 [ 64.251799][ T451] ? ext4_unlink+0x3f0/0x3f0 [ 64.256222][ T451] ? selinux_inode_symlink+0x22/0x30 [ 64.261346][ T451] ? security_inode_symlink+0xb8/0x100 [ 64.266640][ T451] vfs_symlink+0x29f/0x480 [ 64.270891][ T451] do_symlinkat+0x1ea/0x5a0 [ 64.275229][ T451] ? __check_object_size+0x2ec/0x3d0 [ 64.280351][ T451] ? vfs_symlink+0x480/0x480 [ 64.284778][ T451] ? getname_flags+0x1fd/0x520 [ 64.289380][ T451] __x64_sys_symlink+0x7e/0x90 [ 64.293976][ T451] do_syscall_64+0x3d/0xb0 [ 64.298233][ T451] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 64.303957][ T451] RIP: 0033:0x7f3575952459 [ 64.308212][ T451] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 64.327653][ T451] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 64.335902][ T451] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 64.343710][ T451] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 64.351519][ T451] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 64.359334][ T451] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 64.367141][ T451] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000013 [ 64.374958][ T451] [ 64.377823][ T449] CPU: 1 PID: 449 Comm: syz-executor392 Tainted: G B 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 64.389274][ T449] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 64.399175][ T449] Call Trace: [ 64.402296][ T449] [ 64.405070][ T449] dump_stack_lvl+0x151/0x1b7 [ 64.409584][ T449] ? io_uring_drop_tctx_refs+0x190/0x190 [ 64.415050][ T449] ? stack_trace_snprint+0xf0/0xf0 [ 64.420002][ T449] dump_stack+0x15/0x17 [ 64.423992][ T449] should_fail+0x3c6/0x510 [ 64.428247][ T449] __should_failslab+0xa4/0xe0 [ 64.432843][ T449] should_failslab+0x9/0x20 [ 64.437187][ T449] slab_pre_alloc_hook+0x37/0xd0 [ 64.441961][ T449] __kmalloc+0x6d/0x270 [ 64.445951][ T449] ? fscrypt_fname_encrypt+0x249/0x5d0 [ 64.451244][ T449] ? fscrypt_generate_iv+0x133/0x340 [ 64.456364][ T449] fscrypt_fname_encrypt+0x249/0x5d0 [ 64.461488][ T449] ? fscrypt_initialize+0xa0/0xa0 [ 64.466349][ T449] ? __kasan_kmalloc+0x9/0x10 [ 64.470860][ T449] ? __kmalloc+0x13a/0x270 [ 64.475121][ T449] ? __fscrypt_encrypt_symlink+0x16d/0x430 [ 64.480759][ T449] __fscrypt_encrypt_symlink+0x1f1/0x430 [ 64.486226][ T449] ? fscrypt_prepare_symlink+0x150/0x150 [ 64.491693][ T449] ext4_symlink+0x5b2/0xed0 [ 64.496032][ T449] ? ext4_unlink+0x3f0/0x3f0 [ 64.500454][ T449] ? selinux_inode_symlink+0x22/0x30 [ 64.505585][ T449] ? security_inode_symlink+0xb8/0x100 [ 64.510878][ T449] vfs_symlink+0x29f/0x480 [ 64.515125][ T449] do_symlinkat+0x1ea/0x5a0 [ 64.519463][ T449] ? __check_object_size+0x2ec/0x3d0 [ 64.524589][ T449] ? vfs_symlink+0x480/0x480 [ 64.529014][ T449] ? getname_flags+0x1fd/0x520 [ 64.533611][ T449] __x64_sys_symlink+0x7e/0x90 [ 64.538214][ T449] do_syscall_64+0x3d/0xb0 [ 64.542466][ T449] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 64.548191][ T449] RIP: 0033:0x7f3575952459 [ 64.552446][ T449] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 64.571973][ T449] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 64.580217][ T449] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 64.588030][ T449] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 64.595843][ T449] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 64.603654][ T449] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 64.611462][ T449] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000015 [ 64.619280][ T449] [ 64.622734][ T448] EXT4-fs error (device sda1) in ext4_reserve_inode_write:5820: Readonly filesystem [ 64.626107][ T450] CPU: 0 PID: 450 Comm: syz-executor392 Tainted: G B 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 64.632825][ T448] EXT4-fs error (device sda1): ext4_symlink:3463: inode #1941: comm syz-executor392: mark_inode_dirty error [ 64.643380][ T450] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 64.643395][ T450] Call Trace: [ 64.643402][ T450] [ 64.643409][ T450] dump_stack_lvl+0x151/0x1b7 [ 64.643437][ T450] ? io_uring_drop_tctx_refs+0x190/0x190 [ 64.655149][ T440] ------------[ cut here ]------------ [ 64.664560][ T450] ? prandom_u32+0x24c/0x290 [ 64.664590][ T450] dump_stack+0x15/0x17 [ 64.667706][ T440] kernel BUG at fs/jbd2/transaction.c:1102! [ 64.670457][ T450] should_fail+0x3c6/0x510 [ 64.674979][ T440] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 64.680447][ T450] __should_failslab+0xa4/0xe0 [ 64.685740][ T440] CPU: 1 PID: 440 Comm: syz-executor392 Tainted: G B 5.15.139-syzkaller-00529-g05ef4ccb5774 #0 [ 64.690160][ T450] should_failslab+0x9/0x20 [ 64.694154][ T440] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 64.699880][ T450] slab_pre_alloc_hook+0x37/0xd0 [ 64.704133][ T440] RIP: 0010:do_get_write_access+0xd96/0xdb0 [ 64.710044][ T450] __kmalloc+0x6d/0x270 [ 64.714639][ T440] Code: 4d c8 80 e1 07 80 c1 03 38 c1 0f 8c f0 fe ff ff 48 8b 7d c8 e8 1b 83 b7 ff e9 e2 fe ff ff e8 d1 7d 75 ff 0f 0b e8 ca 7d 75 ff <0f> 0b e8 c3 7d 75 ff 0f 0b e8 bc 7d 75 ff 0f 0b 66 2e 0f 1f 84 00 [ 64.726093][ T450] ? __fscrypt_encrypt_symlink+0x16d/0x430 [ 64.730434][ T440] RSP: 0018:ffffc90000e67828 EFLAGS: 00010293 [ 64.740331][ T450] __fscrypt_encrypt_symlink+0x16d/0x430 [ 64.745187][ T440] [ 64.745195][ T440] RAX: ffffffff81fa8366 RBX: ffff88810bd42c80 RCX: ffff888117b213c0 [ 64.751025][ T450] ? selinux_determine_inode_label+0x29c/0x3b0 [ 64.755015][ T440] RDX: 0000000000000000 RSI: 0000000000000292 RDI: ffff88810bae30a0 [ 64.774633][ T450] ? fscrypt_prepare_symlink+0x150/0x150 [ 64.780274][ T440] RBP: ffffc90000e678f0 R08: dffffc0000000000 R09: ffffed10236a9312 [ 64.786180][ T450] ext4_symlink+0x5b2/0xed0 [ 64.791644][ T440] R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 [ 64.793814][ T450] ? ext4_unlink+0x3f0/0x3f0 [ 64.801624][ T440] R13: ffff88811b551238 R14: 1ffff110236a9311 R15: ffff88811b549888 [ 64.807614][ T450] ? selinux_inode_symlink+0x22/0x30 [ 64.815423][ T440] FS: 0000555555a60380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 64.820895][ T450] ? security_inode_symlink+0xb8/0x100 [ 64.828704][ T440] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 64.833043][ T450] vfs_symlink+0x29f/0x480 [ 64.840937][ T440] CR2: 00007f35759b19a4 CR3: 000000011fc20000 CR4: 00000000003506a0 [ 64.845368][ T450] do_symlinkat+0x1ea/0x5a0 [ 64.853180][ T440] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 64.858298][ T450] ? __check_object_size+0x2ec/0x3d0 [ 64.867064][ T440] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 64.872358][ T450] ? vfs_symlink+0x480/0x480 [ 64.878780][ T440] Call Trace: [ 64.878788][ T440] [ 64.883035][ T450] ? getname_flags+0x1fd/0x520 [ 64.890847][ T440] ? __die_body+0x62/0xb0 [ 64.895185][ T450] __x64_sys_symlink+0x7e/0x90 [ 64.902995][ T440] ? die+0x88/0xb0 [ 64.908121][ T450] do_syscall_64+0x3d/0xb0 [ 64.915930][ T440] ? do_trap+0x103/0x330 [ 64.920352][ T450] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 64.923481][ T440] ? do_get_write_access+0xd96/0xdb0 [ 64.926256][ T450] RIP: 0033:0x7f3575952459 [ 64.930855][ T440] ? handle_invalid_op+0x95/0xc0 [ 64.935024][ T450] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 64.939622][ T440] ? do_get_write_access+0xd96/0xdb0 [ 64.943181][ T450] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 [ 64.947434][ T440] ? exc_invalid_op+0x32/0x50 [ 64.951514][ T450] ORIG_RAX: 0000000000000058 [ 64.957241][ T440] ? asm_exc_invalid_op+0x1b/0x20 [ 64.962362][ T450] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 64.966618][ T440] ? do_get_write_access+0xd96/0xdb0 [ 64.971389][ T450] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 64.990832][ T440] ? do_get_write_access+0xd96/0xdb0 [ 64.995950][ T450] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 65.001857][ T440] ? do_get_write_access+0xd96/0xdb0 [ 65.006366][ T450] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 65.010884][ T440] jbd2_journal_get_write_access+0x195/0x2d0 [ 65.015741][ T450] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000013 [ 65.023551][ T440] __ext4_journal_get_write_access+0x244/0x690 [ 65.028672][ T450] [ 65.036483][ T440] ? __ext4_journal_ensure_credits+0x470/0x470 [ 65.045936][ T445] EXT4-fs error (device sda1) in ext4_reserve_inode_write:5820: Readonly filesystem [ 65.049420][ T440] ? debug_smp_processor_id+0x17/0x20 [ 65.049449][ T440] ext4_reserve_inode_write+0x2bd/0x3d0 [ 65.054604][ T445] EXT4-fs error (device sda1): ext4_symlink:3463: inode #1956: comm syz-executor392: mark_inode_dirty error [ 65.062351][ T440] ? ext4_mark_iloc_dirty+0x3f40/0x3f40 [ 65.062375][ T440] ? jbd2_journal_stop+0x82c/0xc70 [ 65.132365][ T440] ? ext4_symlink+0xa2c/0xed0 [ 65.136875][ T440] __ext4_mark_inode_dirty+0x129/0x7a0 [ 65.142167][ T440] ? sb_end_intwrite+0x120/0x120 [ 65.146942][ T440] ? jbd2_journal_start_reserved+0x410/0x410 [ 65.152759][ T440] ? fscrypt_prepare_symlink+0x150/0x150 [ 65.158226][ T440] ? __kasan_check_write+0x14/0x20 [ 65.163167][ T440] ? clear_nlink+0x89/0xe0 [ 65.167422][ T440] ext4_symlink+0xa2c/0xed0 [ 65.171766][ T440] ? ext4_unlink+0x3f0/0x3f0 [ 65.176188][ T440] ? selinux_inode_symlink+0x22/0x30 [ 65.181312][ T440] ? security_inode_symlink+0xb8/0x100 [ 65.186620][ T440] vfs_symlink+0x29f/0x480 [ 65.190857][ T440] do_symlinkat+0x1ea/0x5a0 [ 65.195194][ T440] ? __check_object_size+0x2ec/0x3d0 [ 65.200318][ T440] ? vfs_symlink+0x480/0x480 [ 65.204744][ T440] ? getname_flags+0x1fd/0x520 [ 65.209344][ T440] __x64_sys_symlink+0x7e/0x90 [ 65.213941][ T440] do_syscall_64+0x3d/0xb0 [ 65.218283][ T440] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 65.224011][ T440] RIP: 0033:0x7f3575952459 [ 65.228270][ T440] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 65.247708][ T440] RSP: 002b:00007ffca7133728 EFLAGS: 00000246 ORIG_RAX: 0000000000000058 [ 65.255969][ T440] RAX: ffffffffffffffda RBX: 00007ffca7133750 RCX: 00007f3575952459 [ 65.263767][ T440] RDX: 00007f3575951520 RSI: 0000000020000180 RDI: 0000000020000140 [ 65.271576][ T440] RBP: 0000000000000002 R08: 00007ffca71334c6 R09: 00007ffca719a198 [ 65.279385][ T440] R10: 0000000000000002 R11: 0000000000000246 R12: 00007ffca713374c [ 65.287197][ T440] R13: 00007ffca7133790 R14: 00007ffca7133770 R15: 0000000000000012 [ 65.295009][ T440] [ 65.297894][ T440] Modules linked in: [ 65.301700][ T440] ---[ end trace f2bd4c4fff801a90 ]--- [ 65.306909][ T440] RIP: 0010:do_get_write_access+0xd96/0xdb0 [ 65.312715][ T440] Code: 4d c8 80 e1 07 80 c1 03 38 c1 0f 8c f0 fe ff ff 48 8b 7d c8 e8 1b 83 b7 ff e9 e2 fe ff ff e8 d1 7d 75 ff 0f 0b e8 ca 7d 75 ff <0f> 0b e8 c3 7d 75 ff 0f 0b e8 bc 7d 75 ff 0f 0b 66 2e 0f 1f 84 00 [ 65.332168][ T440] RSP: 0018:ffffc90000e67828 EFLAGS: 00010293 [ 65.338069][ T440] RAX: ffffffff81fa8366 RBX: ffff88810bd42c80 RCX: ffff888117b213c0 [ 65.345868][ T440] RDX: 0000000000000000 RSI: 0000000000000292 RDI: ffff88810bae30a0 [ 65.353692][ T440] RBP: ffffc90000e678f0 R08: dffffc0000000000 R09: ffffed10236a9312 [ 65.361589][ T440] R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 [ 65.369399][ T440] R13: ffff88811b551238 R14: 1ffff110236a9311 R15: ffff88811b549888 [ 65.377218][ T440] FS: 0000555555a60380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 65.385975][ T440] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 65.392411][ T440] CR2: 00007f35759b19a4 CR3: 000000011fc20000 CR4: 00000000003506a0 [ 65.400215][ T440] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 65.408036][ T440] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 65.415825][ T440] Kernel panic - not syncing: Fatal exception [ 65.421924][ T440] Kernel Offset: disabled [ 65.426049][ T440] Rebooting in 86400 seconds..