CVE-2022-49289
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 7567746e1c0d66ac0ef8a9d8816ca694462c7370 < e65d28d4e9bf90a35ba79c06661a572a38391dec | affected |
| Linux | Linux | 7567746e1c0d66ac0ef8a9d8816ca694462c7370 < 99801e2f457824955da4aadaa035913a6dede03a | affected |
| Linux | Linux | 7567746e1c0d66ac0ef8a9d8816ca694462c7370 < a1ad747fc1a0e06d1bf26b996ee8a56b5c8d02d8 | affected |
| Linux | Linux | 7567746e1c0d66ac0ef8a9d8816ca694462c7370 < 222ca305c9fd39e5ed8104da25c09b2b79a516a8 | affected |
| Linux | Linux | 3.2 | affected |
| Linux | Linux | 0 < 3.2 | unaffected |
| Linux | Linux | 5.15.32 <= 5.15.* | unaffected |
| Linux | Linux | 5.16.18 <= 5.16.* | unaffected |
| Linux | Linux | 5.17.1 <= 5.17.* | unaffected |
| Linux | Linux | 5.18 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/e65d28d4e9bf90a35ba79c06661a572a38391dec
- https://git.kernel.org/stable/c/99801e2f457824955da4aadaa035913a6dede03a
- https://git.kernel.org/stable/c/a1ad747fc1a0e06d1bf26b996ee8a56b5c8d02d8
- https://git.kernel.org/stable/c/222ca305c9fd39e5ed8104da25c09b2b79a516a8
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.