Bug 2169198

Summary: kernel: nix_setup_ipolicers in drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c lacks check of the return value of alloc_ordered_workqueue() and will cause the NULL Pointer Dereference
Product: [Other] Security Response Reporter: Alex <allarkin>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: acaringi, bhu, chwhite, crwood, ddepaula, debarbos, dfreiber, dhoward, drow, dvlasenk, ezulian, fhrbata, hkrzesin, jarod, jburrell, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rogbas, rvrbovsk, scweaver, 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 null pointer dereference in the Linux kernel marvell octeontx2 driver was found. A local user could use this flaw to crash the system if memory overflow happens.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-14 08:42:28 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: 2169199    
Bug Blocks: 2167953    

Description Alex 2023-02-12 17:00:28 UTC
An issue was discovered in the Linux kernel through 6.1-rc8.
nix_setup_ipolicers in drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
lacks check of the return value of alloc_ordered_workqueue() and will
cause the NULL Pointer Dereference.

Reference:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cd07eadd5147ffdae11b6fd28b77a3872f2a2484

Comment 1 Alex 2023-02-12 17:00:53 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2169199]

Comment 2 Justin M. Forbes 2023-03-01 19:26:15 UTC
This was fixed for Fedora with the 6.0.11 stable kernel updates.