Bug 2283431 (CVE-2021-47520)

Summary: CVE-2021-47520 kernel: can: pch_can: pch_can_rx_normal: fix use after free
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.295, kernel 4.9.293, kernel 4.14.258, kernel 4.19.221, 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 in the function pch_can_rx_normal() where the improper ordering of function calls can lead to a use-after-free scenario when the function dereferences the skb (socket buffer) object after calling the function netif_receive_skb(), which could have altered or freed skb. This vulnerability could lead to memory corruption or 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: 2283494    

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

can: pch_can: pch_can_rx_normal: fix use after free

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052433-CVE-2021-47520-af45@gregkh/T

Comment 2 Alex 2024-06-09 14:36:48 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47520 is: 	SKIP	No affected files built, so skip this CVE	NO			-	-	unknown	 (where first YES/NO value means if related sources built).