wavewait reads GPU thread traces and counter dumps, shells out to llvm-objdump, llvm-dwarfdump, addr2line,
rocprofv3, adb and the Android NDK, and some scripts start a ComfyUI server. A security bug in how it handles a
capture directory, a path or a device argument matters.
Do not open a public issue. Use GitHub's private reporting: the Report a vulnerability button on the Security advisories page. Include the version, the command, and how to reproduce it.
You will get a reply within 7 days. A fix ships as a patch release with a note that credits you, unless you ask not to be named.
tools/att-capture.shruns the program you name underrocprofv3with your privileges and kills its process group on a hang. It writes only under the run directory you give.- The analyzer (
build/wavewait) reads capture directories (.att,pcmap.tsv,code.json, code objects, csv) as untrusted input: a desynced walk exits 3 withFAIL walk, bad rows fail with the line. - The phone scripts (
scripts/ww-phone*,tools/wwk.c) run on an Android phone over adb with no root. They read GPU counters and must never write/sys/class/kgsl/*: on some phones that store power-cycles the GPU (see the Safety rules indocs/DEVICES.md). Every adb call runs undertimeout. tools/comfy-prof.shandtools/comfy-trace.shstart and stop a ComfyUI server you point them at.
Only the latest release gets fixes.