Skip to content
Heist/ feed
Back to feed
MediumFix available

mctp: Fix an error handling path in mctp_init()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: mctp: Fix an error handling path in mctp_init() If mctp_neigh_init() return error, the routes resources should be released in the error handling path. Otherwise some resources leak.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.79, 6.0.9
CVEs
CVE-2022-49854
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:33 UTC · Revision 1

Source evidence

mctp: Fix an error handling path in mctp_init()

core-osv · Original source

Published 1 May 2025, 14:10 UTC

In the Linux kernel, the following vulnerability has been resolved: mctp: Fix an error handling path in mctp_init() If mctp_neigh_init() return error, the routes resources should be released in the error handling path. Otherwise some resources leak.

osv:CVE-2022-49854

Kernel

Fixed versions: 5.15.79, 6.0.9

Complete source record
{
  "id": "47c894f77b615437a573be7668e7c6e07090292ce14f9d6099269d99f0f4f8b4",
  "url": "https://osv.dev/vulnerability/CVE-2022-49854",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mctp: Fix an error handling path in mctp_init()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: mctp: Fix an error handling path in mctp_init() If mctp_neigh_init() return error, the routes resources should be released in the error handling path. Otherwise some resources leak.",
    "evidence": "osv:CVE-2022-49854",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.79",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-49854",
      "aliases": [
        "CVE-2022-49854"
      ],
      "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": "4d8b9319282ae84f5a17b28d8b5b5d1e7e537312"
                },
                {
                  "fixed": "49d8a6e24a3496d86e8d8ae748375df984fb6d6f"
                },
                {
                  "fixed": "216c83222d2eb24b0e63df56e8740b02c33286e8"
                },
                {
                  "fixed": "d4072058af4fd8fb4658e7452289042a406a9398"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49854.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.15.0"
                },
                {
                  "fixed": "5.15.79"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49854.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.061295333Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/216c83222d2eb24b0e63df56e8740b02c33286e8",
        "https://git.kernel.org/stable/c/49d8a6e24a3496d86e8d8ae748375df984fb6d6f",
        "https://git.kernel.org/stable/c/d4072058af4fd8fb4658e7452289042a406a9398",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49854.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49854",
        "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-49854.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49854",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494563,
  "published_at": "2025-05-01T14:10:08.47+00:00"
}