Bug 2180513 (CVE-2022-40540)

Summary: CVE-2022-40540 kenrel: Memory corruption due to buffer copy in qcom_mdt_read_metadata
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
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: ---
Doc Text:
A flaw was found in the Linux kernel. Memory corruption occurs to the buffer copy without checking the input size while loading firmware in qcom_mdt_read_metadata in drivers/soc/qcom/mdt_loader.c.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-21 19:30:41 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:    
Bug Blocks: 2177712    

Description Rohit Keshri 2023-03-21 15:49:19 UTC
Memory corruption due to buffer copy without checking the size of input while loading firmware in Linux Kernel in qcom_mdt_read_metadata in drivers/soc/qcom/mdt_loader.c 

Reference:
https://docs.qualcomm.com/product/publicresources/securitybulletin/march-2023-bulletin.html

Comment 1 Rohit Keshri 2023-03-21 15:50:06 UTC
There was no shipped kernel version were seen affected with this problem. These files are not built in our source code.

Comment 2 Product Security DevOps Team 2023-03-21 19:30:36 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-2022-40540