{"id":"CVE-2022-50311","aliases":["CVE-2022-50311"],"related":[],"kind":"vulnerability","state":"published","title":"cxl: Fix refcount leak in cxl_calc_capp_routing","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl: Fix refcount leak in cxl_calc_capp_routing\n\nof_get_next_parent() returns a node pointer with refcount incremented,\nwe should use of_node_put() on it when not need anymore.\nThis function only calls of_node_put() in normal path,\nmissing it in the error path.\nAdd missing of_node_put() to avoid refcount leak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl: Fix refcount leak in cxl_calc_capp_routing\n\nof_get_next_parent() returns a node pointer with refcount incremented,\nwe should use of_node_put() on it when not need anymore.\nThis function only calls of_node_put() in normal path,\nmissing it in the error path.\nAdd missing of_node_put() to avoid refcount leak.","source":"cvelist"}],"published":"2025-09-15T14:46:06.504Z","modified":"2026-11-05T20:17:33.707Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f24be42aab37c6d07c05126673138e06223a6399","fixed":"c9bebc503881c1391f6c4f820134884adecf1519","status":"affected"},{"type":"git","introduced":"f24be42aab37c6d07c05126673138e06223a6399","fixed":"ee870f72465015327ad96204b0e92450d04870cd","status":"affected"},{"type":"git","introduced":"f24be42aab37c6d07c05126673138e06223a6399","fixed":"f2d60f6ba173cded65081cee690b67802395a479","status":"affected"},{"type":"git","introduced":"f24be42aab37c6d07c05126673138e06223a6399","fixed":"81c8bbf5b2b5f0c8030fff1716c00849cda8571a","status":"affected"},{"type":"git","introduced":"f24be42aab37c6d07c05126673138e06223a6399","fixed":"6a310e8db5409676b4b3e6c1f54dff174e4fd04d","status":"affected"},{"type":"git","introduced":"f24be42aab37c6d07c05126673138e06223a6399","fixed":"651e8bc9d0418c20a1989b7c078c64c2a6346fa3","status":"affected"},{"type":"git","introduced":"f24be42aab37c6d07c05126673138e06223a6399","fixed":"2d7b6580384e6d65419933ddc525bd176095da54","status":"affected"},{"type":"git","introduced":"f24be42aab37c6d07c05126673138e06223a6399","fixed":"1d09697ff22908ae487fc8c4fbde1811732be523","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.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":"4.12","fixed":"4.14.303"},{"status":"affected","introduced":"4.15","fixed":"4.19.270"},{"status":"affected","introduced":"4.20","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c9bebc503881c1391f6c4f820134884adecf1519","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee870f72465015327ad96204b0e92450d04870cd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f2d60f6ba173cded65081cee690b67802395a479","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81c8bbf5b2b5f0c8030fff1716c00849cda8571a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a310e8db5409676b4b3e6c1f54dff174e4fd04d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/651e8bc9d0418c20a1989b7c078c64c2a6346fa3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2d7b6580384e6d65419933ddc525bd176095da54","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d09697ff22908ae487fc8c4fbde1811732be523","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:09:29.663Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50311","url":"https://www.cve.org/CVERecord?id=CVE-2022-50311","licence":"CVE Terms of Use","modified":"2026-11-05T20:10:34.210Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50311","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50311","licence":"Public domain","modified":"2026-11-05T20:17:33.707Z"}],"updatedAt":"2026-11-25T22:58:21.159Z","epss":{"score":0.00167,"percentile":0.06228,"date":"2026-12-01T12:00:22.000Z"}}