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 2A48921A45F for ; Thu, 8 May 2025 06:40:46 +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=1746686446; cv=none; b=PM01PfanjR37MdiNMo0oYcO91EIXzOWJ1uwgR2VnRB+ICY3OEYKzBuATctltJT877ZyYhLYBVMGrE3xBuVKAZN+n1icqqsZKfdZGhKODASDWLu0vkd+6eSxFQIJwJvoO3iE0EwPvHUNS4pyS3GwnvQZqJqAcYm2awoUOfWvBZIo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746686446; c=relaxed/simple; bh=q1V8rm0+s3UFUeKldRj6NtnX3wyj1e9tLk56G1ysCpw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hpzkYQqMBHvvIh+KxUhKS/+AD5YFmi//7ut03KsJ/uu9nOF5VaeMZLtYUJdn2i2n1OXdyN3AwzUmwvg10DDOpxcbNISEo9B+IpOWSvPo3ywIzgKW4Z8BZLWeWHgOobKsKUzHMEQ/mtcKJN/Z4iQ7dJYaV5RkfsdnqUenozZyW1s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=riGH9/pP; 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="riGH9/pP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADA05C4CEEB; Thu, 8 May 2025 06:40:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746686446; bh=q1V8rm0+s3UFUeKldRj6NtnX3wyj1e9tLk56G1ysCpw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=riGH9/pPySyTDQGUPav1sQC5akipkoc1SzLjiJQlqjTygVdMjCW6IG8bh1QxhamIq EXcZUtiCxwx455cWHr3sq8tSVZ4SXMVjg34IbXyo8bvYdBPesIwSI5lZvf19eTKIHa nrnYWS0NnufVwe1qhSV3vbVKpXehDDm7b2dHiLNY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37808: crypto: null - Use spin lock instead of mutex Date: Thu, 8 May 2025 08:39:17 +0200 Message-ID: <2025050816-CVE-2025-37808-57bb@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=2616; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EqN9YTb/0yApq8SYlnRXXqf2p2thL7sJsulxEMhP6vY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkygVO+VnPs0HB0V3046cF9VrPE6Vm64l57rKe4en2yl v+86xJbRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkXYJhnkZjAStj2GGDK8yP C6+7eJ/++zJWl2HBmgk8G4XKjJpCjwnETVj/Qcxk8cVlAA== 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: crypto: null - Use spin lock instead of mutex As the null algorithm may be freed in softirq context through af_alg, use spin locks instead of mutexes to protect the default null algorithm. The Linux kernel CVE team has assigned CVE-2025-37808 to this issue. Affected and fixed versions =========================== Fixed in 5.4.293 with commit f7a5a5c8e1ec16a4b2041398abe95de0e14572ef Fixed in 5.10.237 with commit e307c54ac8198bf09652c72603ba6e6d97798410 Fixed in 5.15.181 with commit 1dd4a8561d85dea545cf93f56efc48df8176e218 Fixed in 6.1.136 with commit e27244cbe10658a66b8775be7f0acc4ad2f618d6 Fixed in 6.6.89 with commit 1b66a5920b7fc7cc6251192a3fcad115b6d75dd5 Fixed in 6.12.26 with commit 0486de3c1b8223138dcc614846bd76364f758de6 Fixed in 6.14.5 with commit 8cf2945512a8c0ef74ddd5b5a4f6b6a2fb1a4efb Fixed in 6.15-rc1 with commit dcc47a028c24e793ce6d6efebfef1a1e92f80297 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-37808 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: crypto/crypto_null.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/f7a5a5c8e1ec16a4b2041398abe95de0e14572ef https://git.kernel.org/stable/c/e307c54ac8198bf09652c72603ba6e6d97798410 https://git.kernel.org/stable/c/1dd4a8561d85dea545cf93f56efc48df8176e218 https://git.kernel.org/stable/c/e27244cbe10658a66b8775be7f0acc4ad2f618d6 https://git.kernel.org/stable/c/1b66a5920b7fc7cc6251192a3fcad115b6d75dd5 https://git.kernel.org/stable/c/0486de3c1b8223138dcc614846bd76364f758de6 https://git.kernel.org/stable/c/8cf2945512a8c0ef74ddd5b5a4f6b6a2fb1a4efb https://git.kernel.org/stable/c/dcc47a028c24e793ce6d6efebfef1a1e92f80297