Bug 2033723 (CVE-2021-0961) - CVE-2021-0961 kernel: there is a possible way to read kernel memory due to uninitialized data in quota_proc_write() in xt_quota2.c
Summary: CVE-2021-0961 kernel: there is a possible way to read kernel memory due to un...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-0961
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2033724
Blocks: 2033725
TreeView+ depends on / blocked
 
Reported: 2021-12-17 17:18 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-01-04 21:29 UTC (History)
48 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An uninitialized data read flaw in the Linux kernel Android enhanced xt_quota that can count upwards and in packets functionality was found in the way user calls function quota_proc_write. A local user could use this flaw to get unauthorized data access.
Clone Of:
Environment:
Last Closed: 2021-12-23 14:52:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-12-17 17:18:01 UTC
In quota_proc_write of xt_quota2.c, there is a possible way to read kernel memory due to uninitialized data. This could lead to local information disclosure with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-196046570References: Upstream kernel

References:
https://source.android.com/security/bulletin/2021-12-01

Upstream patches:
https://android.googlesource.com/kernel/common/+/e113eb454e92
https://android.googlesource.com/kernel/common/+/60a4c35570d9
https://android.googlesource.com/kernel/common/+/4b05a506bda0

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

Affects: fedora-all [bug 2033724]

Comment 2 Justin M. Forbes 2021-12-21 14:46:51 UTC
xt_quota2.c is an android implementatation, not in the upstream kernel tree.  This code does not appear in the Fedora kernel at all.


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