smb/client: Fix error code in smb2_aead_req_alloc()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel cad756733dc3985188983f3e2eb77e2927209099, Kernel 61f28012e5650c619223decdb7970e0d3162e949, Kernel a187883cc1dc784a4d32537f5d316f1b7b9ad76f and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d08089f649a0cfb2099c8551ac47eef0cc23fdf2 <cad756733dc3985188983f3e2eb77e2927209099, >=d08089f649a0cfb2099c8551ac47eef0cc23fdf2 <61f28012e5650c619223decdb7970e0d3162e949, >=d08089f649a0cfb2099c8551ac47eef0cc23fdf2 <a187883cc1dc784a4d32537f5d316f1b7b9ad76f, >=d08089f649a0cfb2099c8551ac47eef0cc23fdf2 <a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac, >=d08089f649a0cfb2099c8551ac47eef0cc23fdf2 <aa37f5fef78dd11cbf983269da2031e12625c56d, =6.3 | cad756733dc3985188983f3e2eb77e2927209099, 61f28012e5650c619223decdb7970e0d3162e949, a187883cc1dc784a4d32537f5d316f1b7b9ad76f, a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac, aa37f5fef78dd11cbf983269da2031e12625c56d |
| linux-kernel: Kernel | >=6.19.0 <7.1.4, >=6.3.0 <6.6.145, >=6.7.0 <6.12.96, >=6.13.0 <6.18.39 | 7.1.4, 6.6.145, 6.12.96, 6.18.39 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket