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 1664D38837C for ; Sat, 25 Jul 2026 08:56:43 +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=1784969804; cv=none; b=kfgmUlz2XnzZE6GmyVpXGZsO8s3Jh/IvNHeYLfW2+1UDmsUtoVzgpjE43Cs/kyBuWsk1NtKCnrwZZrwr8Na+2p5VaIPRe/mRdKzfFJW0KEmbOS7VD3KEfRhT1OpAQ8e/As4R+DeeLpX9v2zmwofCG0gwes6rVSEuPIksBwHgVmw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969804; c=relaxed/simple; bh=fbfpQ9k9Uw6A5iwQ5PKS2Y/EsQcXvXKi1NpeFP5ok+0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tVko0FAU9oxZadFhoK0ls6kBpDq1ZjkxwT2yDbQwL7YfuC27GeJwOfL7KpLV/cH2+lTU45KFW5DZYd8EE3ERMG6NEG/9HGAc/CSAQIM6fl2YrcXIxgGu7Yq+7EnGg/0pFghJfuX6kYIdrQvckC6x5o2rA2ZbyAfIESayuFJeeCQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lDMEWgpL; 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="lDMEWgpL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6EDA21F000E9; Sat, 25 Jul 2026 08:56:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969803; bh=cP3Ru2G+ioyaA24sugP+Svf5nI9CRKY2ThJTyzoysUQ=; h=From:To:Cc:Subject:Date:Reply-To; b=lDMEWgpL8XCqXOkYQJpsWnxEGXRtJrgWAgbeMA804EzGK9qmvLGsL7JJzSyYZtWNv ETuoWTwMglPbB/Zwg8fSfYr7hWp2Xt6VN8UZ0xXyGfvFX9CjQGct2xeGS4sIqKCyxC rEi2nzongM578D2Xe5xB1OFhEA49f8bUiE8NlFtQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64385: smb: client: fix double-free in SMB2_ioctl() replay Date: Sat, 25 Jul 2026 10:50:02 +0200 Message-ID: <2026072526-CVE-2026-64385-80b2@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=2731; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EDPtOrf1wzpW+bMrXzb9oZqog7wX6jw9dPHcj0GALQo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFVF+0mYGX96W/Cz4HbDyq+iZl7e5VTZ+r+AJKjOv9 1BO3by7I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZivYRhwdm4M1Oj7XPWzXyj knJ0yRNr0V8H2hkWbIvS2rVit7lJpKxannfSlMXq/laqAA== 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 double-free in SMB2_ioctl() replay A response-bearing attempt can return a replayable error and free its response buffer. If SMB2_ioctl_init() fails before the next send, cleanup retains the previous buffer type and frees that response again. Reset response bookkeeping before each attempt to prevent the stale free. The Linux kernel CVE team has assigned CVE-2026-64385 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.32 with commit 433042a91f9373241307725b52de573933ffedbf and fixed in 6.6.145 with commit 0be4bc64882edaefaaee8d1e27d083643eb778e6 Issue introduced in 6.8 with commit 4f1fffa2376922f3d1d506e49c0fd445b023a28e and fixed in 6.12.96 with commit 96fcfc8ae7359346156e492ca610e830d2649ad6 Issue introduced in 6.8 with commit 4f1fffa2376922f3d1d506e49c0fd445b023a28e and fixed in 6.18.39 with commit 276c8efbc49f9303ac76d0d4deab7128581b0f3b Issue introduced in 6.8 with commit 4f1fffa2376922f3d1d506e49c0fd445b023a28e and fixed in 7.1.4 with commit fc65ffb4ef1bf540da16b17c225ae51091e07d72 Issue introduced in 6.8 with commit 4f1fffa2376922f3d1d506e49c0fd445b023a28e and fixed in 7.2-rc1 with commit f9bbadb6c94583e3b4af1afc449bfceb1d1ddec9 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-64385 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/smb2pdu.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/0be4bc64882edaefaaee8d1e27d083643eb778e6 https://git.kernel.org/stable/c/96fcfc8ae7359346156e492ca610e830d2649ad6 https://git.kernel.org/stable/c/276c8efbc49f9303ac76d0d4deab7128581b0f3b https://git.kernel.org/stable/c/fc65ffb4ef1bf540da16b17c225ae51091e07d72 https://git.kernel.org/stable/c/f9bbadb6c94583e3b4af1afc449bfceb1d1ddec9