CVE-2022-50540
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
5.17
and later are affected. Fixed in
5.19.17,
6.0.3,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-50540 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7490274b41a432824f7df5071ace3df2ab59caa7
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7c8765308371be30f50c1b5b97618b731514b207
-
PatchKernel patch commithttps://git.kernel.org/stable/c/f1dd45a6585a1689e1e8906b3f9e302b9d40c715
Frequently asked questions
-
What is CVE-2022-50540?
CVE-2022-50540 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.17 onward and has been patched in 5.19.17, 6.0.3 and 6.1. CVE-2022-50540 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-50540?
CVE-2022-50540 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-50540?
Yes — CVE-2022-50540 has been patched. Fixed versions include 5.19.17, 6.0.3 and 6.1. If you are running Linux kernel 5.17 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50540 actively exploited?
No — CVE-2022-50540 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.