Kernel memory corruption via stale FastRPC pointer
Published May 1, 2026 · Updated May 1, 2026
A double-free in Linux Kernel 6.2 and later allows local users with root privileges to corrupt kernel memory through a FastRPC ioctl. The err_map path in fastrpc_init_create_static_process() frees cctx->remote_heap without clearing it, so fastrpc_rpmsg_remove() later frees the stale pointer again. Triggering requires access to the mode-0600 FastRPC device, an INIT_CREATE_STATIC ioctl error, and subsequent removal or unbinding of the rpmsg device.
Summary
What happened
A double-free in Linux Kernel 6.2 and later allows local users with root privileges to corrupt kernel memory through a FastRPC ioctl. The err_map path in fastrpc_init_create_static_process() frees cctx->remote_heap without clearing it, so fastrpc_rpmsg_remove() later frees the stale pointer again. Triggering requires access to the mode-0600 FastRPC device, an INIT_CREATE_STATIC ioctl error, and subsequent removal or unbinding of the rpmsg device.
The record
- CVE
- CVE-2026-31730
- Published
- May 1, 2026
- Updated
- May 1, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-415
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- May 1, 2026CVE publishedPublication date reported by the CVE source.
- May 1, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0871561055e666da421d779397efcc1e5e964cab <0bdee4118340c5a756220c1b29a7dab86bb0aa65
- Affected versionversion=0871561055e666da421d779397efcc1e5e964cab <3a164f640953cc982804746e772d379171aff5c6
- Affected versionversion=0871561055e666da421d779397efcc1e5e964cab <4b8e527aca357a6488680713bd88007cf8f547fe
- Affected versionversion=0871561055e666da421d779397efcc1e5e964cab <ba2c83167b215da30fa2aae56b140198cf8d8408
- Affected versionversion=0871561055e666da421d779397efcc1e5e964cab <f67d368d26764a357691b2b3a33d3cb55b435bfc
- Affected versionversion=6.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo