CVE-2026-64598
smb/client: Fix error code in smb2_aead_req_alloc()
- State
- Published
- Severity
- 8.8 High
- Published
- Aug 6, 2026
- Updated
- Oct 19, 2026
- Reserved
- Jul 19, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | Linux |
Weaknesses
- CWE-190 Integer Overflow or Wraparound
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
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
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.