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 99E0631A57A for ; Wed, 24 Dec 2025 12:10:45 +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=1766578245; cv=none; b=Wm6nUUw2GnwKbrlO3+Raq5+O8z/Fl63MiZeio/LVTsK5ncHrFlZAi1tWiuojTSTPZ7jBO5gYoIp40lFbqU2Nxd6YSzwwKn4cr0CtD0LLUsvedzlJ8dC/v7wPKShMghClDwYWfit6F6BECFv3wCMvbjA9Oc6sSse628aTQ7dEhUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766578245; c=relaxed/simple; bh=QHEKUGgDEPNGfQ4HBBEHNcJqkzRHujw78wyhkj0k0Zk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=D9E9t23eTM1h6Uho9XspqqiC0u6cO8Hc/EHTWL1xXjzaovsXED4HSXw5+3LXTNZZxPCVa0LKieWXkDEaiG2mE+WO98xkCEoLElkLwrFWRIQkLY+Q/I7F+UtKGCWe1ez7+SM9M7WyejhvJQaRo/I9kAJP+sSU1P52uty+L8ZsuIQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=x3zN28fG; 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="x3zN28fG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96C2DC4CEFB; Wed, 24 Dec 2025 12:10:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766578245; bh=QHEKUGgDEPNGfQ4HBBEHNcJqkzRHujw78wyhkj0k0Zk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=x3zN28fGmoFxzViAAt/oroV2rl2VwrvEt18byzfDYQfwPcwpNp+q8Mm4eEeO2zQ5+ kmttsykuDP1Zhzl0jLlAyZvfqqXydCVPL7SbnokxfMso3J5JrU2xlUqBjmsG6bQ0D4 I1W4BU3rdPikx1bJlSerxu8ZGFlZ3DHrvO1+2rlQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68737: arm64/pageattr: Propagate return value from __change_memory_common Date: Wed, 24 Dec 2025 13:10:13 +0100 Message-ID: <2025122413-CVE-2025-68737-596a@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=2257; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=42JFOpt7JPlXhbZ2qXiq49einGRhHLzTsHO1+10RMU8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneN1Rv/rA9KL3Wb8/qI93/rPLvHTrUcd+waWH41gTxg LDzrX8PdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEuk8xLDi649H7Pe7fVX7O P7AzNC3rPqtqQSPDfN+T+csrI0rY3F0vuKfumDz78dF5PwE= 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: arm64/pageattr: Propagate return value from __change_memory_common The rodata=on security measure requires that any code path which does vmalloc -> set_memory_ro/set_memory_rox must protect the linear map alias too. Therefore, if such a call fails, we must abort set_memory_* and caller must take appropriate action; currently we are suppressing the error, and there is a real chance of such an error arising post commit a166563e7ec3 ("arm64: mm: support large block mapping when rodata=full"). Therefore, propagate any error to the caller. The Linux kernel CVE team has assigned CVE-2025-68737 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit a166563e7ec375b38a0fd3a58f7b77e50a6bc6a8 and fixed in 6.18.2 with commit 3e2fc1e57a5361633a4bf4222640c6bfe41ff8ea Issue introduced in 6.18 with commit a166563e7ec375b38a0fd3a58f7b77e50a6bc6a8 and fixed in 6.19-rc1 with commit e5efd56fa157d2e7d789949d1d64eccbac18a897 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-68737 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: arch/arm64/mm/pageattr.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/3e2fc1e57a5361633a4bf4222640c6bfe41ff8ea https://git.kernel.org/stable/c/e5efd56fa157d2e7d789949d1d64eccbac18a897