# CVE-2022-49289: uaccess: fix integer overflow on access_ok()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-02-26T01:56:27.026Z
- Modified: 2026-08-05T08:54:37.099Z
- Weaknesses: CWE-190
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7567746e1c0d66ac0ef8a9d8816ca694462c7370 before e65d28d4e9bf90a35ba79c06661a572a38391dec; from 7567746e1c0d66ac0ef8a9d8816ca694462c7370 before 99801e2f457824955da4aadaa035913a6dede03a; from 7567746e1c0d66ac0ef8a9d8816ca694462c7370 before a1ad747fc1a0e06d1bf26b996ee8a56b5c8d02d8; from 7567746e1c0d66ac0ef8a9d8816ca694462c7370 before 222ca305c9fd39e5ed8104da25c09b2b79a516a8; 3.2 (not affected: before 3.2; from 5.15.32 up to 5.15.*; from 5.16.18 up to 5.16.*; from 5.17.1 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 3.2 before 5.15.32; from 5.16 before 5.16.18; 5.17

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/e65d28d4e9bf90a35ba79c06661a572a38391dec> (patch)
- <https://git.kernel.org/stable/c/99801e2f457824955da4aadaa035913a6dede03a> (patch)
- <https://git.kernel.org/stable/c/a1ad747fc1a0e06d1bf26b996ee8a56b5c8d02d8> (patch)
- <https://git.kernel.org/stable/c/222ca305c9fd39e5ed8104da25c09b2b79a516a8> (patch)

## Sources

- CVE List: [CVE-2022-49289](https://www.cve.org/CVERecord?id=CVE-2022-49289), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49289](https://nvd.nist.gov/vuln/detail/CVE-2022-49289), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49289 · Whole record: https://cve.day/CVE-2022-49289.json · Rebuilt by cve.day 2026-11-25T22:58:20.364Z
