Bug 2150975 (CVE-2022-3521)

Summary: CVE-2022-3521 kernel: race condition in kcm_tx_work() in net/kcm/kcmsock.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, bhu, chwhite, crwood, ddepaula, debarbos, dfreiber, dhoward, dvlasenk, ezulian, hkrzesin, jarod, jburrell, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rogbas, rvrbovsk, scweaver, sgrubb, tyberry, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel 6.1-rc1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-13 21:50:23 UTC 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: 2150976    
Bug Blocks: 2150977    

Description Guilherme de Almeida Suckevicz 2022-12-05 18:41:46 UTC
A vulnerability has been found in Linux Kernel and classified as problematic. This vulnerability affects the function kcm_tx_work of the file net/kcm/kcmsock.c of the component kcm. The manipulation leads to race condition. It is recommended to apply a patch to fix this issue. VDB-211018 is the identifier assigned to this vulnerability.

Reference:
https://vuldb.com/?id.211018

Upstream patch:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ec7eede369fe5b0d085ac51fdbb95184f87bfc6c

Comment 1 Guilherme de Almeida Suckevicz 2022-12-05 18:42:13 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2150976]

Comment 2 Justin M. Forbes 2022-12-08 15:45:55 UTC
This was fixed for Fedora with the 6.0.10 stable kernel updates.

Comment 6 Rohit Keshri 2023-03-13 18:05:25 UTC
There was no shipped kernel version were seen affected with this problem. These files are not built in our source code.

Comment 7 Product Security DevOps Team 2023-03-13 21:50:20 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-3521