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

Statistics counters read without lock: torn 64-bit reads

Summary

GET/CLR_LINK_STATS(:647-698) bcopy stats no lock. Writers under rmtx(recv) and xmtx(xmit) different mutexes. Torn 64-bit counter reads. Correctness only, dedicated stat structs no leak.

Discussion (0)

No comments yet.

PoC verification

Evidence pack

findings/poc/DF-0332 Β· 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/netgraph7/ppp/ng_ppp.c:647: statistics counters read without lock (torn 64-bit reads)

Verified recommended fix

Source-confirmed at sys/netgraph7/ppp/ng_ppp.c:647: statistics counters read without lock (torn 64-bit reads)

Verdict

Source-confirmed at sys/netgraph7/ppp/ng_ppp.c:647: statistics counters read without lock (torn 64-bit reads)