CVE-2026-98170
smb: client: fix OOB struct field reads in move_smb2_ea_to_cifs()
Reported by linux · Published October 6, 2026
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix OOB struct field reads in move_smb2_ea_to_cifs() In move_smb2_ea_to_cifs(), the while (src_size > 0) loop condition is insufficient. It allows iteration to continue even if the remaining src_size is too small to contain a complete smb2_ea_info structure. Consequently, reads of ea_name_length and ea_value_length can occur out-of-bounds. Fix this by ensuring src_size >= sizeof(*src) before attempting to read any structure fields. Additionally, reject any next_entry_offset that is smaller than sizeof(*src) or that would advance the pointer beyond the available buffer. Note that for calls where the server returns a malformed EA list, the error returned to userspace changes from -ENODATA (getxattr) or -ERANGE (listxattr) to -EIO. This correctly signals a server protocol error rather than misleadingly indicating "attribute not present" or "output buffer too small".
EPSS 0.22% · 12.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.18.54-121.166 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 95907fea4fd8ccc736e0a428e52159b4d42b9958, 95907fea4fd8ccc736e0a428e52159b4d42b9958, 95907fea4fd8ccc736e0a428e52159b4d42b9958 |
| Linux | Linux | 4.14, 0, 5.10.273 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| Linux | Linux | 7.3, 95907fea4fd8ccc736e0a428e52159b4d42b9958, 95907fea4fd8ccc736e0a428e52159b4d42b9958 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
| linux | linux_kernel | 4.14, 4.14, 4.14 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.12.113-138.209 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
…and 7 more
Timeline
- Oct 6, 2026 EPSS Score (9 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98170
vulnetix vdb fixes CVE-2026-98170
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98170/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart