CVE-2025-39716

parisc: Revise __get_user() 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 __get_user() to probe user read access

Because of the way read access support is implemented, read access interruptions are only triggered at privilege levels 2 and 3. The kernel executes at privilege level 0, so __get_user() never triggers a read access interruption (code 26). Thus, it is currently possible for user code to access a read protected address via a system call.

Fix this by probing read access rights at privilege level 3 (PRIV_USER) and setting __gu_err to -EFAULT (-14) if access isn't allowed.

Note the cmpiclr instruction does a 32-bit compare because COND macro doesn't work inside asm.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 28a9b71671fb4a2993ef85b8ef6f117ea63894feAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4c981077255acc2ed5b3df6e8dd0125c81b626a9Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f410ef9a032caf98117256b22139c31342d7bb06Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 741b163e440683195b8fd4fc8495fcd0105c6ab7Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 89f686a0fb6e473a876a9a60a13aec67a62b9a7eAffected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not 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.