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 A801D2E5B32 for ; Wed, 1 Oct 2025 11:55:53 +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=1759319753; cv=none; b=m+g1OjEDVFO4j8Iio9bvYhzWmER3bZ7PdrL1tC96dpU4qB6xMBDtWQ8Uxxi/wu0A1erIN6/ESrFhn0UuRPUxiDT+66SiR/c7igAYlw9ozrU+KRYGGIpnoL+f0eiJlrro9X2ZLCuFYEupo+LQQ43mzU8bQ4GkvwpGoyM0/E3xU1Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319753; c=relaxed/simple; bh=H7tbQ5qiec6URG3Dr6Qfy05hrJ2HmQz7I9KHvEocxfg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hO/Kly3p/v+FTUr99PWhOo7BGy0Ue/KpfcWpQiu4c56zgHeOzDZkaBmVDf9LoRT3ZZB8QVgv4AeOPi4qD4f0br852ui443UW0ZZXCCf+SPHseLLeW8MMu8kLhAgwDdWUVTPwsKc0ZI4kEtvTuLB7Pss/EdrBxEM4+svojWP0bBk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xUc7fadw; 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="xUc7fadw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16595C4CEF4; Wed, 1 Oct 2025 11:55:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319753; bh=H7tbQ5qiec6URG3Dr6Qfy05hrJ2HmQz7I9KHvEocxfg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xUc7fadwsU0RvILq3NhQeHGTYYtmz9pdfVN9zvcMbuoFRR0dbrOMi7DGck9KRZ9vG uTRG/J0ThlkXBg21/WguE6cg3J5Z0boXpVs7XQA7vPOvPKZeKBfX0SxhYsnKUyNrKN /UwFhS6YD16Yhhg2YWB3Hb/7Xl4mdB/e0kbYkqy8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50448: mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled in Date: Wed, 1 Oct 2025 13:45:18 +0200 Message-ID: <2025100116-CVE-2022-50448-922e@gregkh> X-Mailer: git-send-email 2.51.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=2226; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rKkyRqTNAVKgSq7tJR1cZ35eGW4rm3aEsQ2ipfk36gA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3RXzOtqsUNd6enpVxJGPNW8dnuw9zy4i/rmHTO6Cxk 5fv2lbdjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIYBbD/Oqp2knb0u7eufF9 oeYinzvL0h5nmDMs6J8k+XQ7612V1VpJUucutl96frZ5OwA= 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: mm/uffd: fix warning without PTE_MARKER_UFFD_WP compiled in When PTE_MARKER_UFFD_WP not configured, it's still possible to reach pte marker code and trigger an warning. Add a few CONFIG_PTE_MARKER_UFFD_WP ifdefs to make sure the code won't be reached when not compiled in. The Linux kernel CVE team has assigned CVE-2022-50448 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit b1f9e876862d8f7176299ec4fb2108bc1045cbc8 and fixed in 5.19.17 with commit b76e4eb02e9edb9a0a51942acdb373ca01346e8c Issue introduced in 5.19 with commit b1f9e876862d8f7176299ec4fb2108bc1045cbc8 and fixed in 6.0.3 with commit 2204a880cb0c51952463a24a4fa01a6514c5a25a Issue introduced in 5.19 with commit b1f9e876862d8f7176299ec4fb2108bc1045cbc8 and fixed in 6.1 with commit 515778e2d790652a38a24554fdb7f21420d91efc 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-50448 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/hugetlb.c mm/memory.c mm/mprotect.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/b76e4eb02e9edb9a0a51942acdb373ca01346e8c https://git.kernel.org/stable/c/2204a880cb0c51952463a24a4fa01a6514c5a25a https://git.kernel.org/stable/c/515778e2d790652a38a24554fdb7f21420d91efc