CVE-2026-74521
ksmbd: use memcmp() to compare ClientGUIDs
Check your servers for CVE-2026-74521
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74521 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.41%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 36.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 7bde6f181fa307d2cc1ec2b0313ac8e9811c8232 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 5a0367bf5ce420be7b19936def2e90adcf32a683 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before ba2a5b66f1d414eb8403d655f8813783892cfc85 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before a386c83043015a703e227775f778e40343f45911 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before d535363299822c5caa543787b21bd5cfa3e41949 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before e8bb506e6ef749ac0336f3e579d8d02396b7d832
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.1.8 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74521 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74521
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-74521
trivy image --scanners vuln IMAGE | grep CVE-2026-74521
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7bde6f181fa307d2cc1ec2b0313ac8e9811c8232 git.kernel.org
- https://git.kernel.org/stable/c/5a0367bf5ce420be7b19936def2e90adcf32a683 git.kernel.org
- https://git.kernel.org/stable/c/ba2a5b66f1d414eb8403d655f8813783892cfc85 git.kernel.org
- https://git.kernel.org/stable/c/a386c83043015a703e227775f778e40343f45911 git.kernel.org
- https://git.kernel.org/stable/c/d535363299822c5caa543787b21bd5cfa3e41949 git.kernel.org
- https://git.kernel.org/stable/c/e8bb506e6ef749ac0336f3e579d8d02396b7d832 git.kernel.org
Source: the record CVE-2026-74521 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse