製品・ソフトウェアに関する情報
LinuxのLinux Kernelにおける整数オーバーフローの脆弱性
Title LinuxのLinux Kernelにおける整数オーバーフローの脆弱性
Summary

Linuxカーネルにおいて、lib/cryptoのmpi_read_raw_from_sgl()関数に整数アンダーフローの脆弱性が存在していました。この脆弱性は、scatterlistの長さが指定されたバイト数より長く、かつ先頭のバイトがすべてゼロの場合に発生し、不正な減算によってアンダーフローが起こります。これにより、KEYCTL_PKEY_ENCRYPTシステムコールを特定の条件で呼び出すと、カーネル内で無限ループが発生し、サービス拒否(DoS)状態を引き起こす可能性がありました。本問題は修正されました。

Possible impacts ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

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

Publication Date May 19, 2026, midnight
Registration Date June 29, 2026, 11:19 a.m.
Last Update June 29, 2026, 11:19 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 4.4 以上 5.10.259 未満
Linux Kernel 5.11 以上 5.15.210 未満
Linux Kernel 5.16 以上 6.1.176 未満
Linux Kernel 6.13 以上 6.18.30 未満
Linux Kernel 6.19 以上 7.0.7 未満
Linux Kernel 6.2 以上 6.6.140 未満
Linux Kernel 6.7 以上 6.12.88 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2026年06月29日]
  掲載
June 29, 2026, 11:19 a.m.

NVD Vulnerability Information
CVE-2026-43492
Summary

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

lib/crypto: mpi: Fix integer underflow in mpi_read_raw_from_sgl()

Yiming reports an integer underflow in mpi_read_raw_from_sgl() when
subtracting "lzeros" from the unsigned "nbytes".

For this to happen, the scatterlist "sgl" needs to occupy more bytes
than the "nbytes" parameter and the first "nbytes + 1" bytes of the
scatterlist must be zero. Under these conditions, the while loop
iterating over the scatterlist will count more zeroes than "nbytes",
subtract the number of zeroes from "nbytes" and cause the underflow.

When commit 2d4d1eea540b ("lib/mpi: Add mpi sgl helpers") originally
introduced the bug, it couldn't be triggered because all callers of
mpi_read_raw_from_sgl() passed a scatterlist whose length was equal to
"nbytes".

However since commit 63ba4d67594a ("KEYS: asymmetric: Use new crypto
interface without scatterlists"), the underflow can now actually be
triggered. When invoking a KEYCTL_PKEY_ENCRYPT system call with a
larger "out_len" than "in_len" and filling the "in" buffer with zeroes,
crypto_akcipher_sync_prep() will create an all-zero scatterlist used for
both the "src" and "dst" member of struct akcipher_request and thereby
fulfil the conditions to trigger the bug:

sys_keyctl()
keyctl_pkey_e_d_s()
asymmetric_key_eds_op()
software_key_eds_op()
crypto_akcipher_sync_encrypt()
crypto_akcipher_sync_prep()
crypto_akcipher_encrypt()
rsa_enc()
mpi_read_raw_from_sgl()

To the user this will be visible as a DoS as the kernel spins forever,
causing soft lockup splats as a side effect.

Fix it.

Publication Date May 19, 2026, 9:16 p.m.
Registration Date May 20, 2026, 4:12 a.m.
Last Update May 23, 2026, 1:33 a.m.
Related information, measures and tools
Common Vulnerabilities List