{
  "id": "CVE-2026-72485",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-72485",
  "published_at": "2026-08-15T05:57:22.17Z",
  "title": "coresight: platform: defer connection counter increment until alloc succeeds",
  "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\ncoresight: platform: defer connection counter increment until alloc succeeds\n\ncoresight_add_out_conn() increments nr_outconns before calling\ndevm_krealloc_array() and again before devm_kmalloc(). If either\nallocation fails, the counter is already bumped while the corresponding\narray entry is NULL or uninitialized garbage.\n\ncoresight_add_in_conn() has the same problem with nr_inconns and\ndevm_krealloc_array().\n\nIn both cases the probe returns -ENOMEM, which causes\ncoresight_get_platform_data() to call coresight_release_platform_data()\nfor cleanup. That function iterates up to nr_outconns (or nr_inconns)\nentries and dereferences each pointer unconditionally, hitting the NULL\nor garbage entry and panicking instead of failing gracefully.\n\nFix by moving the counter increments to after all allocations succeed,\nso the struct is always consistent on any error path.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \u003c dd3c9e1c9858c797ba78f4ca6c0fc663eeac6d72",
          "\u003e= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \u003c aed6915c2f304ed34281856c53e374483c71b68b",
          "\u003e= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \u003c 09c44549820df67048be3ba19c723bac72ebb98e",
          "\u003e= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \u003c 8ca9adc805884d3bb5038082462577f86c2c4a10",
          "\u003e= 3d4ff657e454f8dba3e5e268e731e6e28c6031c1, \u003c 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae"
        ],
        "fixed_in": [
          "dd3c9e1c9858c797ba78f4ca6c0fc663eeac6d72",
          "aed6915c2f304ed34281856c53e374483c71b68b",
          "09c44549820df67048be3ba19c723bac72ebb98e",
          "8ca9adc805884d3bb5038082462577f86c2c4a10",
          "1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.5"
        ],
        "fixed_in": [
          "0",
          "6.6.158",
          "6.12.111",
          "6.18.53",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to dd3c9e1c9858c797ba78f4ca6c0fc663eeac6d72 or aed6915c2f304ed34281856c53e374483c71b68b or 09c44549820df67048be3ba19c723bac72ebb98e or 8ca9adc805884d3bb5038082462577f86c2c4a10 or 1563ae33dc4f5ebac96b93af2ef72e72aaaa31ae or later.",
      "Upgrade Linux to 0 or 6.6.158 or 6.12.111 or 6.18.53 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
