Bug 2150863 (CVE-2022-20154)

Summary: CVE-2022-20154 kernel: possible use after free in lock_sock_nested of sock.c for the SCTP protocol
Product: [Other] Security Response Reporter: Alex <allarkin>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bhu, chwhite, crwood, ddepaula, debarbos, dfreiber, dvlasenk, ezulian, hdegoede, hkrzesin, hpa, jarod, jarodwilson, jburrell, 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, rogbas, rvrbovsk, scweaver, steved, tyberry, vkumar, walters, williams
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 use-after-free flaw due to a race condition was found in the Linux kernel’s sctp_diag module. This flaw allows a local user to crash or potentially escalate their privileges 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: 2043822, 2043823, 2150864, 2150872, 2150873, 2150874, 2150875    
Bug Blocks: 2099268    

Description Alex 2022-12-05 12:59:18 UTC
In lock_sock_nested of sock.c, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with System execution privileges needed.

Reference:
https://github.com/torvalds/linux/commit/5ec7d18d1813a5bead0b495045606c93873aecbb

Comment 1 Alex 2022-12-05 12:59:44 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2150864]

Comment 4 Justin M. Forbes 2022-12-08 15:33:56 UTC
This was fixed for Fedora with the 5.15.13 stable kernel updates.