Skip to main content
VulnerabilityPublished Updated

CVE-2024-26954: Linux kernel · ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()

Affects Linux kernelSource GCVE Database

0

Not known to be exploited · CVSS 8.1 High · fixed in 6.8.0-35.35 : patch Linux kernel soon.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.8.0-35.35, 6.8.0-1009.9, 6.8.0-1008.8 +7
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 May 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-35.35
Fixed in
  • 6.8.0-35.35
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1009.9
Fixed in
  • 6.8.0-1009.9
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1008.8
Fixed in
  • 6.8.0-1008.8
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1008.9
Fixed in
  • 6.8.0-1008.9
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1004.7
Fixed in
  • 6.8.0-1004.7
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threatsAffected
  • <6.8.0-1006.6
Fixed in
  • 6.8.0-1006.6

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

An official patch is available and should be applied to affected Linux kernel versions to remediate this vulnerability. Users should update to fixed kernel versions 6.8.0-35.35 or later, or the corresponding patched versions for other affected releases. No additional mitigation beyond applying the official fix is indicated.

Description

A slab-out-of-bounds vulnerability in the Linux kernel's ksmbd component was fixed. The issue occurs when the NameOffset field of smb2_create_req is smaller than the Buffer offset, leading to an out-of-bounds read. The patch enforces a minimum value for the name offset to prevent this. This vulnerability has a high severity score of 8.1 and affects multiple Linux kernel versions prior to 6.8.0-35.35 and certain specific older versions. A patch is available to address this issue.

References

Community reviews

Loading reviews…