Use After Free in Linux
CVE-2026-63797
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.
Vulnerability class: Use-After-Free
EPSS: 0.001 (4.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 6.18.38, 7.2-rc1, 7.2
- Linux Linux_kernel
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-63797?
- CVE-2026-63797 is a high-severity vulnerability in Linux, classified under Use After Free. CVSS score: 8.4/10. Published 2026-07-19.
- How severe is CVE-2026-63797?
- High severity. CVSS v3 base score is 8.4 out of 10.