On the Effectiveness of Mutational Grammar Fuzzing
Coverage-guided mutational grammar fuzzing has two weaknesses. Coverage does not capture dataflow between calls, so a sample that chains document() into generate-id() to hit a libxslt bug looks no more interesting than two unrelated samples. Greedy corpus saving also yields many near-identical samples. A simple fix in Jackalope restarts a worker with an empty corpus every 2T seconds, letting it build an independent corpus for T seconds before syncing with a persistent server and fuzzing the combined corpus. In week-long libxslt experiments, T=3600 found more unique crashes, and found them faster, than uninterrupted default sessions, which varied between 2 and 5 crashes depending on starting conditions. The best T is likely target-dependent.
Related posts
- Random Fuzzy Thoughts
TigerBeetle mediumAdeptTreating a fuzzer's byte slice as a finite PRNG unifies coverage-guided fuzzing with structured property-based testing: the entropy length measures input complexity, gives test-case minimization almost for free, and tells interactive simulations when to stop injecting faults. A seed reproduces a failure only at a specific commit, so robust regression tests should persist the generated structured data (e.g. a .wasm module) rather than the seed, using a separate generate/build/process pipeline that also supports hand-written inputs. For interactive distributed-system tests, a livelock in TigerBeetle was reproduced by running the VOPR simulator with a perfect network and steering it with predicates over system state, suggesting regression suites made of predicate 'key frames' that random traces must hit.
- GPT-5.5-Cyber built a zlib fuzzing lab in a day
Trail of Bits mediumAdeptGPT-5.5-Cyber, driven through Codex's /goal command, independently chose dynamic testing over static review of heavily audited zlib and built a full fuzzing campaign in a day. It produced ASan/UBSan builds, seed corpora derived from existing edge-case tests, C/C++ harnesses across a dozen entrypoints (inflate, inflateBack, gzFile, MiniZip, puff, blast and more) and compile-time variant builds such as INFLATE_STRICT and BUILDFIXED. Its most productive harness reached valid gz* states that only arise under OS backpressure, and it yielded several findings now in coordinated disclosure. Strict validity rules for what counts as a reportable finding were key: the model logged an unreachable inflateBack null-callback crash and moved on. The recommendation is for defenders to run bespoke fuzzing first, because the expertise barrier to doing it has largely disappeared.
- Fuzzing collaboration with WINGFUZZ - Part 1
ClickHouse easyNovice
WINGFUZZ, a DBMS fuzzing engine, found eight new bugs in ClickHouse, some introduced only four months earlier, using two techniques. Grammar-free mutation builds a metadata graph from built-in SQL tests, reshuffles statements, and fixes semantic errors by metadata-guided substitution (Griffin). Type-affinity sequence generation uses coverage feedback to learn which SQL statement-type pairs matter and builds new sequences around them. ClickHouse is now integrating WINGFUZZ into its daily testing.
- Fuzzer Blind Spots (Meet Jepsen!)
TigerBeetle hardMasterJepsen found a missing-results bug in TigerBeetle's query engine despite four fuzzers covering it, because the VOPR and LSM query fuzzer pre-registered disjoint queries whose matching objects were always consecutive in every secondary index, so zig-zag merge join probing was never exercised. The bug was in ScanTreeLevel: after a probe shrank the scan's key range, the key_exclusive_next check could misfire from the wrong end and mark the level finished, returning truncated results. Rewriting the fuzzer to generate random objects and random queries against a full model reproduced the bug trivially, and the fix splits the termination condition. The broader lesson is that biased fuzzer workloads can silently project away reachable states, so targeted fuzzers should be complemented with broader, less-structured sampling and precise output checking.
- Testing race conditions with memory access tracing and stack-based delay injection
Google Project Zero hardMaster
MAccConc is a set of tools for exploring thread interleavings of multi-threaded Linux kernel test cases to confirm, regression-test and eventually fuzz race condition bugs. It records memory accesses via KASAN outline instrumentation fed through KCOV, finds communication points (overlapping accesses where at least one is a write), and identifies accesses stably across runs with count-augmented stack traces built from a new LLVM SanitizerCoverage function entry/exit feature. A new KCOV_SET_DI ioctl injects wait/wake actions at specific accesses, supporting both happens-before constraints and fully specified context-switch orderings. An automatic A-B-A interleaving tester, a terminal UI and a GUI are demonstrated on a dup-vs-close race.