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.
Discussion (0)
PoC verification
Evidence pack
findings/poc/DF-0127 Β· 1 files| File | Type | Description | Size | |
|---|---|---|---|---|
| manifest.json | file | 389 B | view raw |
Fix verification
not_testablebaseline 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/tty_cons.c:570: cndbctl uses unlocked static refcount
Verified recommended fix
Source-confirmed at sys/kern/tty_cons.c:570: cndbctl uses unlocked static refcount
Verdict
Source-confirmed at sys/kern/tty_cons.c:570: cndbctl uses unlocked static refcount
No comments yet.