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 CB28114D433 for ; Thu, 1 May 2025 13:08:42 +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=1746104922; cv=none; b=H8AGMN9WKjXTNjDsugAoeCXnXvQHPPR1L50bmFpQtsOv9lzjFsyM4ImCYEoSSgsfPPoa9HezrMIvjWfkXsOQbfd+NKzRYA9lUzzUuiHfroU5ihBesiM+w3PCbOmydIUwrDpwwnsro8qHs12N52+ms28mxsB8ZC+hpr/RaYGgNX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104922; c=relaxed/simple; bh=kwpLfs8WHHfeM1UfiIEBRqLrfxaDy3q8vJBoNfnBvNw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Cw6KpViiAtrJFpqq/PxjEBihU0dzdmP/l/W5+Ksb1Zfa9/1tChkIcPQvsa8WH6ygzkSUyceeLtMYGPGRj/xbbxQ89R445/g5DfIswYK8yw1OtORwhynJv/shC221KTULx/jtAt8R4ZqnChrydsnRLMDFPBSm1Lb/PjsRmXzFpjI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w9vbMCEH; 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="w9vbMCEH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0034C4CEE3; Thu, 1 May 2025 13:08:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104922; bh=kwpLfs8WHHfeM1UfiIEBRqLrfxaDy3q8vJBoNfnBvNw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=w9vbMCEHOMJt1L/aUvpEKub0I+Jw1wLa//D6wMOkVqgC+IAhW9FuU7D6SJy3bzkDY 3KAfC7I5u0Z0FfZ1ieRglhpZ/VBEP3eIOMv4WehlHiA4wO4rAGQYhCtg6WoZlgivVj c5nRB+0lARjT7ie4AQ5vIJYN+F9KS3LAOTgIj7+E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37790: net: mctp: Set SOCK_RCU_FREE Date: Thu, 1 May 2025 15:07:37 +0200 Message-ID: <2025050120-CVE-2025-37790-3927@gregkh> X-Mailer: git-send-email 2.49.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=2515; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mXmN2koTtTd1RtPksBnkWR8K/nUha+saED0hzq206vY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCRRzWU5+KBC25HbTXa++kzAsya03n266rYXQy4zVf+ 89791e+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIUz7DTEZOPY+OLxuafSqf y786Gbd/78wARYZ5xj+fHJ60+tn9FzmF6jODeeaaXBA8AAA= 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: net: mctp: Set SOCK_RCU_FREE Bind lookup runs under RCU, so ensure that a socket doesn't go away in the middle of a lookup. The Linux kernel CVE team has assigned CVE-2025-37790 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 833ef3b91de692ef33b800bca6b1569c39dece74 and fixed in 6.1.135 with commit b9764ebebb007249fb733a131b6110ff333b6616 Issue introduced in 5.15 with commit 833ef3b91de692ef33b800bca6b1569c39dece74 and fixed in 6.6.88 with commit a8a3b61ce140e2b0a72a779e8d70f60c0cf1e47a Issue introduced in 5.15 with commit 833ef3b91de692ef33b800bca6b1569c39dece74 and fixed in 6.12.25 with commit 3f899bd6dd56ddc46509b526e23a8f0a97712a6d Issue introduced in 5.15 with commit 833ef3b91de692ef33b800bca6b1569c39dece74 and fixed in 6.14.4 with commit e3b5edbdb45924a7d4206d13868a2aac71f1e53d Issue introduced in 5.15 with commit 833ef3b91de692ef33b800bca6b1569c39dece74 and fixed in 6.15-rc3 with commit 52024cd6ec71a6ca934d0cc12452bd8d49850679 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-37790 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/mctp/af_mctp.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/b9764ebebb007249fb733a131b6110ff333b6616 https://git.kernel.org/stable/c/a8a3b61ce140e2b0a72a779e8d70f60c0cf1e47a https://git.kernel.org/stable/c/3f899bd6dd56ddc46509b526e23a8f0a97712a6d https://git.kernel.org/stable/c/e3b5edbdb45924a7d4206d13868a2aac71f1e53d https://git.kernel.org/stable/c/52024cd6ec71a6ca934d0cc12452bd8d49850679