Skip to content

disable stream read tests on bpf-gcc - #518

Merged
eddyz87 merged 1 commit into
masterfrom
codex/disable-stream-read-tests-bpf-gcc
Aug 23, 2026
Merged

disable stream read tests on bpf-gcc#518
eddyz87 merged 1 commit into
masterfrom
codex/disable-stream-read-tests-bpf-gcc

Conversation

@kkdwvd

@kkdwvd kkdwvd commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

stream_oversize and stream_partial_read both load the shared stream
skeleton. When the BPF programs are compiled with GCC, skeleton loading
reaches stream_arena_subprog_fault and fails verification before either
test reaches its intended checks:

Verification failed: Register Type Safety: Invalid dereference
error: invalid dereference of R2 (an integer scalar)

Temporarily add both top-level tests to
DENYLIST.test_progs-bpf_gcc, following the existing exclusions for the
incompatible stream programs.

Observed in:

stream_oversize and stream_partial_read load the stream skeleton without
disabling stream_arena_subprog_fault. GCC emits code for that program that
the verifier rejects because it dereferences R2 after treating it as a
scalar.

Both tests therefore fail during skeleton load, before exercising the
behavior they are intended to cover. Disable them for bpf-gcc until the
shared skeleton load issue is resolved.

Link: kernel-patches/bpf#13411
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
@kkdwvd
kkdwvd requested review from eddyz87 and theihor August 23, 2026 19:24
@eddyz87
eddyz87 merged commit 44ffd65 into master Aug 23, 2026
76 checks passed
@eddyz87
eddyz87 deleted the codex/disable-stream-read-tests-bpf-gcc branch August 23, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants