Linux KernelのeBPF検証器に権限を昇格される脆弱性
Summary
2026年11月30日に公表された、Linux KernelのeBPF検証器の脆弱性です。スタックのチェックに抜けがあり、ヘルパーやkfuncに渡すバッファ経由で、プログラムのフレーム外にあるカーネルのスタックが読み書きされるおそれがあります。影響するのは6.12.0以上6.12.120未満、6.13.0以上6.18.66未満、6.19.0以上7.3.6未満のKernelで、修正版は6.12.120、6.18.66、7.3.6です。修正版への更新を優先してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
2026年11月30日に公表された、Linux KernelのeBPF検証器の脆弱性です。スタックのチェックに抜けがあり、ヘルパーやkfuncに渡すバッファ経由で、プログラムのフレーム外にあるカーネルのスタックが読み書きされるおそれがあります。影響するのは6.12.0以上6.12.120未満、6.13.0以上6.18.66未満、6.19.0以上7.3.6未満のKernelで、修正版は6.12.120、6.18.66、7.3.6です。修正版への更新を優先してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.12.0, < 6.12.120→ 6.12.120 ≥ 6.13.0, < 6.18.66→ 6.18.66 ≥ 6.19.0, < 7.3.6→ 7.3.6 |
6.12.120 6.18.66 7.3.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-139629 linux Fix available
- Ubuntu UBUNTU-CVE-2026-139629 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
bpf: Check fastcall stack contract once for all stack accesses
When the verifier inlines a bpf_fastcall helper or kfunc, it removes the
spill/fill pairs that clang emitted around the call and lowers the
subprogram's stack depth so that their slots are no longer part of the
frame. This is only safe if nothing else accesses those slots or any slot
below them. check_fastcall_stack_contract() enforces this: an access to
that region from outside a fastcall pattern disables the rewrite for the
subprogram. It is called from the four stack load and store paths, and
two kinds of access escape it.
Stack buffers passed to helpers and kfuncs are validated by
check_stack_range_initialized(), which does not call it. If such a buffer
is the only other access to the region, the rewrite is still applied, the
JIT reserves a frame that does not contain the buffer, and the helper
reads or writes live kernel stack below the program's frame. For example,
without CAP_PERFMON:
*(u64 *)(r10 - 8) = r1;
call bpf_get_smp_processor_id;
r1 = *(u64 *)(r10 - 8);
r2 = 0;
r3 = r10;
r3 += -64;
r4 = 8;
call bpf_skb_load_bytes;
is accepted with a stack depth of 0 instead of 64.
Some buffers got the check indirectly. For constant-sized outputs in raw
mode, mark_raw_stack() marks the buffer initialized through ordinary
byte stores, which call the check. Commit 5da4a9f26fca ("bpf: Preserve
stack initialization for generic output buffe…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com