{
  "cveId": "CVE-2022-49436",
  "url": "https://patchblox.com/security/cve/CVE-2022-49436",
  "summary": "CVE-2022-49436 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49436, released February 26, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  powerpc/papr_scm: Fix leaking nvdimm_events_map...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  powerpc/papr_scm: Fix leaking nvdimm_events_map elements  Right now \u0027char *\u0027 elements allocated for individual \u0027stat_id\u0027 in \u0027papr_scm_priv.nvdimm_events_map[]\u0027 during papr_scm_pmu_check_events(), get leaked in papr_scm_remove() and papr_scm_pmu_register(), papr_scm_pmu_check_events() error paths.  Also individual \u0027stat_id\u0027 arent NULL terminated \u0027char *\u0027 instead they are fixed 8-byte sized identifiers. However papr_scm_pmu_register() assumes it to be a NULL terminated \u0027char *\u0027 and at other places it assumes it to be a \u0027papr_scm_perf_stat.stat_id\u0027 sized string which is 8-byes in size.  Fix this by allocating the memory for papr_scm_priv.nvdimm_events_map to also include space for \u0027stat_id\u0027 entries. This is possible since number of available events/stat_ids are known upfront. This saves some memory and one extra level of indirection from \u0027nvdimm_events_map\u0027 to \u0027stat_id\u0027. Also rest of the code can continue to call \u0027kfree(papr_scm_priv.nvdimm_events_map)\u0027 without needing to iterate over the array and free up individual elements.",
  "published": "2025-02-26T07:01:20Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00222,
  "epssPercentile": 0.12909,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.18.5-1",
      "fix": "DEBIAN-CVE-2022-49436",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49436",
      "released": "2025-02-26T07:01:20Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.18.5-1",
      "fix": "DEBIAN-CVE-2022-49436",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49436",
      "released": "2025-02-26T07:01:20Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.18.5-1",
      "fix": "DEBIAN-CVE-2022-49436",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49436",
      "released": "2025-02-26T07:01:20Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T00:53:09Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}