Skip to content
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

bpf: fix possible file descriptor leaks in verifier #6671

Closed

Conversation

kernel-patches-daemon-bpf[bot]
Copy link

Pull request for series with
subject: bpf: fix possible file descriptor leaks in verifier
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=839269

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: b9404f7
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=839269
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: e478cf2
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=839269
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: e874208
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=839269
version: 1

@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 201874f
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=839269
version: 1

The resolve_pseudo_ldimm64() function might have leaked file
descriptors when BPF_MAP_TYPE_ARENA was used in a program (some
error paths missed a corresponding fdput). Add missing fdputs.

v2:
  remove unrelated changes from the fix

Fixes: 6082b6c ("bpf: Recognize addr_space_cast instruction in the verifier.")
Signed-off-by: Anton Protopopov <aspsk@isovalent.com>
@kernel-patches-daemon-bpf
Copy link
Author

Upstream branch: 201874f
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=839681
version: 2

@kernel-patches-daemon-bpf
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=839681 irrelevant now. Closing PR.

@kernel-patches-daemon-bpf kernel-patches-daemon-bpf bot deleted the series/839269=>bpf-next branch March 29, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant