CVE-2026-63797 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's rpmsg character device handling. When the rpmsg_chrdev_probe() function is called, it stores a pointer to a newly allocated endpoint device (eptdev) in the default endpoint's private data. If the subsequent call to rpmsg_chrdev_eptdev_add() fails, the eptdev is freed, but the default endpoint may still attempt to use the stale pointer, leading to potential memory corruption. This vulnerability affects the Linux kernel stable tree.
Users can upgrade to the latest patched version of the Linux kernel stable tree, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/104d100212396801f1d9d388282f746e23e2bfd6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/1306fc4f76f765727a6d5aefbf08ef0c8f32996f | kernel.org | Patch |
| https://git.kernel.org/stable/c/1ff3f528e67d20e2b1483dcaba899dc7832b2e6b | kernel.org | Patch |
| https://git.kernel.org/stable/c/c5ebb06c7e24d531b68707168e04698859d642bc | kernel.org | Patch |
| https://git.kernel.org/stable/c/ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b | kernel.org | Patch |
| https://git.kernel.org/stable/c/ff268cd9ccbce6472a0658791b417bf11c31ee39 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.18, < 6.1.178 >= 6.2, < 6.6.144 >= 6.7, < 6.12.95 >= 6.13, < 6.18.38 >= 6.19, < 7.1.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 17, 2026 | CVE Modified | kernel.org |
| Jul 30, 2026 | Initial Analysis | [email protected] |
| Jul 24, 2026 | CVE Modified | kernel.org |
| Jul 20, 2026 | CVE Modified | kernel.org |
| Jul 19, 2026 | New CVE Received | kernel.org |