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 7FEC4E571 for ; Thu, 27 Feb 2025 02:18:54 +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=1740622734; cv=none; b=CG3G0TnLJsWh82f7ojZ1JuoA+3kFUcNpxoZVInWEhpWWGmw/TOzNQioMplwv14Sjhw6+uouLv/B3QOrtgvfpyDF9NqxbRV+FqITg6dg+xeR4XwpFaMoQ2PNVLl21Ok6G/+5m2SLNxDeeHHu6jlosPCeOthD1iLijjoYa47Xa7p0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622734; c=relaxed/simple; bh=Yx0KMk2ctBirQH0DOGYSetfxkTuAiQo/6K3ipMNiuDg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Je0PP9ViXaQBzK04KwlAgESdCUQcGa/ONxZ7M5PTfTRKM5q5GnojbuaYBGmGzIvg4ufFNHDnIIlQQ1NIu2PDpI3SW/eee0QArvr+7mX4eVd5YOrj8nR78uKxa2qVMKXTS31FCgwUTIOHU7H8lG1r+9x00GjomVDza0zXJR3aN3c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jpS+oD0l; 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="jpS+oD0l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4702CC4CED6; Thu, 27 Feb 2025 02:18:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622734; bh=Yx0KMk2ctBirQH0DOGYSetfxkTuAiQo/6K3ipMNiuDg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=jpS+oD0lrNbRvnXmSxRjQEWS35YiTir/k8OUxqzyHbMapTpfNb8dO93/nYvQObHIZ CIwvu3NCHSALejtJCjqxK3QvA6ppHnsgOiS2Hanm5xHjnYWgUzYxtFhvXi5Q3HffNb 7B93RSZkZhLcHceTGSKBfLVLJ8R/qaDKAzxKoiC4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21774: can: rockchip: rkcanfd_handle_rx_fifo_overflow_int(): bail out if skb cannot be allocated Date: Wed, 26 Feb 2025 18:17:30 -0800 Message-ID: <2025022606-CVE-2025-21774-26d5@gregkh> X-Mailer: git-send-email 2.48.1 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=2156; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Yx0KMk2ctBirQH0DOGYSetfxkTuAiQo/6K3ipMNiuDg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7TyvtWbfl5NfFp4/w7RY/lXP7X0SIzwnux14ySp2vH N8esHqxsiOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmwhLIML8qPezu2dkn2xgu sN/541zktCPjnzXDXMHZ5mzVj17L/f2rcXvtXN6yMHWDaQA= 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: can: rockchip: rkcanfd_handle_rx_fifo_overflow_int(): bail out if skb cannot be allocated Fix NULL pointer check in rkcanfd_handle_rx_fifo_overflow_int() to bail out if skb cannot be allocated. The Linux kernel CVE team has assigned CVE-2025-21774 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit ff60bfbaf67f219c634cfe89a52250efe8e600d0 and fixed in 6.12.16 with commit 118fb35681bd2c0d2afa22f7be0ef94bb4d06849 Issue introduced in 6.12 with commit ff60bfbaf67f219c634cfe89a52250efe8e600d0 and fixed in 6.13.4 with commit 946750e7865df2e70045071051abf768785dd570 Issue introduced in 6.12 with commit ff60bfbaf67f219c634cfe89a52250efe8e600d0 and fixed in 6.14-rc3 with commit f7f0adfe64de08803990dc4cbecd2849c04e314a 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-21774 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: drivers/net/can/rockchip/rockchip_canfd-core.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/118fb35681bd2c0d2afa22f7be0ef94bb4d06849 https://git.kernel.org/stable/c/946750e7865df2e70045071051abf768785dd570 https://git.kernel.org/stable/c/f7f0adfe64de08803990dc4cbecd2849c04e314a