CVEvulnerability

CVE-2022-49289

7.1 HIGH Published 2025-02-26 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2025-02-26
Last modified
2026-08-04
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-190

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.

Affected configurations

• linux linux kernel (>= 3.2 < 5.15.32) • linux linux kernel (>= 5.16 < 5.16.18) • linux linux kernel 5.17

Related

Weakness · CWE (1)

  • CWE-190 Integer Overflow or Wraparound weakness

References