# CVE-2026-63797: rpmsg: char: Fix use-after-free on probe error path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2026-07-19T12:02:05.227Z
- **Modified:** 2026-08-17T05:17:15.980Z

## Who should check

- Anyone running Linux \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< 1306fc4f76f765727a6d5aefbf08ef0c8f32996f; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< c5ebb06c7e24d531b68707168e04698859d642bc; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< 104d100212396801f1d9d388282f746e23e2bfd6; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< ff268cd9ccbce6472a0658791b417bf11c31ee39; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b
- Anyone running Linux 5.18

## 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.

## Affected and fixed versions

- Linux: \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< 1306fc4f76f765727a6d5aefbf08ef0c8f32996f; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< c5ebb06c7e24d531b68707168e04698859d642bc; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< 104d100212396801f1d9d388282f746e23e2bfd6; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< ff268cd9ccbce6472a0658791b417bf11c31ee39; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63797. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63797.md
Affected: Linux >= bc69d10665690492421d926b1cd9a7a36bffd691, < 1306fc4f76f765727a6d5aefbf08ef0c8f32996f; >= bc69d10665690492421d926b1cd9a7a36bffd691, < ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b; >= bc69d10665690492421d926b1cd9a7a36bffd691, < c5ebb06c7e24d531b68707168e04698859d642bc; >= bc69d10665690492421d926…
Fixed in: Linux 1306fc4f76f765727a6d5aefbf08ef0c8f32996f, Linux 104d100212396801f1d9d388282f746e23e2bfd6, Linux 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63797 being exploited?

There is no confirmed exploitation: CVE-2026-63797 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-63797?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-63797?

Linux \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< 1306fc4f76f765727a6d5aefbf08ef0c8f32996f; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< c5ebb06c7e24d531b68707168e04698859d642bc; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< 104d100212396801f1d9d388282f746e23e2bfd6; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< ff268cd9ccbce6472a0658791b417bf11c31ee39; \>= bc69d10665690492421d926b1cd9a7a36bffd691, \< 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b; Linux 5.18.

### Is there a fix for CVE-2026-63797?

Yes. Fixed in Linux 1306fc4f76f765727a6d5aefbf08ef0c8f32996f, Linux 104d100212396801f1d9d388282f746e23e2bfd6, Linux 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b. Upgrade Linux to 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b or later.

### How do I check if I'm affected by CVE-2026-63797?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1306fc4f76f765727a6d5aefbf08ef0c8f32996f>
- patch: <https://git.kernel.org/stable/c/ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b>
- patch: <https://git.kernel.org/stable/c/c5ebb06c7e24d531b68707168e04698859d642bc>
- patch: <https://git.kernel.org/stable/c/104d100212396801f1d9d388282f746e23e2bfd6>
- patch: <https://git.kernel.org/stable/c/ff268cd9ccbce6472a0658791b417bf11c31ee39>
- patch: <https://git.kernel.org/stable/c/1ff3f528e67d20e2b1483dcaba899dc7832b2e6b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63797>

HTML: <https://flawdb.com/CVE-2026-63797> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63797>
