Bug 2348170 (CVE-2022-49289) - CVE-2022-49289 kernel: uaccess: fix integer overflow on access_ok()
Summary: CVE-2022-49289 kernel: uaccess: fix integer overflow on access_ok()
Keywords:
Status: NEW
Alias: CVE-2022-49289
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:20 UTC by OSIDB Bzimport
Modified: 2025-02-26 16:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:20:03 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 11:42:52 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022633-CVE-2022-49289-3435@gregkh/T

Comment 2 Avinash Hanwate 2025-02-26 16:01:01 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022633-CVE-2022-49289-3435@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.