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
Conversation
Upstream branch: b9404f7 |
8a9a8e0
to
2dceb20
Compare
Upstream branch: e478cf2 |
7b572f4
to
0fc2162
Compare
2dceb20
to
78ebb17
Compare
Upstream branch: e874208 |
0fc2162
to
3ccbddc
Compare
78ebb17
to
9325308
Compare
Upstream branch: 201874f |
3ccbddc
to
c93ef96
Compare
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>
Upstream branch: 201874f |
c93ef96
to
63a5cea
Compare
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=839681 irrelevant now. Closing PR. |
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