Bug 2271459 (CVE-2021-47179)

Summary: CVE-2021-47179 kernel: NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return()
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
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, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 4.9.271, kernel 4.14.235, kernel 4.19.193, kernel 5.4.124, kernel 5.10.42, kernel 5.12.9 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability in the Linux kernel's NFSv4 subsystem caused a NULL pointer dereference in pnfs_mark_matching_lsegs_return(). This issue occurred because _pnfs_return_layout() passed a NULL pnfs_layout_range argument, which was not checked before dereferencing, leading to a system crash.
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: 2271579    

Description Mauro Matteo Cascella 2024-03-25 17:28:52 UTC
In the Linux kernel, the following vulnerability has been resolved:

NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return()

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024032538-CVE-2021-47179-d9c2@gregkh/T

Comment 2 Alex 2024-06-09 13:18:49 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47179 is: 	SKIP	The Fixes patch not applied yet, so unlikely that actual: de144ff4234f935bd2150108019b5d87a90a8a96	YES			NO	YES	unknown (where first YES/NO value means if related sources built).