CVE-2022-50311

Source
https://cve.org/CVERecord?id=CVE-2022-50311
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50311.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50311
Downstream
Related
Published
2025-09-15T14:46:06.504Z
Modified
2026-04-02T08:28:24.575671Z
Summary
cxl: Fix refcount leak in cxl_calc_capp_routing
Details

In the Linux kernel, the following vulnerability has been resolved:

cxl: Fix refcount leak in cxlcalccapp_routing

ofgetnextparent() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. This function only calls ofnodeput() in normal path, missing it in the error path. Add missing ofnode_put() to avoid refcount leak.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50311.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
f24be42aab37c6d07c05126673138e06223a6399
Fixed
c9bebc503881c1391f6c4f820134884adecf1519
Fixed
ee870f72465015327ad96204b0e92450d04870cd
Fixed
f2d60f6ba173cded65081cee690b67802395a479
Fixed
81c8bbf5b2b5f0c8030fff1716c00849cda8571a
Fixed
6a310e8db5409676b4b3e6c1f54dff174e4fd04d
Fixed
651e8bc9d0418c20a1989b7c078c64c2a6346fa3
Fixed
2d7b6580384e6d65419933ddc525bd176095da54
Fixed
1d09697ff22908ae487fc8c4fbde1811732be523

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50311.json"