CyberSecBulletin
CVE-2026-31730NVD status: Modified

Linux: Double Free

CVE-2026-31730 is a high-severity double free vulnerability in Linux, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 4b8e527aca357a6488680713bd88007cf8f547fe, 0bdee4118340c5a756220c1b29a7dab86bb0aa65, 3a164f640953cc982804746e772d379171aff5c6 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.13% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to 4b8e527aca357a6488680713bd88007cf8f547fe or 0bdee4118340c5a756220c1b29a7dab86bb0aa65 or 3a164f640953cc982804746e772d379171aff5c6 or f67d368d26764a357691b2b3a33d3cb55b435bfc, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 6.6.134 or 6.12.81 or 6.18.22 or 6.19.12, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux0871561055e666da421d779397efcc1e5e964cab up to, but not including, 4b8e527aca357a6488680713bd88007cf8f547fe; 0871561055e666da421d779397efcc1e5e964cab up to, but not including, 0bdee4118340c5a756220c1b29a7dab86bb0aa65; 0871561055e666da421d779397efcc1e5e964cab up to, but not including, 3a164f640953cc982804746e772d379171aff5c6; 0871561055e666da421d779397efcc1e5e964cab up to, but not including, f67d368d26764a357691b2b3a33d3cb55b435bfc; 0871561055e666da421d779397efcc1e5e964cab up to, but not including, ba2c83167b215da30fa2aae56b140198cf8d8408; 6.24b8e527aca357a6488680713bd88007cf8f547fe, 0bdee4118340c5a756220c1b29a7dab86bb0aa65, 3a164f640953cc982804746e772d379171aff5c6, f67d368d26764a357691b2b3a33d3cb55b435bfc, ba2c83167b215da30fa2aae56b140198cf8d8408
LinuxLinux Kernel6.2 up to, but not including, 6.6.134; 6.7 up to, but not including, 6.12.81; 6.13 up to, but not including, 6.18.22; 6.19 up to, but not including, 6.19.12; 7.06.6.134, 6.12.81, 6.18.22, 6.19.12

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.8HighCNA
CVSS 3.17.8HighNVD

Official 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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Double Free

The product calls free() twice on the same memory address.

How developers prevent this class of flaw

  • Choose a language that provides automatic memory management.
  • Ensure that each allocation is freed only once. After freeing a chunk, set the pointer to NULL to ensure the pointer cannot be freed again. In complicated error conditions, be sure that clean-up routines respect the state of allocation properly. If the language is object oriented, ensure that object destructors delete each chunk of memory only once.
  • Use a static analysis tool to find double free instances.

More Double Free vulnerabilities (CWE-415)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Recent Double Free vulnerabilities

Spotted an error? Tell us.