⬢ DragonFlyBSD Kernel Audit
DF-5100 / manifest.json
← back to finding ↓ download raw
{
  "finding_id": "DF-5100",
  "verdict": "inconclusive",
  "impact": "none",
  "confidence": "certain",
  "reproduce": {
    "build": "cc -O2 -Wall -o joy_crit_loop joy_crit_loop.c",
    "run": "./joy_crit_loop",
    "expected": "On hardware with /dev/joy0: five 'read N: ~10000 us' lines, each an interrupt-masked crit-section spin bounded by WALL-CLOCK nanotime (kern_clock.c:1562-1587); a concurrent backward settimeofday()/NTP step extends individual reads by ~step-seconds. On this guest: exit 2, open() ENOENT — joy(4) never attaches."
  },
  "kernel_refs": [
    "sys/dev/misc/joy/joy.c:190-213",
    "sys/dev/misc/joy/joy.c:193",
    "sys/dev/misc/joy/joy.c:195-196",
    "sys/dev/misc/joy/joy.c:204",
    "sys/kern/kern_clock.c:1562-1587",
    "sys/dev/misc/joy/joy.c:243",
    "sys/sys/time.h:185"
  ],
  "artifacts": [
    "README.md", "VERDICT.md", "joy_crit_loop.c", "build.sh", "run.sh",
    "build.log", "run.log", "env.txt", "fix.diff", "manifest.json", "verdict.json"
  ]
}