- Home
- Vulnerabilities
- CVE-2022-50540
CVE-2022-50540
dmaengine: qcom-adm: fix wrong sizeof config in slave_config
Low
23/100
Summary
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.
Affected products and versions
Linux (3 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Linux | 5.17 |
— | CNA (vendor or assigner) |
| Linux kernel | from 5.17 (included) to 5.19.17 (excluded) |
— | NVD |
| Linux kernel | from 6.0 (included) to 6.0.3 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- NVD-CWE-noinfo · Non classé