Integer overflow in Linux

CVE-2022-49650

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

dmaengine: qcom: bam_dma: fix runtime PM underflow

Commit dbad41e7bb5f ("dmaengine: qcom: bam_dma: check if the runtime pm enabled")
caused unbalanced pm_runtime_get/put() calls when the bam is
controlled remotely. This commit reverts it and just enables pm_runtime
in all cases, the clk_* functions already just nop when the clock is NULL.

Also clean up a bit by removing unnecessary bamclk null checks.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.003, 18.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions dbad41e7bb5f4b9949ff5ea1d76c20711f326308, 4.17, 0
  • Linux Kernel — versions 4.17, 5.19

Weakness classification (CWE)

References