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 18BA83191DA for ; Fri, 5 Sep 2025 17:24:26 +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=1757093067; cv=none; b=mG/XnNF3sjWe2u/vVHnT3TLoT9eXNALQsmmf41uK7Q/z46bybtqFpumbFMkUNh96umLxsJBHUBMbcbi9V+Xpv/qFUrcupsXXE+rMT5czYKvr+zf8nxIsJH4RQMMMZ8hQmZ4W0tyXO9sJ9NVhb1aPxV+K6Qqgv3QZwMWpoNF25FE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757093067; c=relaxed/simple; bh=+7+NmCjUavprcRUIHgo7+Dad0ecH/qHjpCRJECX4lTg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qC4P5wwlI3839h67ipUCcvb3nnPXz70OMAAXh0uW1h8s4nSiSz7peQ33GcEDJOt66yAG3v/FQBEjYvkUjihDiA3dWiZvsdD1kQIN9m1nYGg9P+UZ7LdLuN/c4TbVJUSZeftW7XTCXR0cNdF5uTY0ldAznCuExLPM8+WO7gEvcRI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hhbXdKpn; 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="hhbXdKpn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 349C5C4CEF1; Fri, 5 Sep 2025 17:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757093066; bh=+7+NmCjUavprcRUIHgo7+Dad0ecH/qHjpCRJECX4lTg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hhbXdKpnzlJUhbW9V1CWJV6js9aLS1uc2Ji2x7NKR+KcvhPrf+Giv7prgGkO4AnAo WGf/vn+kt6ni0kpeOKiQftDz2RToYZaBFLqlKuGSESwI/B1LU4KzmikuvTWVKctAwZ BsXkR+v0S2XVj+xOG4aOYMVshC1xiFlFKalN5ngk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39715: parisc: Revise gateway LWS calls to probe user read access Date: Fri, 5 Sep 2025 19:21:28 +0200 Message-ID: <2025090551-CVE-2025-39715-6248@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=2682; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7fUwsz9cQ4j31Vl96XglgYAd7497XYTBVaz1duCkVaE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBm7pT9XX1O5UruNYb56xs8y/4tV04+wNJdX+2WqpHqYr rXSZTrbEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPJ0GBYMP2s/DI9fYNZZy/G LOTTlo8WtfjdxDBP56Zaw7blt57KGCokhSbdZdob2TERAA== 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: parisc: Revise gateway LWS calls to probe user read access We use load and stbys,e instructions to trigger memory reference interruptions without writing to memory. Because of the way read access support is implemented, read access interruptions are only triggered at privilege levels 2 and 3. The kernel and gateway page execute at privilege level 0, so this code never triggers a read access interruption. Thus, it is currently possible for user code to execute a LWS compare and swap operation at an address that is read protected at privilege level 3 (PRIV_USER). Fix this by probing read access rights at privilege level 3 and branching to lws_fault if access isn't allowed. The Linux kernel CVE team has assigned CVE-2025-39715 to this issue. Affected and fixed versions =========================== Fixed in 6.1.149 with commit e8b496c52aa0c6572d88db7cab85aeea6f9c194d Fixed in 6.6.103 with commit 8bccf47adbf658293528e86960e6d6f736b1c9f7 Fixed in 6.12.44 with commit bc0a24c24ceebabb5ba65900e332233d79e625e6 Fixed in 6.16.4 with commit 9b6af875baba9c4679b55f4561e201485451305f Fixed in 6.17-rc1 with commit f6334f4ae9a4e962ba74b026e1d965dfdf8cbef8 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-39715 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/parisc/kernel/syscall.S 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/e8b496c52aa0c6572d88db7cab85aeea6f9c194d https://git.kernel.org/stable/c/8bccf47adbf658293528e86960e6d6f736b1c9f7 https://git.kernel.org/stable/c/bc0a24c24ceebabb5ba65900e332233d79e625e6 https://git.kernel.org/stable/c/9b6af875baba9c4679b55f4561e201485451305f https://git.kernel.org/stable/c/f6334f4ae9a4e962ba74b026e1d965dfdf8cbef8