CVEvulnerability

CVE-2024-26954

7.1 HIGH Published 2024-05-01 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2024-05-01
Last modified
2026-08-04
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
8.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-125

Description

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 configurations

• linux linux kernel (>= 5.15 < 6.1.119) • linux linux kernel (>= 6.2 < 6.7.12) • linux linux kernel (>= 6.8 < 6.8.3)

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References