Skip to content
Heist/ feed
Back to feed
MediumFix available

ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe of_find_device_by_node() takes reference, we should use put_device() to release it. when devm_kzalloc() fails, it doesn't have a put_device(), it will cause refcount leak. Add missing put_device() to fix this.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.46, 5.17.14, 5.18.3
CVEs
CVE-2022-49480
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:00 UTC · Revision 1

Source evidence

ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe

core-osv · Original source

Published 26 Feb 2025, 02:13 UTC

In the Linux kernel, the following vulnerability has been resolved: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe of_find_device_by_node() takes reference, we should use put_device() to release it. when devm_kzalloc() fails, it doesn't have a put_device(), it will cause refcount leak. Add missing put_device() to fix this.

osv:CVE-2022-49480

Kernel

Fixed versions: 5.15.46, 5.17.14, 5.18.3

Complete source record
{
  "id": "93081568ddd7f975dfd9b911a7fa1fd1cf0ce9283c8bb7c287b87ed8b6cc45b1",
  "url": "https://osv.dev/vulnerability/CVE-2022-49480",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe of_find_device_by_node() takes reference, we should use put_device() to release it. when devm_kzalloc() fails, it doesn't have a put_device(), it will cause refcount leak. Add missing put_device() to fix this.",
    "evidence": "osv:CVE-2022-49480",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.46",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.17.14",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.18.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-49480",
      "aliases": [
        "CVE-2022-49480"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6a5f850aa83a1d844d27e3e53ca2f247e55d438b"
                },
                {
                  "fixed": "cf760e494ee5fa6bc2dc222f0098c741ad460801"
                },
                {
                  "fixed": "8205a0114db10ec41bd2b748cdd7528632082eca"
                },
                {
                  "fixed": "81b7edaabd44ba133006ad72056914eb36828d60"
                },
                {
                  "fixed": "ed46731d8e86c8d65f5fc717671e1f1f6c3146d2"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49480.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.46"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.17.14"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.18.0"
                },
                {
                  "fixed": "5.18.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49480.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.352783409Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/81b7edaabd44ba133006ad72056914eb36828d60",
        "https://git.kernel.org/stable/c/8205a0114db10ec41bd2b748cdd7528632082eca",
        "https://git.kernel.org/stable/c/cf760e494ee5fa6bc2dc222f0098c741ad460801",
        "https://git.kernel.org/stable/c/ed46731d8e86c8d65f5fc717671e1f1f6c3146d2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49480.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49480",
        "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-49480.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49480",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508841,
  "published_at": "2025-02-26T02:13:20.651+00:00"
}