Repository navigation
Run rsext4's power_loss target in the fuzz rotation - #4518
Merged
Merged
Conversation
Co-Authored-By: Claude Code <noreply@anthropic.com>
The pinned rsext4 checkout carries an eighth fuzz target, power_loss, which nothing in this tree ran. Add its wrapper and its table entry, seed it from the checkout's committed fuzz/seeds/power_loss, and limit its inputs to the 1,024 bytes the target reads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M1dgc3AuaUB7MCTzuuGKHU
One input of the target is a whole sequence of operations and can take more than the ten seconds every target had, so a slow input would be reported as a hang. Each target now gets its timeout from one function: 60 for rsext4_power_loss, 10 for the rest. A selftest runs the whole table against a stub cargo and checks both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M1dgc3AuaUB7MCTzuuGKHU
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01M1dgc3AuaUB7MCTzuuGKHU
calef
marked this pull request as ready for review
December 4, 2026 04:24
calef
enabled auto-merge
December 4, 2026 04:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
rsext4_power_loss,rsext4's eighth fuzz target, to the rotation.tools/ext4_oracle_fuzz: a[[bin]]and a wrapper, as for the otherrsext4_*targets. No dependency or lockfile change: the target is in thersext4-fuzzcrate this tree already pins.script/fuzz: the 26th target. Its seeds are the ten files infuzz/seeds/power_lossof the pinned checkout, passed as a read-only directory, so it needs no e2fsprogs.-max_len=1024, because the target reads no more.ci.yml: each of the two shards now runs thirteen targets.Name: provisional,
rsext4_power_loss.Alongside
nife#4519 moves the
rsext4pin in the same workspace; whichever of the two lands second merges main.Time per input
Measured with the
script/fuzzbuild (release, address sanitizer) on an 80-thread Linux host under other load (load average 13 to 22).The 300 s run executed 262 inputs and found no crash. An input can exceed the ten seconds
script/fuzzgave every target, soinput_timeoutnow givesrsext4_power_loss60 and every other target 10.A shard of thirteen targets took 16.3 to 17.0 minutes on three merge groups on 2026-12-04 (UTC). libFuzzer checks
-max_total_timebetween inputs and reports a hang within 31 seconds of its timeout, so one slow input adds at most 1.6 minutes: 18.6 of the 20-minute budget.Verification
script/fuzz --time 300 rsext4_power_loss: no crash.helpers/fuzz-input-timeout-selftest.sh(run byscript/lint): the whole table against a stub cargo. It fails when the default, the 60, or the use of the function is changed.script/lint: all 151 sections passed.🤖 Generated with Claude Code
https://claude.ai/code/session_01M1dgc3AuaUB7MCTzuuGKHU