DragonFlyBSD Kernel Audit
← dashboard
DF-0127

cndbctl uses unlocked static refcount

Summary

cndbctl(:570-583) increments/decrements function-static refcount with no lock. Concurrent CPUs could underflow or call cn_dbctl with wrong value. Debugger path single-threaded in practice. Hardening.