Bug 2182493 (CVE-2023-23002)

Summary: CVE-2023-23002 kernel: incorrect check for error case in the qca_serdev_probe
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, drow, 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 HCI In-Band Sleep feature over the serial port interface(H4). This flaw allows a local user to crash the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-29 00:32:29 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: 2182494    
Bug Blocks: 2174642    

Description Alex 2023-03-28 20:36:36 UTC
A flaw in the Linux Kernel found. In the Linux kernel before 5.16.3, drivers/bluetooth/hci_qca.c misinterprets the devm_gpiod_get_index_optional return value (expects it to be NULL in the error case, whereas it is actually an error pointer).

Reference:
https://github.com/torvalds/linux/commit/6845667146a28c09b5dfc401c1ad112374087944

Comment 1 Alex 2023-03-28 20:37:00 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2182494]

Comment 3 Product Security DevOps Team 2023-03-29 00:32:25 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-23002

Comment 4 Justin M. Forbes 2023-04-06 16:06:02 UTC
This was fixed for Fedora with the 5.15.17 stable kernel updates.