Bug 2283445 (CVE-2021-47507)

Summary: CVE-2021-47507 kernel: nfsd: Fix nsfd startup race (again)
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 5.4.165, kernel 5.10.85, kernel 5.15.8, kernel 5.16 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel's NFS daemon related to a race condition during startup in the rpc_pipefs_event() function, this race occurs between the registration of the NFS network ID and the notifier chain, leading to potential NULL pointer dereferences when the NFS daemon is initialized, causing system crash during NFS operations, compromising the stability of the kernel.
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: 2283494    

Description ybuenos 2024-05-27 10:54:57 UTC
In the Linux kernel, the following vulnerability has been resolved:

nfsd: Fix nsfd startup race (again)

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052452-CVE-2021-47507-e722@gregkh/T

Comment 2 Alex 2024-06-09 15:45:33 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47507 is: CHECK	Maybe valid. Check manually. with impact MODERATE (that is approximation based on flags DANGER NULLPTR DISK INIT RACE  ; 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.