CVE-2022-49289

uaccess: fix integer overflow on access_ok()

State
Published
Severity
7.8 High
Published
Feb 26, 2025
Updated
Aug 5, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

uaccess: fix integer overflow on access_ok()

Three architectures check the end of a user access against the address limit without taking a possible overflow into account. Passing a negative length or another overflow in here returns success when it should not.

Use the most common correct implementation here, which optimizes for a constant 'size' argument, and turns the common case into a single comparison.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7567746e1c0d66ac0ef8a9d8816ca694462c7370 to before e65d28d4e9bf90a35ba79c06661a572a38391decAffected
  • 7567746e1c0d66ac0ef8a9d8816ca694462c7370 to before 99801e2f457824955da4aadaa035913a6dede03aAffected
  • 7567746e1c0d66ac0ef8a9d8816ca694462c7370 to before a1ad747fc1a0e06d1bf26b996ee8a56b5c8d02d8Affected
  • 7567746e1c0d66ac0ef8a9d8816ca694462c7370 to before 222ca305c9fd39e5ed8104da25c09b2b79a516a8Affected
LinuxLinux
  • 3.2Affected
  • before 3.2Not affected
  • 5.15.32 through 5.15.*Not affected
  • 5.16.18 through 5.16.*Not affected
  • 5.17.1 through 5.17.*Not affected
  • 5.18 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.