{
  "id": "CVE-2026-43178",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-43178",
  "published_at": "2026-05-06T11:27:51.524Z",
  "title": "procfs: fix possible double mmput() in do_procmap_query()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nprocfs: fix possible double mmput() in do_procmap_query()\n\nWhen user provides incorrectly sized buffer for build ID for PROCMAP_QUERY\nwe return with -ENAMETOOLONG error.  After recent changes this condition\nhappens later, after we unlocked mmap_lock/per-VMA lock and did mmput(),\nso original goto out is now wrong and will double-mmput() mm_struct.  Fix\nby jumping further to clean up only vm_file and name_buf.",
  "cwe": "CWE-415",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= b9b97e6aeb534315f9646b2090d1a5024c6a4e82, \u003c f9fe092084cd04deea18747f58a2304026e76aaa",
          "\u003e= cbc03ce3e6ce7e21214c3f02218213574c1a2d08, \u003c 8adaff87db143583e08eec4f4e7788f1ef8af94d",
          "\u003e= b5cbacd7f86f4f62b8813688c8e73be94e8e1951, \u003c 90f5e87c9b75833b9ef3a4415b92c0247f28ab2f",
          "\u003e= b5cbacd7f86f4f62b8813688c8e73be94e8e1951, \u003c 61dc9f776705d6db6847c101b98fa4f0e9eb6fa3",
          "\u003e= 6.12.70, \u003c 6.12.75",
          "\u003e= 6.18.10, \u003c 6.18.16"
        ],
        "fixed_in": [
          "f9fe092084cd04deea18747f58a2304026e76aaa",
          "8adaff87db143583e08eec4f4e7788f1ef8af94d",
          "90f5e87c9b75833b9ef3a4415b92c0247f28ab2f",
          "61dc9f776705d6db6847c101b98fa4f0e9eb6fa3",
          "6.12.75",
          "6.18.16"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.19"
        ],
        "fixed_in": [
          "0",
          "6.12.75",
          "6.18.16",
          "6.19.6",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to f9fe092084cd04deea18747f58a2304026e76aaa or 8adaff87db143583e08eec4f4e7788f1ef8af94d or 90f5e87c9b75833b9ef3a4415b92c0247f28ab2f or 61dc9f776705d6db6847c101b98fa4f0e9eb6fa3 or 6.12.75 or 6.18.16 or later.",
      "Upgrade Linux to 0 or 6.12.75 or 6.18.16 or 6.19.6 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
