[Low] Patch kubernetes for CVE-2024-45310#13469
Conversation
Signed-off-by: Sreenivasulu Malavathula <v-smalavathu@microsoft.com>
| } | ||
| + | ||
| +// syscallMode returns the syscall-specific mode bits from Go's portable mode bits. | ||
| +// Copy from https://cs.opensource.google/go/go/+/refs/tags/go1.20.7:src/os/file_posix.go;l=61-75 |
There was a problem hiding this comment.
Instead of putting reference here, you may also put this new function reference at the top with other references.
|
Investigate Build Failure
|
It was successful that time, Here attaching build and test logs. |
|
@Kanishk-Bansal, Fixed build issues like "Mal function and tampered date in patch file" by re-generate patch file with current date and did changelog with current date. and now, the build is successful. Here, the snapshots and logs attached. kubernetes-1.28.4-19.cm2.src.rpm.log kubernetes-1.28.4-19.cm2.src.rpm.test.log Kindly let me know if I need to add something here. |
|
@kgodara912, |
|
Just checked |
|
@kgodara912, please provide your review on this. |
|
|
@cyberbandya007, gentle reminder for review! |
|
Hello @v-smalavathu, Can you merge the conflicts once so that I can run buddy build again. |
|
Need to close this PR in favor of PR #14641 |



Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
kubernetes: Patch for CVE-2024-45310
Patch Modified – Yes
1. Combined 2 Patch references.
-- Taken Patches from NIST:
-- opencontainers/runc@f0b652e,
-- opencontainers/runc@8781993
2. New Function syscallMode added from the Reference below:
-- https://cs.opensource.google/go/go/+/refs/tags/go1.20.7:src/os/file_posix.go;l=61-75
Astrolabe Patch "opencontainers/runc#4359" is incorrect.
Change Log
Does this affect the toolchain?
NO
Associated issues
Links to CVEs
Test Methodology
local build on my VM
Applied Patch successfully as shown below

Pipeline build id: xxxx