DF-4701 / manifest.json
{ "finding_id": "DF-4701", "file": "sys/dev/raid/twa/tw_cl_init.c", "verdict": "untested", "impact": "dos", "confidence": "likely", "reproduce": { "build": "none (in-tree driver; kernel builds with the stock config include twa only with the hardware present)", "run": "sh findings/poc/DF-4701/trigger.sh — REQUIRES a physical 3ware 9000-series controller (0x13C1:0x1002-0x1005) with wedged firmware; the audit QEMU guest has no such device (env.txt)", "expected": "kldunload twa fails after tw_cl_shutdown_ctlr tore the CL down (dmesg markers 0x1016 'init_connection failed', 0x1015 'Can't close connection with controller', 0x2015 'Failed to shutdown Common Layer/controller'); twa stays attached; subsequent unprivileged I/O on the twa volume stalls through CAM timeouts until reboot" }, "kernel_refs": [ "sys/dev/raid/twa/tw_cl_init.c:558", "sys/dev/raid/twa/tw_cl_init.c:569", "sys/dev/raid/twa/tw_cl_init.c:571", "sys/dev/raid/twa/tw_cl_init.c:574", "sys/dev/raid/twa/tw_cl_init.c:583", "sys/dev/raid/twa/tw_cl_init.c:587", "sys/dev/raid/twa/tw_cl_init.c:591", "sys/dev/raid/twa/tw_osl_freebsd.c:813", "sys/dev/raid/twa/tw_osl_freebsd.c:846", "sys/dev/raid/twa/tw_osl_freebsd.c:853", "sys/dev/raid/twa/tw_osl_cam.c:357", "sys/dev/raid/twa/tw_cl_io.c:70", "sys/dev/raid/twa/tw_cl_io.c:261", "sys/dev/raid/twa/tw_cl_intr.c:81" ], "artifacts": [ "README.md", "VERDICT.md", "trigger.sh", "env.txt", "fix.diff", "manifest.json", "verdict.json" ] } |