DF-5046 / manifest.json
{ "finding_id": "DF-5046", "title": "idad_detach frees the idad softc under open descriptors and in-flight bios (DF-5013/DF-5025 family detach UAF)", "verdict": "untested (hardware-gated)", "impact": "none demonstrated (UAF-write by code trace; root-only trigger)", "reproduce": { "build": "n/a — hardware-gated (needs Compaq SMART/IDA PCI controller)", "run": "on hardware: keep /dev/idad0 open + I/O in flight, then kldunload/detach as root; observe idad_strategy/idad_intr touching freed softc", "expected": "UAF write into freed idad_softc/ida_softc (MEMGUARD hit or panic); on the audit guest: impossible — pciconf shows no 0x0e11 device (env.txt)" }, "kernel_refs": [ "sys/dev/raid/ida/ida_disk.c:302-311", "sys/dev/raid/ida/ida_disk.c:94-99", "sys/dev/raid/ida/ida_disk.c:145-189", "sys/dev/raid/ida/ida_disk.c:213-226", "sys/kern/subr_disk.c:527-556", "sys/vfs/devfs/devfs_core.c:759-763", "sys/kern/kern_device.c:355-389" ], "artifacts": [ "README.md", "VERDICT.md", "env.txt", "fix.diff", "verdict.json", "manifest.json" ] } |