CVE-2022-50540

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

published October 7, 2025

CVSS
—
EPSS
0%
Percentile
4.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00154 · 4.1th percentile
Published
2025-10-07T15:21Z
EPSS history
Timeline
  • 07 OCT 15:21Z
    dmaengine: qcom-adm: fix wrong sizeof config in slave_config
    cvelistv5