From mboxrd@z Thu Jan 1 00:00:00 1970 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 08B8C7F48E for ; Wed, 17 Apr 2024 10:31:21 +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=1713349882; cv=none; b=GdiiynQR/Q4i7GCRy5SFK0j7+gPeyN18ZvYYaH8So6lek6RarnmdUB1x6uDCjYC4aeIlQ0+TFL5jQ3vJyxD1mXVkV6pkMJ4KexONGtWkQGlMGmmba71o135xIZyuQEcSxQjRjBlzB5HypNqfWO90vKVbo6GFA5dPdUGbNv2f+Lc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713349882; c=relaxed/simple; bh=Yyx+ymFYdKvmLOl2zAgr6Elk94+csts42mBVr3rUam4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qJF2Xrmbp4dZvVPbNXJCW9WsS/kBQSKYUK8dCJwADNakyeqFx3oQ37iEgyGV+Kevf6Z/12+yt9mwNLPJ70V0YN0FEvbgJSGmgbI/rwpb/6piYkvqB3BVT2PnTzKl77Kqzi7FA9eid0iIxFknBQ1Fj3haRevLoxgdR2o2+xNk61Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M6Fje/IE; 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="M6Fje/IE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B953C072AA; Wed, 17 Apr 2024 10:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1713349881; bh=Yyx+ymFYdKvmLOl2zAgr6Elk94+csts42mBVr3rUam4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=M6Fje/IEtTgz7jhRYRl6vF3NIrE3kxhZ6Tb4WqenPlj17gYPR8KfYF5yQQSWTO/Sf vvjsCYok8gQyvJpBq57PwrxpT3LlFbqbbiZPUraMIEPn9woZp3CEI6BeqOsxALfgP6 lpA2DVA0Su9a2jUuHyvNgQRQShZ2o89QSt/hFKoM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26908: x86/xen: Add some null pointer checking to smp.c Date: Wed, 17 Apr 2024 12:29:23 +0200 Message-ID: <2024041747-CVE-2024-26908-4690@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=2410; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Yyx+ymFYdKvmLOl2zAgr6Elk94+csts42mBVr3rUam4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnyS+JLHbNTOb3+zA+eXF2zc91mR+3Xf3vkPuutkyz6e EguyOFaRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykOo9hfqm1ws9jekFTjpzd Gbx4bkOA5lRJX4a5IuIfD6wTV7+hcDPcSftNispTKdnFAA== 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: x86/xen: Add some null pointer checking to smp.c kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity. The Linux kernel CVE team has assigned CVE-2024-26908 to this issue. Affected and fixed versions =========================== Fixed in 4.19.311 with commit 70a33a629090 Fixed in 5.4.273 with commit 025a8a96c7ef Fixed in 5.10.214 with commit eb279074bada Fixed in 5.15.153 with commit 8082bccb7ac4 Fixed in 6.1.83 with commit f49c513f46dc Fixed in 6.6.23 with commit a9bbb05c0c04 Fixed in 6.7.11 with commit d211e8128c0e Fixed in 6.8 with commit 3693bb4465e6 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-26908 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: arch/x86/xen/smp.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/70a33a629090130d731fc1e1ad498bb672eea165 https://git.kernel.org/stable/c/025a8a96c7ef3ff24a9b4753a7e851ba16f11bfc https://git.kernel.org/stable/c/eb279074badac0bbe28749906562d648ca4bc750 https://git.kernel.org/stable/c/8082bccb7ac480ceab89b09c53d20c78ae54f9fa https://git.kernel.org/stable/c/f49c513f46dc19bf01ffad2aaaf234d7f37f6799 https://git.kernel.org/stable/c/a9bbb05c0c04b49a1f7f05fd03826321dca2b8d4 https://git.kernel.org/stable/c/d211e8128c0e2122512fa5e859316540349b54af https://git.kernel.org/stable/c/3693bb4465e6e32a204a5b86d3ec7e6b9f7e67c2