DF-5280
pci_devq mutated without pci_token (pci_read_device/pci_freecfg) while PCIOCGETCONF walks the list under pci_token β use-after-free read race
Summary
The pciconf ioctl walks pci_devq under the static pci_token but the only mutators (pci_read_device insert, pci_freecfg remove+free) take no lock - a CardBus insertion/removal concurrent with a root pciconf listing can free a devinfo the ioctl is dereferencing (UAF read, crash). Thin window, privileged+physical+legacy hardware. Token-around-mutation fix.
Discussion (0)
PoC verification
Evidence pack
findings/poc/DF-5280 Β· 1 files| File | Type | Description | Size | |
|---|---|---|---|---|
| verdict.json | file | 1005 B | view raw |
Fix verification
not_testablebaseline noβ patch + rebuild βpatched clean
per-fix-DF-5280
Confirmed kernel references
Detail
Evidence (decisive lines)
static trace (DF-5279 also run.t2.log stage 2a in findings/poc/DF-5276/)
Verified recommended fix
see finding markdown
Verdict
untested (Low functional / Low legacy-HW race / Info boot-time; demonstrated in DF-5276 harness where applicable)
No comments yet.