Bug 2282370 (CVE-2021-47375)

Summary: CVE-2021-47375 kernel: blktrace: Fix uaf in blk_trace access after removing by sysfs
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, cye, cyin, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, ldoskova, lgoncalv, lzampier, mbenatto, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, sidakwo, sukulkar, tglozar, tyberry, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 4.4.286, kernel 4.9.285, kernel 4.14.249, kernel 4.19.209, kernel 5.4.150, kernel 5.10.70, kernel 5.14.9, kernel 5.15 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's blktrace system, caused durning the blktrace feature is used to monitor block device activities and a trace is removed, where the kernel is causing improperly management of memory leading to potential crashes.
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: 2282406    

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

blktrace: Fix uaf in blk_trace access after removing by sysfs

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052141-CVE-2021-47375-8849@gregkh/T

Comment 2 Alex 2024-06-09 16:07:28 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47375 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is an approximation based on flags LOCK NULLPTR INIT TRACE UAF  ; these flags parsed automatically based on patch 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.