{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "225c7b1feef1b41170f7037a5b10a65cd8a42c54"
            },
            {
              "fixed": "53fd4c03558672ccb167754fbacbf045c7ab335c"
            },
            {
              "fixed": "0be6ae614ca7fa53e7389e3c7462ed20abbd4192"
            },
            {
              "fixed": "5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94"
            },
            {
              "fixed": "c5dc30da990045105c9762248d23076223e7878a"
            },
            {
              "fixed": "0dbd619716fb07b7de1acd64fec673ee6e1adde7"
            },
            {
              "fixed": "e01b8c9286c470b71a38acd320106f2c4f2826a1"
            },
            {
              "fixed": "388617f44d81604a760742a0b5de292d411e63e3"
            },
            {
              "fixed": "c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.22"
            },
            {
              "fixed": "5.10.258"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.209"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.175"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.140"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.88"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.30"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46178.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx4: Fix resource leak on error in mlx4_ib_create_srq()\n\nSashiko points out that mlx4_srq_alloc() was not undone during error\nunwind, add the missing call to mlx4_srq_free().",
  "id": "CVE-2026-46178",
  "modified": "2026-07-08T05:39:15.005602463Z",
  "published": "2026-05-28T09:36:32.222Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0be6ae614ca7fa53e7389e3c7462ed20abbd4192"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0dbd619716fb07b7de1acd64fec673ee6e1adde7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/388617f44d81604a760742a0b5de292d411e63e3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/53fd4c03558672ccb167754fbacbf045c7ab335c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5b3b220d54e6a3d77380cb7caa1ef79cb8f4fc94"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c54c7e4cb679c0aaa1cb489b9c3f2cd98e63a44c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c5dc30da990045105c9762248d23076223e7878a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e01b8c9286c470b71a38acd320106f2c4f2826a1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46178.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46178"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "RDMA/mlx4: Fix resource leak on error in mlx4_ib_create_srq()"
}