CVE-2026-63797

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

HIGH
8.4
CVSS Score
Published: July 19, 2026 at 12:02 PM UTC
Updated: August 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.4
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.18 ≤ v < 6.1.1785.18 ≤ v < 6.12.955.18 ≤ v < 6.18.385.18 ≤ v < 6.6.1445.18 ≤ v < 7.1.35.18 ≤ v < 7.26.13 ≤ v < 6.18.386.19 ≤ v < 7.1.36.2 ≤ v < 6.6.1446.7 ≤ v < 6.12.955.18bc69d10665690492421d926b1cd9a7a36bffd691
Vendor states this is fixed in 104d100212396801f1d9d388282f746e23e2bfd6 (fixed)
Vendor states this is fixed in 1306fc4f76f765727a6d5aefbf08ef0c8f32996f (fixed)
Vendor states this is fixed in 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b (fixed)
Vendor states this is fixed in c5ebb06c7e24d531b68707168e04698859d642bc (fixed)
Vendor states this is fixed in ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b (fixed)
Vendor states this is fixed in ff268cd9ccbce6472a0658791b417bf11c31ee39 (fixed)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.95 (unaffected)
Vendor states this is fixed in 6.18.38 (unaffected)
Vendor states this is fixed in 6.6.144 (unaffected)
Vendor states this is fixed in 7.1.3 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

CVSS

8.4HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card