CVE-2022-50669

Source
https://cve.org/CVERecord?id=CVE-2022-50669
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50669.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50669
Downstream
Related
Published
2025-12-09T01:29:20.745Z
Modified
2026-03-20T11:47:34.595701Z
Summary
misc: ocxl: fix possible name leak in ocxl_file_register_afu()
Details

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

misc: ocxl: fix possible name leak in ocxlfileregister_afu()

If deviceregister() returns error in ocxlfileregisterafu(), the name allocated by devsetname() need be freed. As comment of deviceregister() says, it should use putdevice() to give up the reference in the error path. So fix this by calling putdevice(), then the name can be freed in kobjectcleanup(), and info is freed in info_release().

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50669.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
75ca758adbafc81804c39b2c200ecdc819a6c042
Fixed
0cd05062371a49774e8a45258bdedf0bd6d3d327
Fixed
7525741cb302a1672b8c3a5edb2a08e4229b5c7c
Fixed
3299983a6bf628249ac650908e62d12de959341e
Fixed
557b7de055d1e230ddb6664c29d26917b8db9143
Fixed
2fce8b3583d1641a1716486f408478b58e96ec91
Fixed
a4cb1004aeed2ab893a058fad00a5b41a12c4691

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

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