# CVE-2026-64598: smb/client: Fix error code in smb2\_aead\_req\_alloc()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.53% (percentile 38, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2026-08-06T07:13:52.716Z
- **Modified:** 2026-10-19T21:17:49.143Z

## Who should check

- Anyone running Linux \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< aa37f5fef78dd11cbf983269da2031e12625c56d; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< cad756733dc3985188983f3e2eb77e2927209099; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< a187883cc1dc784a4d32537f5d316f1b7b9ad76f; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< 61f28012e5650c619223decdb7970e0d3162e949
- Anyone running Linux 6.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

smb/client: Fix error code in smb2\_aead\_req\_alloc()

The "\*num\_sgs" variable is a u32 so "ERR\_PTR(\*num\_sgs)" doesn't work.
We would have to do something similar to the previous line where it's
cast to int and then long.  However, it's simpler to store the return in
an int ret variable.

This bug would eventually result in a crash when dereference the invalid
error pointer.

## Affected and fixed versions

- Linux: \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< aa37f5fef78dd11cbf983269da2031e12625c56d; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< cad756733dc3985188983f3e2eb77e2927209099; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< a187883cc1dc784a4d32537f5d316f1b7b9ad76f; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< 61f28012e5650c619223decdb7970e0d3162e949 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 61f28012e5650c619223decdb7970e0d3162e949 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64598. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64598.md
Affected: Linux >= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, < aa37f5fef78dd11cbf983269da2031e12625c56d; >= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, < cad756733dc3985188983f3e2eb77e2927209099; >= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, < a187883cc1dc784a4d32537f5d316f1b7b9ad76f; >= d08089f649a0cfb2099c855…
Fixed in: Linux 61f28012e5650c619223decdb7970e0d3162e949

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64598 being exploited?

There is no confirmed exploitation: CVE-2026-64598 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.53% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64598?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-64598?

Linux \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< aa37f5fef78dd11cbf983269da2031e12625c56d; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< cad756733dc3985188983f3e2eb77e2927209099; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< a187883cc1dc784a4d32537f5d316f1b7b9ad76f; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac; \>= d08089f649a0cfb2099c8551ac47eef0cc23fdf2, \< 61f28012e5650c619223decdb7970e0d3162e949; Linux 6.3.

### Is there a fix for CVE-2026-64598?

Yes. Fixed in Linux 61f28012e5650c619223decdb7970e0d3162e949. Upgrade Linux to 61f28012e5650c619223decdb7970e0d3162e949 or later.

### How do I check if I'm affected by CVE-2026-64598?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/aa37f5fef78dd11cbf983269da2031e12625c56d>
- other: <https://git.kernel.org/stable/c/cad756733dc3985188983f3e2eb77e2927209099>
- other: <https://git.kernel.org/stable/c/a187883cc1dc784a4d32537f5d316f1b7b9ad76f>
- other: <https://git.kernel.org/stable/c/a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac>
- other: <https://git.kernel.org/stable/c/61f28012e5650c619223decdb7970e0d3162e949>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64598>

HTML: <https://flawdb.com/CVE-2026-64598> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64598>
