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 3546F43ADC for ; Sat, 2 Mar 2024 22:00:27 +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=1709416827; cv=none; b=oP9JuueOqp9U7pi6nDZInqqMXdDMUsa6dmcJJJPcObuJorEvgZeB6xPWj/nbvIaYCJqpmI21v2S6IkzD30XUqOQVfly2OUVd51HpQG94RV4L8VBGC3qHoyb68p3G2POFNWcHGqQVDxEkIj7lBqkcTaXKHW0zGju+AnMzAg7g8No= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709416827; c=relaxed/simple; bh=ZsXGB+kftcLXj27BSIdIfAaZ8HTDVjChRlL4I2UtYHQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dSG+akqZNL1V9c9x0hKcWv6I4uxu2/MRgIhjkMUIx6XJpPAnZYb0PHAR4qCb70iBH2ldxK5CGr0GwPQmqwtBb1TWnY3PcP5swKhrI918FaQJvXgBjqd65CO0pLln15L5v4vjLcfUTpWeKJpzI611tgbgQtkKOVDfveyVE2+xwGU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1faXaEez; 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="1faXaEez" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F82FC433C7; Sat, 2 Mar 2024 22:00:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709416827; bh=ZsXGB+kftcLXj27BSIdIfAaZ8HTDVjChRlL4I2UtYHQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1faXaEezzr7fL0UhUGWOqvzFpX6XJ4TV2m91fuvbRJVxH6RC2SDzXjoRZsPgoCRky Q1O2qb8x9f/NWwPM6rmAzikFaEEFGhGmsawVpX08vKDRvYp+/gLZZONqjI+padS3Nl EZGszm4mx6FoSYO4rodzPO+MQg4mF/lcziQXfqto= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52573: net: rds: Fix possible NULL-pointer dereference Date: Sat, 2 Mar 2024 23:00:07 +0100 Message-ID: <2024030256-CVE-2023-52573-531c@gregkh> X-Mailer: git-send-email 2.44.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=2521; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZsXGB+kftcLXj27BSIdIfAaZ8HTDVjChRlL4I2UtYHQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDKmPF8Y83LH6wCK/BK2S1Flz2w5/svT6fr/+bKNwduG91 UvfrF5v3hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATSQlkWLDxidrSa1qmL9KL bt9asefymoMGCT8Y5sqeDZTUe7ZK9d439pdqgvNmzLLdfAsA 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: net: rds: Fix possible NULL-pointer dereference In rds_rdma_cm_event_handler_cmn() check, if conn pointer exists before dereferencing it as rdma_set_service_type() argument Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2023-52573 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit fd261ce6a30e and fixed in 5.4.258 with commit 812da2a08dc5 Issue introduced in 5.1 with commit fd261ce6a30e and fixed in 5.10.198 with commit f515112e8337 Issue introduced in 5.1 with commit fd261ce6a30e and fixed in 5.15.134 with commit ea82139e6e35 Issue introduced in 5.1 with commit fd261ce6a30e and fixed in 6.1.56 with commit 51fa66024a5e Issue introduced in 5.1 with commit fd261ce6a30e and fixed in 6.5.6 with commit 069ac51c37a6 Issue introduced in 5.1 with commit fd261ce6a30e and fixed in 6.6 with commit f1d95df0f310 Please see https://www.kernel.org or 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-2023-52573 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: net/rds/rdma_transport.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/812da2a08dc5cc75fb71e29083ea20904510ac7a https://git.kernel.org/stable/c/f515112e833791001aaa8ab886af3ca78503617f https://git.kernel.org/stable/c/ea82139e6e3561100d38d14401d57c0ea93fc07e https://git.kernel.org/stable/c/51fa66024a5eabf270164f2dc82a48ffb35a12e9 https://git.kernel.org/stable/c/069ac51c37a6f07a51f7134d8c34289075786a35 https://git.kernel.org/stable/c/f1d95df0f31048f1c59092648997686e3f7d9478