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 2895D1AB6C8 for ; Wed, 11 Sep 2024 15:14:29 +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=1726067670; cv=none; b=E/E2gbho01EIfYxUyPWkE2+8o1CVCjvCNh4cytnX8bk1k+T6ZYGfctXJ0bZ4bT/twZLMo9Vbw+Uge+8JWB3bUuCs1Edo7nC0O5g/us9unfe/KSH9L59GUXAwfZQyWOyxKhyHFYgTnPjJRhBobPcAUN9S75lHnWwBuNskRH79fUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726067670; c=relaxed/simple; bh=cm8+R4ng1zrKe6lW4SWs+BbzBtl7gQ0RiSmDiCmyOoU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FOLhyFhzWbcxg30yY3NKUviD361YJg+W19Py07q+L33mTydmIQsaLoBosMjaraEE5VoPO68y4ZTfr8noYygmo9QyywuDGBWlTjtyahaQvAsu0/XjCsi+QnEKFuoJlAXWzGedwN4emLuZNW00AeUAHm4ckGQtZ5WX5iJ1S880uco= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LfAcOlXa; 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="LfAcOlXa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CA73C4CEC0; Wed, 11 Sep 2024 15:14:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726067669; bh=cm8+R4ng1zrKe6lW4SWs+BbzBtl7gQ0RiSmDiCmyOoU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LfAcOlXaz68aushC3HTeqYII17ykNhaiTqbOTRkzgsk57M4uOMzeDN2Dc/MfVsXZ2 p1gdOUZMKHmwyvwuQ09fEYDwVu3ds3FtMOVoQTX2tnVtwi1cph9+x1AqaFon+mdaqr 3uBerb7ZB0ZMkuawbYvAGaWiMfp78Lzker3Ximco= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-45021: memcg_write_event_control(): fix a user-triggerable oops Date: Wed, 11 Sep 2024 17:14:17 +0200 Message-ID: <2024091109-CVE-2024-45021-68c4@gregkh> X-Mailer: git-send-email 2.46.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=2823; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cm8+R4ng1zrKe6lW4SWs+BbzBtl7gQ0RiSmDiCmyOoU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkPNx/sau2eK5JyrXVdYFDStAfB17ZNyln4O8Hg5Zpp+ rev3p9X0BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATqfFlWND+gdvSIC1ceXOJ q61v3eckh9OycxnmWVaWh73rvrK15fj0qT8FJzbda3krCwA= 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: memcg_write_event_control(): fix a user-triggerable oops we are *not* guaranteed that anything past the terminating NUL is mapped (let alone initialized with anything sane). The Linux kernel CVE team has assigned CVE-2024-45021 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.34 with commit 0dea116876ee and fixed in 4.19.321 with commit fa5bfdf6cb58 Issue introduced in 2.6.34 with commit 0dea116876ee and fixed in 5.4.283 with commit 1b37ec85ad95 Issue introduced in 2.6.34 with commit 0dea116876ee and fixed in 5.10.225 with commit ad149f558534 Issue introduced in 2.6.34 with commit 0dea116876ee and fixed in 5.15.166 with commit 0fbe2a72e853 Issue introduced in 2.6.34 with commit 0dea116876ee and fixed in 6.1.107 with commit 43768fa80fd1 Issue introduced in 2.6.34 with commit 0dea116876ee and fixed in 6.6.48 with commit f1aa7c509aa7 Issue introduced in 2.6.34 with commit 0dea116876ee and fixed in 6.10.7 with commit 21b578f1d599 Issue introduced in 2.6.34 with commit 0dea116876ee and fixed in 6.11-rc4 with commit 046667c4d319 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-45021 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: mm/memcontrol-v1.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/fa5bfdf6cb5846a00e712d630a43e3cf55ccb411 https://git.kernel.org/stable/c/1b37ec85ad95b612307627758c6018cd9d92cca8 https://git.kernel.org/stable/c/ad149f5585345e383baa65f1539d816cd715fd3b https://git.kernel.org/stable/c/0fbe2a72e853a1052abe9bc2b7df8ddb102da227 https://git.kernel.org/stable/c/43768fa80fd192558737e24ed6548f74554611d7 https://git.kernel.org/stable/c/f1aa7c509aa766080db7ab3aec2e31b1df09e57c https://git.kernel.org/stable/c/21b578f1d599edb87462f11113c5b0fc7a04ac61 https://git.kernel.org/stable/c/046667c4d3196938e992fba0dfcde570aa85cd0e