Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C41A23DC4B3 for ; Thu, 6 Aug 2026 07:14:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786000468; cv=none; b=BmQzV9XulHhz+RJMEcR4b7jKf2rEICwG1RiGWjf18rwURV/UaO/SL21YmDfR3gUTfMsWVFpbJQ3UwBlF1liPorNkEDw6UpaD+N7c3PJyu7yT08TFO/F/zZsM8LIOeui5E9q+D9jNMqxqLIBqdMWGaHNjsIy4uDUjz/cocIIGOYc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786000468; c=relaxed/simple; bh=FmcYYPjkGjCpCVhffLGT+n6+rrE7wf5H58eYdcytlgM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sOAqcTmZaSzn6hEXSYL6Q0tM/AYXpB/sr9EcQTxyyi9G6+fJk5kQGYWVgnqqPMsRKRWs8ijxM6cn0QbGawIsV4Tdkw7NGBt/ELvE7wrC+/fL4PgSDao+AxrbLzUSteEoi0DoBPfmEGvra2Sc+DC5evTJwX1fSUM4M5j5V0AB7u0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eflG917Y; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="eflG917Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E99571F000E9; Thu, 6 Aug 2026 07:14:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786000467; bh=X/EJ2J+Q1SzOcX9QHe3qA4Zz3NrRVV1X61ld84PEHLw=; h=From:To:Cc:Subject:Date:Reply-To; b=eflG917YCywDrnAHc58cDTXeDqj4V5EM5APsCrFmHgt4Yb7pJnmAGkCnr8qzFopt+ Z6Z0ZmSrnE0Oqca9a/s7Bkqgp8RFkrMJHichdZHYpLjazINmtqQhS75l3gEAKrtYzX tBKv26HYtmm2VLNvzNe3y3PyN/CGDuIl2DkkP7Ik= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64598: smb/client: Fix error code in smb2_aead_req_alloc() Date: Thu, 6 Aug 2026 09:14:01 +0200 Message-ID: <2026080652-CVE-2026-64598-0818@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2770; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CM+it4eo4kGbL2QNAcB7tlF0Q+EOoKquRZ8thssMHEw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFklJgapss3RPCViqq2/H2kH/rkQtClGaNvEl52BD6YuU bT9Eja3I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACby5STD/Or1h6vvJu/apGfG Llpelsrvnxv1nGGeav3nxK7H2v96J8epWd3wV0nfalMGAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-64598 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit d08089f649a0cfb2099c8551ac47eef0cc23fdf2 and fixed in 6.6.145 with commit aa37f5fef78dd11cbf983269da2031e12625c56d Issue introduced in 6.3 with commit d08089f649a0cfb2099c8551ac47eef0cc23fdf2 and fixed in 6.12.96 with commit cad756733dc3985188983f3e2eb77e2927209099 Issue introduced in 6.3 with commit d08089f649a0cfb2099c8551ac47eef0cc23fdf2 and fixed in 6.18.39 with commit a187883cc1dc784a4d32537f5d316f1b7b9ad76f Issue introduced in 6.3 with commit d08089f649a0cfb2099c8551ac47eef0cc23fdf2 and fixed in 7.1.4 with commit a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac Issue introduced in 6.3 with commit d08089f649a0cfb2099c8551ac47eef0cc23fdf2 and fixed in 7.2-rc1 with commit 61f28012e5650c619223decdb7970e0d3162e949 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-64598 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/smb/client/smb2ops.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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