DragonFlyBSD Kernel Audit
DF-3024 / manifest.json
← back to finding ↓ download raw
{
  "verdict": "reproduced",
  "impact": "none",
  "confidence": "certain",
  "reproduce": {
    "build": "cc -O2 -o df3024 trigger.c",
    "run": "(root) touch /tmp/df3024_victim && chmod 666 /tmp/df3024_victim; (unpriv) ./df3024",
    "expected": "utimensat returns 0 and root-owned file's mtime/atime become 1000000000 (2001-09-09) although the caller is neither owner nor root — POSIX/UFS would return EPERM"
  },
  "kernel_refs": [
    "sys/vfs/tmpfs/tmpfs_subr.c:1291",
    "sys/vfs/tmpfs/tmpfs_vnops.c:486",
    "sys/kern/vfs_syscalls.c:3961",
    "sys/kern/vfs_syscalls.c:3847",
    "sys/kern/vfs_nlookup.c:1869",
    "sys/vfs/ufs/ufs_vnops.c:461"
  ],
  "artifacts": [
    "README.md", "VERDICT.md", "trigger.c", "fix.diff",
    "run.log", "env.txt", "manifest.json", "verdict.json"
  ]
}