Repository navigation
Conversation
Signed-off-by: Bernhard Strähle <[email protected]>
Signed-off-by: Bernhard Strähle <[email protected]>
RemoveOrphanedResources used a snapshot of live/ and init/ taken at sweep start. A volume created after that snapshot, or renamed from init/ to live/ between the two reads, was treated as an orphan and had its overlay layer or work dir deleted while still mounted. runc then hit ENOENT creating /tmp/gdn-init. Pass a live isKnown callback that stats init/ then live/ at delete time so the handle is always found across the rename. Stat errors other than ErrNotExist fail closed (treat as known) so a permission or IO error cannot mass-delete overlays. concourse#9685 Signed-off-by: Shravanth Reddy <[email protected]>
chmod 0 on init/ and live/ is not a Stat error for uid 0, so CI
unit-baggageclaim failed with isKnown("any-handle") false. Replace
the dirs with files so Stat returns ENOTDIR, which is not ErrNotExist
even as root.
Signed-off-by: Shravanth Reddy <[email protected]>
Signed-off-by: Taylor Silva <[email protected]>
changed the code to instead call what uuid.NewString() calls. If there's an error we safely catch and return the error. Causing a panic on the web node is generally a bad idea. Calling uuid.NewRandom() is what we do everywhere else that we use the uuid package. nit: Updated the tests to not use Succeed() as the matcher for errors. It reads weird and isn't the convention we follow in our tests. Signed-off-by: Taylor Silva <[email protected]>
Had to implement the Options pattern for Filesystem so we could assert on the inner funcs. Now the tests really guard against the desired behaviour. Rest of the changes are mostly nit-pick stuff, like removing LLM comments. Signed-off-by: Taylor Silva <[email protected]>
idtoken: emit a jti claim
document workaround for running unsigned fly on latest macOS
…phan-in-flight worker: keep in-flight overlay dirs during orphan sweep
Update Go to 1.27.1 and modernize codebase
Resolves three vulnerabilities reported by govulncheck in x/crypto/ssh: - GO-2026-6355: DoS on deadlocked established channel - GO-2026-6354: DoS on deadlocked undecided channel - GO-2026-6303: Source-address critical option enforcement go install golang.org/x/vuln/cmd/govulncheck@latest govulncheck ./...
alicul
force-pushed
the
address-security-vuln
branch
from
September 9, 2026 21:57
36756f8 to
fa20ff2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves three vulnerabilities reported by govulncheck in x/crypto/ssh:
GO-2026-6355: DoS on deadlocked established channel
GO-2026-6354: DoS on deadlocked undecided channel
GO-2026-6303: Source-address critical option enforcement
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...