CVE-2022-40540
kenrel: Memory corruption due to buffer copy in qcom_mdt_read_metadata
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 6, 2023
Updated · October 28, 2026
Description
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.
Statement
There was no shipped kernel version were seen affected with this problem. These files are not built in our source code.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')