DragonFlyBSD Kernel Audit
← dashboard
DF-0218

kcollect_setvalue divides by kcollect_samples without guard

Summary

kcollect_setvalue(:128-130) kcollect_index%kcollect_samples no >0 check. kern.collect_samples=0 -> div-by-zero. kcollect_ary NULL -> NULL deref. Requires kernel module calling it while disabled.