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

KKASSERT-only invariants vanish on production kernels (UAF/queue-corruption risk)

Summary

systimer_add(:148,:201) and systimer_del(:220) guard critical invariants (SYSTF_ONQUEUE, SYSTF_IPIRUNNING, owning-CPU check) with KKASSERT only. Production kernels: these are no-ops. Caller contract violation -> silent UAF/queue corruption instead of loud panic. No in-tree caller violates today.

Discussion (0)

No comments yet.

PoC verification

Evidence pack

findings/poc/DF-0154 Β· 1 files
FileTypeDescriptionSize
manifest.json file 389 B view raw

Fix verification

not_testable
baseline reproduced→ patch + rebuild →patched clean

recommended fix identified; fix.diff not authored/validated in this batch

recommended fix identified; fix.diff not authored/validated in this batch
combined build rc=0

Confirmed kernel references

β€”

Detail

Exploit chain

none (Info severity)

Evidence (decisive lines)

Source-confirmed at sys/kern/kern_systimer.c:148: KKASSERT-only invariants vanish on production kernels

Verified recommended fix

Source-confirmed at sys/kern/kern_systimer.c:148: KKASSERT-only invariants vanish on production kernels

Verdict

Source-confirmed at sys/kern/kern_systimer.c:148: KKASSERT-only invariants vanish on production kernels