{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2022-50311", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-09-15T14:18:36.813Z", "datePublished": "2025-09-15T14:46:06.504Z", "dateUpdated": "2026-05-11T19:16:51.472Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T19:16:51.472Z" }, "descriptions": [ { "lang": "en", "value": "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." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/misc/cxl/pci.c" ], "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" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/misc/cxl/pci.c" ], "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" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "4.14.303" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "4.19.270" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "5.4.229" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "5.10.163" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "5.15.86" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "6.0.16" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "6.1.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.12", "versionEndExcluding": "6.2" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/c9bebc503881c1391f6c4f820134884adecf1519" }, { "url": "https://git.kernel.org/stable/c/ee870f72465015327ad96204b0e92450d04870cd" }, { "url": "https://git.kernel.org/stable/c/f2d60f6ba173cded65081cee690b67802395a479" }, { "url": "https://git.kernel.org/stable/c/81c8bbf5b2b5f0c8030fff1716c00849cda8571a" }, { "url": "https://git.kernel.org/stable/c/6a310e8db5409676b4b3e6c1f54dff174e4fd04d" }, { "url": "https://git.kernel.org/stable/c/651e8bc9d0418c20a1989b7c078c64c2a6346fa3" }, { "url": "https://git.kernel.org/stable/c/2d7b6580384e6d65419933ddc525bd176095da54" }, { "url": "https://git.kernel.org/stable/c/1d09697ff22908ae487fc8c4fbde1811732be523" } ], "title": "cxl: Fix refcount leak in cxl_calc_capp_routing", "x_generator": { "engine": "bippy-1.2.0" } } } }