Skip to content
High 7.5

Linux kernelのksmbdに脆弱性、遠隔から細工した通信でメモリ破壊のおそれ

CVE-2026-99389 First seen on SecPulse

Summary

Linux kernelのksmbdで、ディレクトリ名をUTF-16に変換する際のバッファサイズが不足し、領域外への書き込みが起きる脆弱性です。CVSSは8.8で、5.15.0から6.12.117未満、6.13.0から6.18.61未満、6.19.0から7.3.2未満の版が影響を受けます。修正版は6.12.117、6.18.61、7.3.2で、利用中のカーネルを修正版へ更新してください。

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のksmbdで、ディレクトリ名をUTF-16に変換する際のバッファサイズが不足し、領域外への書き込みが起きる脆弱性です。CVSSは8.8で、5.15.0から6.12.117未満、6.13.0から6.18.61未満、6.19.0から7.3.2未満の版が影響を受けます。修正版は6.12.117、6.18.61、7.3.2で、利用中のカーネルを修正版へ更新してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 5.15.0, < 5.15.226→ 5.15.226
≥ 5.16.0, < 6.1.193→ 6.1.193
≥ 6.2.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.117→ 6.12.117
≥ 6.13.0, < 6.18.61→ 6.18.61
≥ 6.19.0, < 7.3.2→ 7.3.2

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:

smb: server: size directory name conversion buffer correctly

A 2048-byte ASCII directory name needs 4098 bytes when converted to
UTF-16, including the terminator. ksmbd_convert_dir_info_name() caps
its allocation at PATH_MAX and writes past the end of that buffer.

Allocate space for one UTF-16 code unit per input byte plus the
terminator. Use kmalloc_array() to check the size calculation.

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