CVE record · CVE-2026-31707

ksmbd: validate response sizes in ipc_validate_msg()

CVSS 7.1 HighEPSS 0.0013 · 2nd percentile

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.

Affected products, as the CNA wrote them
VendorProductVersions
Linux Linux
  • affected 0626e6641f6b467447c81dd7678a69c66f7746cf to before 52518503a1a00bc33e9522c4eb05df023e3ae978 git
  • affected 0626e6641f6b467447c81dd7678a69c66f7746cf to before bf396208418371174869baba9434535cd3288e80 git
  • affected 0626e6641f6b467447c81dd7678a69c66f7746cf to before 7dd0c858e1909769a4c91842724315ee74f1a5f1 git
  • affected 0626e6641f6b467447c81dd7678a69c66f7746cf to before 299db777ea0cfa5c407e41b045c24a14c034c27b git
  • affected 0626e6641f6b467447c81dd7678a69c66f7746cf to before 99c631d0366c1eab8fb188fe66425f4581ebdde4 git
  • affected 0626e6641f6b467447c81dd7678a69c66f7746cf to before d6a6aa81eac2c9bff66dc6e191179cb69a14426b git
Other versions: unaffected
Linux Linux
  • affected 5.15
  • unaffected before 5.15 semver
  • unaffected 6.1.191 to 6.1.*, inclusive semver
  • unaffected 6.6.141 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
Identifiers
CVE-2026-31707
CNA
Linux
Published
1 May 2026
Updated
30 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The ksmbd SMB server in the Linux kernel, affected from 5.15 until fixed, can overflow size calculations when validating responses from its userspace daemon, so an unverified length may be used in memory copies. The source gives few details on how an attacker would supply such a response. Upgrade to 6.1.191, 6.6.141, 6.12.84, 6.18.25 or a later release in those stable series.

Written 12 Nov 2026.

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

ScoreRatingCVSSVectorSource
7.1 High 3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CNA (Linux)
  • CISA KEV Not listed.
  • EPSS 0.0013, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 1 May 2026, 14:16 UTC Confirmed by NVD

Sources

References from the CNA

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.