VYPR
Medium severity5.5NVD Advisory· Published Oct 7, 2025· Updated Jun 17, 2026

CVE-2022-50540

CVE-2022-50540

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

4
  • Linux/Kernel3 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 2 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.17,<5.19.17
    • (no CPE)
    • (no CPE)range: 5.17
  • osv-coords
    Range: >= 5.17.0, < 5.19.17

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.