Skip to main content
Network Thinking Solutions Logo

CVE-2022-50540

Linux kernel: dmaengine: qcom-adm: fix wrong sizeof config in slave_config

All CVEs
CVE-2022-50540Published 10/7/2025

Linux kernel: dmaengine: qcom-adm: fix wrong sizeof config in slave_config

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
10/7/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.17, < 5.19.17

Verify advisory

Source
linux kernel
linux
≥ 6.0, < 6.0.3

Verify advisory

Source
Linux
Linux
≥ 03de6b273805b3c552ff158f8688555937375926, < f1dd45a6585a1689e1e8906b3f9e302b9d40c715

Verify advisory

Source
Linux
Linux
≥ 03de6b273805b3c552ff158f8688555937375926, < 7490274b41a432824f7df5071ace3df2ab59caa7

Verify advisory

Source
Linux
Linux
≥ 03de6b273805b3c552ff158f8688555937375926, < 7c8765308371be30f50c1b5b97618b731514b207

Verify advisory

Source
Linux
Linux
5.17

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.