CVE-2026-63797

published 19 Jul 2026 · updated 17 Aug 2026

rpmsg: char: Fix use-after-free on probe error path

8.4HighCVSS 8.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 104d100212396801f1d9d388282f746e23e2bfd6, Kernel 1306fc4f76f765727a6d5aefbf08ef0c8f32996f, Kernel 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.18, >=bc69d10665690492421d926b1cd9a7a36bffd691 <104d100212396801f1d9d388282f746e23e2bfd6, >=bc69d10665690492421d926b1cd9a7a36bffd691 <1306fc4f76f765727a6d5aefbf08ef0c8f32996f, >=bc69d10665690492421d926b1cd9a7a36bffd691 <1ff3f528e67d20e2b1483dcaba899dc7832b2e6b, >=bc69d10665690492421d926b1cd9a7a36bffd691 <c5ebb06c7e24d531b68707168e04698859d642bc, >=bc69d10665690492421d926b1cd9a7a36bffd691 <ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b, >=bc69d10665690492421d926b1cd9a7a36bffd691 <ff268cd9ccbce6472a0658791b417bf11c31ee39104d100212396801f1d9d388282f746e23e2bfd6, 1306fc4f76f765727a6d5aefbf08ef0c8f32996f, 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b, c5ebb06c7e24d531b68707168e04698859d642bc, ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b, ff268cd9ccbce6472a0658791b417bf11c31ee39

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-63797 severity on Zeptric[![CVE-2026-63797](https://zeptric.io/badge/cve/CVE-2026-63797.svg)](https://zeptric.io/cve/CVE-2026-63797)