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 7669A17A90F for ; Fri, 13 Sep 2024 05:31:03 +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=1726205463; cv=none; b=nhWA/+RASRlK+GzJ9a+UJTI+n+pfikRzmpDEoNZoNEIwF6+rh4fjCixaUdAV7Qlc7yZsB/7n3tZhH0By0cmj55fMZyYVhuTmg+KPpgDxHaVb5p6v142tAYJ6B5IOyYsHhJMgDpKp8PzH+VnyvAzF62VQQqHfNbn0kAKeuYihA7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726205463; c=relaxed/simple; bh=SKjs01VARs7fLHbzK9qD6Cn6x4sO5zfIBeUI2yt/9kE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dTUm8ocKl96PrfjB7gx4koQxCJJEEi5+iUuSJl+8i/TxHhED0nlo1NQ0pWuenHAt3yy9lHoMv7EA5f5a+3AQeRb0ErUhhKsW1ItvdzargOQsPyY0y8nsVgUBU7aaizboIJcfyrlZUsnNOZFiuUdqBPC/8ES/158LKyjF1UuGn+Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pr+zJyk5; 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="pr+zJyk5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC394C4CEC5; Fri, 13 Sep 2024 05:31:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726205463; bh=SKjs01VARs7fLHbzK9qD6Cn6x4sO5zfIBeUI2yt/9kE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=pr+zJyk5U9xgslP59+1DzleywAXLIFpAmHcGWIXVcBDnUTUwD1oERNDRfqdK6up0C 3PN+kvX5ai35Fa62qaiC+/WNpPbtuU07C8iXxXovj+wJshVi5wn4QjKA915LFp47ga K2IlDMOpD8dazAaaAST1z6uMSTs/LaygfcpqxeiE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46686: smb/client: avoid dereferencing rdata=NULL in smb2_new_read_req() Date: Fri, 13 Sep 2024 07:30:47 +0200 Message-ID: <2024091338-CVE-2024-46686-5b18@gregkh> X-Mailer: git-send-email 2.46.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=2163; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SKjs01VARs7fLHbzK9qD6Cn6x4sO5zfIBeUI2yt/9kE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmPz/6bX39QrDHUaf3XB7pxNw92df+8ebttzeJHX9dGp Em83MPO1hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATKXdjWLD6aOzu6FnM/9cc 37mu4Kj4YTn/56wMcwW4uUM3hthzzUz9bX0wu93Wp67rDAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: smb/client: avoid dereferencing rdata=NULL in smb2_new_read_req() This happens when called from SMB2_read() while using rdma and reaching the rdma_readwrite_threshold. The Linux kernel CVE team has assigned CVE-2024-46686 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.16 with commit edf38e9f4269 and fixed in 6.1.108 with commit 6df57c63c200 Issue introduced in 6.3 with commit a6559cc1d35d and fixed in 6.6.49 with commit a01859dd6aeb Issue introduced in 6.3 with commit a6559cc1d35d and fixed in 6.10.8 with commit b902fb78ab21 Issue introduced in 6.3 with commit a6559cc1d35d and fixed in 6.11-rc6 with commit c724b2ab6a46 Issue introduced in 6.2.3 with commit 74ab77137c99 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-2024-46686 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/6df57c63c200cd05e085c3b695128260e21959b7 https://git.kernel.org/stable/c/a01859dd6aebf826576513850a3b05992809e9d2 https://git.kernel.org/stable/c/b902fb78ab21299e4dd1775e7e8d251d5c0735bc https://git.kernel.org/stable/c/c724b2ab6a46435b4e7d58ad2fbbdb7a318823cf