{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2022-49836", "ASSIGNER": "cve@kernel.org", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsiox: fix possible memory leak in siox_device_add()\n\nIf device_register() returns error in siox_device_add(),\nthe name allocated by dev_set_name() need be freed. As\ncomment of device_register() says, it should use put_device()\nto give up the reference in the error path. So fix this\nby calling put_device(), then the name can be freed in\nkobject_cleanup(), and sdevice is freed in siox_device_release(),\nset it to null in error path." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "Linux", "product": { "product_data": [ { "product_name": "Linux", "version": { "version_data": [ { "version_affected": "<", "version_name": "bbecb07fa0af9a41507ce06d4631fdb3b5059417", "version_value": "0a5da069603ecc3d7aa09167450235462adaa295" }, { "version_value": "not down converted", "x_cve_json_5_version_data": { "versions": [ { "version": "4.16", "status": "affected" }, { "version": "0", "lessThan": "4.16", "status": "unaffected", "versionType": "semver" }, { "version": "4.19.267", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.225", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.156", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.80", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.0.10", "lessThanOrEqual": "6.0.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ], "defaultStatus": "affected" } } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://git.kernel.org/stable/c/0a5da069603ecc3d7aa09167450235462adaa295", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/0a5da069603ecc3d7aa09167450235462adaa295" }, { "url": "https://git.kernel.org/stable/c/f9fe7ba4ea5b24ffdf8e125f660aca3ba4a147fb", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/f9fe7ba4ea5b24ffdf8e125f660aca3ba4a147fb" }, { "url": "https://git.kernel.org/stable/c/a4b5423f88a17a36550ae8c16c46779b1ee42f4b", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/a4b5423f88a17a36550ae8c16c46779b1ee42f4b" }, { "url": "https://git.kernel.org/stable/c/5d03c2911c529ea4d6ebfec53425f1091e8d402b", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/5d03c2911c529ea4d6ebfec53425f1091e8d402b" }, { "url": "https://git.kernel.org/stable/c/d9c31e728843259209fb530c59995e4fe262699f", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/d9c31e728843259209fb530c59995e4fe262699f" }, { "url": "https://git.kernel.org/stable/c/6e63153db50059fb78b8a8447b132664887d24e3", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/6e63153db50059fb78b8a8447b132664887d24e3" } ] }, "generator": { "engine": "bippy-1.1.0" } }