CVE-2026-64598 PUBLISHED

smb/client: Fix error code in smb2_aead_req_alloc()

Assigner: Linux
Reserved: 19.07.2026 Published: 06.08.2026 Updated: 06.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to aa37f5fef78dd11cbf983269da2031e12625c56d (excl.)
  • affected from d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to cad756733dc3985188983f3e2eb77e2927209099 (excl.)
  • affected from d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to a187883cc1dc784a4d32537f5d316f1b7b9ad76f (excl.)
  • affected from d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac (excl.)
  • affected from d08089f649a0cfb2099c8551ac47eef0cc23fdf2 to 61f28012e5650c619223decdb7970e0d3162e949 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.3 is affected
  • unaffected from 0 to 6.3 (excl.)
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References