Bug 2216383 (CVE-2023-0459) - CVE-2023-0459 kernel: Copy_from_user on 64-bit versions may leak kernel information
Summary: CVE-2023-0459 kernel: Copy_from_user on 64-bit versions may leak kernel infor...
Keywords:
Status: NEW
Alias: CVE-2023-0459
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2216378
TreeView+ depends on / blocked
 
Reported: 2023-06-21 04:57 UTC by Rohit Keshri
Modified: 2023-10-04 18:41 UTC (History)
45 users (show)

Fixed In Version: Kernel 5.7-rc1
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in copy_from_user in 64-bit versions of the Linux kernel. This flaw allows a local attacker to bypass the "access_ok" sanity check and pass a kernel pointer to copy_from_user(), resulting in kernel data leaking.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Rohit Keshri 2023-06-21 04:57:34 UTC
Copy_from_user on 64-bit versions of the Linux kernel does not implement the __uaccess_begin_nospec allowing a user to bypass the "access_ok" check and pass a kernel pointer to copy_from_user(). 

This would allow an attacker to leak information. 

Refer:
https://github.com/torvalds/linux/commit/4b842e4e25b12951fa10dedb4bc16bc47e3b850c

Comment 7 Mauro Matteo Cascella 2023-10-04 18:41:37 UTC
This issue was fixed upstream in kernel version 5.7-rc1. The kernel packages as shipped in Red Hat Enterprise Linux 8 were previously updated to a version that contains the fix via the following errata:

kernel in Red Hat Enterprise Linux 8
https://access.redhat.com/errata/RHSA-2022:1988

kernel-rt in Red Hat Enterprise Linux 8
https://access.redhat.com/errata/RHSA-2022:1975


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