Fuzzing Crash: VortexError in variant_file

オープン
#12,416 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
54/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
databases

調査の方向性

Start with encodings/parquet-variant/src/arrow.rs at line 144 and the variant_file fuzz target at line 184, then reproduce using the crash artifact and commands in the issue. Trace how unshred_storage handles fields present in both typed_value and value. Done means the crash is fixed and the valid Variant chunk round-trip succeeds for this input.

索引モデルが issue の本文から書いたものです。

説明

bug fuzzer

Target crashed at encodings/parquet-variant/src/arrow.rs:144:unshred_storage:

valid Variant chunks should round-trip:
  Invalid argument error: Field 'a' appears in both typed_value and value
Stack trace
stack backtrace:
   0: __rustc::rust_begin_unwind
             at /rustc/8eb778d04094d3af4b26580cab327e0413eb1e02/library/std/src/panicking.rs:676:5
   1: core::panicking::panic_fmt
             at /rustc/8eb778d04094d3af4b26580cab327e0413eb1e02/library/core/src/panicking.rs:80:14
   2: panic_display<vortex_error::VortexError>
             at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:259:5
   3: result_expect_failed<vortex_error::VortexError>
             at ./vortex-error/src/lib.rs:553:9
   4: vortex_expect<(), vortex_error::VortexError>
             at ./vortex-error/src/lib.rs:258:25
   5: __libfuzzer_sys_run
             at ./fuzz/fuzz_targets/variant_file.rs:184:21
   6: rust_fuzzer_test_input
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libfuzzer-sys-0.4.13/src/lib.rs:363:60
   7: {closure#0}
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libfuzzer-sys-0.4.13/src/lib.rs:62:9
   8: do_call<libfuzzer_sys::test_input_wrap::{closure_env#0}, i32>
             at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:573:43
   9: __rust_try
  10: catch_unwind<i32, libfuzzer_sys::test_input_wrap::{closure_env#0}>
             at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panicking.rs:541:19
  11: catch_unwind<libfuzzer_sys::test_input_wrap::{closure_env#0}, i32>
             at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/panic.rs:359:14
  12: test_input_wrap
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libfuzzer-sys-0.4.13/src/lib.rs:60:22
  13: _ZN6fuzzer6Fuzzer15ExecuteCallbackEPKhm
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libfuzzer-sys-0.4.13/libfuzzer/FuzzerLoop.cpp:619:15
  14: _ZN6fuzzer10RunOneTestEPNS_6FuzzerEPKcm
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libfuzzer-sys-0.4.13/libfuzzer/FuzzerDriver.cpp:335:21
  15: _ZN6fuzzer12FuzzerDriverEPiPPPcPFiPKhmE
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libfuzzer-sys-0.4.13/libfuzzer/FuzzerDriver.cpp:871:19
  16: main
             at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libfuzzer-sys-0.4.13/libfuzzer/FuzzerMain.cpp:20:30
  17: __libc_start_call_main
             at ./csu/../sysdeps/nptl/libc_start_call_main.h:59:16
  18: __libc_start_main_impl
             at ./csu/../csu/libc-start.c:360:3
  19: _start

To reproduce, download the crash artifact to ~/Downloads and run these
commands from the repository root:

unzip ~/Downloads/variant_file-crash-artifacts.zip -d fuzz-artifacts
RUST_BACKTRACE=1 cargo +nightly fuzz run -D --sanitizer=none \
  variant_file \
  fuzz-artifacts/variant_file/crash-2c3944c949f4b0fc6930a3d89941b2059544bf30 \
  -- -rss_limit_mb=0

Auto-created by fuzzing workflow

主要言語
Rust
スター
3.2k
フォーク
239
平均マージ
1日 4時間
マージ済み PR(30日)
684

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

vortex-data/vortex のほかの issue

vortex-data/vortex の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。