Commit 542eb2c
committed
fix: raise fuzz-smoke rss_limit_mb 512->2048 (mcb_libfuzzer OOM)
The Clang ASan+UBSan CI job's mcb_libfuzzer hit libFuzzer's OOM guard
(550MB against a 512MB -rss_limit_mb) during the 20s corpus-seeded
smoke run -- newly reached now that the tinyobjloader ODR violation no
longer aborts the job earlier.
Not a per-input security bug: replaying the exact CI-reported "oom-"
artifact (a 172-byte MCB file) 2000x in a single process found no leak
and no crash. Root cause is ordinary coverage-guided fuzzing growth --
libFuzzer retains every corpus entry that finds new coverage in memory
for the whole run, and ASan adds its own instrumentation overhead on
top, so RSS climbs steadily over a run with zero malicious input
involved. Confirmed via local repro with the identical seed/params:
peaked at 505MB and 822MB across two seeds in 20s runs, 668MB over a
longer 40s run, all with zero crashes. mc3_xml_libfuzzer (365MB) and
mc3_json_libfuzzer (282MB) in the same CI run were comfortably under
512MB already, so the shared ceiling only needed raising, not a
per-target split.
Raised the shared --rss-mib ceiling (run_fuzz_smoke.py's own default,
and its explicit CI invocation) from 512 to 2048 -- comfortably above
every local measurement, costs nothing during normal operation (an
abort ceiling, not a reservation). Same fix pattern as
mc3_json_document_budget's CTest TIMEOUT: raise the ceiling to match
legitimate behavior rather than treating a calibration mismatch as a
security finding.1 parent 9342e4a commit 542eb2c
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
19 | 31 | | |
20 | 32 | | |
21 | 33 | | |
| |||
0 commit comments