CVE-2026-139163: bpf: Keep stack arguments in arch_bpf_timed_may_goto()

Published Nov 30, 2026
·
Updated

bpf: Keep stack arguments in archbpftimedmaygoto()

Affected Software

4 affected componentsFixes available
Linux Linux kernel
linux/kernel>=7.2.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1
  3. Compensating control

    In arch_bpf_timed_may_goto(), save and restore the stack-argument registers: r9 on x86-64, x5–x7 on arm64, and a5–a7 on riscv64.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description
Data Sourced
via OSV·01:32 PM
DescriptionAffected Software
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

Which systems are implicated by the stack-argument handling described here?

The affected calling conventions are identified for x86-64, arm64, and riscv64 JITs. The provided crash example specifically occurs on x86-64 when the timing path changes r9.

2

What BPF program pattern is needed to trigger the issue?

A program must preserve a stack-passed argument across a may_goto and then read it in a callee. Although the verifier does not treat may_goto as a call, its timed path can invoke C code and clobber registers used for stack arguments.

3

Is code generated by LLVM likely to produce the vulnerable pattern?

The data states that LLVM does not emit this pattern. LLVM reads stack arguments at function entry and writes them immediately before the call.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203