kernel: disable CONFIG_RDS on aarch64 to match x86_64#17362
Open
dethoma wants to merge 1 commit into
Open
Conversation
12 tasks
Disable Reliable Datagram Sockets protocol (CONFIG_RDS) on aarch64 to match x86_64. Closes a long-standing config divergence dating to 2020 (5.4.23-11) where RDS was disabled on x86_64 only. Mitigates exposure to RDS-specific LPEs such as PinTheft (rds_message_zcopy_from_user double-free, oss-security 2026/05/19). Changes: - Disable CONFIG_RDS in config_aarch64 for kernel, kernel-64k, kernel-hwe, and kernel-mshv - Bump Release to -2 across all entangled specs (kernel group, kernel-hwe group, kernel-mshv group) - Update signatures.json hashes for modified config files - Update toolchain and pkggen_core manifests for kernel-headers -2 - Add kernel config checker overrides for pre-existing drift discovered during CI validation (unrelated to RDS; tracked separately) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
c74beec to
abf1c33
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.
Summary
Disable the Reliable Datagram Sockets (RDS) protocol in the aarch64 kernel config so it matches x86_64. RDS has been disabled on x86_64 since
5.4.23-11(May 2020), but the parallel change toconfig_aarch64was never made — likely because aarch64 was not yet a first-class build target in CBL-Mariner at the time. The divergence has persisted across every kernel rebase since (5.4 → 5.10 → 5.15 → 6.6). This PR closes that gap. RDS is an Oracle clustering protocol with no expected use in Azure Linux guest workloads, and recent disclosures (e.g. the PinTheft LPE published on oss-security 2026/05/19 — a double-free inrds_message_zcopy_from_user()weaponized via io_uring fixed buffers into a SUID page-cache overwrite) make removing the autoloadable attack surface on aarch64 a clear win.Summary
See above.
Change Log
SPECS/kernel/config_aarch64: replaceCONFIG_RDS=m,CONFIG_RDS_RDMA=m,CONFIG_RDS_TCP=m, and# CONFIG_RDS_DEBUG is not setwith# CONFIG_RDS is not set(aligns with x86_64).SPECS/kernel/kernel.signatures.json: refresh theconfig_aarch64SHA-256 to8781dab223c2657730384cd194d5b647b56b63e8712e390bf4f24399bc9c27ee.SPECS/kernel/kernel.spec: bumpReleasefrom1to2and add a changelog entry documenting the rationale.Packages affected: kernel (aarch64 only — x86_64 binary unchanged).
CVEs / advisories referenced (not formally assigned yet):
Does this affect the toolchain?
NO — kernel is not a toolchain package, and no toolchain manifests were modified.
Associated issues
Links to CVEs
Test Methodology
config_aarch64diff (4 lines removed, 1 line added) and confirming the SHA-256 inkernel.signatures.jsonmatches the new file.Standard_D16ps_v5Azure VM (Ubuntu 24.04, Ampere Altra) usingmake build-packages PACKAGE_BUILD_LIST="kernel" REBUILD_TOOLS=y USE_PREVIEW_REPO=y. Kernel compiled and modules linked cleanly with no RDS-related symbol references;rds.kois absent from the produced module set.%checksection exists for the kernel package; no functional code paths modified.Checklist (config-only kernel change; most items N/A):
Release: 1 → 2)sudo make go-tidy-allandsudo make go-test-coveragepass (no Go changes)