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

Lockless read of exec_res_id counter mutated under list lock

Summary

exec_res_id written under exec_list_lock exclusive(:234,:312) but read lockless in sysctl_vm_resident(:138,:143). Benign torn read on x86 (int). Size hint may be stale vs locked iteration. No memory-safety impact.

Discussion (0)

No comments yet.

PoC verification

Evidence pack

findings/poc/DF-0184 Β· 1 files
FileTypeDescriptionSize
manifest.json file 392 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/imgact_resident.c:138: lockless read of exec_res_id counter

Verified recommended fix

Source-confirmed at sys/kern/imgact_resident.c:138: lockless read of exec_res_id counter

Verdict

Source-confirmed at sys/kern/imgact_resident.c:138: lockless read of exec_res_id counter