Bug 2034702 (CVE-2021-0929) - CVE-2021-0929 kernel: use-after-free in ion_dma_buf_end_cpu_access and related functions in ion.c
Summary: CVE-2021-0929 kernel: use-after-free in ion_dma_buf_end_cpu_access and relate...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-0929
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2034703
Blocks: 2034704
TreeView+ depends on / blocked
 
Reported: 2021-12-21 18:17 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-02-08 19:56 UTC (History)
48 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A use-after-free flaw was found in the Linux kernel Android driver ion/ion.c. The driver is not included in the other kernels, apart from Android devices. This issue could allow a local user to crash the system or potentially escalate their privileges on the system.
Clone Of:
Environment:
Last Closed: 2021-12-22 11:40:28 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-12-21 18:17:53 UTC
In ion_dma_buf_end_cpu_access and related functions of ion.c, there is a possible way to corrupt memory due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-187527909References: Upstream kernel

References:
https://source.android.com/security/bulletin/2021-11-01
https://android-review.googlesource.com/c/kernel/common/+/1785470
https://android-review.googlesource.com/c/kernel/common/+/1785469
https://android-review.googlesource.com/c/kernel/common/+/1780045

Comment 1 Guilherme de Almeida Suckevicz 2021-12-21 18:18:38 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2034703]

Comment 2 Justin M. Forbes 2021-12-22 14:16:22 UTC
This code is not upstream and not shipping with Fedora.


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