{
  "finding_id": "DF-3564",
  "title": "SipHash_SetKey retains verbatim 128-bit key on the stack (no zeroization)",
  "verdict": "reproduced",
  "impact": "none",
  "reproduce": {
    "build": "cd findings/poc/DF-3564 && ./build.sh   (compiles /usr/src/sys/crypto/siphash/siphash.c as-is as a userland object via the bundled shim)",
    "run": "./run.sh",
    "expected": "sip_keyscan prints 'RETAINED: verbatim 16-byte key found on the dead stack, offset -112' and 'DF-3564 CONFIRMED'; sip_kat prints 'RESULT: PASS: 2111 checks, 0 failures'. With fix.diff applied the keyscan prints NOT FOUND and exits 1."
  },
  "kernel_refs": [
    "sys/crypto/siphash/siphash.c:69",
    "sys/crypto/siphash/siphash.c:71",
    "sys/crypto/siphash/siphash.c:188",
    "sys/net/wg/wg_noise.c:240",
    "sys/net/wg/wg_noise.c:457",
    "sys/net/wg/wg_noise.c:498",
    "sys/net/wg/wg_cookie.c:136"
  ],
  "artifacts": [
    "README.md", "VERDICT.md", "sip_keyscan.c", "sip_kat.c", "build.sh",
    "run.sh", "shim/", "build.log", "run.log", "fix.diff", "fix_run.log",
    "fix_build.log", "env.txt", "manifest.json", "verdict.json"
  ]
}
