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 520D8288521 for ; Wed, 18 Jun 2025 11:04:12 +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=1750244652; cv=none; b=mzF+Gc6ARZ2+HYtnYBauT8DyKyUSO77GtormPhbS8oMog+0zFFt/8RkPjmIoZqJENFr2HgEYYSSSh4eWJDax0bcJ86spk+1NKE22qVNngfhz2CRcK76kkjlE14n+1Gt/SGDUd5Q7Glebs6XxVtu6sJp529dweCspMatMikaNlUc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244652; c=relaxed/simple; bh=q6HufiE/v6I0Kuvme7traklxVZE6zKQQPLwYDi8ZWTo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QK7Vpgem0Fyq0St0hTRMOys3kcguaBUrHAznfSCZRqanjMGvNSlGe9fn/kKD2L/LXmUaJtoghXop9qte9wdQI8r0pzN/chMeyA+btFqFl2jHtxyqBInWK4ra+WzhWTSqQwVSQwv/Vw+wikANkV44O34DlQ9cE5P5upGIiciLSjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IBDmJlSq; 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="IBDmJlSq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE29FC4CEED; Wed, 18 Jun 2025 11:04:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244652; bh=q6HufiE/v6I0Kuvme7traklxVZE6zKQQPLwYDi8ZWTo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IBDmJlSqsyT4fnW9J4T1xmH1LFeWfTUnWWDZ/Cra/jmDGMIRlRpDuKWsUALJa4t5K TPIOS8xrmpZPdRx4vTy99bVEmaSK4azAyhE+tYHHIN6yUehXWppkvWrocHjC3OqEnK eP/nSRI5Bk4u/iADq5OxMDIQwIVKGy8bl03nQbMc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49994: bootmem: remove the vmemmap pages from kmemleak in put_page_bootmem Date: Wed, 18 Jun 2025 13:00:59 +0200 Message-ID: <2025061825-CVE-2022-49994-e212@gregkh> X-Mailer: git-send-email 2.49.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=2594; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0OYFyMvBEEyc4e4f7F178pX8H+GjCyhvpiQshvRFDfY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc7zkc8QmxmgL/pvZ8/KWksg1Lg4m24bjQis6wlhf2 dVzKT/viGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlIvmKY7x3svyutv8VKd8Pk BVn71Q9Lp5T7MiyY9VRf6tQlm3UH64QXxScqX1QyjVQFAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: bootmem: remove the vmemmap pages from kmemleak in put_page_bootmem The vmemmap pages is marked by kmemleak when allocated from memblock. Remove it from kmemleak when freeing the page. Otherwise, when we reuse the page, kmemleak may report such an error and then stop working. kmemleak: Cannot insert 0xffff98fb6eab3d40 into the object search tree (overlaps existing) kmemleak: Kernel memory leak detector disabled kmemleak: Object 0xffff98fb6be00000 (size 335544320): kmemleak: comm "swapper", pid 0, jiffies 4294892296 kmemleak: min_count = 0 kmemleak: count = 0 kmemleak: flags = 0x1 kmemleak: checksum = 0 kmemleak: backtrace: The Linux kernel CVE team has assigned CVE-2022-49994 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit f41f2ed43ca5258d70d53290d1951a21621f95c8 and fixed in 5.15.64 with commit 16a12ee619e39e8112f61b603255c16b73b6264b Issue introduced in 5.14 with commit f41f2ed43ca5258d70d53290d1951a21621f95c8 and fixed in 5.19.6 with commit 9ae15c4ba2be1e5a62503b6d873e84beb5fcbb5a Issue introduced in 5.14 with commit f41f2ed43ca5258d70d53290d1951a21621f95c8 and fixed in 6.0 with commit dd0ff4d12dd284c334f7e9b07f8f335af856ac78 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-2022-49994 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/bootmem_info.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/16a12ee619e39e8112f61b603255c16b73b6264b https://git.kernel.org/stable/c/9ae15c4ba2be1e5a62503b6d873e84beb5fcbb5a https://git.kernel.org/stable/c/dd0ff4d12dd284c334f7e9b07f8f335af856ac78