製品・ソフトウェアに関する情報
LinuxのLinux Kernelにおけるゼロ除算に関する脆弱性
Title LinuxのLinux Kernelにおけるゼロ除算に関する脆弱性
Summary

Linuxカーネルにおいて、以下の脆弱性が修正されました。net/schedのsch_hfscサブシステムにあるrtsc_min()関数におけるゼロ除算の問題です。m2sm()関数はu32のスロープをu64のスケール値に変換します。大きな入力(例:m1=4000000000)の場合、結果が2^32に達することがあります。rtsc_min()関数は、そのような2つのu64値の差をu32変数であるdsmに格納し、このdsmを除数として使用します。差がちょうど2^32の場合、切り捨てによりdsmがゼロとなり、凹型曲線の交差パスでゼロ除算エラーが発生しました。エラー内容は「divide error: 0000RIP: 0010:rtsc_min (net/sched/sch_hfsc.c:601)」で、コールトレースにはinit_ed (net/sched/sch_hfsc.c:629)、hfsc_enqueue (net/sched/sch_hfsc.c:1569)などが含まれています。この問題を解決するために、dsmをu64に拡張し、元のdo_div()関数をdiv64_u64()に置き換えて差分全体を保持するように修正しました。

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

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

Publication Date April 13, 2026, midnight
Registration Date May 22, 2026, 10:55 a.m.
Last Update May 22, 2026, 10:55 a.m.
CVSS3.0 : 警告
Score 5.5
Vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected System
Linux
Linux Kernel 2.6.12
Linux Kernel 2.6.12.1 以上 5.10.253 未満
Linux Kernel 5.11 以上 5.15.203 未満
Linux Kernel 5.16 以上 6.1.168 未満
Linux Kernel 6.13 以上 6.18.22 未満
Linux Kernel 6.19 以上 6.19.12 未満
Linux Kernel 6.2 以上 6.6.134 未満
Linux Kernel 6.7 以上 6.12.81 未満
Linux Kernel 7.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年05月22日]
  掲載
May 22, 2026, 10:55 a.m.

NVD Vulnerability Information
CVE-2026-31423
Summary

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

net/sched: sch_hfsc: fix divide-by-zero in rtsc_min()

m2sm() converts a u32 slope to a u64 scaled value. For large inputs
(e.g. m1=4000000000), the result can reach 2^32. rtsc_min() stores
the difference of two such u64 values in a u32 variable `dsm` and
uses it as a divisor. When the difference is exactly 2^32 the
truncation yields zero, causing a divide-by-zero oops in the
concave-curve intersection path:

Oops: divide error: 0000
RIP: 0010:rtsc_min (net/sched/sch_hfsc.c:601)
Call Trace:
init_ed (net/sched/sch_hfsc.c:629)
hfsc_enqueue (net/sched/sch_hfsc.c:1569)
[...]

Widen `dsm` to u64 and replace do_div() with div64_u64() so the full
difference is preserved.

Publication Date April 13, 2026, 11:16 p.m.
Registration Date April 15, 2026, 11:38 a.m.
Last Update April 18, 2026, 6:16 p.m.
Related information, measures and tools
Common Vulnerabilities List