CVE-2026-31730
misc: fastrpc: possible double-free of cctx->remote_heap
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 0871561055e666da421d779397efcc1e5e964cab, < 4b8e527aca357a6488680713bd88007cf8f547fe; >= 0871561055e666da421d779397efcc1e5e964cab, < 0bdee4118340c5a756220c1b29a7dab86bb0aa65; >= 0871561055e666da421d779397efcc1e5e964cab, < 3a164f640953cc982804746e772d379171aff5c6; >= 0871561055e666da421d779397efcc1e5e964cab, < f67d368d26764a357691b2b3a33d3cb55b435bfc; >= 0871561055e666da421d779397efcc1e5e964cab, < ba2c83167b215da30fa2aae56b140198cf8d8408
- Anyone running Linux 6.2
Vulnerability facts
- Affected
- Linux >= 0871561055e666da421d779397efcc1e5e964cab, < 4b8e527aca357a6488680713bd88007cf8f547fe; >= 0871561055e666da421d779397efcc1e5e964cab, < 0bdee4118340c5a756220c1b29a7dab86bb0aa65; >= 0871561055e666da421d779397efcc1e5e964cab, < 3a164f640953cc982804746e772d379171aff5c6; >= 0871561055e666da421d779397efcc1e5e964cab, < f67d368d26764a357691b2b3a33d3cb55b435bfc; >= 0871561055e666da421d779397efcc1e5e964cab, < ba2c83167b215da30fa2aae56b140198cf8d8408; Linux 6.2
- Fixed in
- Linux 4b8e527aca357a6488680713bd88007cf8f547fe, Linux 0bdee4118340c5a756220c1b29a7dab86bb0aa65, Linux 3a164f640953cc982804746e772d379171aff5c6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-415
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: possible double-free of cctx->remote_heap fastrpc_init_create_static_process() may free cctx->remote_heap on the err_map path but does not clear the pointer. Later, fastrpc_rpmsg_remove() frees cctx->remote_heap again if it is non-NULL, which can lead to a double-free if the INIT_CREATE_STATIC ioctl hits the error path and the rpmsg device is subsequently removed/unbound. Clear cctx->remote_heap after freeing it in the error path to prevent the later cleanup from freeing it again. This issue was found by an in-house analysis workflow that extracts AST-based information and runs static checks, with LLM assistance for triage, and was confirmed by manual code review. No hardware testing was performed.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 0871561055e666da421d779397efcc1e5e964cab, < 4b8e527aca357a6488680713bd88007cf8f547fe; >= 0871561055e666da421d779397efcc1e5e964cab, < 0bdee4118340c5a756220c1b29a7dab86bb0aa65; >= 0871561055e666da421d779397efcc1e5e964cab, < 3a164f640953cc982804746e772d379171aff5c6; >= 0871561055e666da421d779397efcc1e5e964cab, < f67d368d26764a357691b2b3a33d3cb55b435bfc; >= 0871561055e666da421d779397efcc1e5e964cab, < ba2c83167b215da30fa2aae56b140198cf8d8408 | — | cvelist |
| Linux | 6.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-31730. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-31730.md Affected: Linux >= 0871561055e666da421d779397efcc1e5e964cab, < 4b8e527aca357a6488680713bd88007cf8f547fe; >= 0871561055e666da421d779397efcc1e5e964cab, < 0bdee4118340c5a756220c1b29a7dab86bb0aa65; >= 0871561055e666da421d779397efcc1e5e964cab, < 3a164f640953cc982804746e772d379171aff5c6; >= 0871561055e666da421d779… Fixed in: Linux 4b8e527aca357a6488680713bd88007cf8f547fe, Linux 0bdee4118340c5a756220c1b29a7dab86bb0aa65, Linux 3a164f640953cc982804746e772d379171aff5c6 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/4b8e527aca357a6488680713bd88007cf8f547fe
- https://git.kernel.org/stable/c/0bdee4118340c5a756220c1b29a7dab86bb0aa65
- https://git.kernel.org/stable/c/3a164f640953cc982804746e772d379171aff5c6
- https://git.kernel.org/stable/c/f67d368d26764a357691b2b3a33d3cb55b435bfc
- https://git.kernel.org/stable/c/ba2c83167b215da30fa2aae56b140198cf8d8408
FAQ
Is CVE-2026-31730 being exploited?
There is no confirmed exploitation: CVE-2026-31730 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-31730?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-31730?
Linux >= 0871561055e666da421d779397efcc1e5e964cab, < 4b8e527aca357a6488680713bd88007cf8f547fe; >= 0871561055e666da421d779397efcc1e5e964cab, < 0bdee4118340c5a756220c1b29a7dab86bb0aa65; >= 0871561055e666da421d779397efcc1e5e964cab, < 3a164f640953cc982804746e772d379171aff5c6; >= 0871561055e666da421d779397efcc1e5e964cab, < f67d368d26764a357691b2b3a33d3cb55b435bfc; >= 0871561055e666da421d779397efcc1e5e964cab, < ba2c83167b215da30fa2aae56b140198cf8d8408; Linux 6.2.
Is there a fix for CVE-2026-31730?
Yes. Fixed in Linux 4b8e527aca357a6488680713bd88007cf8f547fe, Linux 0bdee4118340c5a756220c1b29a7dab86bb0aa65, Linux 3a164f640953cc982804746e772d379171aff5c6. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-31730?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.