Skip to content

Conversation

@lifubang
Copy link
Member

@lifubang lifubang commented Nov 19, 2025

backport #5026


Fix: #5021
Fix: #5007
Close: #5022
Close: #5024

Without deferring the closure of this file descriptor, starting a container with a very large number of devices can hit the RLIMIT_NOFILE limit.


The dependency was initially slated for an upgrade from v0.6.0 to v0.6.1
to address an fd leak. However, due to compatibility constraints, we
instead downgrade to v0.5, using v0.5.2 which includes a backported fix
for the same issue. So we also need to bump selnux from v1.13.0 t0
v1.13.1.

Copy link
Member

@cyphar cyphar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should update to go-selinux v1.13.1 here -- v1.12.0 is insecure. Also filepath-securejoin v0.5.2 has been released.

@cyphar cyphar added this to the 1.3.4 milestone Nov 20, 2025
@lifubang lifubang force-pushed the ci-detect-fdleak-try-best-1.3 branch from acf798b to b1ec8d6 Compare November 20, 2025 07:14
@lifubang lifubang added the backport/1.3-pr A backport PR to release-1.3 label Nov 20, 2025
@cyphar cyphar changed the title [1.3] detect file descriptor leaks as comprehensively as possible [1.3] fix fd leaks and detect them as comprehensively as possible Nov 20, 2025
lifubang and others added 6 commits November 20, 2025 11:52
Co-authored-by: Aleksa Sarai <[email protected]>
Signed-off-by: lifubang <[email protected]>
(cherry picked from commit ba7f46d)
Signed-off-by: lifubang <[email protected]>
Signed-off-by: lifubang <[email protected]>
(cherry picked from commit e027288)
Signed-off-by: lifubang <[email protected]>
Signed-off-by: lifubang <[email protected]>
(cherry picked from commit 9a5e626)
Signed-off-by: lifubang <[email protected]>
elinux from v1.13.0 to v1.13.1

Signed-off-by: lifubang <[email protected]>
The dependency was initially slated for an upgrade from v0.6.0 to v0.6.1
to address an fd leak. However, due to compatibility constraints, we
instead downgrade to v0.5, using v0.5.2 which includes a backported fix
for the same issue.

Signed-off-by: lifubang <[email protected]>
Signed-off-by: lifubang <[email protected]>
(cherry picked from commit d870650)
Signed-off-by: lifubang <[email protected]>
@lifubang lifubang force-pushed the ci-detect-fdleak-try-best-1.3 branch from b1ec8d6 to ebea1f8 Compare November 20, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/1.3-pr A backport PR to release-1.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants