Bug 2018229 (CVE-2021-0936) - CVE-2021-0936 kernel: possible memory corruption due to a use-after-free in acc_read() in f_accessory.c
Summary: CVE-2021-0936 kernel: possible memory corruption due to a use-after-free in a...
Alias: CVE-2021-0936
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2018230
Blocks: 2018231
TreeView+ depends on / blocked
Reported: 2021-10-28 14:50 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-02 16:10 UTC (History)
45 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A use after free flaw in the Linux kernel's Gadget Function Driver for Android USB accessories functionality was found. A local user could use this flaw to crash the system or escalate their privileges on the system.
Clone Of:
Last Closed: 2021-11-02 14:08:39 UTC

Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-10-28 14:50:34 UTC
In acc_read of f_accessory.c, there is a possible memory corruption 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-173789633References: Upstream kernel.


Comment 1 Guilherme de Almeida Suckevicz 2021-10-28 14:51:11 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2018230]

Comment 3 Product Security DevOps Team 2021-11-02 14:08:39 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


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