Skip to content

[v26.1.x] build/deps: upgrade krb5 to 1.22.2 - #30874

Merged
tyson-redpanda merged 3 commits into
v26.1.xfrom
ai-backport-pr-30628-v26.1.x-1780530732
Jun 23, 2026
Merged

[v26.1.x] build/deps: upgrade krb5 to 1.22.2#30874
tyson-redpanda merged 3 commits into
v26.1.xfrom
ai-backport-pr-30628-v26.1.x-1780530732

Conversation

@tyson-redpanda

Copy link
Copy Markdown
Contributor

Upgrades krb5 from 1.21.3 to 1.22.2 on the v26.1.x branch to address CVE-2026-40355 and CVE-2026-40356 (NegoEx parsing vulnerabilities). The memory leak fixes previously applied via 0001 patch are included in 1.22.x upstream, so that patch is dropped. The NegoEx CVE patches still apply cleanly to 1.22.2 and are retained.

Backport of PR #30628

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v25.3.x
  • v25.2.x
  • v25.1.x

Release Notes

Bug Fixes

FIXES=CORE-16460
FIXES=CORE-16461

tyson-redpanda and others added 3 commits June 23, 2026 09:14
Replace krb5 1.21.3 with 1.22.2. The memory leak fixes previously
applied via patch are included in 1.22 upstream. The NegoEx CVE fixes
(CVE-2026-40355, CVE-2026-40356) patch still applies cleanly and is
retained until they land upstream.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
(cherry picked from commit 5fffb24)
krb5 1.22.2 has a bug where struct kdclist and kdclist_entry are defined
inside a KRB5_DNS_LOOKUP conditional, but the functions using them are
outside it. When configure doesn't define KRB5_DNS_LOOKUP (as in the
Bazel sandbox), the structs are incomplete at compile time.

Cherry-pick the upstream fix from master (3c672ca).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
(cherry picked from commit ba231dd)
The backport bot cherry-picked the dev lockfile (lockFileVersion 26,
Bazel 9.1.0) into this v26.1.x branch, which uses Bazel 8.4.1
(lockFileVersion 18). Rebase onto current v26.1.x also picks up the
openssl 3.5.7 upgrade (commit 6911bfb).

Regenerated with `bazel mod deps --lockfile_mode=update` to produce a
valid lockFileVersion 18 lockfile reflecting both the openssl 3.5.7 and
krb5 1.22.2 changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tyson-redpanda
tyson-redpanda marked this pull request as ready for review June 23, 2026 14:35
@tyson-redpanda
tyson-redpanda enabled auto-merge June 23, 2026 14:35
@vbotbuildovich

Copy link
Copy Markdown
Collaborator

CI test results

test results on build#86154
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FLAKY(PASS) DatalakeTableNameTest test_dlq_table_name_dot_replacement {"catalog_type": "rest_hadoop", "cloud_storage_type": 1} integration https://buildkite.com/redpanda/redpanda/builds/86154#019ef4f9-7b4e-4b63-afd8-861ccb47bbe9 10/11 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0400, p0=1.0000, reject_threshold=0.0100. adj_baseline=0.1153, p1=0.2939, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=DatalakeTableNameTest&test_method=test_dlq_table_name_dot_replacement

@tyson-redpanda
tyson-redpanda requested a review from dotnwat June 23, 2026 16:58
@tyson-redpanda
tyson-redpanda merged commit 77b135c into v26.1.x Jun 23, 2026
16 checks passed
@tyson-redpanda
tyson-redpanda deleted the ai-backport-pr-30628-v26.1.x-1780530732 branch June 23, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants