1. Home
  2. Vulnerabilities
  3. CVE-2024-26954

CVE-2024-26954

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-out-of-bounds in…

Published 1 May 2024 · modified 4 Aug 2026 · Sources: NVD, EPSS (FIRST)

Medium 42/100

Summary

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() If ->NameOffset of smb2_create_req is smaller than Buffer offset of smb2_create_req, slab-out-of-bounds read can happen from smb2_open. This patch set the minimum value of the name offset to the buffer offset to validate name length of smb2_create_req().

Affected products and versions

Linux (3 line(s))
Linux
ProductVersionsFixed inSource
Linux kernel from 5.15 (included) to 6.1.119 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.7.12 (excluded) — NVD
Linux kernel from 6.8 (included) to 6.8.3 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-125 · Corruption mémoire

How this data is obtained and calculated