Bug 2282312 (CVE-2021-47421)

Summary: CVE-2021-47421 kernel: drm/amdgpu: handle the case of pci_channel_io_frozen only in amdgpu_pci_resume
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jfaracco, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, ldoskova, lgoncalv, mleitner, mmilgram, mstowell, nmurray, ptalbert, rhel-process-autobot, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, trathi, vkumar, watson-tool-maintainers, wcosta, williams, wmealing, ycote, ykopkova
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.14.12, kernel 5.15 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel's AMD GPU driver (amdgpu). Under specific Peripheral Component Interconnect (PCI) error recovery conditions, the driver improperly releases an unacquired lock during the device resume sequence. This improper synchronization causes subsequent threads attempting to acquire read locks to deadlock. A local attacker could exploit this issue to cause a Denial of Service (DoS) by rendering the system or graphics subsystem unresponsive.
Story Points: ---
Clone Of: Environment:
Last Closed: 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:    
Bug Blocks: 2282371    

Description ybuenos 2024-05-22 08:09:53 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: handle the case of pci_channel_io_frozen only in amdgpu_pci_resume

The Linux kernel CVE team has assigned CVE-2021-47421 to this issue.

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052155-CVE-2021-47421-00f1@gregkh/T

Comment 2 Alex 2024-06-09 15:31:34 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47421 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags DEADLOCK SIMPLEFIX  ; these flags parsed automatically based on patche data). Such automatic check happens only for Low/Moderates (and only when not from reporter, but parsing already existing CVE). Highs always checked manually (I check it myself and then we check it again in Remediation team). In rare cases some of the Moderates could be increased to High later.