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 2947733987B for ; Tue, 16 Dec 2025 14:32:46 +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=1765895567; cv=none; b=K97a3TvJiggxVDgGa2rXdhPx4NUJFretytXW98jJTCU+Ga9l3CRwZYJqQn5DtEn1qKpWgKPNDQG5onz1DLOW4y1LZLAf3UT+VjVY7NpGZ6+HoVZyo/xSXcpqi2ESHytjWCaTTuK21j/ayN+GRIdp9HiEIxi+qlOmEp0jS1QIifg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765895567; c=relaxed/simple; bh=KWVkMx/UtUO7GRD7vc+MbFpGAtq+tlzS3uJQ/f4Gyjs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O2bBgHPysRHzbCltFaa55+rsIwgCKSsA0ARxRzmaGztJBi1XJ8KXPYAAj+MjmrcEeF9W4lrc7fr7xGNN+fLxaxSvGF/7fAyM8xmmMPQrpdccCFU0WrVlJ0m+cDsamNaN4SrOuIdhMi17SCVH+aSE7AbGhBKk7cIEj7xnyyVYTtg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RkhOjJNq; 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="RkhOjJNq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D94CC4CEF1; Tue, 16 Dec 2025 14:32:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765895566; bh=KWVkMx/UtUO7GRD7vc+MbFpGAtq+tlzS3uJQ/f4Gyjs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=RkhOjJNqRHIbdxASSJo/XIyUipl3YG/dBKIa7bmzz5cELyHgBq5jpgo8HEwFMkTz7 SAr81cZWkuG6PqcEKaOFwBI1EzKhsdJ4Pv/DP57mG6/ub212FfUhItdQLuM5bbv52p e1uh+5Q/YRsKoGwwMcXioqaInp/9c3/H4oGsnoV8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68253: mm: don't spin in add_stack_record when gfp flags don't allow Date: Tue, 16 Dec 2025 15:32:29 +0100 Message-ID: <2025121624-CVE-2025-68253-7e3c@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2333; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sddMeu8y7Y5bOkVoJzr2Dq9REUHzrbNvEfBg/0go3Lc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOuRWnY/V3ya9+unP109mRBT9Z89eeMVXXUjY3jXqg8 0ZI1XpdRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEdCrDggU//++9/7uEvZdh YUqlEX91pekaZob5mc3n+z8ZeGprhFgl7mOa63Dgz8oJAA== 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: don't spin in add_stack_record when gfp flags don't allow syzbot was able to find the following path: add_stack_record_to_list mm/page_owner.c:182 [inline] inc_stack_record_count mm/page_owner.c:214 [inline] __set_page_owner+0x2c3/0x4a0 mm/page_owner.c:333 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x21e4/0x22c0 mm/page_alloc.c:3858 alloc_pages_nolock_noprof+0x94/0x120 mm/page_alloc.c:7554 Don't spin in add_stack_record_to_list() when it is called from *_nolock() context. The Linux kernel CVE team has assigned CVE-2025-68253 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 97769a53f117e2f33864c587d85992ee35194ecf and fixed in 6.17.6 with commit 504174133453e3af73e626e328603d7eb5986f34 Issue introduced in 6.15 with commit 97769a53f117e2f33864c587d85992ee35194ecf and fixed in 6.18 with commit c83aab85e18103a6dc066b4939e2c92a02bb1b05 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-2025-68253 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/page_owner.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/504174133453e3af73e626e328603d7eb5986f34 https://git.kernel.org/stable/c/c83aab85e18103a6dc066b4939e2c92a02bb1b05