{"id":"CVE-2026-63797","aliases":["CVE-2026-63797"],"related":[],"kind":"vulnerability","state":"published","title":"rpmsg: char: Fix use-after-free on probe error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrpmsg: char: Fix use-after-free on probe error path\n\nrpmsg_chrdev_probe() stores the newly allocated eptdev in the default\nendpoint's priv pointer before calling rpmsg_chrdev_eptdev_add(). If\nrpmsg_chrdev_eptdev_add() then fails, its error path frees eptdev while\nthe default endpoint may still dispatch callbacks with the stale priv\npointer.\n\nAvoid publishing eptdev through the default endpoint until\nrpmsg_chrdev_eptdev_add() succeeds. Messages received before the priv\npointer is published should be ignored by rpmsg_ept_cb(). Flow-control\nupdates can hit rpmsg_ept_flow_cb() in the same window, so make both\ncallbacks return success when priv is NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrpmsg: char: Fix use-after-free on probe error path\n\nrpmsg_chrdev_probe() stores the newly allocated eptdev in the default\nendpoint's priv pointer before calling rpmsg_chrdev_eptdev_add(). If\nrpmsg_chrdev_eptdev_add() then fails, its error path frees eptdev while\nthe default endpoint may still dispatch callbacks with the stale priv\npointer.\n\nAvoid publishing eptdev through the default endpoint until\nrpmsg_chrdev_eptdev_add() succeeds. Messages received before the priv\npointer is published should be ignored by rpmsg_ept_cb(). Flow-control\nupdates can hit rpmsg_ept_flow_cb() in the same window, so make both\ncallbacks return success when priv is NULL.","source":"cvelist"}],"published":"2026-07-19T12:02:05.227Z","modified":"2026-08-17T05:17:15.980Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"bc69d10665690492421d926b1cd9a7a36bffd691","fixed":"1306fc4f76f765727a6d5aefbf08ef0c8f32996f","status":"affected"},{"type":"git","introduced":"bc69d10665690492421d926b1cd9a7a36bffd691","fixed":"ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b","status":"affected"},{"type":"git","introduced":"bc69d10665690492421d926b1cd9a7a36bffd691","fixed":"c5ebb06c7e24d531b68707168e04698859d642bc","status":"affected"},{"type":"git","introduced":"bc69d10665690492421d926b1cd9a7a36bffd691","fixed":"104d100212396801f1d9d388282f746e23e2bfd6","status":"affected"},{"type":"git","introduced":"bc69d10665690492421d926b1cd9a7a36bffd691","fixed":"ff268cd9ccbce6472a0658791b417bf11c31ee39","status":"affected"},{"type":"git","introduced":"bc69d10665690492421d926b1cd9a7a36bffd691","fixed":"1ff3f528e67d20e2b1483dcaba899dc7832b2e6b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.144","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.95","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.38","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.3","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.18","fixed":"6.1.178"},{"status":"affected","introduced":"6.2","fixed":"6.6.144"},{"status":"affected","introduced":"6.7","fixed":"6.12.95"},{"status":"affected","introduced":"6.13","fixed":"6.18.38"},{"status":"affected","introduced":"6.19","fixed":"7.1.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1306fc4f76f765727a6d5aefbf08ef0c8f32996f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c5ebb06c7e24d531b68707168e04698859d642bc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/104d100212396801f1d9d388282f746e23e2bfd6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff268cd9ccbce6472a0658791b417bf11c31ee39","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ff3f528e67d20e2b1483dcaba899dc7832b2e6b","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63797","url":"https://www.cve.org/CVERecord?id=CVE-2026-63797","licence":"CVE Terms of Use","modified":"2026-08-17T04:51:02.287Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63797","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63797","licence":"Public domain","modified":"2026-08-17T05:17:15.980Z"}],"updatedAt":"2026-11-25T22:59:28.711Z","epss":{"score":0.00146,"percentile":0.04027,"date":"2026-12-01T12:00:22.000Z"}}