Bug 2091704 (CVE-2022-1678)

Summary: CVE-2022-1678 kernel: improper update of sock reference in TCP pacing can lead to memory leak
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bdettelb, bhu, chwhite, crwood, ddepaula, dvlasenk, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jburrell, jfaracco, jferlan, jforbes, jglisse, jlelli, joe.lawrence, jonathan, josef, jshortt, jstancek, jwboyer, jwyatt, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, lzampier, masami256, mchehab, nmurray, ptalbert, qzhao, rvrbovsk, scweaver, steved, vkumar, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-4.20-rc1 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel. An incorrect update of the sock reference in TCP pacing can lead to a memory leak, wasting memory on the system.
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: 2091705, 2122085, 2122086    
Bug Blocks: 2091706    

Description Guilherme de Almeida Suckevicz 2022-05-30 19:06:48 UTC
An issue was discovered in the Linux Kernel from 4.18 to 4.19, an improper update of sock reference in TCP pacing can lead to memory/netns leak, which can be used by remote clients.

References:
https://gitee.com/anolis/cloud-kernel/commit/bed537da691b
https://bugzilla.openanolis.cn/show_bug.cgi?id=61
https://lore.kernel.org/all/20200602080425.93712-1-kerneljasonxing@gmail.com/
https://github.com/torvalds/linux/commit/0a70f118475e037732557796accd0878a00fc25a

Comment 1 Guilherme de Almeida Suckevicz 2022-05-30 19:08:06 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2091705]

Comment 2 Justin M. Forbes 2022-06-01 21:36:05 UTC
This was fixed for Fedora years ago in the 4.20 kernel rebases.

Comment 12 Wade Mealing 2022-09-08 06:56:39 UTC
RHEL 8 based products are not marked as affected, this was fixed in 8.4 and this flaw doesn't qualify for z stream inclusion.