Skip to content
Heist/ feed
Back to feed
MediumFix available

irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init() If of_iomap() failed, 'aic' should be freed before return. Otherwise there is a memory leak.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.86, 6.0.16, 6.1.2
CVEs
CVE-2022-50416
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:35 UTC · Revision 1

Source evidence

irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init()

core-osv · Original source

Published 18 Sept 2025, 16:03 UTC

In the Linux kernel, the following vulnerability has been resolved: irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init() If of_iomap() failed, 'aic' should be freed before return. Otherwise there is a memory leak.

osv:CVE-2022-50416

Kernel

Fixed versions: 5.15.86, 6.0.16, 6.1.2

Complete source record
{
  "id": "d1c77db927ff4fc6f79e01a4c20dd868bad736e8d27324ac41ad1294b7dbed58",
  "url": "https://osv.dev/vulnerability/CVE-2022-50416",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init() If of_iomap() failed, 'aic' should be freed before return. Otherwise there is a memory leak.",
    "evidence": "osv:CVE-2022-50416",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.86",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-50416",
      "aliases": [
        "CVE-2022-50416"
      ],
      "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": "fead4dd496631707549f414b4059afb86ea8fb80"
                },
                {
                  "fixed": "740efb64ca5e8f2b30ac843bc4ab07950479fed4"
                },
                {
                  "fixed": "bcbcb396e1a8bd4dcaabfb0d5b98abae70880470"
                },
                {
                  "fixed": "773c9d7f127f7a599d42ceed831de69f5aa22f03"
                },
                {
                  "fixed": "4208d4faf36573a507b5e5de17abe342e9276759"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50416.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.13.0"
                },
                {
                  "fixed": "5.15.86"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50416.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.596904240Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4208d4faf36573a507b5e5de17abe342e9276759",
        "https://git.kernel.org/stable/c/740efb64ca5e8f2b30ac843bc4ab07950479fed4",
        "https://git.kernel.org/stable/c/773c9d7f127f7a599d42ceed831de69f5aa22f03",
        "https://git.kernel.org/stable/c/bcbcb396e1a8bd4dcaabfb0d5b98abae70880470",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50416.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50416",
        "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/50xxx/CVE-2022-50416.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50416",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497422,
  "published_at": "2025-09-18T16:03:59.541+00:00"
}