LinuxのLinux Kernelにおける不特定の脆弱性
タイトル LinuxのLinux Kernelにおける不特定の脆弱性
概要

Linuxカーネルにおいて、以下の脆弱性が修正されました:sched/fairにおけるzero_vruntimeのトラッキングの修正です。Johnはstress-ng-yieldが自身のマシンに不具合を引き起こすことを報告し、その原因をコミットb3d99f43c72b("sched/fair: Fix zero_vruntime tracking")に特定しました。yield動作とこのコミットの組み合わせが特定のシナリオを示しています。2つの実行可能なタスクがあり、両方がyieldを行う場合、一方は実行資格を持ち、もう一方は持ちません。これは平均的な位置が2つのタスクの間にある必要があるためです。したがって、実行可能なタスクは実行資格を持ち、フルスライスの時間が割り当てられます(すべてのタスクは基本的にyieldを行っているだけです)。これにより、このタスクはもう一方のタスクを飛び越え、今度はもう一方のタスクが実行資格を持ち、現在のタスクは実行資格を持たなくなります。次にスケジューリングが行われます。実行可能なため、{de,en}queueは発生せず、{put_prev,set_next}_task()からの__{en,de}queue_entity()のみが存在します。しかし該当コミットによって、これら2つはzero_vruntimeを移動させなくなりました。zero_vruntimeを移動させるのはtickと完全な{de,en}queueのみです。つまり、2つのタスクがリープフロッグ状に動作し、1tickの時間内にオーバーフローポイントに到達する速度に達した場合、問題が発生します。さらに複数のcgroupが関与する場合、tickがすべてのcgroupにタイムリーに届く保証はありません。統計的には届きますが、統計が1つのcgroupが長期間tickを受け取れない可能性を除外するわけではありません。したがって、yield()の場合と同様に、各スライス終了時に強制的に更新を行います。これにより、更新が1スライスを超えて遅延することがなくなり、entity_key()に関するコメント通り、全体が2つの遅延境界内に収まるようになります。

想定される影響 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
対策

リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

公表日 2026年5月8日0:00
登録日 2026年5月18日11:28
最終更新日 2026年5月18日11:28
CVSS3.0 : 警告
スコア 5.5
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
影響を受けるシステム
Linux
Linux Kernel 6.12.78 以上 6.12.81 未満
Linux Kernel 6.18.17 以上 6.18.22 未満
Linux Kernel 6.19.7 以上 6.19.12 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2026年05月18日]
  掲載
2026年5月18日11:28

NVD脆弱性情報
CVE-2026-43323
概要

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

sched/fair: Fix zero_vruntime tracking fix

John reported that stress-ng-yield could make his machine unhappy and
managed to bisect it to commit b3d99f43c72b ("sched/fair: Fix
zero_vruntime tracking").

The combination of yield and that commit was specific enough to
hypothesize the following scenario:

Suppose we have 2 runnable tasks, both doing yield. Then one will be
eligible and one will not be, because the average position must be in
between these two entities.

Therefore, the runnable task will be eligible, and be promoted a full
slice (all the tasks do is yield after all). This causes it to jump over
the other task and now the other task is eligible and current is no
longer. So we schedule.

Since we are runnable, there is no {de,en}queue. All we have is the
__{en,de}queue_entity() from {put_prev,set_next}_task(). But per the
fingered commit, those two no longer move zero_vruntime.

All that moves zero_vruntime are tick and full {de,en}queue.

This means, that if the two tasks playing leapfrog can reach the
critical speed to reach the overflow point inside one tick's worth of
time, we're up a creek.

Additionally, when multiple cgroups are involved, there is no guarantee
the tick will in fact hit every cgroup in a timely manner. Statistically
speaking it will, but that same statistics does not rule out the
possibility of one cgroup not getting a tick for a significant amount of
time -- however unlikely.

Therefore, just like with the yield() case, force an update at the end
of every slice. This ensures the update is never more than a single
slice behind and the whole thing is within 2 lag bounds as per the
comment on entity_key().

公表日 2026年5月8日23:16
登録日 2026年5月9日4:13
最終更新日 2026年5月12日23:10
関連情報、対策とツール
共通脆弱性一覧