DF-4674
bktr_attach fail-path releases the memory BAR with resource type SYS_RES_IRQ β resource_list_release() panics ('can't find resource') on any attach failure after the BAR was mapped
Summary
Copy/paste wrong type in the fail label: the mem resource is released with SYS_RES_IRQ, so resource_list_release looks up (IRQ, mem_rid), finds nothing, and panics. Reachable when IRQ alloc/setup fails after BAR mapping. SYS_RES_MEMORY one-token fix.
Discussion (0)
PoC verification
Evidence pack
findings/poc/DF-4674 Β· 1 files| File | Type | Description | Size | |
|---|---|---|---|---|
| verdict.json | file | 866 B | view raw |
Fix verification
not_testablebaseline noβ patch + rebuild βpatched clean
not_testable: hardware-gated (no Bt848 / no CardMan on guest)
fix in finding markdown
per-fix-DF-4674
Confirmed kernel references
Detail
Exploit chain
[]
Evidence (decisive lines)
copy/paste wrong type. SYS_RES_MEMORY fix.
Verdict
not_run: needs Bt848 + failing IRQ alloc/setup at attach; path directly verifiable to subr_bus.c:3263 panic
No comments yet.