CVE-2022-50540 Details
Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: qcom-adm: fix wrong sizeof config in slave_config Fix broken slave_config function that uncorrectly compare the peripheral_size with the size of the config pointer instead of the size of the config struct. This cause the crci value to be ignored and cause a kernel panic on any slave that use adm driver. To fix this, compare to the size of the struct and NOT the size of the pointer.
A vulnerability in the Linux kernel's Qcom ADM DMA engine driver has been fixed. The issue arose in the slave_config function, which incorrectly compared the peripheral_size with the size of the config pointer instead of the size of the config structure. This mistake caused the crci value to be ignored, leading to a kernel panic on any slave using the ADM driver. The vulnerability affected Linux kernel versions through 5.17.
Users can upgrade to the latest version of the Linux kernel to address this vulnerability. The fixed version is included in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/7490274b41a432824f7df5071ace3df2ab59caa7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7c8765308371be30f50c1b5b97618b731514b207 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f1dd45a6585a1689e1e8906b3f9e302b9d40c715 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.17, < 5.19.17 >= 6.0, < 6.0.3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Feb 26, 2026 | Reanalysis | [email protected] |
| Feb 4, 2026 | Initial Analysis | [email protected] |
| Oct 7, 2025 | New CVE Received | kernel.org |