CVE-2026-63797
rpmsg: char: Fix use-after-free on probe error path
Reported by linux · Published July 19, 2026
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.
EPSS 0.15% · 3.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.1.3, 6.18.38, 6.12.95, 6.6.144, 6.1.178 |
| Linux | Linux | ff268cd9ccbce6472a0658791b417bf11c31ee39, ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b, c5ebb06c7e24d531b68707168e04698859d642bc, 5.18, 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b, 1306fc4f76f765727a6d5aefbf08ef0c8f32996f, 104d100212396801f1d9d388282f746e23e2bfd6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | bc69d10665690492421d926b1cd9a7a36bffd691, bc69d10665690492421d926b1cd9a7a36bffd691, bc69d10665690492421d926b1cd9a7a36bffd691 |
| Linux | Linux | 5.18, 0, 6.1.178 |
| Linux | Linux | 7.2, 0, 6.6.144 |
| linux | linux_kernel | 5.18, 5.18, 5.18 |
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Security Advisory (31 in total, the first dated here)
- Aug 7, 2026 EPSS Score (10 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
- Aug 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-63797
vulnetix vdb fixes CVE-2026-63797
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-63797/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart