{"id":"CVE-2022-49650","state":"PUBLISHED","title":"dmaengine: qcom: bam_dma: fix runtime PM underflow","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: qcom: bam_dma: fix runtime PM underflow\n\nCommit dbad41e7bb5f (\"dmaengine: qcom: bam_dma: check if the runtime pm enabled\")\ncaused unbalanced pm_runtime_get/put() calls when the bam is\ncontrolled remotely. This commit reverts it and just enables pm_runtime\nin all cases, the clk_* functions already just nop when the clock is NULL.\n\nAlso clean up a bit by removing unnecessary bamclk null checks.","publishedAt":"2025-02-26T02:23:53.006Z","updatedAt":"2026-05-11T19:04:02.776Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dbad41e7bb5f4b9949ff5ea1d76c20711f326308","status":"affected","lessThan":"2f6ded79068cac8cff41d5d5632564165d98ee12","versionType":"git"},{"version":"dbad41e7bb5f4b9949ff5ea1d76c20711f326308","status":"affected","lessThan":"b702a1077b51fcb39507cc3bd39206f539319a96","versionType":"git"},{"version":"dbad41e7bb5f4b9949ff5ea1d76c20711f326308","status":"affected","lessThan":"0ac9c3dd0d6fe293cd5044cfad10bec27d171e4e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/qcom/bam_dma.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.17","versionType":"semver"},{"version":"5.15.54","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.18.11","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/qcom/bam_dma.c"]}],"references":["https://git.kernel.org/stable/c/2f6ded79068cac8cff41d5d5632564165d98ee12","https://git.kernel.org/stable/c/b702a1077b51fcb39507cc3bd39206f539319a96","https://git.kernel.org/stable/c/0ac9c3dd0d6fe293cd5044cfad10bec27d171e4e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49650.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49650","state":"PUBLISHED","datePublished":"2025-02-26T02:23:53.006Z","dateUpdated":"2026-05-11T19:04:02.776Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T02:21:30.433Z"},"containers":{"cna":{"title":"dmaengine: qcom: bam_dma: fix runtime PM underflow","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: qcom: bam_dma: fix runtime PM underflow\n\nCommit dbad41e7bb5f (\"dmaengine: qcom: bam_dma: check if the runtime pm enabled\")\ncaused unbalanced pm_runtime_get/put() calls when the bam is\ncontrolled remotely. This commit reverts it and just enables pm_runtime\nin all cases, the clk_* functions already just nop when the clock is NULL.\n\nAlso clean up a bit by removing unnecessary bamclk null checks."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dbad41e7bb5f4b9949ff5ea1d76c20711f326308","status":"affected","lessThan":"2f6ded79068cac8cff41d5d5632564165d98ee12","versionType":"git"},{"version":"dbad41e7bb5f4b9949ff5ea1d76c20711f326308","status":"affected","lessThan":"b702a1077b51fcb39507cc3bd39206f539319a96","versionType":"git"},{"version":"dbad41e7bb5f4b9949ff5ea1d76c20711f326308","status":"affected","lessThan":"0ac9c3dd0d6fe293cd5044cfad10bec27d171e4e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/qcom/bam_dma.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.17","versionType":"semver"},{"version":"5.15.54","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.18.11","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/dma/qcom/bam_dma.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2f6ded79068cac8cff41d5d5632564165d98ee12"},{"url":"https://git.kernel.org/stable/c/b702a1077b51fcb39507cc3bd39206f539319a96"},{"url":"https://git.kernel.org/stable/c/0ac9c3dd0d6fe293cd5044cfad10bec27d171e4e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:04:02.776Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.15.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.18.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}