2084AI Security Observatory

CVE

CVE-2026-31612

CVE-2026-31612HIGH 7.5EPSS 39%

CNA description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate EaNameLength in smb2_get_ea() smb2_get_ea() reads ea_req->EaNameLength from the client request and passes it directly to strncmp() as the comparison length without verifying that the length of the name really is the size of the input buffer received. Fix this up by properly checking the size of the name based on the value received and the overall size of the request, to prevent a later strncmp() call to use the length as a "trusted" size of the buffer. Without this check, uninitialized heap values might be slowly leaked to the client.

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 7.0, < 7.0.1Fixed in 7.0.1
  • ≥ 6.19, < 6.19.14Fixed in 6.19.14
  • ≥ 6.13, < 6.18.24Fixed in 6.18.24
  • ≥ 6.7, < 6.12.83Fixed in 6.12.83
  • ≥ 5.15, < 6.6.136Fixed in 6.6.136

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.