Bug 2182680 (CVE-2023-23004)

Summary: CVE-2023-23004 kernel: incorrect check for error case in the malidp_check_pages_threshold
Product: [Other] Security Response Reporter: Alex <allarkin>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, allarkin, bhu, chwhite, crwood, dbohanno, ddepaula, debarbos, dfreiber, dvlasenk, ezulian, hkrzesin, jarod, jburrell, jdenham, jfaracco, jferlan, jforbes, jlelli, joe.lawrence, jshortt, jstancek, jwyatt, kcarcia, kernel-mgr, ldoskova, lgoncalv, lleshchi, lzampier, nmurray, ptalbert, qzhao, rogbas, rrobaina, rvrbovsk, rysulliv, scweaver, tyberry, vkumar, walters, wcosta, williams, wmealing, ycote
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 flaw was found in the Linux kernel's Mali-DP Device Driver. This flaw allows a local user to crash the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-29 14:32:27 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: 2182681    
Bug Blocks: 2174642    

Description Alex 2023-03-29 10:34:48 UTC
A flaw in the Linux Kenel found. In the function malidp_check_pages_threshold, there incorrect check of return value. The fix of NULL to IS_ERR() required, because the get_sg_table() function does not return NULL. It returns error pointers.

Reference:
https://github.com/torvalds/linux/commit/15342f930ebebcfe36f2415049736a77d7d2e045

Comment 1 Alex 2023-03-29 10:35:16 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2182681]

Comment 3 Product Security DevOps Team 2023-03-29 14:32:23 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-2023-23004

Comment 4 Justin M. Forbes 2023-04-06 16:01:49 UTC
This was fixed for Fedora with the 5.19 stable kernel rebases.