What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.32, 5.16.18. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49289 or the next vulnerability affects your stack