CVE-2025-39715

parisc: Revise gateway LWS calls to probe user read access

State
Published
Severity
Not scored
Published
Sep 5, 2025
Updated
May 12, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d0585d742ff2d82accd26c661c60a6d260429c4a to before e8b496c52aa0c6572d88db7cab85aeea6f9c194dAffected
  • d0585d742ff2d82accd26c661c60a6d260429c4a to before 8bccf47adbf658293528e86960e6d6f736b1c9f7Affected
  • d0585d742ff2d82accd26c661c60a6d260429c4a to before bc0a24c24ceebabb5ba65900e332233d79e625e6Affected
  • d0585d742ff2d82accd26c661c60a6d260429c4a to before 9b6af875baba9c4679b55f4561e201485451305fAffected
  • d0585d742ff2d82accd26c661c60a6d260429c4a to before f6334f4ae9a4e962ba74b026e1d965dfdf8cbef8Affected
LinuxLinux
  • 5.17Affected
  • before 5.17Not affected
  • 6.1.149 through 6.1.*Not affected
  • 6.6.103 through 6.6.*Not affected
  • 6.12.44 through 6.12.*Not affected
  • 6.16.4 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.