Review reviewHigh

CVE-2024-26954

Linux Linux, linux kernel

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().

CVSS
7.1
EPSS
0.70%
49.5% percentile
CISA KEV
Not listed
Published
2024.05.01
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.70%
Technical severityCVSS 7.1

Vulnerability overview

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 product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 0626e6641f6b467447c81dd7678a69c66f7746cf < d70c2e0904ab3715c5673fd45788a464a246d1db, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 9e4937cbc150f9d5a9b5576e1922ef0b5ed2eb72, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 3b8da67191e938a63d2736dabb4ac5d337e5de57, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 4f97e6a9d62cb1fce82fbf4baff44b83221bc178, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < a80a486d72e20bd12c335bcd38b6e6f19356b0aa, >= 5.15, >= 5.15 < 6.1.119, >= 6.2 < 6.7.12, >= 6.8 < 6.8.3
Fixed versions
6.1.119, 6.7.12, 6.8.3

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE
CWE-125