{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2022-50669", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-12-09T01:26:45.990Z", "datePublished": "2025-12-09T01:29:20.745Z", "dateUpdated": "2026-05-11T19:23:20.227Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T19:23:20.227Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: ocxl: fix possible name leak in ocxl_file_register_afu()\n\nIf device_register() returns error in ocxl_file_register_afu(),\nthe name allocated by dev_set_name() need be freed. As comment\nof device_register() says, it should use put_device() to give\nup the reference in the error path. So fix this by calling\nput_device(), then the name can be freed in kobject_cleanup(),\nand info is freed in info_release()." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/misc/ocxl/file.c" ], "versions": [ { "version": "75ca758adbafc81804c39b2c200ecdc819a6c042", "lessThan": "0cd05062371a49774e8a45258bdedf0bd6d3d327", "status": "affected", "versionType": "git" }, { "version": "75ca758adbafc81804c39b2c200ecdc819a6c042", "lessThan": "7525741cb302a1672b8c3a5edb2a08e4229b5c7c", "status": "affected", "versionType": "git" }, { "version": "75ca758adbafc81804c39b2c200ecdc819a6c042", "lessThan": "3299983a6bf628249ac650908e62d12de959341e", "status": "affected", "versionType": "git" }, { "version": "75ca758adbafc81804c39b2c200ecdc819a6c042", "lessThan": "557b7de055d1e230ddb6664c29d26917b8db9143", "status": "affected", "versionType": "git" }, { "version": "75ca758adbafc81804c39b2c200ecdc819a6c042", "lessThan": "2fce8b3583d1641a1716486f408478b58e96ec91", "status": "affected", "versionType": "git" }, { "version": "75ca758adbafc81804c39b2c200ecdc819a6c042", "lessThan": "a4cb1004aeed2ab893a058fad00a5b41a12c4691", "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/ocxl/file.c" ], "versions": [ { "version": "5.2", "status": "affected" }, { "version": "0", "lessThan": "5.2", "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": "5.2", "versionEndExcluding": "5.4.229" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.2", "versionEndExcluding": "5.10.163" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.2", "versionEndExcluding": "5.15.86" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.2", "versionEndExcluding": "6.0.16" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.2", "versionEndExcluding": "6.1.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.2", "versionEndExcluding": "6.2" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/0cd05062371a49774e8a45258bdedf0bd6d3d327" }, { "url": "https://git.kernel.org/stable/c/7525741cb302a1672b8c3a5edb2a08e4229b5c7c" }, { "url": "https://git.kernel.org/stable/c/3299983a6bf628249ac650908e62d12de959341e" }, { "url": "https://git.kernel.org/stable/c/557b7de055d1e230ddb6664c29d26917b8db9143" }, { "url": "https://git.kernel.org/stable/c/2fce8b3583d1641a1716486f408478b58e96ec91" }, { "url": "https://git.kernel.org/stable/c/a4cb1004aeed2ab893a058fad00a5b41a12c4691" } ], "title": "misc: ocxl: fix possible name leak in ocxl_file_register_afu()", "x_generator": { "engine": "bippy-1.2.0" } } } }