{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50311","id":"CVE-2022-50311","title":"cxl: Fix refcount leak in cxl_calc_capp_routing","description":"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.","descriptionLong":"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.","published":"2025-09-15T14:46:06.504Z","updated":"2026-11-07T02:30:35.571213952Z","reserved":"2025-09-15T14:18:36.813Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f24be42aab37c6d07c05126673138e06223a6399","lessThan":"c9bebc503881c1391f6c4f820134884adecf1519","status":"affected","versionType":"git"},{"version":"f24be42aab37c6d07c05126673138e06223a6399","lessThan":"ee870f72465015327ad96204b0e92450d04870cd","status":"affected","versionType":"git"},{"version":"f24be42aab37c6d07c05126673138e06223a6399","lessThan":"f2d60f6ba173cded65081cee690b67802395a479","status":"affected","versionType":"git"},{"version":"f24be42aab37c6d07c05126673138e06223a6399","lessThan":"81c8bbf5b2b5f0c8030fff1716c00849cda8571a","status":"affected","versionType":"git"},{"version":"f24be42aab37c6d07c05126673138e06223a6399","lessThan":"6a310e8db5409676b4b3e6c1f54dff174e4fd04d","status":"affected","versionType":"git"},{"version":"f24be42aab37c6d07c05126673138e06223a6399","lessThan":"651e8bc9d0418c20a1989b7c078c64c2a6346fa3","status":"affected","versionType":"git"},{"version":"f24be42aab37c6d07c05126673138e06223a6399","lessThan":"2d7b6580384e6d65419933ddc525bd176095da54","status":"affected","versionType":"git"},{"version":"f24be42aab37c6d07c05126673138e06223a6399","lessThan":"1d09697ff22908ae487fc8c4fbde1811732be523","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","lessThan":"4.12","status":"unaffected","versionType":"semver"},{"version":"4.14.303","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.270","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c9bebc503881c1391f6c4f820134884adecf1519","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ee870f72465015327ad96204b0e92450d04870cd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f2d60f6ba173cded65081cee690b67802395a479","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/81c8bbf5b2b5f0c8030fff1716c00849cda8571a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6a310e8db5409676b4b3e6c1f54dff174e4fd04d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/651e8bc9d0418c20a1989b7c078c64c2a6346fa3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2d7b6580384e6d65419933ddc525bd176095da54","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1d09697ff22908ae487fc8c4fbde1811732be523","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50311.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50311","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00166,"epssPercentile":0.05975,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50311","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50311","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50311","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50311","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}