cve-ja
← 新着
CVE

検証をすり抜けた BPF プログラムが、マップ外のメモリにアクセスできる。

32 ビットでのマスク判定の誤り。対象は Linux kernel(6.12.119 未満・6.18.65 未満・7.3.6 未満・7.4-rc1 未満)。

CVE-2026-139320参考情報

一言・影響を受ける人・対策は AI(sonnet)が元の説明文から作成。版の番号などは元の文と機械で照合した。対応の前に元の告知を確かめてほしい。誤りに気づいたら運営者へ。

CVSS
7.8
High
CNA
悪用
未確認
CISA の一覧には無い
PoC
見つかっていない
12/6 時点
修正
修正版あり
6.12.119・6.18.65・7.3.6・7.4-rc1 以降
国内
まだ無い
同じ CVE 番号の記事を待っている
まずやること:Linux kernel を 6.12.119・6.18.65・7.3.6 など、使っている系統の修正版以降に更新する
公開
2026年11月30日
最終更新
2026年11月30日
優先度の理由
—
最終確認
2026年12月5日
EPSS
0.19%
PoC
見つかっていない
攻撃の条件
手元の操作・一般のログインが要る・相手の操作は要らない
国内
まだ無い

概要

検証をすり抜けた BPF プログラムが、マップ外のメモリにアクセスできる。

元の説明(英語)を読む

In the Linux kernel, the following vulnerability has been resolved: bpf: Look at all 64 bits of a BPF_JSET mask on 32-bit In the branch of a BPF_JSET which is taken, the verifier can learn something about the register only if the mask has a single bit: then this bit is set. regs_refine_cond_op() tests this with is_power_of_2(val) and then ORs val into var_off. val is a u64, but is_power_of_2() takes an unsigned long. On a 32-bit kernel it only sees the lower half of the mask. For if r1 & 0xffffffff80000000 goto l which is a BPF_JSET | BPF_K with an immediate of 0x80000000, the lower half is a power of two. So the verifier takes all 33 bits for set at l, while the branch is taken if any of them is. A mask of 0x100000001 from a register does the same for bit 0. The log of an i386 kernel, for r6 = bpf_get_prandom_u32() << 31: 3: (45) if r6 & 0x80000000 goto pc+2 from 3 to 6: R6=0xffffffff80000000 R10=fp0 6: (77) r6 >>= 63 ; R6=1 When the program runs, r6 >> 63 is 0. >From then on the verifier works with known bits which the register does not have at run time. It accepts, for example, an offset into a map value which it derives from these bits and believes to be constant, and the program can access memory outside of the map value. Count the bits of the whole value. Only 32-bit kernels are affected. On a 64-bit kernel unsigned long holds the whole mask, and this patch changes nothing.

影響を受ける人

32 ビット版 Linux で BPF を使う人

対策

  • Linux kernel を 6.12.119・6.18.65・7.3.6 など、使っている系統の修正版以降に更新する

国内の動き

本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。

海外の動き

本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。

PoC

公開されている PoC は、まだ見つかっていない。

経過

2026年11月30日・一次情報
脆弱性が公開された

影響する版

Linux Linux範囲は告知を確認
Linux Linux6.12.119 未満が対象(6.12.119 で修正)・6.18.65 未満が対象(6.18.65 で修正)・7.3.6 未満が対象(7.3.6 で修正)・7.4-rc1 未満が対象(7.4-rc1 で修正)