Bug 2334661 (CVE-2024-56679)

Summary: CVE-2024-56679 kernel: octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_common.c
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
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 vulnerability was found in the Linux kernel's octeontx2-pf driver in the otx2_common.c file, where an error pointer check was missing after calling otx2_mbox_get_rsp(), which results in improper error handling when the response is invalid, which can lead to unpredictable behavior.
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:

Description OSIDB Bzimport 2024-12-28 10:01:00 UTC
In the Linux kernel, the following vulnerability has been resolved:

octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_common.c

Add error pointer check after calling otx2_mbox_get_rsp().

Comment 1 Avinash Hanwate 2024-12-29 07:43:08 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122832-CVE-2024-56679-02b5@gregkh/T