Bug 2282911 (CVE-2021-47449)

Summary: CVE-2021-47449 kernel: ice: fix locking for Tx timestamp tracking flush
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, mleitner, mmilgram, mstowell, nmurray, ptalbert, rparrazo, rrobaina, rvrbovsk, rysulliv, scweaver, sidakwo, sukulkar, tglozar, trathi, tyberry, vkumar, wcosta, williams, wmealing, ycote, ykopkova, zhijwang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.14.14 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in the Linux kernel vulnerability that affects the `ice` driver, specifically related to the locking mechanism for the Transmission (Tx) timestamp tracking flush. The issue arose after the addition of a lock around the Tx timestamp tracker flow, which handles cleanup of leftover SKBs during device removal. However, this lock was problematic because it was held while calling a function (`ice_clear_phy_tstamp`) that also uses a mutex. If the mutex sleeps, it can lead to a deadlock, causing a warning in the kernel when preemption debugging is enabled. The deadlock occurs due to the conflicting use of locks, which can block kernel operations like module removal.
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: 2283369    

Description ybuenos 2024-05-23 09:56:50 UTC
In the Linux kernel, the following vulnerability has been resolved:

ice: fix locking for Tx timestamp tracking flush

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024052242-CVE-2021-47449-6323@gregkh/T