Bug 2068259 (CVE-2021-39648)

Summary: CVE-2021-39648 kernel: possible disclosure of memory due to a race condition in gadget_dev_desc_UDC_show() of configfs.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bdettelb, bhu, brdeoliv, bskeggs, chwhite, crwood, dhoward, dvlasenk, fhrbata, fpacheco, hdegoede, hkrzesin, jarod, jarodwilson, jburrell, jeremy, jfaracco, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jshortt, jstancek, jwboyer, jwyatt, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, lzampier, masami256, mchehab, nmurray, ptalbert, qzhao, rvrbovsk, scweaver, steved, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.11 rc3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-12 14:56:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2068260    
Bug Blocks: 2068261    

Description Guilherme de Almeida Suckevicz 2022-03-24 18:43:15 UTC
In gadget_dev_desc_UDC_show of configfs.c, there is a possible disclosure of kernel heap memory due to a race condition. 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-160822094References: Upstream kernel.

References:
https://source.android.com/security/bulletin/pixel/2021-12-01
https://android.googlesource.com/kernel/common/+/64e6bbfff52db4bf6785fab9cffab850b2de6870

Comment 1 Guilherme de Almeida Suckevicz 2022-03-24 18:44:01 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2068260]

Comment 2 Justin M. Forbes 2022-03-28 13:39:57 UTC
This was fixed for Fedora with the 5.10.7 stable kernel updates.

Comment 4 Rohit Keshri 2022-04-12 05:28:32 UTC
There was no shipped kernel version that was seen affected by this problem. These files are not built in our source code.

Comment 5 Product Security DevOps Team 2022-04-12 14:56:49 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-39648