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 DD2FD18C01A for ; Fri, 27 Sep 2024 12:40:13 +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=1727440813; cv=none; b=eQDolAxSRJ6B/HtTUFZf3jb1So7RT+AGUA8KUgWrxb2gHLm4D5ueVJ/M3NbmTQHkD/NJxWbUOZU3g63435FZd+UCJWltj2WzXF876DaH65w3Bb6bq+gWqbIxESgIm/7RKI8ZLH6jsSHU4ndumXJ9rC2JI3ui9FevdC9PyOIYlRk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440813; c=relaxed/simple; bh=ssUhSymqAlezDM+cDZFSrhyacfcsTRRjGiTrxU31ZJ4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=a0QTOwAnwwPOwIDwNnlKmtC6QQwq4KBbjlLl52QTZi6YdN6c5vVl8cgaKQqhsyXBaxbdplzin2p+A8cyMrwWTnF0mvhiBtI+qt4Te5eXmul61ePS8p/ZP8Y8UFyY6WyUaFy+LYZrZ1bNMZdZnEzOVJRcZITBS8G0sXLWja7b2rQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Sh+6LtkO; 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="Sh+6LtkO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C742C4CEC4; Fri, 27 Sep 2024 12:40:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440813; bh=ssUhSymqAlezDM+cDZFSrhyacfcsTRRjGiTrxU31ZJ4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Sh+6LtkOAsqLGRnYy691W2JBJT+rt51KrixxemeA1Av4ymxnzB360aAUrancs6MaX Durzd4NVlzCUGj123a2Zg/RoMtrFj/T+XUjItIFKUhWjh8KX94r5Es5Qh1tH3znUDm bQfQhd0XM1VjFlvr07FwmLmAElPeKUULe4wMSsrs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46826: ELF: fix kernel.randomize_va_space double read Date: Fri, 27 Sep 2024 14:39:54 +0200 Message-ID: <2024092750-CVE-2024-46826-7b80@gregkh> X-Mailer: git-send-email 2.46.2 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=1998; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ssUhSymqAlezDM+cDZFSrhyacfcsTRRjGiTrxU31ZJ4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnflk832u+yqvJ3y+LA3pNPWDbyZ3xK8g5JL/vCluno/ nfem9q4jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIdHGGBecrlD+YLQpr+blm 56egx6fy7j2ae4BhfsFhP9vPLMc/pT90UFx2my9zhnXuTAA= 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: ELF: fix kernel.randomize_va_space double read ELF loader uses "randomize_va_space" twice. It is sysctl and can change at any moment, so 2 loads could see 2 different values in theory with unpredictable consequences. Issue exactly one load for consistent value across one exec. The Linux kernel CVE team has assigned CVE-2024-46826 to this issue. Affected and fixed versions =========================== Fixed in 6.1.110 with commit 1f81d51141a2 Fixed in 6.6.51 with commit 53f17409abf6 Fixed in 6.10.10 with commit 1cf8cd809030 Fixed in 6.11 with commit 2a97388a807b 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-46826 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: fs/binfmt_elf.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/1f81d51141a234ad0a3874b4d185dc27a521cd27 https://git.kernel.org/stable/c/53f17409abf61f66b6f05aff795e938e5ba811d1 https://git.kernel.org/stable/c/1cf8cd80903073440b6ea055811d04edd24fe4f7 https://git.kernel.org/stable/c/2a97388a807b6ab5538aa8f8537b2463c6988bd2