CVE-2026-31730
misc: fastrpc: possible double-free of cctx->remote_heap
Check your servers for CVE-2026-31730
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31730 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.09% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0871561055e666da421d779397efcc1e5e964cab, before 4b8e527aca357a6488680713bd88007cf8f547fe affected from 0871561055e666da421d779397efcc1e5e964cab, before 0bdee4118340c5a756220c1b29a7dab86bb0aa65 affected from 0871561055e666da421d779397efcc1e5e964cab, before 3a164f640953cc982804746e772d379171aff5c6 affected from 0871561055e666da421d779397efcc1e5e964cab, before f67d368d26764a357691b2b3a33d3cb55b435bfc affected from 0871561055e666da421d779397efcc1e5e964cab, before ba2c83167b215da30fa2aae56b140198cf8d8408
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 6.6.134 up to and including 6.6.* unaffected from 6.12.81 up to and including 6.12.* unaffected from 6.18.22 up to and including 6.18.* unaffected from 6.19.12 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31730 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31730
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-31730
trivy image --scanners vuln IMAGE | grep CVE-2026-31730
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4b8e527aca357a6488680713bd88007cf8f547fe git.kernel.org
- https://git.kernel.org/stable/c/0bdee4118340c5a756220c1b29a7dab86bb0aa65 git.kernel.org
- https://git.kernel.org/stable/c/3a164f640953cc982804746e772d379171aff5c6 git.kernel.org
- https://git.kernel.org/stable/c/f67d368d26764a357691b2b3a33d3cb55b435bfc git.kernel.org
- https://git.kernel.org/stable/c/ba2c83167b215da30fa2aae56b140198cf8d8408 git.kernel.org
Source: the record CVE-2026-31730 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse