Linux Kernelのksmbdに範囲外読み取りの脆弱性、カーネルが停止するおそれ
Summary
Linux KernelのksmbdでCVE-2026-99541の脆弱性が公表されました。ksmbd_validate_name_reconnect()で範囲外の読み取りが起きるため、カーネルが停止するおそれがあります。影響するのは6.6.32以降6.7未満、6.9.0以降6.12.117未満、6.13.0以降6.18.61未満、6.19.0以降7.3.2未満の版で、6.7、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でCVE-2026-99541の脆弱性が公表されました。ksmbd_validate_name_reconnect()で範囲外の読み取りが起きるため、カーネルが停止するおそれがあります。影響するのは6.6.32以降6.7未満、6.9.0以降6.12.117未満、6.13.0以降6.18.61未満、6.19.0以降7.3.2未満の版で、6.7、6.12.117、6.18.61、7.3.2の修正版が提供されています。修正版への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.6.32, < 6.6.163→ 6.6.163 ≥ 6.9.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 |
6.6.163 6.12.117 6.18.61 7.3.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99541 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99541 linux-6.12, linux Fix available
- Ubuntu UBUNTU-CVE-2026-99541 linux-vmware, linux-starfive-6.5, linux-starfive-6.2 +118 more No fixed version in this record
Original description The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix OOB read and cross-share confusion in ksmbd_validate_name_reconnect()
ksmbd_validate_name_reconnect() indexes
ab_pathname[share->path_sz + 1] without checking that the path is
longer than share->path_sz + 1 (d_path() fills the buffer from the
end). A durable fp is not bound to its original share, so a client
can preserve a file from a short-path share and reconnect it on a
long-path share, making strcmp() read past the PATH_MAX buffer -
with a long enough share path this oopses the kernel, and on a
mapped page it also gives a byte-equality oracle on adjacent heap
(the reconnect succeeds exactly when the out-of-bounds string
equals the requested name). A same-share variant with the durable
fp at the share root reads 1 byte past the buffer
(strlen(ab_pathname) == share->path_sz).
Check before comparing: the path must be longer than share->path_sz,
it must start with share->path, and the next character must be '/'.
The share root itself is accepted only for an empty name.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com