CVE-2026-63797
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
19/07/2026
Last modified:
20/07/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
rpmsg: char: Fix use-after-free on probe error path<br />
<br />
rpmsg_chrdev_probe() stores the newly allocated eptdev in the default<br />
endpoint&#39;s priv pointer before calling rpmsg_chrdev_eptdev_add(). If<br />
rpmsg_chrdev_eptdev_add() then fails, its error path frees eptdev while<br />
the default endpoint may still dispatch callbacks with the stale priv<br />
pointer.<br />
<br />
Avoid publishing eptdev through the default endpoint until<br />
rpmsg_chrdev_eptdev_add() succeeds. Messages received before the priv<br />
pointer is published should be ignored by rpmsg_ept_cb(). Flow-control<br />
updates can hit rpmsg_ept_flow_cb() in the same window, so make both<br />
callbacks return success when priv is NULL.
Impact
Base Score 3.x
8.40
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/104d100212396801f1d9d388282f746e23e2bfd6
- https://git.kernel.org/stable/c/1ff3f528e67d20e2b1483dcaba899dc7832b2e6b
- https://git.kernel.org/stable/c/c5ebb06c7e24d531b68707168e04698859d642bc
- https://git.kernel.org/stable/c/ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b
- https://git.kernel.org/stable/c/ff268cd9ccbce6472a0658791b417bf11c31ee39



