{"id":"CVE-2026-31730","published":"2026-05-01T14:14:29Z","modified":"2026-08-05T12:24:51Z","title":"misc: fastrpc: possible double-free of cctx->remote_heap","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: fastrpc: possible double-free of cctx->remote_heap\n\nfastrpc_init_create_static_process() may free cctx->remote_heap on the\nerr_map path but does not clear the pointer. Later, fastrpc_rpmsg_remove()\nfrees cctx->remote_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->remote_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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00175,"percentile":0.0409,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4b8e527aca357a6488680713bd88007cf8f547fe","tags":[]},{"url":"https://git.kernel.org/stable/c/0bdee4118340c5a756220c1b29a7dab86bb0aa65","tags":[]},{"url":"https://git.kernel.org/stable/c/3a164f640953cc982804746e772d379171aff5c6","tags":[]},{"url":"https://git.kernel.org/stable/c/f67d368d26764a357691b2b3a33d3cb55b435bfc","tags":[]},{"url":"https://git.kernel.org/stable/c/ba2c83167b215da30fa2aae56b140198cf8d8408","tags":[]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":0.82},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0871561055e666da421d779397efcc1e5e964cab, < 4b8e527aca357a6488680713bd88007cf8f547fe",">= 0871561055e666da421d779397efcc1e5e964cab, < 0bdee4118340c5a756220c1b29a7dab86bb0aa65",">= 0871561055e666da421d779397efcc1e5e964cab, < 3a164f640953cc982804746e772d379171aff5c6",">= 0871561055e666da421d779397efcc1e5e964cab, < f67d368d26764a357691b2b3a33d3cb55b435bfc",">= 0871561055e666da421d779397efcc1e5e964cab, < ba2c83167b215da30fa2aae56b140198cf8d8408"]},{"vendor":"Linux","product":"Linux","versions":["6.2"]}],"euvd":{"id":"EUVD-2026-26543","exploited":false,"provenance":"source"}}