Skip to content
Heist/ feed
Back to feed
UnratedFix available

dmaengine: qcom: bam_dma: fix runtime PM underflow

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.54, 5.18.11
CVEs
CVE-2022-49650
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:31 UTC · Revision 1

Source evidence

dmaengine: qcom: bam_dma: fix runtime PM underflow

core-osv · Original source

Published 26 Feb 2025, 02:23 UTC

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.

osv:CVE-2022-49650

Kernel

Fixed versions: 5.15.54, 5.18.11

Complete source record
{
  "id": "ecffabbb5d8af54f2b2343d8a85f95cfb257c3fbdccc820164bf72157b436956",
  "url": "https://osv.dev/vulnerability/CVE-2022-49650",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "dmaengine: qcom: bam_dma: fix runtime PM underflow",
    "summary": "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.",
    "evidence": "osv:CVE-2022-49650",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.54",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.18.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-49650",
      "aliases": [
        "CVE-2022-49650"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dbad41e7bb5f4b9949ff5ea1d76c20711f326308"
                },
                {
                  "fixed": "2f6ded79068cac8cff41d5d5632564165d98ee12"
                },
                {
                  "fixed": "b702a1077b51fcb39507cc3bd39206f539319a96"
                },
                {
                  "fixed": "0ac9c3dd0d6fe293cd5044cfad10bec27d171e4e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49650.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.17.0"
                },
                {
                  "fixed": "5.15.54"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.18.11"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49650.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.064362492Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0ac9c3dd0d6fe293cd5044cfad10bec27d171e4e",
        "https://git.kernel.org/stable/c/2f6ded79068cac8cff41d5d5632564165d98ee12",
        "https://git.kernel.org/stable/c/b702a1077b51fcb39507cc3bd39206f539319a96",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49650.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49650",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49650.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49650",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 503153,
  "published_at": "2025-02-26T02:23:53.006+00:00"
}