# CVE-2026-98170: smb: client: fix OOB struct field reads in move\_smb2\_ea\_to\_cifs()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-06T08:44:15.138Z
- **Modified:** 2026-10-30T13:21:11.190Z

## Who should check

- Anyone running Linux \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 22886b1b7464613373c9a7d0af2ace029c50cd97; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 9d707a278c100c26d10fbbbd03988778ffc992ce; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 90a13af4c9b1369327395bababfe87c75599cc19; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 61812323c037a94e2e7f0db7ee740c34b126bffe; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< d3546cecbf81d98bf3b472d341f981eb48c04f47; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 34a3942e787b9c59758115bd65fe1ec89d68c7a4; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 13efcd37a9b3d6ffa1579c3dda3e29c893ed9bca; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< eeb5ef6083e1cefa2ef75041b5597ff228b8d7bb
- Anyone running Linux 4.14

## Description

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".

## Affected and fixed versions

- Linux: \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 22886b1b7464613373c9a7d0af2ace029c50cd97; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 9d707a278c100c26d10fbbbd03988778ffc992ce; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 90a13af4c9b1369327395bababfe87c75599cc19; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 61812323c037a94e2e7f0db7ee740c34b126bffe; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< d3546cecbf81d98bf3b472d341f981eb48c04f47; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 34a3942e787b9c59758115bd65fe1ec89d68c7a4; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 13efcd37a9b3d6ffa1579c3dda3e29c893ed9bca; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< eeb5ef6083e1cefa2ef75041b5597ff228b8d7bb (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98170. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98170.md
Affected: Linux >= 95907fea4fd8ccc736e0a428e52159b4d42b9958, < 22886b1b7464613373c9a7d0af2ace029c50cd97; >= 95907fea4fd8ccc736e0a428e52159b4d42b9958, < 9d707a278c100c26d10fbbbd03988778ffc992ce; >= 95907fea4fd8ccc736e0a428e52159b4d42b9958, < 90a13af4c9b1369327395bababfe87c75599cc19; >= 95907fea4fd8ccc736e0a42…
Fixed in: Linux 22886b1b7464613373c9a7d0af2ace029c50cd97, Linux 9d707a278c100c26d10fbbbd03988778ffc992ce, Linux 90a13af4c9b1369327395bababfe87c75599cc19, Linux 61812323c037a94e2e7f0db7ee740c34b126bffe, Linux 34a3942e787b9c59758115bd65fe1ec89d68c7a4, Linux 13efcd37a9b3d6ffa1579c3dda3e29c893ed9bca

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98170 being exploited?

There is no confirmed exploitation: CVE-2026-98170 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98170?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98170?

Linux \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 22886b1b7464613373c9a7d0af2ace029c50cd97; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 9d707a278c100c26d10fbbbd03988778ffc992ce; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 90a13af4c9b1369327395bababfe87c75599cc19; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 61812323c037a94e2e7f0db7ee740c34b126bffe; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< d3546cecbf81d98bf3b472d341f981eb48c04f47; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 34a3942e787b9c59758115bd65fe1ec89d68c7a4; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< 13efcd37a9b3d6ffa1579c3dda3e29c893ed9bca; \>= 95907fea4fd8ccc736e0a428e52159b4d42b9958, \< eeb5ef6083e1cefa2ef75041b5597ff228b8d7bb; Linux 4.14.

### Is there a fix for CVE-2026-98170?

Yes. Fixed in Linux 22886b1b7464613373c9a7d0af2ace029c50cd97, Linux 9d707a278c100c26d10fbbbd03988778ffc992ce, Linux 90a13af4c9b1369327395bababfe87c75599cc19, Linux 61812323c037a94e2e7f0db7ee740c34b126bffe, Linux 34a3942e787b9c59758115bd65fe1ec89d68c7a4, Linux 13efcd37a9b3d6ffa1579c3dda3e29c893ed9bca. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98170?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/22886b1b7464613373c9a7d0af2ace029c50cd97>
- other: <https://git.kernel.org/stable/c/9d707a278c100c26d10fbbbd03988778ffc992ce>
- other: <https://git.kernel.org/stable/c/90a13af4c9b1369327395bababfe87c75599cc19>
- other: <https://git.kernel.org/stable/c/61812323c037a94e2e7f0db7ee740c34b126bffe>
- other: <https://git.kernel.org/stable/c/d3546cecbf81d98bf3b472d341f981eb48c04f47>
- other: <https://git.kernel.org/stable/c/34a3942e787b9c59758115bd65fe1ec89d68c7a4>
- other: <https://git.kernel.org/stable/c/13efcd37a9b3d6ffa1579c3dda3e29c893ed9bca>
- other: <https://git.kernel.org/stable/c/eeb5ef6083e1cefa2ef75041b5597ff228b8d7bb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98170>

HTML: <https://flawdb.com/CVE-2026-98170> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98170>
