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 4F3801F9415 for ; Mon, 21 Oct 2024 18:07:31 +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=1729534051; cv=none; b=g94HN4782RFBbYE6tpoRCpx99uZ4mFNiSYLNtt73mSdWQL8/sZUq0hScI1MBYbgw8AIg7NMqh3RLQ71GJbDAEHdR3l3QqT7QF9o+2U7HcS/r/OLgirXs6ICURYkcqyZ3gkLePyjtz/7boa+evOR3u0CQGEeygUDN4btD7yLP8G8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729534051; c=relaxed/simple; bh=WRetKF11MZW/HjgW4KNSy3tTihCPH4eWVPqzZ/rAVp4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=m2Ur+gBja+3soAXyP98WrjWHOrxMXGYvnGu3shb4IV2/ICn21Wx8rzXzcd8zWvlHdw09RtMw1NLl5uArRnFBKVgVW9BF1I5f437IJQmhOUCg/Zihdaes0SO5dTMKApM4bQn+JE4ENxkgQWLH5YsMV1DsOdRX3BD3pFOwPitvqzQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L295J2yl; 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="L295J2yl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C50BBC4CEC3; Mon, 21 Oct 2024 18:07:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729534051; bh=WRetKF11MZW/HjgW4KNSy3tTihCPH4eWVPqzZ/rAVp4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=L295J2ylbFPk1hXsDT/jMIdQOTQ/gKBkGQUkr6IlQFzYlcXQcpGw17Pcx7P0Kk4me CaOeb/P2NMqm7A3CoIW6dId+3iAnicJH63sEhct4fw9ukW2Kmr0H45BJBYPTHgCL/y FFrhb3xQ/s3VmjZThoWwr3kQ7hDQFHoNMWtt7NpI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49975: uprobes: fix kernel info leak via "[uprobes]" vma Date: Mon, 21 Oct 2024 20:03:03 +0200 Message-ID: <2024102134-CVE-2024-49975-4533@gregkh> X-Mailer: git-send-email 2.47.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=2806; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WRetKF11MZW/HjgW4KNSy3tTihCPH4eWVPqzZ/rAVp4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOli0/55eT5PDXjp/tqgdl6a792Xy0I/On7vSz/GVeZgy LDXT4qpI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYS851hfjA777qnQcedOprF zoS12H9+v7IjgmHBIZeIHa0Lzs6cdWN6bcBi8Ydz2vfxAAA= 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: uprobes: fix kernel info leak via "[uprobes]" vma xol_add_vma() maps the uninitialized page allocated by __create_xol_area() into userspace. On some architectures (x86) this memory is readable even without VM_READ, VM_EXEC results in the same pgprot_t as VM_EXEC|VM_READ, although this doesn't really matter, debugger can read this memory anyway. The Linux kernel CVE team has assigned CVE-2024-49975 to this issue. Affected and fixed versions =========================== Issue introduced in 3.5 with commit d4b3b6384f98 and fixed in 5.10.227 with commit f561b48d633a Issue introduced in 3.5 with commit d4b3b6384f98 and fixed in 5.15.168 with commit 21cb47db1ec9 Issue introduced in 3.5 with commit d4b3b6384f98 and fixed in 6.1.113 with commit 24141df5a861 Issue introduced in 3.5 with commit d4b3b6384f98 and fixed in 6.6.55 with commit 5b981d8335e1 Issue introduced in 3.5 with commit d4b3b6384f98 and fixed in 6.10.14 with commit 2aa45f43709b Issue introduced in 3.5 with commit d4b3b6384f98 and fixed in 6.11.3 with commit 9634e8dc964a Issue introduced in 3.5 with commit d4b3b6384f98 and fixed in 6.12-rc2 with commit 34820304cc2c 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-49975 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: kernel/events/uprobes.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/f561b48d633ac2e7d0d667020fc634a96ade33a0 https://git.kernel.org/stable/c/21cb47db1ec9765f91304763a24565ddc22d2492 https://git.kernel.org/stable/c/24141df5a8615790950deedd926a44ddf1dfd6d8 https://git.kernel.org/stable/c/5b981d8335e18aef7908a068529a3287258ff6d8 https://git.kernel.org/stable/c/2aa45f43709ba2082917bd2973d02687075b6eee https://git.kernel.org/stable/c/9634e8dc964a4adafa7e1535147abd7ec29441a6 https://git.kernel.org/stable/c/34820304cc2cd1804ee1f8f3504ec77813d29c8e