{
  "id": "CVE-2026-31730",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31730",
  "published_at": "2026-05-01T14:14:29.522Z",
  "title": "misc: fastrpc: possible double-free of cctx-\u003eremote_heap",
  "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\nmisc: fastrpc: possible double-free of cctx-\u003eremote_heap\n\nfastrpc_init_create_static_process() may free cctx-\u003eremote_heap on the\nerr_map path but does not clear the pointer. Later, fastrpc_rpmsg_remove()\nfrees cctx-\u003eremote_heap again if it is non-NULL, which can lead to a\ndouble-free if the INIT_CREATE_STATIC ioctl hits the error path and the rpmsg\ndevice is subsequently removed/unbound.\nClear cctx-\u003eremote_heap after freeing it in the error path to prevent the\nlater cleanup from freeing it again.\n\nThis issue was found by an in-house analysis workflow that extracts AST-based\ninformation and runs static checks, with LLM assistance for triage, and was\nconfirmed by manual code review.\nNo hardware testing was performed.",
  "cwe": "CWE-415",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 0871561055e666da421d779397efcc1e5e964cab, \u003c 4b8e527aca357a6488680713bd88007cf8f547fe",
          "\u003e= 0871561055e666da421d779397efcc1e5e964cab, \u003c 0bdee4118340c5a756220c1b29a7dab86bb0aa65",
          "\u003e= 0871561055e666da421d779397efcc1e5e964cab, \u003c 3a164f640953cc982804746e772d379171aff5c6",
          "\u003e= 0871561055e666da421d779397efcc1e5e964cab, \u003c f67d368d26764a357691b2b3a33d3cb55b435bfc",
          "\u003e= 0871561055e666da421d779397efcc1e5e964cab, \u003c ba2c83167b215da30fa2aae56b140198cf8d8408"
        ],
        "fixed_in": [
          "4b8e527aca357a6488680713bd88007cf8f547fe",
          "0bdee4118340c5a756220c1b29a7dab86bb0aa65",
          "3a164f640953cc982804746e772d379171aff5c6",
          "f67d368d26764a357691b2b3a33d3cb55b435bfc",
          "ba2c83167b215da30fa2aae56b140198cf8d8408"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.2"
        ],
        "fixed_in": [
          "0",
          "6.6.134",
          "6.12.81",
          "6.18.22",
          "6.19.12",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4b8e527aca357a6488680713bd88007cf8f547fe or 0bdee4118340c5a756220c1b29a7dab86bb0aa65 or 3a164f640953cc982804746e772d379171aff5c6 or f67d368d26764a357691b2b3a33d3cb55b435bfc or ba2c83167b215da30fa2aae56b140198cf8d8408 or later.",
      "Upgrade Linux to 0 or 6.6.134 or 6.12.81 or 6.18.22 or 6.19.12 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
