Skip to content

Patch kernel to fix CVE-2026-43465#17426

Closed
omkhar wants to merge 1 commit into
microsoft:3.0-devfrom
omkhar:oarasara/mlx5e-xdp-striding-CVE-2026-43465-kernel-3.0
Closed

Patch kernel to fix CVE-2026-43465#17426
omkhar wants to merge 1 commit into
microsoft:3.0-devfrom
omkhar:oarasara/mlx5e-xdp-striding-CVE-2026-43465-kernel-3.0

Conversation

@omkhar
Copy link
Copy Markdown

@omkhar omkhar commented May 25, 2026

Backport upstream fix for CVE-2026-43465 (mlx5e XDP multi-buf frag counting for striding RQ).

Upstream: torvalds/linux@db25c42 (v7.0).

  • Author: Dragos Tatulea dtatulea@nvidia.com (Nvidia)
  • Reviewed-by: Nimrod Oren noren@nvidia.com
  • Signed-off-by: Tariq Toukan → Jakub Kicinski → Sasha Levin (full chain preserved in patch file)

Backport type: FORWARD-PORT. 6.6.y has no upstream backport (fix landed in 6.18.y via 7d7342a18fad). The forward-port reverts xdp_update_skb_frags_info() → xdp_update_skb_shared_info() for the 6.6 API. +5/-7 LoC in drivers/net/ethernet/mellanox/mlx5/core/en_rx.c. omkhar omkhar@linkedin.com is the AzureLinux 3.0 forward-porter (credited in the patch header).

Code-correctness: mlx5e_skb_from_cqe_mpwrq_nonlinear shrank exactly 50 bytes (0xa3d → 0xa0b), matching removal of two frag_page -= page-pool subtractions. mlx5_core module shrank 208 bytes total.

Auto-load bonus signal: mlx5_ib auto-loaded mlx5_core in the running fixed kernel (refcnt=1); vermagic matches; kprobe insertion on the patched symbol succeeded both bare and module-qualified. ftrace kprobe fired 173,549× on the patched symbol during LTP-net (vs 4,428× on baseline) — proves the patched code path is exercised.

LTP regression: baseline-vs-patched. 0 patch-induced regressions. The 2 failing tests (mc_cmds, mc_commo) are environmental (no IGMP querier on netvsc) and identical on both sides.

Upstream Author Dragos Tatulea <dtatulea@nvidia.com> (Nvidia); Reviewed-by Nimrod Oren <noren@nvidia.com>; Signed-off-by chain Tariq Toukan → Jakub Kicinski → Sasha Levin preserved byte-for-byte in the patch file. omkhar <omkhar@linkedin.com> is the AzureLinux 3.0 forward-porter. 6.6.y has no upstream backport (this fix landed in 6.18.y); the forward-port reverts xdp_update_skb_frags_info() → xdp_update_skb_shared_info() (API rename between 6.6 and 6.18). +5/-7 LoC in drivers/net/ethernet/mellanox/mlx5/core/en_rx.c. Code-correctness: mlx5e_skb_from_cqe_mpwrq_nonlinear shrank exactly 50 bytes (0xa3d → 0xa0b), matching removal of two frag_page -= page-pool subtractions. mlx5_ib auto-loaded mlx5_core in running patched kernel (refcnt=1, vermagic match). ftrace kprobe on the patched symbol fired 173,549× on patched (vs 4,428× baseline) during LTP-net run. LTP-net 0 patch-induced regressions.

Signed-off-by: omkhar <omkhar@linkedin.com>
@omkhar omkhar requested a review from a team as a code owner May 25, 2026 03:15
@microsoft-github-policy-service microsoft-github-policy-service Bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels May 25, 2026
@omkhar
Copy link
Copy Markdown
Author

omkhar commented May 26, 2026

Closing per the OOT policy I committed to on #17414 (comment): I only ask for OOT carry when there is a public PoC achieving LPE/RCE on a stock kernel, or active-in-the-wild signal. This backport is technically sound (verbatim upstream apply, LTP clean, Cc: stable@vger.kernel.org upstream) but no public PoC was demonstrated against a stock 3.0 kernel, so it does not clear that bar.

The upstream fix carries Cc: stable@vger.kernel.org so it will land in linux-6.6.y on the normal stable cadence; AUTOPATCHER on 3.0-dev empirically picks up 6.6.y stable within ~1–3 weeks. Not worth the OOT spec churn and eventual revert PR.

Happy to reopen if a public PoC surfaces or if the Mariner / 3.0 kernel team disagrees with the bar.

@omkhar omkhar closed this May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant