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.
References5
- git.kernel.org/stable/c/61f28012e5650c619223decdb7970e0d3162e949
- git.kernel.org/stable/c/a187883cc1dc784a4d32537f5d316f1b7b9ad76f
- git.kernel.org/stable/c/a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac
- git.kernel.org/stable/c/aa37f5fef78dd11cbf983269da2031e12625c56d
- git.kernel.org/stable/c/cad756733dc3985188983f3e2eb77e2927209099
Metrics
- CVSS 3.1
-
8.8
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 20 · as of 12 November 2026
- CWE
- CWE-190
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.