./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3454536608 <...> d { noatsecure } for pid=216 comm="sshd" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 11.604571][ T24] audit: type=1400 audit(1726587076.840:63): avc: denied { write } for pid=216 comm="sh" path="pipe:[13761]" dev="pipefs" ino=13761 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 11.608599][ T24] audit: type=1400 audit(1726587076.840:64): avc: denied { rlimitinh } for pid=216 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 11.611521][ T24] audit: type=1400 audit(1726587076.840:65): avc: denied { siginh } for pid=216 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 Warning: Permanently added '10.128.0.126' (ED25519) to the list of known hosts. execve("./syz-executor3454536608", ["./syz-executor3454536608"], 0x7fff66a5ef80 /* 10 vars */) = 0 brk(NULL) = 0x55558b600000 brk(0x55558b600d00) = 0x55558b600d00 arch_prctl(ARCH_SET_FS, 0x55558b600380) = 0 set_tid_address(0x55558b600650) = 286 set_robust_list(0x55558b600660, 24) = 0 rseq(0x55558b600ca0, 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-executor3454536608", 4096) = 28 getrandom("\xbb\xb2\x9f\x0b\x76\x0b\xd7\x5a", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558b600d00 brk(0x55558b621d00) = 0x55558b621d00 brk(0x55558b622000) = 0x55558b622000 mprotect(0x7f1ac379b000, 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.A98ep2", 0700) = 0 chmod("./syzkaller.A98ep2", 0777) = 0 chdir("./syzkaller.A98ep2") = 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=0x55558b600650) = 288 ./strace-static-x86_64: Process 288 attached [pid 288] set_robust_list(0x55558b600660, 24) = 0 [pid 288] chdir("./0") = 0 [pid 288] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 288] setpgid(0, 0) = 0 [pid 288] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 288] write(3, "1000", 4) = 4 [pid 288] close(3) = 0 [pid 288] symlink("/dev/binderfs", "./binderfs") = 0 executing program [pid 288] write(1, "executing program\n", 18) = 18 [pid 288] memfd_create("syzkaller", 0) = 3 [pid 288] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1abb2e8000 [pid 288] 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 288] munmap(0x7f1abb2e8000, 138412032) = 0 [pid 288] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 288] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 288] close(3) = 0 [pid 288] close(4) = 0 [pid 288] mkdir("./file0", 0777) = 0 [ 20.641050][ T24] audit: type=1400 audit(1726587085.890:66): avc: denied { execmem } for pid=286 comm="syz-executor345" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 20.647667][ T24] audit: type=1400 audit(1726587085.890:67): avc: denied { read write } for pid=286 comm="syz-executor345" name="loop0" dev="devtmpfs" ino=111 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 20.653184][ T24] audit: type=1400 audit(1726587085.890:68): avc: denied { open } for pid=286 comm="syz-executor345" path="/dev/loop0" dev="devtmpfs" ino=111 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 20.657679][ T24] audit: type=1400 audit(1726587085.910:69): avc: denied { ioctl } for pid=286 comm="syz-executor345" path="/dev/loop0" dev="devtmpfs" ino=111 ioctlcmd=0x4c01 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fixed_disk_device_t tclass=blk_file permissive=1 [ 20.719069][ T24] audit: type=1400 audit(1726587085.970:70): avc: denied { mounton } for pid=288 comm="syz-executor345" path="/root/syzkaller.A98ep2/0/file0" dev="sda1" ino=1930 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:user_home_t tclass=dir permissive=1 [ 20.779691][ T288] EXT4-fs (loop0): Ignoring removed nobh option [ 20.788192][ T288] EXT4-fs error (device loop0): ext4_xattr_inode_iget:404: comm syz-executor345: inode #1: comm syz-executor345: iget: illegal inode # [ 20.802204][ T288] EXT4-fs error (device loop0): ext4_xattr_inode_iget:409: comm syz-executor345: error while reading EA inode 1 err=-117 [ 20.814971][ T288] EXT4-fs (loop0): 1 orphan inode deleted [pid 288] mount("/dev/loop0", "./file0", "ext4", MS_NOSYMFOLLOW|MS_NOATIME|MS_I_VERSION|0x200, "journal_ioprio=0x0000000000000005,journal_dev=0x0000000000008000,nobh,minixdf,resgid=0x0000000000000"...) = 0 [pid 288] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 288] chdir("./file0") = 0 [pid 288] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 288] ioctl(4, LOOP_CLR_FD) = 0 [pid 288] close(4) = 0 [pid 288] mount("./file0", "./file0", "incremental-fs", 0, NULL) = 0 [pid 288] exit_group(0) = ? [pid 288] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=288, si_uid=0, si_status=0, si_utime=0, si_stime=5} --- 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, 0x55558b6016f0 /* 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 [ 20.820523][ T288] EXT4-fs (loop0): mounted filesystem without journal. Opts: journal_ioprio=0x0000000000000005,journal_dev=0x0000000000008000,nobh,minixdf,resgid=0x0000000000000000,grpquota,usrjquota=,,errors=continue [ 20.840474][ T24] audit: type=1400 audit(1726587086.090:71): avc: denied { mount } for pid=288 comm="syz-executor345" name="/" dev="loop0" ino=2 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:fs_t tclass=filesystem permissive=1 getdents64(4, 0x55558b609730 /* 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, 0x55558b611770 /* 2 entries */, 32768) = 48 getdents64(5, 0x55558b611770 /* 0 entries */, 32768) = 0 close(5) = 0 rmdir("./0/file0/file1") = 0 [ 20.854118][ T286] EXT4-fs error (device loop0): htree_dirblock_to_tree:1092: inode #2: block 13: comm syz-executor345: bad entry in directory: rec_len is smaller than minimal - offset=76, inode=0, rec_len=0, size=1024 fake=0 [ 20.862208][ T24] audit: type=1400 audit(1726587086.090:72): avc: denied { mounton } for pid=288 comm="syz-executor345" path="/root/syzkaller.A98ep2/0/file0/file0" dev="loop0" ino=12 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 20.907555][ T24] audit: type=1400 audit(1726587086.100:73): avc: denied { write } for pid=288 comm="syz-executor345" name="file0" dev="loop0" ino=12 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 20.907701][ T286] ------------[ cut here ]------------ [ 20.929843][ T24] audit: type=1400 audit(1726587086.100:74): avc: denied { add_name } for pid=288 comm="syz-executor345" name=".index" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:unlabeled_t tclass=dir permissive=1 [ 20.935467][ T286] kernel BUG at fs/namei.c:2786! [ 20.955972][ T24] audit: type=1400 audit(1726587086.100:75): avc: denied { create } for pid=288 comm="syz-executor345" name=".index" scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:unlabeled_t tclass=dir permissive=1 [ 20.981214][ T286] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 20.987168][ T286] CPU: 0 PID: 286 Comm: syz-executor345 Not tainted 5.10.225-syzkaller-00513-g8d23314f588a #0 [ 20.997413][ T286] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 21.007517][ T286] RIP: 0010:may_delete+0x755/0x760 [ 21.012433][ T286] Code: 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c db fd ff ff 4c 89 ef e8 1c 32 f4 ff e9 ce fd ff ff e8 32 98 b6 ff 0f 0b e8 2b 98 b6 ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8 [ 21.031895][ T286] RSP: 0018:ffffc90000b17bb8 EFLAGS: 00010293 [ 21.037773][ T286] RAX: ffffffff81b414b5 RBX: ffff88811c6d27a0 RCX: ffff8881212a13c0 [ 21.045764][ T286] RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 [ 21.053667][ T286] RBP: ffffc90000b17c38 R08: ffffffff81b40dd3 R09: 0000000000000003 [ 21.061621][ T286] R10: fffff52000162f5c R11: dffffc0000000001 R12: 0000000000000001 [ 21.069423][ T286] R13: ffff88811c6d3880 R14: ffff88811056ce60 R15: dffffc0000000000 [ 21.077841][ T286] FS: 000055558b600380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 21.087889][ T286] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 21.094312][ T286] CR2: 000055e16b6140d8 CR3: 000000012114d000 CR4: 00000000003506b0 [ 21.102206][ T286] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 21.110009][ T286] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 21.117918][ T286] Call Trace: [ 21.121040][ T286] ? __die_body+0x62/0xb0 [ 21.125297][ T286] ? die+0x88/0xb0 [ 21.129074][ T286] ? do_trap+0x1a4/0x310 [ 21.133113][ T286] ? may_delete+0x755/0x760 [ 21.137533][ T286] ? handle_invalid_op+0x95/0xc0 [ 21.142322][ T286] ? may_delete+0x755/0x760 [ 21.146776][ T286] ? exc_invalid_op+0x32/0x50 [ 21.151256][ T286] ? asm_exc_invalid_op+0x12/0x20 [ 21.156202][ T286] ? may_delete+0x73/0x760 [ 21.160453][ T286] ? may_delete+0x755/0x760 [ 21.164793][ T286] ? may_delete+0x755/0x760 [ 21.169135][ T286] ? may_delete+0x755/0x760 [ 21.173473][ T286] vfs_rmdir+0x2c/0x3f0 [ 21.177468][ T286] incfs_kill_sb+0x108/0x220 [ 21.181893][ T286] deactivate_locked_super+0xad/0x110 [ 21.187104][ T286] deactivate_super+0xbe/0xf0 [ 21.191615][ T286] cleanup_mnt+0x45c/0x510 [ 21.195865][ T286] __cleanup_mnt+0x19/0x20 [ 21.200218][ T286] task_work_run+0x129/0x190 [ 21.204634][ T286] ptrace_notify+0x29e/0x350 [ 21.209079][ T286] ? do_notify_parent+0xa10/0xa10 [ 21.213924][ T286] ? user_path_at_empty+0x40/0x50 [ 21.218872][ T286] ? __x64_sys_umount+0x122/0x170 [ 21.223731][ T286] ? path_umount+0xea0/0xea0 [ 21.228251][ T286] syscall_exit_to_user_mode+0xf5/0x1a0 [ 21.233721][ T286] do_syscall_64+0x40/0x70 [ 21.237984][ T286] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 21.243694][ T286] RIP: 0033:0x7f1ac37284c7 [ 21.247950][ T286] 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 [ 21.267484][ T286] RSP: 002b:00007ffdff500fd8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6 [ 21.275806][ T286] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f1ac37284c7 [ 21.283626][ T286] RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffdff501090 [ 21.291434][ T286] RBP: 00007ffdff501090 R08: 0000000000000000 R09: 0000000000000000 [ 21.299242][ T286] R10: 00000000ffffffff R11: 0000000000000206 R12: 00007ffdff502180 [ 21.307054][ T286] R13: 000055558b609700 R14: 431bde82d7b634db R15: 00007ffdff503210 [ 21.314865][ T286] Modules linked in: [ 21.318674][ T286] ---[ end trace d3db5de005d59dd9 ]--- [ 21.324026][ T286] RIP: 0010:may_delete+0x755/0x760 [ 21.328968][ T286] Code: 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c db fd ff ff 4c 89 ef e8 1c 32 f4 ff e9 ce fd ff ff e8 32 98 b6 ff 0f 0b e8 2b 98 b6 ff <0f> 0b 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 56 53 48 89 fb e8 [ 21.348418][ T286] RSP: 0018:ffffc90000b17bb8 EFLAGS: 00010293 [ 21.354268][ T286] RAX: ffffffff81b414b5 RBX: ffff88811c6d27a0 RCX: ffff8881212a13c0 [ 21.362108][ T286] RDX: 0000000000000000 RSI: 0000000000200000 RDI: 0000000000000000 [ 21.369908][ T286] RBP: ffffc90000b17c38 R08: ffffffff81b40dd3 R09: 0000000000000003 [ 21.377902][ T286] R10: fffff52000162f5c R11: dffffc0000000001 R12: 0000000000000001 [ 21.385695][ T286] R13: ffff88811c6d3880 R14: ffff88811056ce60 R15: dffffc0000000000 [ 21.393555][ T286] FS: 000055558b600380(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 [ 21.402286][ T286] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 21.408717][ T286] CR2: 000055e16b6140d8 CR3: 000000012114d000 CR4: 00000000003506b0 [ 21.416501][ T286] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 21.424340][ T286] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 21.432139][ T286] Kernel panic - not syncing: Fatal exception [ 21.438219][ T286] Kernel Offset: disabled [ 21.442341][ T286] Rebooting in 86400 seconds..