Fuzzing Crash: VortexError in file_corruption
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- backend, testing-qa
Hướng nghiên cứu
Start with vortex-array/src/patches.rs at Patches::new and from_metadata, then follow deserialization in encodings/alp/src/alp/array/plugin.rs. Download the linked crash artifact and reproduce it with the provided cargo +nightly fuzz run command. Done means the corrupted file is handled without the reported panic and the regression is covered.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- Crash File:
crash-01dd0b6eff4df22b037d99e41b85e293a6cab7ed - Commit: 11bd6041132e3237cc08c4ff72b9c3f4d1a52da6
- Crash Artifact: https://github.com/vortex-data/vortex/actions/runs/46927484259/artifacts/15633943337
Target crashed at vortex-array/src/patches.rs:344:new:
Patch indices must be strictly increasing
Stack trace
stack backtrace:
1: core::panicking::panic_fmt
at /rustc/8eb778d04094d3af4b26580cab327e0413eb1e02/library/core/src/panicking.rs:80:14
2: new
at ./vortex-array/src/patches.rs:344:17
3: from_metadata
at ./vortex-array/src/patches.rs:374:27
4: {closure#0}
at ./encodings/alp/src/alp/array/plugin.rs:99:17
5: map<vortex_array::patches::PatchesMetadata, core::result::Result<vortex_array::patches::Patches, vortex_error::VortexError>, vortex_alp::alp::array::plugin::{impl#0}::deserialize::{closure_env#0}>
at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:1165:29
6: deserialize
at ./encodings/alp/src/alp/array/plugin.rs:91:14
7: decode
at ./vortex-array/src/serde.rs:391:30
8: get
at ./vortex-array/src/serde.rs:743:14
9: deserialize
at ./vortex-array/src/arrays/fixed_size_list/vtable/plugin.rs:101:33
10: decode
at ./vortex-array/src/serde.rs:391:30
11: {async_block#0}
at ./vortex-layout/src/layouts/flat/reader.rs:87:18
12: poll<alloc::boxed::Box<(dyn core::future::future::Future<Output=core::result::Result<vortex_array::array::erased::ArrayRef, alloc::rcs::arc::Arc<vortex_error::VortexError, alloc::alloc::Global>>> + core::marker::Send), alloc::alloc::Global>>
at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:133:9
13: poll<core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=core::result::Result<vortex_array::array::erased::ArrayRef, alloc::rcs::arc::Arc<vortex_error::VortexError, alloc::alloc::Global>>> + core::marker::Send), alloc::alloc::Global>>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.34/src/future/future/shared.rs:330:38
14: {async_block#0}
at ./vortex-layout/src/layouts/flat/reader.rs:210:43
15: poll<alloc::boxed::Box<(dyn core::future::future::Future<Output=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>
at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:133:9
16: poll<core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>, vortex_layout::scan::tasks::split_projection::{closure_env#0}<false>, core::result::Result<core::option::Option<vortex_array::array::erased::ArrayRef>, vortex_error::VortexError>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.34/src/future/future/map.rs:55:44
17: poll<core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=core::result::Result<vortex_array::array::erased::ArrayRef, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>, vortex_layout::scan::tasks::split_projection::{closure_env#0}<false>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.34/src/lib.rs:85:35
18: poll<alloc::boxed::Box<(dyn core::future::future::Future<Output=core::result::Result<core::option::Option<vortex_array::array::erased::ArrayRef>, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>
at /home/runner/.rustup/toolchains/nightly-2026-11-13-aarch64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:133:9
19: poll<core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=core::result::Result<core::option::Option<vortex_array::array::erased::ArrayRef>, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>, vortex_layout::scan::repeated_scan::map_split::{closure_env#0}<vortex_array::array::erased::ArrayRef>, core::result::Result<core::option::Option<vortex_array::array::erased::ArrayRef>, vortex_error::VortexError>>
at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.34/src/future/future/map.rs:55:44
20: poll<core::pin::Pin<alloc::boxed::Box<(dyn core::future::future::Future<Output=core::result::Result<core::option::Option<vortex_array::array::erased::ArrayRef>, vortex_error::VortexError>> + core::marker::Send), alloc::alloc::Global>>, vortex_layout::scan::repeated_scan::map_split::{closure_env#0}<vortex_array::array::erased::ArrayRef>>
... (97 more frames truncated)
Harness output:
corruption 4553 dtype ^= 0x54
corruption 6434 footer.segments[0].alignment_exponent = 9
corruption 2350 data_segment[0] ^= 0x2c
To reproduce, download the crash artifact to ~/Downloads and run these
commands from the repository root:
unzip ~/Downloads/file_corruption-crash-artifacts.zip -d fuzz-artifacts
curl -fsSL \
https://ci.vortex.dev/file_corruption_files.tar.zst | tar --zstd -x
RUST_BACKTRACE=1 cargo +nightly fuzz run -D --sanitizer=none \
file_corruption \
fuzz-artifacts/file_corruption/crash-01dd0b6eff4df22b037d99e41b85e293a6cab7ed \
-- -rss_limit_mb=0 --corruption-files=fuzz/corruption_files
Auto-created by fuzzing workflow
- Ngôn ngữ chính
- Rust
- Star
- 3.2k
- Fork
- 239
- Merge trung bình
- 1 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 684
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của vortex-data/vortex
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
vortex-data/vortex#12633 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
vortex-data/vortex#12628 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
vortex-data/vortex#12491 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fallible constructor for nested_case_whenCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
vortex-data/vortex#11425 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
vortex-data/vortex#12635 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của vortex-data/vortex
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
marklauter/tsong#110 ·
-
docs enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
wasm-bindgen/wasm-bindgen#5503 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
marketing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: engine bug needs milestone
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Mudcrab-Team/mudcrab#1197 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày