fuzz: add a custom mutator for PSBT #36631

Open
brunoerg wants to merge 2 commits from 2026-10-fuzz-psbt-custom-mutator into master AGit
brunoerg commented 2026-10-23 19:12:34 +00:00 (Migrated from github.com)

The partially_signed_transaction_deserialize target feeds raw bytes to the PSBT parser. Byte-level mutations rarely produce well-formed key-value maps with valid keydata (pubkeys, xpubs, control blocks, DER signatures, etc), so most inputs are rejected early and the deeper per-field parsing is rarely reached.

This PR adds a custom mutator for PSBT which is ported from bitcoinfuzz (with some changes). The mutator splits the input into global/input/output maps of key-value records, applies the mutations and serializes the result again. The first commit is a preparation to allow targets to provide a custom mutator by adding an optional mutator field to
FuzzTargetOptions.

note: LLM assisted on porting the custom mutator.

The `partially_signed_transaction_deserialize` target feeds raw bytes to the PSBT parser. Byte-level mutations rarely produce well-formed key-value maps with valid keydata (pubkeys, xpubs, control blocks, DER signatures, etc), so most inputs are rejected early and the deeper per-field parsing is rarely reached. This PR adds a custom mutator for PSBT which is ported from bitcoinfuzz (with some changes). The mutator splits the input into global/input/output maps of key-value records, applies the mutations and serializes the result again. The first commit is a preparation to allow targets to provide a custom mutator by adding an optional `mutator` field to `FuzzTargetOptions`. note: LLM assisted on porting the custom mutator.
DrahtBot commented 2026-10-23 19:12:47 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.
A summary of reviews will appear here.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #35911 (Warn on and add missing [[noreturn]] by fanquake)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36631 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36631.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36631#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. A summary of reviews will appear here. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#35911](https://github.com/bitcoin/bitcoin/pull/35911) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35911.svg"></sub> (Warn on and add missing `[[noreturn]]` by fanquake) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3-->
brunoerg (Migrated from github.com) reviewed 2026-10-23 19:14:56 +00:00
brunoerg (Migrated from github.com) commented 2026-10-23 19:14:56 +00:00

note: since we have one binary for everything, a custom mutator would disable -len_control even for targets that do not use it. This function solves it but libFuzzer will still log the disabling.

note: since we have one binary for everything, a custom mutator would disable -len_control even for targets that do not use it. This function solves it but libFuzzer will still log the disabling.
First-time contributor

🔵 Suggestion · Oversized structured mutations can be truncated mid-record

When serialized output exceeds max_size, the PSBT fuzz mutator can cut off a required record or separator, preventing the parser from reaching the complete appended field.

Location: src/test/fuzz/util/psbt.cpp:478 (head).

🔵 Suggestion · Remove the redundant <pubkey.h> include

psbt.cpp:10 includes <pubkey.h>, but the file uses nothing it declares. Pubkeys are _hex_u8 literals, MUSIG2_PUBNONCE_SIZE comes from musig.h, and psbt.h already includes pubkey.h. Redundant include in a new file; maintenance only.

Location: src/test/fuzz/util/psbt.cpp:7 (head).

🔵 Suggestion · Map-removal mutation can delete the global map

psbt.cpp:450 erases maps[map_idx], and map_idx can be 0, so the global map can be deleted. The promoted input map has no version or unsigned tx, so Unserialize throws before reading inputs or outputs. Roughly 1 in 36 MutateMaps calls with three maps; quality only.

Location: src/test/fuzz/util/psbt.cpp:410 (head).

Review coverage was incomplete.


Reviewed: 93dc3cfe09ed · Full review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:4d44b6ffa09c54db24f8f0ab27ae388beae06a733efcae741ca64db76bb1c938:7efd3c3ba41667382004cfa7a7db56605da7d8f9b7ab69bc483f27117390ba48 --> <!-- ralph-base:f103de70de0662a1395dca2e536cf5872d86eaa2 --> <!-- ralph-head:93dc3cfe09ed11cf91bc89ff9f1317ef2fae964b --> <!-- ralph-case:410e6be5a56ec48185707d2895307d5d7d969fc9b210682c354ecdf321dbdd32 --> **🔵 Suggestion · Oversized structured mutations can be truncated mid-record** When serialized output exceeds max_size, the PSBT fuzz mutator can cut off a required record or separator, preventing the parser from reaching the complete appended field. Location: [`src/test/fuzz/util/psbt.cpp:478`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/93dc3cfe09ed11cf91bc89ff9f1317ef2fae964b/src/test/fuzz/util/psbt.cpp#L478>) (head). **🔵 Suggestion · Remove the redundant `<pubkey.h>` include** psbt.cpp:10 includes <pubkey.h>, but the file uses nothing it declares. Pubkeys are `_hex_u8` literals, MUSIG2_PUBNONCE_SIZE comes from musig.h, and psbt.h already includes pubkey.h. Redundant include in a new file; maintenance only. Location: [`src/test/fuzz/util/psbt.cpp:7`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/93dc3cfe09ed11cf91bc89ff9f1317ef2fae964b/src/test/fuzz/util/psbt.cpp#L7>) (head). **🔵 Suggestion · Map-removal mutation can delete the global map** psbt.cpp:450 erases maps[map_idx], and map_idx can be 0, so the global map can be deleted. The promoted input map has no version or unsigned tx, so Unserialize throws before reading inputs or outputs. Roughly 1 in 36 MutateMaps calls with three maps; quality only. Location: [`src/test/fuzz/util/psbt.cpp:410`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/93dc3cfe09ed11cf91bc89ff9f1317ef2fae964b/src/test/fuzz/util/psbt.cpp#L410>) (head). Review coverage was incomplete. <!-- Review tier: standard --> --- Reviewed: [`93dc3cfe09ed`](<https://git.fish.foo/bitcoin/bitcoin/commit/93dc3cfe09ed11cf91bc89ff9f1317ef2fae964b>) · [Full review report](<https://review.fish.foo/traces/36631-93dc3cfe09ed11cf91bc89ff9f1317ef2fae964b-2130-10.html>) · [Previous reports](<https://review.fish.foo/traces/36631/>) [permalink](<https://review.fish.foo/traces/36631-93dc3cfe09ed11cf91bc89ff9f1317ef2fae964b-2130-10.html>)
DrahtBot commented 2026-10-23 19:25:18 +00:00 (Migrated from github.com)

🚧 At least one of the CI tasks failed.
Task NetBSD Cross: https://github.com/bitcoin/bitcoin/actions/runs/40009584622/job/120606204787
LLM reason (✨ experimental): CI failed during the fuzz-test build because g_custom_mutator in src/test/fuzz/fuzz.cpp is set but unused, triggering -Werror.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

<!--85328a0da195eb286784d51f73fa0af9--> 🚧 At least one of the CI tasks failed. <sub>Task `NetBSD Cross`: https://github.com/bitcoin/bitcoin/actions/runs/40009584622/job/120606204787</sub> <sub>LLM reason (✨ experimental): CI failed during the fuzz-test build because `g_custom_mutator` in `src/test/fuzz/fuzz.cpp` is set but unused, triggering `-Werror`.</sub> <details><summary>Hints</summary> Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example: * Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch. * A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test. * An intermittent issue. Leave a comment here, if you need help tracking down a confusing failure. </details>
DrahtBot commented 2026-10-28 16:40:40 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
brunoerg commented 2026-10-28 18:14:07 +00:00 (Migrated from github.com)

Rebased

Rebased
ekzyis (Migrated from github.com) reviewed 2026-10-30 01:22:28 +00:00
ekzyis (Migrated from github.com) commented 2026-10-30 01:21:29 +00:00

I think this will break fuzzing with afl++ in OSS-Fuzz. It defines LLVMFuzzerMutate as a symbol here and then crashes here because of argv manipulation. You can reproduce with this:

$ cmake -B build_fuzz_afl -DBUILD_FOR_FUZZING=ON -DCMAKE_C_COMPILER=afl-clang-lto -DCMAKE_CXX_COMPILER=afl-clang-lto++ -DSANITIZERS=fuzzer
$ cmake --build build_fuzz_afl -j$(nproc)
$ FUZZ=process_message ./build_fuzz_afl/bin/fuzz
============================== INFO ================================
This binary is built for afl++.
To run the target function on individual input(s) execute:
  ./build_fuzz_afl/bin/fuzz INPUT_FILE1 [INPUT_FILE2 ... ]
To fuzz with afl-fuzz execute:
  afl-fuzz [afl-flags] -- ./build_fuzz_afl/bin/fuzz [-N]
afl-fuzz will run N iterations before re-spawning the process (default: INT_MAX)
You can also use AFL_FUZZER_LOOPCOUNT to set N
For stdin input processing, pass '-' as single command line option.
For file input processing, pass '@@' as single command line option.
To use with afl-cmin or afl-cmin.bash pass '-' as single command line option
===================================================================
Running LLVMFuzzerInitialize ...
continue...
fuzz: aflpp_driver.c:422: int LLVMFuzzerRunDriver(int *, char ***, int (*)(const uint8_t *, size_t)): Assertion `N > 0' failed.
Aborted                    (core dumped) FUZZ=process_message ./build_fuzz_afl/bin/fuzz

This doesn't happen on master (6ed5aad061).

I think this will break fuzzing with afl++ in OSS-Fuzz. It defines `LLVMFuzzerMutate` as a symbol [here](https://github.com/AFLplusplus/AFLplusplus/blob/d0070729206a80a9af297b2341edd63f68fdac35/utils/aflpp_driver/aflpp_driver.c#L251) and then crashes [here](https://github.com/AFLplusplus/AFLplusplus/blob/d0070729206a80a9af297b2341edd63f68fdac35/utils/aflpp_driver/aflpp_driver.c#L437) because of argv manipulation. You can reproduce with this: ``` $ cmake -B build_fuzz_afl -DBUILD_FOR_FUZZING=ON -DCMAKE_C_COMPILER=afl-clang-lto -DCMAKE_CXX_COMPILER=afl-clang-lto++ -DSANITIZERS=fuzzer $ cmake --build build_fuzz_afl -j$(nproc) $ FUZZ=process_message ./build_fuzz_afl/bin/fuzz ============================== INFO ================================ This binary is built for afl++. To run the target function on individual input(s) execute: ./build_fuzz_afl/bin/fuzz INPUT_FILE1 [INPUT_FILE2 ... ] To fuzz with afl-fuzz execute: afl-fuzz [afl-flags] -- ./build_fuzz_afl/bin/fuzz [-N] afl-fuzz will run N iterations before re-spawning the process (default: INT_MAX) You can also use AFL_FUZZER_LOOPCOUNT to set N For stdin input processing, pass '-' as single command line option. For file input processing, pass '@@' as single command line option. To use with afl-cmin or afl-cmin.bash pass '-' as single command line option =================================================================== Running LLVMFuzzerInitialize ... continue... fuzz: aflpp_driver.c:422: int LLVMFuzzerRunDriver(int *, char ***, int (*)(const uint8_t *, size_t)): Assertion `N > 0' failed. Aborted (core dumped) FUZZ=process_message ./build_fuzz_afl/bin/fuzz ``` This doesn't happen on master (6ed5aad061).
ekzyis (Migrated from github.com) commented 2026-10-30 01:22:02 +00:00

The key gets erased if FuzzDefaultMutate returns 0 (which is the case for LLVMFuzzerMutate in afl++) . Is that expected to happen in this branch for key mutations?

The key gets _erased_ if `FuzzDefaultMutate` returns 0 (which is [the case](https://github.com/AFLplusplus/AFLplusplus/blob/d0070729206a80a9af297b2341edd63f68fdac35/utils/aflpp_driver/aflpp_driver.c#L258) for `LLVMFuzzerMutate` in afl++) . Is that expected to happen in this branch for key _mutations_?
brunoerg (Migrated from github.com) reviewed 2026-10-30 01:24:51 +00:00
brunoerg (Migrated from github.com) commented 2026-10-30 01:24:51 +00:00

Yea, noticed this, I had tested only on libFuzzer. I've moved this to draft while fixing it.

Yea, noticed this, I had tested only on libFuzzer. I've moved this to draft while fixing it.
brunoerg (Migrated from github.com) reviewed 2026-10-30 17:14:26 +00:00
brunoerg (Migrated from github.com) commented 2026-10-30 17:14:26 +00:00

this would only happen with AFL++'s weak stub when PROVIDE_FUZZ_CUSTOM_MUTATOR is defined, isn't it?

this would only happen with AFL++'s weak stub when PROVIDE_FUZZ_CUSTOM_MUTATOR is defined, isn't it?
ekzyis (Migrated from github.com) reviewed 2026-10-31 16:38:34 +00:00
ekzyis (Migrated from github.com) commented 2026-10-31 16:38:34 +00:00

Ah yes, that is my understanding as well after seeing #if defined(PROVIDE_FUZZ_CUSTOM_MUTATOR) at fuzz.cpp:224.

Ah yes, that is my understanding as well after seeing `#if defined(PROVIDE_FUZZ_CUSTOM_MUTATOR)` at fuzz.cpp:224.
brunoerg (Migrated from github.com) reviewed 2026-11-02 13:16:15 +00:00
brunoerg (Migrated from github.com) commented 2026-11-02 13:16:15 +00:00

Done.

Done.
ekzyis (Migrated from github.com) reviewed 2026-11-03 21:27:02 +00:00
ekzyis (Migrated from github.com) left a comment

Partial review. Left some nits and a remark wrt honggfuzz + suggestion from Claude. Will look into mutator effectiveness next.

Partial review. Left some nits and a remark wrt honggfuzz + suggestion from Claude. Will look into mutator effectiveness next.
Lines 449-450
ekzyis (Migrated from github.com) commented 2026-11-03 20:53:20 +00:00

nit: "which only libFuzzer provides" is inaccurate. Suggesting "provided by libFuzzer" instead:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4381f04c3a..5acf868691 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -445,9 +445,9 @@ if(BUILD_FUZZ_BINARY)
     LDFLAGS ${SANITIZER_LDFLAGS} ${fuzz_flag}
     LINK_LIBRARIES ${FUZZ_LIBS}
   )
-  # Custom mutators call back into the engine's LLVMFuzzerMutate, which only
-  # libFuzzer provides. AFL++'s driver links a weak stub of it, and doesn't
-  # accept libFuzzer flags, so exclude it explicitly.
+  # Custom mutators call back into the engine's LLVMFuzzerMutate provided by
+  # libFuzzer. AFL++'s driver links a weak stub of it, and doesn't accept
+  # libFuzzer flags, so exclude it explicitly.
   check_cxx_source_compiles_with_flags("
       #ifdef __AFL_COMPILER
       #error AFL++ does not support LLVMFuzzerMutate
nit: "which only libFuzzer provides" is inaccurate. Suggesting "provided by libFuzzer" instead: ```diff diff --git a/CMakeLists.txt b/CMakeLists.txt index 4381f04c3a..5acf868691 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -445,9 +445,9 @@ if(BUILD_FUZZ_BINARY) LDFLAGS ${SANITIZER_LDFLAGS} ${fuzz_flag} LINK_LIBRARIES ${FUZZ_LIBS} ) - # Custom mutators call back into the engine's LLVMFuzzerMutate, which only - # libFuzzer provides. AFL++'s driver links a weak stub of it, and doesn't - # accept libFuzzer flags, so exclude it explicitly. + # Custom mutators call back into the engine's LLVMFuzzerMutate provided by + # libFuzzer. AFL++'s driver links a weak stub of it, and doesn't accept + # libFuzzer flags, so exclude it explicitly. check_cxx_source_compiles_with_flags(" #ifdef __AFL_COMPILER #error AFL++ does not support LLVMFuzzerMutate ```
Lines 454-456
ekzyis (Migrated from github.com) commented 2026-11-03 20:57:12 +00:00

I don't know how much we care about honggfuzz, but honggfuzz has a similar problem. It also defines LLVMFuzzerMutate and throws a warning because of -len_control=100 (no crash like AFL++). See reproduction which simulates appending -len_control=100 to argv like restore_default_len_control() would do:

$ hfuzz-clang++ -std=c++20 argv.cpp -o argv
$ echo hello > seed
$ ./argv < in/seed
[2026-11-03T15:07:11-0600][W][31466] HonggfuzzRunFromFile():80 Cannot open '-len_control=100' as input, using stdin: No such file or directory
Accepting input from '[STDIN]'
Usage for fuzzing: honggfuzz -P [flags] -- ./argv
TestOneInput size=6
// argv.cpp
#include <cstdint>
#include <cstddef>
#include <cstdio>
#include <vector>
extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
{
    static char len_control_arg[]{"-len_control=100"};
    static std::vector<char*> g_argv;
    g_argv.assign(*argv, *argv + *argc);
    g_argv.insert(g_argv.begin() + 1, len_control_arg);
    g_argv.push_back(nullptr);
    *argc = g_argv.size() - 1;
    *argv = g_argv.data();
    return 0;
}
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
{
    printf("TestOneInput size=%zu\n", size);
    return 0;
}

Claude suggested a configure-time opt-in. Then we wouldn't need to detect the engine and rewrite arguments, but the custom mutator would be off by default and I think if there's a custom mutator available, we never want to run without it. Sounds like a good trade-off to me, though.

I don't know how much we care about honggfuzz, but honggfuzz has a similar problem. [It also defines `LLVMFuzzerMutate`](https://github.com/google/honggfuzz/blob/940b958dfeb6f9131fd846cae31fcc0fe996ae98/libhfuzz/libhfuzz.h#L32) and throws a warning because of `-len_control=100` (no crash like AFL++). See reproduction which simulates appending `-len_control=100` to argv like `restore_default_len_control()` would do: ``` $ hfuzz-clang++ -std=c++20 argv.cpp -o argv $ echo hello > seed $ ./argv < in/seed [2026-11-03T15:07:11-0600][W][31466] HonggfuzzRunFromFile():80 Cannot open '-len_control=100' as input, using stdin: No such file or directory Accepting input from '[STDIN]' Usage for fuzzing: honggfuzz -P [flags] -- ./argv TestOneInput size=6 ``` ```cpp // argv.cpp #include <cstdint> #include <cstddef> #include <cstdio> #include <vector> extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv) { static char len_control_arg[]{"-len_control=100"}; static std::vector<char*> g_argv; g_argv.assign(*argv, *argv + *argc); g_argv.insert(g_argv.begin() + 1, len_control_arg); g_argv.push_back(nullptr); *argc = g_argv.size() - 1; *argv = g_argv.data(); return 0; } extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { printf("TestOneInput size=%zu\n", size); return 0; } ``` Claude suggested a configure-time opt-in. Then we wouldn't need to detect the engine and rewrite arguments, but the custom mutator would be off by default and I think if there's a custom mutator available, we never want to run without it. Sounds like a good trade-off to me, though.
ekzyis (Migrated from github.com) commented 2026-11-03 20:20:23 +00:00

nit: could move this check to the call site. I consider it control flow rather than part of this function's logic.

nit: could move this check to the call site. I consider it control flow rather than part of this function's logic.
brunoerg (Migrated from github.com) reviewed 2026-11-04 14:27:09 +00:00
Lines 454-456
brunoerg (Migrated from github.com) commented 2026-11-04 14:27:09 +00:00

Well noticed, I don't use honggfuzz but since we support it, I should consider it. I would not go with a configure-time opt-in because it would require changes on some infra, including OSS-Fuzz.

Well noticed, I don't use honggfuzz but since we support it, I should consider it. I would not go with a configure-time opt-in because it would require changes on some infra, including OSS-Fuzz.
brunoerg (Migrated from github.com) reviewed 2026-11-04 14:37:54 +00:00
Lines 449-450
brunoerg (Migrated from github.com) commented 2026-11-04 14:37:54 +00:00

Done.

Done.
brunoerg (Migrated from github.com) reviewed 2026-11-04 14:38:26 +00:00
Lines 454-456
brunoerg (Migrated from github.com) commented 2026-11-04 14:38:26 +00:00

Done. I just changed it to detect the real libFuzzer runtime instead of LLVMFuzzerMutate.

Done. I just changed it to detect the real libFuzzer runtime instead of LLVMFuzzerMutate.
brunoerg (Migrated from github.com) reviewed 2026-11-04 14:38:55 +00:00
brunoerg (Migrated from github.com) commented 2026-11-04 14:38:55 +00:00

In case I'm going to touch it again, I can address it.

In case I'm going to touch it again, I can address it.
brunoerg commented 2026-11-04 14:40:08 +00:00 (Migrated from github.com)

Force-pushed:

Force-pushed: - Changed it to detect the real libFuzzer runtime instead of LLVMFuzzerMutate (to avoid issues with other fuzzers). - Updated the CMake comment (https://github.com/bitcoin/bitcoin/pull/36631#discussion_r4460310787)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36631
No description provided.