VDB

CVE-2026-98170

CVE-2026-98170 PUBLISHED

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.

PackageEcosystemFixed in
kernel-livepatch-6.18.54-121.166Amazon Linux1:1.0-0.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-headersAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
bpftool6.12Amazon Linux1:6.12.113-138.209.amzn2023
perf6.12Amazon Linux1:6.12.113-138.209.amzn2023

Risk scores

EPSS Score
0.22%
12.1th percentile

Affected products

VendorProductVersions
LinuxLinux95907fea4fd8ccc736e0a428e52159b4d42b9958, 95907fea4fd8ccc736e0a428e52159b4d42b9958, 95907fea4fd8ccc736e0a428e52159b4d42b9958
LinuxLinux4.14, 0, 5.10.273
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.180
amazon:2023bpftool6.120
amazon:2023perf6.120
LinuxLinux7.3, 95907fea4fd8ccc736e0a428e52159b4d42b9958, 95907fea4fd8ccc736e0a428e52159b4d42b9958
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.180
linuxlinux_kernel4.14, 4.14, 4.14
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023python3-perf6.120
amazon:2023microvm-kernel6.180

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›