CVE-2022-50540: dmaengine: qcom-adm: fix wrong sizeof config in slave_config

Published Oct 7, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: qcom-adm: fix wrong sizeof config in slaveconfig

Fix broken slaveconfig function that uncorrectly compare the peripheralsize 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 Software

3 affected components
Linux Kernel
Linux Linux kernel>=5.17<5.19.17
Linux Linux kernel>=6.0<6.0.3

Event History

Oct 7, 2025
CVE Published
via MITRE·03:21 PM
Data Sourced
via MITRE·03:21 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50540?

CVE-2022-50540 has a medium severity rating due to the potential for improper input validation in the Linux kernel.

2

How do I fix CVE-2022-50540?

To fix CVE-2022-50540, update your Linux kernel to the latest stable version that includes the security patch.

3

What systems are affected by CVE-2022-50540?

CVE-2022-50540 affects various distributions of the Linux kernel that utilize the dmaengine subsystem.

4

What are the potential impacts of CVE-2022-50540?

Exploiting CVE-2022-50540 may lead to unexpected behavior in driver functions, potentially impacting system stability.

5

Is CVE-2022-50540 being actively exploited?

As of now, there are no public reports indicating that CVE-2022-50540 is actively being exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203