Skip to content

Backport memcached authentication token and binary protocol crash fixes - #18521

Open
Pawel Winogrodzki (PawelWMS) wants to merge 4 commits into
fasttrack/3.0from
pawelwi/backport-memcached-auth-token-limit-3.0
Open

Backport memcached authentication token and binary protocol crash fixes#18521
Pawel Winogrodzki (PawelWMS) wants to merge 4 commits into
fasttrack/3.0from
pawelwi/backport-memcached-auth-token-limit-3.0

Conversation

@PawelWMS

@PawelWMS Pawel Winogrodzki (PawelWMS) commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Validation

  • Reconstructed the pre-fix Azure Linux 1.6.27-5 source build from the published source archive, existing patch set, and package build configuration.
  • Confirmed the pre-fix build reproduces the reported authentication crash with exit status 139.
  • Confirmed a build carrying only the authentication fix still crashes with a segmentation fault on the binary protocol path.
  • Confirmed the post-fix source build survives both paths, returning the expected client errors while preserving the original daemon PID.
  • Built the post-fix memcached-1.6.27-6 RPM in an Azure Linux 3.0 build root and completed the package %check suite successfully.
  • Installed the post-fix RPM and repeated both validations against the packaged /usr/bin/memcached binary.
  • Confirmed boundary authentication token sizes are rejected without process impact.
  • Confirmed ordinary authenticated storage and version requests continue to work.
  • Confirmed all patches apply with --fuzz=0 in the order declared by the spec file.

Risk

  • Limit each backport to the corresponding upstream fix, keeping them in separate commits so either can be reverted independently.
  • Keep the package version at 1.6.27 with no unrelated upstream behavior changes.
  • Supersede memcached: apply patch: fix crash in binary protocol #18459 for fasttrack/3.0 if both fixes ship together; otherwise revert the second commit and let that pull request proceed on its own.

Note: #18459 targets 3.0-dev and also used release 6 with Patch5. Here the authentication fix already holds release 6 and Patch5, so the binary protocol patch is registered as Patch6 with a second bullet under the existing changelog entry.

Backport the upstream authentication token size limit and regression test.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 136058a7-d42e-48e7-831b-56453b23dacf
@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging fasttrack/3.0 PRs Destined for Azure Linux 3.0 labels Aug 19, 2026
@PawelWMS
Pawel Winogrodzki (PawelWMS) marked this pull request as ready for review August 19, 2026 23:11
@PawelWMS
Pawel Winogrodzki (PawelWMS) requested a review from a team as a code owner August 19, 2026 23:11
Backport the upstream binary protocol mutation logging fix from Azure Linux
pull request 18459 so a failed binary store no longer dereferences a
missing item.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 136058a7-d42e-48e7-831b-56453b23dacf
@PawelWMS Pawel Winogrodzki (PawelWMS) changed the title Backport memcached authentication token size limit Backport memcached authentication token and binary protocol crash fixes Aug 20, 2026
Match the upstream reference convention used by the binary protocol patch.
…atch

Name the patch file consistently with the other memcached patches.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fasttrack/3.0 PRs Destined for Azure Linux 3.0 Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants