CVE-2026-63797
Received Received - Intake

Use-After-Free in Linux Kernel RPMsg Char Device

Vulnerability report for CVE-2026-63797, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-19

Last updated on: 2026-07-19

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: rpmsg: char: Fix use-after-free on probe error path rpmsg_chrdev_probe() stores the newly allocated eptdev in the default endpoint's priv pointer before calling rpmsg_chrdev_eptdev_add(). If rpmsg_chrdev_eptdev_add() then fails, its error path frees eptdev while the default endpoint may still dispatch callbacks with the stale priv pointer. Avoid publishing eptdev through the default endpoint until rpmsg_chrdev_eptdev_add() succeeds. Messages received before the priv pointer is published should be ignored by rpmsg_ept_cb(). Flow-control updates can hit rpmsg_ept_flow_cb() in the same window, so make both callbacks return success when priv is NULL.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-19
Last Modified
2026-07-19
Generated
2026-07-20
AI Q&A
2026-07-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a use-after-free issue in the Linux kernel's RPMSG subsystem. It occurs when the rpmsg_chrdev_probe function stores a newly allocated endpoint device in a default endpoint's private pointer before successfully adding it. If the addition fails, the endpoint device is freed while the default endpoint may still try to use the stale pointer, leading to potential memory corruption or crashes.

Detection Guidance

This vulnerability is specific to the Linux kernel's RPMSG subsystem and does not have a direct network-based detection method. It requires kernel-level inspection. Check if your kernel version includes the fix by running: uname -a. If your kernel version is below the patched version, the vulnerability may exist.

Impact Analysis

This vulnerability could cause system instability, crashes, or unexpected behavior in systems running vulnerable Linux kernel versions. It may lead to denial-of-service conditions or potential privilege escalation if exploited maliciously.

Compliance Impact

This vulnerability does not directly affect compliance with standards like GDPR or HIPAA as it is a use-after-free issue in the Linux kernel's rpmsg subsystem. It may indirectly impact compliance if exploited to cause system instability or crashes, potentially affecting data processing or availability.

Mitigation Strategies

Update your Linux kernel to the latest stable version that includes the fix for this vulnerability. Monitor kernel security advisories and apply patches promptly. If immediate patching is not possible, consider disabling RPMSG-related modules if they are not essential to your system.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-63797. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart