β¬’ DragonFlyBSD Kernel Audit
← triage Β· dashboard
DF-4960

led_set() always returns 0, swallowing ENOMEM/ENOENT from its own logic (DragonFly divergence)

Summary

DFly returns constant 0 where FreeBSD returns error - callers of the exported API cannot detect failures. Latent (no in-tree callers). return (error) fix.

Discussion (0)

No comments yet.

PoC verification

Evidence pack

findings/poc/DF-4960 Β· 1 files
FileTypeDescriptionSize
verdict.json file 586 B view raw

Fix verification

not_testable
per-fix-DF-4960

Confirmed kernel references

Detail

Exploit chain

none - latent API bug

Evidence (decisive lines)

findings/poc/DF-4960/ (this verdict)

Verdict

API-correctness (Info; DFly divergence): led_set computes error from led_parse (ENOMEM) and the name lookup (ENOENT) but returns constant 0 at :277 - FreeBSD returns error. Callers of the exported kernel API cannot detect a failed set. No in-tree callers today (latent). return (error) fix.