CVE
CVE-2026-63797
CNA 原文 · 原文(英文)
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.
受影响版本
- ≥ 6.19, < 7.1.3修复版本 7.1.3
- ≥ 6.13, < 6.18.38修复版本 6.18.38
- ≥ 6.7, < 6.12.95修复版本 6.12.95
- ≥ 6.2, < 6.6.144修复版本 6.6.144
- ≥ 5.18, < 6.1.178修复版本 6.1.178
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/104d100212396801f1d9d388282f746e23e2bfd6 · Patch
- git.kernel.org/stable/c/1306fc4f76f765727a6d5aefbf08ef0c8f32996f · Patch
- git.kernel.org/stable/c/1ff3f528e67d20e2b1483dcaba899dc7832b2e6b · Patch
- git.kernel.org/stable/c/c5ebb06c7e24d531b68707168e04698859d642bc · Patch
- git.kernel.org/stable/c/ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b · Patch
- git.kernel.org/stable/c/ff268cd9ccbce6472a0658791b417bf11c31ee39 · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。