Bug 2271452 (CVE-2021-47163)

Summary: CVE-2021-47163 kernel: tipc: wait and exit until all work queues are done
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, allarkin, aquini, bhu, chwhite, dbohanno, debarbos, dfreiber, drow, dvlasenk, esandeen, ezulian, hkrzesin, jarod, jburrell, jfaracco, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, ldoskova, lgoncalv, mleitner, mmilgram, mstowell, nmurray, ptalbert, rhel-process-autobot, rparrazo, rrobaina, rvrbovsk, scweaver, sidakwo, sukulkar, tglozar, vkumar, watson-tool-maintainers, wcosta, williams, wmealing, ycote, ykopkova
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 5.4.124, kernel 5.10.42, kernel 5.12.9, kernel 5.13 Doc Type: If docs needed, set a value
Doc Text:
This linux kernel vulnerability occurs in the TIPC (Transparent Inter-Process Communication) networking module, specifically concerning how background tasks are handled during module removal. The issue arises when the TIPC module is being unloaded while a UDP tunnel socket is still delayed for release within a scheduled work queue. If this delayed cleanup task executes after the module has already been removed from the system, the kernel attempts to invoke a cleanup function that no longer exists in memory, resulting in a paging request failure and a subsequent kernel crash. Patched kernel versions resolve the issue by introducing a tracking mechanism that forces the system to explicitly wait until all pending work queues have successfully finished their tasks before allowing the TIPC module to safely exit.
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:24:04 UTC
In the Linux kernel, the following vulnerability has been resolved:

tipc: wait and exit until all work queues are done

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

Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024032534-CVE-2021-47163-3ab9@gregkh/T

Comment 2 Alex 2024-06-09 16:55:40 UTC
The result of automatic check (that is developed by Alexander Larkin) for this CVE-2021-47163 is: CHECK	Maybe valid. Check manually. with impact LOW (that is an approximation based on flags DANGER INIT  ; 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.