Menu

300 fuzzer crashes, three real bugs: a triage checklist
📰

300 fuzzer crashes, three real bugs: a triage checklist

DEV Community: cpp·Rocky·11 days ago
#3yrTQasM
#devtocpp#devto#dev#crash#write
Long article (490 words) — no AI summary yet.
Reading 0:00
15s threshold

Picture a fuzzer that has run overnight against a file parser. The output folder holds 300 crash files and the temptation is to open 300 tickets. That is a good way to teach a vendor to stop reading your reports.

A crash tells you the program died. It does not tell you whether an attacker can do anything with that. Getting from the first to the second is triage, and it is a short checklist.

Cut the pile first

Hash the top three or four stack frames of each crash and group by hash. Hundreds of files usually collapse into a dozen distinct bugs, because the fuzzer reaches the same faulty line through many different inputs. Triage one representative per group.

Let the sanitizer name the class

Rebuild the target with -fsanitize=address and rerun each representative. The first line of the report is the answer to most of your questions:

SEGV on unknown address 0x000000000000 : a null dereference. Usually the process just stops.

heap-buffer-overflow ... READ of size 4 : the program read past its buffer.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.