Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5C8FC21E0BB for ; Sat, 4 Oct 2025 07:34:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759563259; cv=none; b=OS14dKU/V8WNOjtiVbuyevdZDKO//6DSpvgqZeP7f/eEtWCMArjPe5Dg+/kSJVnO2SG91gHJlCJ7ZDEUKuohekkdAPCqmIhDgxEbO//TPRL5tw1lel+HMRlwcKzSDbNilpePX8zJp/GyEKRAMRatrABlSudiG4Y2UXIyczs5VFk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759563259; c=relaxed/simple; bh=i5yEZAQRZkE/piMtWies1ChtVwzp+KEAWjV2kzDEr8g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HVSImeEJKA3pt00o1cuJf+au3sv1Ngzh85Pu36MUoZ2uZe8St6VewcrjHeJvnsG7fdy0Hb/6wVuUOoMVhnT5F8Lv//rrTBT2Coz7oyKK8cCK7AP/vFdCXrK+ZFucC5ssCWe2zeL0sBue72l6v48G8Gfmi5V0+SOeieG3z5r17ao= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rfPfflqf; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="rfPfflqf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D89E5C4CEF1; Sat, 4 Oct 2025 07:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759563259; bh=i5yEZAQRZkE/piMtWies1ChtVwzp+KEAWjV2kzDEr8g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rfPfflqfmyY878jEuslR63W+UiQ+kEDD0vxfOl+fqJsKWmY0jPvEn2YUUCwt+BcJ/ HzZd6hkjFxn0O1rcjirOZUEDUKPcamfXEH1Akt8qSY0AVP9j4G+N9GoD1g5ax0WuXu kruPKLMVNmoKKLzbN+H1Jiem3zzs38Vam68Gj3zY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39933: smb: client: let recv_done verify data_offset, data_length and remaining_data_length Date: Sat, 4 Oct 2025 09:33:17 +0200 Message-ID: <2025100417-CVE-2025-39933-e224@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1838; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jYLBjeKJcCxgxfAyjWE//mCOqdpQCFfTE9Mh42ZS2FM=; b=kA0DAAIRMUfUDdst+ykByyZiAGjgzb2iT5Iq4Xi86Jw6xmmME8Lb6AyDal7toMho6VQOSsiks YhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmjgzb0ACgkQMUfUDdst+ylaowCg0FFi VDL9EwpCYpBAKopkpk8izh8AoNk0JO4pKj2YC170hsS0DtN2agar 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: let recv_done verify data_offset, data_length and remaining_data_length This is inspired by the related server fixes. The Linux kernel CVE team has assigned CVE-2025-39933 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit f198186aa9bbd60fae7a2061f4feec614d880299 and fixed in 6.16.9 with commit 581fb78e0388b78911b0c920e4073737090c8b5f Issue introduced in 4.16 with commit f198186aa9bbd60fae7a2061f4feec614d880299 and fixed in 6.17 with commit f57e53ea252363234f86674db475839e5b87102e 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-2025-39933 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/smbdirect.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/581fb78e0388b78911b0c920e4073737090c8b5f https://git.kernel.org/stable/c/f57e53ea252363234f86674db475839e5b87102e