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.
References (6)
Core 6
Core References
Scores
CVSS v3
8.4
EPSS
0.0014
EPSS Percentile
3.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-416
Status
published
Products (21)
linux/Kernel
5.18.0 - 6.1.178linux
linux/Kernel
5.18.0 - 6.6.144linux
linux/Kernel
6.13.0 - 6.18.38linux
linux/Kernel
6.19.0 - 7.1.3linux
linux/Kernel
6.2.0 - 6.6.144linux
linux/Kernel
6.7.0 - 6.12.95linux
Linux/Linux
< 5.18
Linux/Linux
5.18
Linux/Linux
6.1.178 - 6.1.*
Linux/Linux
6.12.95 - 6.12.*
... and 11 more
Published
Jul 19, 2026
Tracked Since
Jul 19, 2026