./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1047507663 <...> Warning: Permanently added '10.128.1.82' (ED25519) to the list of known hosts. execve("./syz-executor1047507663", ["./syz-executor1047507663"], 0x7ffd79224b00 /* 10 vars */) = 0 brk(NULL) = 0x55555ea73000 brk(0x55555ea73d00) = 0x55555ea73d00 arch_prctl(ARCH_SET_FS, 0x55555ea73380) = 0 set_tid_address(0x55555ea73650) = 297 set_robust_list(0x55555ea73660, 24) = 0 rseq(0x55555ea73ca0, 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-executor1047507663", 4096) = 28 getrandom("\xf1\x71\xd9\x9b\xda\xbb\x4d\x09", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555ea73d00 brk(0x55555ea94d00) = 0x55555ea94d00 brk(0x55555ea95000) = 0x55555ea95000 mprotect(0x7fc7bb244000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 mkdir("./syzkaller.4GgIsZ", 0700) = 0 chmod("./syzkaller.4GgIsZ", 0777) = 0 chdir("./syzkaller.4GgIsZ") = 0 mkdir("./0", 0777) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55555ea73650) = 299 ./strace-static-x86_64: Process 299 attached [pid 299] set_robust_list(0x55555ea73660, 24) = 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) = 3 [pid 299] write(3, "1000", 4) = 4 [pid 299] close(3) = 0 [pid 299] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 299] write(1, "executing program\n", 18) = 18 [pid 299] memfd_create("syzkaller", 0) = 3 [pid 299] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc7b2d91000 [pid 299] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 262144) = 262144 [pid 299] munmap(0x7fc7b2d91000, 138412032) = 0 [pid 299] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 299] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 299] close(3) = 0 [ 25.758224][ T30] audit: type=1400 audit(1729668808.888:66): avc: denied { execmem } for pid=297 comm="syz-executor104" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 25.778090][ T30] audit: type=1400 audit(1729668808.888:67): avc: denied { read write } for pid=297 comm="syz-executor104" name="loop0" dev="devtmpfs" ino=112 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 25.791855][ T299] loop0: detected capacity change from 0 to 512 [pid 299] close(4) = 0 [pid 299] mkdir("./file0", 0777) = 0 [ 25.803813][ T30] audit: type=1400 audit(1729668808.888:68): avc: denied { open } for pid=297 comm="syz-executor104" path="/dev/loop0" dev="devtmpfs" ino=112 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 25.832332][ T30] audit: type=1400 audit(1729668808.888:69): avc: denied { ioctl } for pid=297 comm="syz-executor104" path="/dev/loop0" dev="devtmpfs" ino=112 ioctlcmd=0x4c01 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 25.889079][ T30] audit: type=1400 audit(1729668809.018:70): avc: denied { mounton } for pid=299 comm="syz-executor104" path="/root/syzkaller.4GgIsZ/0/file0" dev="sda1" ino=1930 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 25.891746][ T299] EXT4-fs error (device loop0): ext4_xattr_inode_iget:404: comm syz-executor104: inode #1: comm syz-executor104: iget: illegal inode # [pid 299] mount("/dev/loop0", "./file0", "ext4", MS_NODEV|MS_NOEXEC|MS_NOSYMFOLLOW|MS_NOATIME|MS_I_VERSION|0x200, ",errors=continue") = 0 [pid 299] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 299] chdir("./file0") = 0 [pid 299] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 299] ioctl(4, LOOP_CLR_FD) = 0 [pid 299] close(4) = 0 [pid 299] mount("./file0", "./file0", "incremental-fs", 0, NULL) = 0 [pid 299] exit_group(0) = ? [pid 299] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=299, si_uid=0, si_status=0, si_utime=0, si_stime=6} --- restart_syscall(<... resuming interrupted clone ...>) = 0 umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 getdents64(3, 0x55555ea746f0 /* 4 entries */, 32768) = 112 umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./0/binderfs") = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0755, st_size=1024, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EBUSY (Device or resource busy) openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 newfstatat(4, "", {st_mode=S_IFDIR|0755, st_size=1024, ...}, AT_EMPTY_PATH) = 0 [ 25.927043][ T299] EXT4-fs error (device loop0): ext4_xattr_inode_iget:409: comm syz-executor104: error while reading EA inode 1 err=-117 [ 25.939743][ T299] EXT4-fs (loop0): 1 orphan inode deleted [ 25.945285][ T299] EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue. Quota mode: none. [ 25.955983][ T30] audit: type=1400 audit(1729668809.088:71): avc: denied { mount } for pid=299 comm="syz-executor104" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 getdents64(4, 0x55555ea7c730 /* 5 entries */, 32768) = 144 umount2("./0/file0/lost+found", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/file0/lost+found", {st_mode=S_IFBLK|S_ISVTX|0614, st_rdev=makedev(0, 0xe), ...}, AT_SYMLINK_NOFOLLOW) = 0 unlink("./0/file0/lost+found") = 0 umount2("./0/file0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) newfstatat(AT_FDCWD, "./0/file0/file1", {st_mode=S_IFDIR|0700, st_size=60, ...}, AT_SYMLINK_NOFOLLOW) = 0 umount2("./0/file0/file1", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "./0/file0/file1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 newfstatat(5, "", {st_mode=S_IFDIR|0700, st_size=60, ...}, AT_EMPTY_PATH) = 0 getdents64(5, 0x55555ea84770 /* 2 entries */, 32768) = 48 getdents64(5, 0x55555ea84770 /* 0 entries */, 32768) = 0 close(5) = 0 rmdir("./0/file0/file1") = 0 [ 25.969776][ T297] EXT4-fs error (device loop0): htree_dirblock_to_tree:1112: inode #2: block 13: comm syz-executor104: bad entry in directory: rec_len is smaller than minimal - offset=76, inode=0, rec_len=0, size=1024 fake=0 [ 25.977753][ T30] audit: type=1400 audit(1729668809.088:72): avc: denied { mounton } for pid=299 comm="syz-executor104" path="/root/syzkaller.4GgIsZ/0/file0/file0" dev="loop0" ino=12 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 26.022710][ T30] audit: type=1400 audit(1729668809.088:73): avc: denied { write } for pid=299 comm="syz-executor104" name="file0" dev="loop0" ino=12 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 26.044956][ T297] ------------[ cut here ]------------ [ 26.044980][ T30] audit: type=1400 audit(1729668809.088:74): avc: denied { add_name } for pid=299 comm="syz-executor104" name=".index" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 26.050347][ T297] kernel BUG at fs/namei.c:2933! [ 26.071461][ T30] audit: type=1400 audit(1729668809.088:75): avc: denied { create } for pid=299 comm="syz-executor104" name=".index" scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=dir permissive=1 [ 26.075862][ T297] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 26.101955][ T297] CPU: 1 PID: 297 Comm: syz-executor104 Not tainted 5.15.167-syzkaller-02003-g5e4635681cf1 #0 [ 26.112020][ T297] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 26.121912][ T297] RIP: 0010:may_delete+0x6eb/0x6f0 [ 26.126867][ T297] Code: 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 7f fe ff ff 4c 89 e7 e8 06 71 f4 ff e9 72 fe ff ff e8 3c 1f b2 ff 0f 0b e8 35 1f b2 ff <0f> 0b 0f 1f 00 55 48 89 e5 41 56 53 48 89 fb e8 21 1f b2 ff 4c 8d [ 26.146302][ T297] RSP: 0018:ffffc90000957bb0 EFLAGS: 00010293 [ 26.152203][ T297] RAX: ffffffff81be384b RBX: ffff88812445acf0 RCX: ffff8881233acf00 [ 26.160102][ T297] RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 [ 26.167998][ T297] RBP: ffffc90000957c18 R08: ffffffff81be31df R09: 0000000000000003 [ 26.175808][ T297] R10: fffff5200012af58 R11: dffffc0000000001 R12: ffff88812445a550 [ 26.183619][ T297] R13: 1ffff1102488b4aa R14: ffff8881092a7638 R15: dffffc0000000000 [ 26.191431][ T297] FS: 000055555ea73380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 26.200197][ T297] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 26.206633][ T297] CR2: 000055555ea8c778 CR3: 0000000122e67000 CR4: 00000000003506a0 [ 26.214434][ T297] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 26.222245][ T297] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 26.230056][ T297] Call Trace: [ 26.233183][ T297] [ 26.235959][ T297] ? __die_body+0x62/0xb0 [ 26.240123][ T297] ? die+0x88/0xb0 [ 26.243682][ T297] ? do_trap+0x103/0x330 [ 26.247765][ T297] ? may_delete+0x6eb/0x6f0 [ 26.252099][ T297] ? handle_invalid_op+0x95/0xc0 [ 26.256872][ T297] ? may_delete+0x6eb/0x6f0 [ 26.261214][ T297] ? exc_invalid_op+0x32/0x50 [ 26.265744][ T297] ? asm_exc_invalid_op+0x1b/0x20 [ 26.270588][ T297] ? may_delete+0x7f/0x6f0 [ 26.274838][ T297] ? may_delete+0x6eb/0x6f0 [ 26.279178][ T297] ? may_delete+0x6eb/0x6f0 [ 26.283521][ T297] vfs_rmdir+0x32/0x470 [ 26.287513][ T297] incfs_kill_sb+0x113/0x230 [ 26.291940][ T297] deactivate_locked_super+0xad/0x110 [ 26.297147][ T297] deactivate_super+0xbe/0xf0 [ 26.301659][ T297] cleanup_mnt+0x45c/0x510 [ 26.305912][ T297] __cleanup_mnt+0x19/0x20 [ 26.310324][ T297] task_work_run+0x129/0x190 [ 26.314678][ T297] ptrace_notify+0x29e/0x350 [ 26.319102][ T297] ? do_notify_parent+0xa30/0xa30 [ 26.323963][ T297] ? user_path_at_empty+0x14e/0x1a0 [ 26.329001][ T297] ? __x64_sys_umount+0x122/0x170 [ 26.333857][ T297] ? path_umount+0xea0/0xea0 [ 26.338285][ T297] syscall_exit_to_user_mode+0xa3/0x160 [ 26.343671][ T297] do_syscall_64+0x47/0xb0 [ 26.347917][ T297] ? clear_bhb_loop+0x35/0x90 [ 26.352432][ T297] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 26.358248][ T297] RIP: 0033:0x7fc7bb1d1387 [ 26.362499][ T297] Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 [ 26.381943][ T297] RSP: 002b:00007ffe8abde1b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 26.390188][ T297] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fc7bb1d1387 [ 26.397998][ T297] RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe8abde270 [ 26.405808][ T297] RBP: 00007ffe8abde270 R08: 0000000000000000 R09: 0000000000000000 [ 26.413620][ T297] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffe8abdf360 [ 26.421431][ T297] R13: 000055555ea7c700 R14: 0000000000000001 R15: 431bde82d7b634db [ 26.429247][ T297] [ 26.432106][ T297] Modules linked in: [ 26.435939][ T297] ---[ end trace e75530e4d6ce436b ]--- [ 26.441181][ T297] RIP: 0010:may_delete+0x6eb/0x6f0 [ 26.446089][ T297] Code: 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 7f fe ff ff 4c 89 e7 e8 06 71 f4 ff e9 72 fe ff ff e8 3c 1f b2 ff 0f 0b e8 35 1f b2 ff <0f> 0b 0f 1f 00 55 48 89 e5 41 56 53 48 89 fb e8 21 1f b2 ff 4c 8d [ 26.465686][ T297] RSP: 0018:ffffc90000957bb0 EFLAGS: 00010293 [ 26.471573][ T297] RAX: ffffffff81be384b RBX: ffff88812445acf0 RCX: ffff8881233acf00 [ 26.479393][ T297] RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 [ 26.487199][ T297] RBP: ffffc90000957c18 R08: ffffffff81be31df R09: 0000000000000003 [ 26.495038][ T297] R10: fffff5200012af58 R11: dffffc0000000001 R12: ffff88812445a550 [ 26.502824][ T297] R13: 1ffff1102488b4aa R14: ffff8881092a7638 R15: dffffc0000000000 [ 26.510649][ T297] FS: 000055555ea73380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 [ 26.519509][ T297] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 26.525914][ T297] CR2: 000055555ea8c778 CR3: 0000000122e67000 CR4: 00000000003506a0 [ 26.533760][ T297] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 26.541552][ T297] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 26.549392][ T297] Kernel panic - not syncing: Fatal exception [ 26.555546][ T297] Kernel Offset: disabled [ 26.559680][ T297] Rebooting in 86400 seconds..