Bug 2151655 (CVE-2022-3633)

Summary: CVE-2022-3633 kernel: memory leak in the function j1939_session_destroy for j1939 socket
Product: [Other] Security Response Reporter: Alex <allarkin>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bhu, chwhite, crwood, ddepaula, debarbos, dvlasenk, ezulian, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jfaracco, jferlan, jforbes, jglisse, jlelli, joe.lawrence, josef, jshortt, jstancek, jwboyer, jwyatt, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, lzampier, masami256, mchehab, nmurray, ptalbert, qzhao, rvrbovsk, scweaver, sdubroca, steved, tyberry, walters, williams, wmealing
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A memory leak flaw was found in the Linux kernel’s j1939 socket functionality. This flaw allows a local user to crash 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: 2151656, 2151658, 2151659    
Bug Blocks: 2137102    

Description Alex 2022-12-07 18:12:04 UTC
A vulnerability was found in Linux Kernel. Affected by this issue is the function j1939_session_destroy of the file net/can/j1939/transport.c for the j1939 socket code. The manipulation leads to memory leak.

References:
https://vuldb.com/?id.211932
https://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git/commit/?id=8c21c54a53ab21842f5050fa090f26b03c0313d6

Comment 1 Alex 2022-12-07 18:12:32 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2151656]

Comment 5 Justin M. Forbes 2022-12-08 16:14:51 UTC
This was fixed for Fedora with the 5.19.4 stable kernel updates.