{"id":"CVE-2022-49370","summary":"firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle\n\nkobject_init_and_add() takes reference even when it fails.\nAccording to the doc of kobject_init_and_add()\n\n   If this function returns an error, kobject_put() must be called to\n   properly clean up the memory associated with the object.\n\nFix this issue by calling kobject_put().","modified":"2026-04-02T08:27:31.569282Z","published":"2025-02-26T02:11:13.176Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1","SUSE-SU-2025:1293-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49370.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3ba359ebe914ac3f8c6c832b28007c14c39d3766"},{"type":"WEB","url":"https://git.kernel.org/stable/c/660ba678f9998aca6db74f2dd912fa5124f0fa31"},{"type":"WEB","url":"https://git.kernel.org/stable/c/985706bd3bbeffc8737bc05965ca8d24837bc7db"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a724634b2a49f6ff0177a9e19a5a92fc1545e1b7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec752973aa721ee281d5441e497364637c626c7b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fdffa4ad8f6bf1ece877edfb807f2b2c729d8578"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49370.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49370"},{"type":"PACKAGE","url":"https://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":"948af1f0bbc8526448e8cbe3f8d3bf211bdf5181"},{"fixed":"a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725"},{"fixed":"ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef"},{"fixed":"c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d"},{"fixed":"a724634b2a49f6ff0177a9e19a5a92fc1545e1b7"},{"fixed":"985706bd3bbeffc8737bc05965ca8d24837bc7db"},{"fixed":"fdffa4ad8f6bf1ece877edfb807f2b2c729d8578"},{"fixed":"3ba359ebe914ac3f8c6c832b28007c14c39d3766"},{"fixed":"ec752973aa721ee281d5441e497364637c626c7b"},{"fixed":"660ba678f9998aca6db74f2dd912fa5124f0fa31"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49370.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}