Skip to content
High 7.0

Linux kernelのBPFに脆弱性、権限のない攻撃者による悪用の報告はなし

CVE-2026-139623 First seen on SecPulse

Summary

Linux kernelのBPFで、命令の書き換え後に分岐先や関数の参照位置がずれ、検証器が誤ったプログラムを拒否または誤動作させる問題が見つかりました。影響を受けるのは6.9.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.

Linux kernelのBPFで、命令の書き換え後に分岐先や関数の参照位置がずれ、検証器が誤ったプログラムを拒否または誤動作させる問題が見つかりました。影響を受けるのは6.9.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

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.9.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

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

bpf: Adjust pc-relative insn copied into its own patch

bpf_do_misc_fixups() inits may_goto count by patching the first insn
of a subprog with [ST, ST, first insn]. bpf_convert_ctx_accesses()
patches insn that needs a barrier with [nospec, insn].
bpf_adj_branches() doesn't adjust insns inside the patch, so when
the copy is a call, ld_imm64 of a func or a jump that points backward
its target is off by the number of insns in front of it:

static int A(void) { return 1; }
static int A2(void) { return 2; }
static int B(void)
{
int i, ret = A();

      for (i = 0; i < 10 && can_loop; i++)
              ...
      return ret;

}

When A is placed in front of B and may_goto is timed 'call A' becomes
call of A + 2. B returns 2 when A + 2 is the start of A2. Otherwise
the prog is rejected with "verifier bug: No program to jit at insn".

Add bpf_adj_moved_insn() and use it for both copies.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details