# ksmbd: fix out-of-bounds write in smb2_get_ea() EA alignment

CVE record · `CVE-2026-31705`

- **Identifiers:** `CVE-2026-31705`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2026
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2026, 13:56 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `9f297df20d93411c0b4ddad7f88ba04a7cd36e77 to before ddbbc8b2a09dd2cfed90871313e3691ae1db08a2` (git)
  - affected: `e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d to before ffbce350c6fd1e99116ea57383b9031717e36d3b` (git)
  - affected: `e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d to before 98f3de6ef4efbd899348d333f0902dc4ff14380c` (git)
  - affected: `e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d to before 790304c02bf9bd7b8171feda4294d6e62d32ae8f` (git)
  - affected: `e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d to before 922d48fe8c19f388ffa2f709f33acaae4e408de2` (git)
  - affected: `e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d to before 30010c952077a1c89ecdd71fc4d574c75a8f5617` (git)
  - affected: `f2283680a80571ca82d710bc6ecd8f8beac67d63` (git)
  - affected: `6.1.71 to before 6.1.175` (semver)
  - affected: `5.15.145 to before 5.16` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.6`
  - unaffected: `before 6.6` (semver)
  - unaffected: `6.1.175 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.136 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.84 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.25 to 6.18.*, inclusive` (semver)
  - unaffected: `7.0.2 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0040, the 34th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 May 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31705)

## Sources

- [CVE List: CVE-2026-31705](https://www.cve.org/CVERecord?id=CVE-2026-31705)
- [NVD: CVE-2026-31705](https://nvd.nist.gov/vuln/detail/CVE-2026-31705)

### References from the CNA

- <https://git.kernel.org/stable/c/ddbbc8b2a09dd2cfed90871313e3691ae1db08a2>
- <https://git.kernel.org/stable/c/ffbce350c6fd1e99116ea57383b9031717e36d3b>
- <https://git.kernel.org/stable/c/98f3de6ef4efbd899348d333f0902dc4ff14380c>
- <https://git.kernel.org/stable/c/790304c02bf9bd7b8171feda4294d6e62d32ae8f>
- <https://git.kernel.org/stable/c/922d48fe8c19f388ffa2f709f33acaae4e408de2>
- <https://git.kernel.org/stable/c/30010c952077a1c89ecdd71fc4d574c75a8f5617>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-31705>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-31705/>. Everything for agents: <https://agentprime.io/llms.txt>.
