ksmbd: use memcmp() to compare ClientGUIDs (Linux Linux)

CVE-2026-74521
CRITICAL 9.1

At a glance

Source
NVD
EPSS
EPSS 0.41 % · percentile 35 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: use memcmp() to compare ClientGUIDs ClientGUID is a fixed-size binary value and can contain embedded NUL bytes. strncmp() stops comparing at the first NUL byte, so different ClientGUID values can incorrectly be treated as equal. Use memcmp() in SMB3 multichannel session binding and FSCTL_VALIDATE_NEGOTIATE_INFO to compare all SMB2_CLIENT_GUID_SIZE bytes.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NLinux
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 7bde6f181fa307d2cc1ec2b0313ac8e9811c8232 ; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < 5a0367bf5ce420be7b19936def2e90adcf32a683 ; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < ba2a5b66f1d414eb8403d655f8813783892cfc85 ; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < a386c83043015a703e227775f778e40343f45911 ; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < d535363299822c5caa543787b21bd5cfa3e41949 ; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 < e8bb506e6ef749ac0336f3e579d8d02396b7d832
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* ; unaffected 6.12.111 ≤ 6.12.* ; unaffected 6.18.53 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD