{
  "id": "CVE-2026-63797",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-63797",
  "published_at": "2026-07-19T12:02:05.227Z",
  "title": "rpmsg: char: Fix use-after-free on probe error path",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.4,
    "nvd": 8.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= bc69d10665690492421d926b1cd9a7a36bffd691, \u003c 1306fc4f76f765727a6d5aefbf08ef0c8f32996f",
          "\u003e= bc69d10665690492421d926b1cd9a7a36bffd691, \u003c ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b",
          "\u003e= bc69d10665690492421d926b1cd9a7a36bffd691, \u003c c5ebb06c7e24d531b68707168e04698859d642bc",
          "\u003e= bc69d10665690492421d926b1cd9a7a36bffd691, \u003c 104d100212396801f1d9d388282f746e23e2bfd6",
          "\u003e= bc69d10665690492421d926b1cd9a7a36bffd691, \u003c ff268cd9ccbce6472a0658791b417bf11c31ee39",
          "\u003e= bc69d10665690492421d926b1cd9a7a36bffd691, \u003c 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b"
        ],
        "fixed_in": [
          "1306fc4f76f765727a6d5aefbf08ef0c8f32996f",
          "ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b",
          "c5ebb06c7e24d531b68707168e04698859d642bc",
          "104d100212396801f1d9d388282f746e23e2bfd6",
          "ff268cd9ccbce6472a0658791b417bf11c31ee39",
          "1ff3f528e67d20e2b1483dcaba899dc7832b2e6b"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.18"
        ],
        "fixed_in": [
          "0",
          "6.1.178",
          "6.6.144",
          "6.12.95",
          "6.18.38",
          "7.1.3",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 1306fc4f76f765727a6d5aefbf08ef0c8f32996f or ddf13f91ca82c94ef7ad9c41a434a03313f8eb1b or c5ebb06c7e24d531b68707168e04698859d642bc or 104d100212396801f1d9d388282f746e23e2bfd6 or ff268cd9ccbce6472a0658791b417bf11c31ee39 or 1ff3f528e67d20e2b1483dcaba899dc7832b2e6b or later.",
      "Upgrade Linux to 0 or 6.1.178 or 6.6.144 or 6.12.95 or 6.18.38 or 7.1.3 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
