bre() plex_concat NULL dereference when plex has zero subdisks (local DoS panic)
Summary
vinumrequest.c:491 sd=NULL for compiler quiet. 492 for(sdno=0;sdno<plex->subdisks;sdno++) zero iterations if subdisks==0. 556 if(diskend>sd->sectors+sd->plexoffset) derefs NULL->sectors -> panic. Plex org concat no subdisks: vinum create plex p0 org concat (no sd lines). vinumopen accepts plex_init (vinum.c:419-427 only rejects unallocated/referenced). Any I/O against empty concat plex panics. Fix: guard plex->subdisks==0 at top of plex_concat case -> REQUEST_DOWN.
Discussion (0)
PoC verification
Evidence pack
findings/poc/DF-1647 Β· 4 files| File | Type | Description | Size | |
|---|---|---|---|---|
| fix.diff | suggested-fix | git-apply-able fix for the cited bug | 496 B | view raw |
| VERDICT.md | verdict | source-confirmation analysis | 713 B | β raw |
| build.sh | build-script | N/A (source-only) | 61 B | view raw |
| run.sh | run-script | N/A (source-only) | 87 B | view raw |
DF-1647 VERDICT
Verdict: REPRODUCED (source-confirmed)
Impact: Low (driver-level NULL deref / OOB / leak / DoS β hardware-gated)
Mechanism: vinumrequest.c:491 sd=NULL for compiler quiet. 492 for(sdno=0;sdno
Citation: sys/dev/raid/vinum/vinumrequest.c:491-556
Fix: Applied fix.diff β compiles in batch kernel build (rc=0, -Werror).
Verification method: Source-only line-by-line trace of cited path:line. Low-severity driver bug; PoC trigger requires specific hardware or root context. Confirmed the cited vulnerable pattern exists in source.
Fix verification
fixedfix.diff compiled in batch kernel build rc=0 -Werror
fix.diff compiled in batch kernel build rc=0 -Werror
Confirmed kernel references
β
Detail
Exploit chain
none (Low severity)
Evidence (decisive lines)
Source-confirmed: NULL sd deref when concat plex has 0 subdisks (vinumrequest.c:491-556)
Verified recommended fix
Source-confirmed: NULL sd deref when concat plex has 0 subdisks (vinumrequest.c:491-556)
Verdict
Source-confirmed: NULL sd deref when concat plex has 0 subdisks (vinumrequest.c:491-556)
No comments yet.