Skip to content

stream v4 #9236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

stream v4 #9236

wants to merge 2 commits into from

Conversation

kkdwivedi
Copy link
Contributor

No description provided.

@kkdwivedi kkdwivedi force-pushed the stream branch 2 times, most recently from e25a9f3 to a9b6ac9 Compare July 2, 2025 02:57
@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot force-pushed the bpf-next_base branch 4 times, most recently from 08dbf36 to cc01c15 Compare July 2, 2025 21:12
@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot force-pushed the bpf-next_base branch 2 times, most recently from 901b4c5 to fa8c3a1 Compare July 4, 2025 02:33
kkdwivedi added 2 commits July 4, 2025 22:08
We may overrun the bounds because linfo and jited_linfo are already
advanced to prog->aux->linfo_idx, hence we must only iterate the
remaining elements until we reach prog->aux->nr_linfo. Adjust the
nr_linfo calculation to fix this. Reported in [0].

  [0]: https://lore.kernel.org/bpf/[email protected]

Reported-by: Eduard Zingerman <[email protected]>
Fixes: 0e521ef ("bpf: Add function to extract program source info")
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
On 32-bit platforms, we'll try to convert a u64 directly to a pointer
type which is 32-bit, which causes the compiler to complain about cast
from an integer of a different size to a pointer type. Cast to long
before casting to the pointer type to match the pointer width.

Reported-by: kernelci.org bot <[email protected]>
Reported-by: Randy Dunlap <[email protected]>
Fixes: d7c431c ("bpf: Add dump_stack() analogue to print to BPF stderr")
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot force-pushed the bpf-next_base branch 4 times, most recently from fb1745d to 2e0a6b9 Compare July 7, 2025 15:57
@kkdwivedi kkdwivedi closed this Jul 8, 2025
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.

1 participant