{"id":"CVE-2022-49224","aliases":["CVE-2022-49224"],"related":[],"kind":"vulnerability","state":"published","title":"power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init\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 memory leak by calling kobject_put().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init\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 memory leak by calling kobject_put().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: power: supply: ab8500: Se corrige la pérdida de memoria en ab8500_fg_sysfs_init kobject_init_and_add() toma la referencia incluso cuando falla. Según la documentación de kobject_init_and_add(): Si esta función devuelve un error, se debe llamar a kobject_put() para limpiar correctamente la memoria asociada con el objeto. Corrija la pérdida de memoria llamando a kobject_put().","source":"nvd"}],"published":"2025-02-26T01:55:54.755Z","modified":"2026-06-17T05:17:26.173Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"8c0984e5a75337df513047ec92a6c09d78e3e5cd","fixed":"31cdf7897dba1f096b74f69d840f0575b8cdb9ae","status":"affected"},{"type":"git","introduced":"8c0984e5a75337df513047ec92a6c09d78e3e5cd","fixed":"19aa3c98ed7b2616e105946cec804f897837ab84","status":"affected"},{"type":"git","introduced":"8c0984e5a75337df513047ec92a6c09d78e3e5cd","fixed":"db3a61ef8e6aef3b888baa6a85926c2230c2cc56","status":"affected"},{"type":"git","introduced":"8c0984e5a75337df513047ec92a6c09d78e3e5cd","fixed":"41ed61364285ff38bbbe9ca8a45c8372ba72921d","status":"affected"},{"type":"git","introduced":"8c0984e5a75337df513047ec92a6c09d78e3e5cd","fixed":"879356a6a05559582b0a7895d86d2d4359745c08","status":"affected"},{"type":"git","introduced":"8c0984e5a75337df513047ec92a6c09d78e3e5cd","fixed":"ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f","status":"affected"},{"type":"git","introduced":"8c0984e5a75337df513047ec92a6c09d78e3e5cd","fixed":"261041097ab3470f1120b7733cbf472712304d1e","status":"affected"},{"type":"git","introduced":"8c0984e5a75337df513047ec92a6c09d78e3e5cd","fixed":"c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1","status":"affected"},{"type":"git","introduced":"8c0984e5a75337df513047ec92a6c09d78e3e5cd","fixed":"6a4760463dbc6b603690938c468839985189ce0a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.9","status":"unaffected"},{"type":"semver","introduced":"4.9.311","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.276","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.238","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.189","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.110","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.33","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.19","lastAffected":"5.16.*","status":"unaffected"},{"type":"semver","introduced":"5.17.2","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.9","fixed":"4.9.311"},{"status":"affected","introduced":"4.10","fixed":"4.14.276"},{"status":"affected","introduced":"4.15","fixed":"4.19.238"},{"status":"affected","introduced":"4.20","fixed":"5.4.189"},{"status":"affected","introduced":"5.5","fixed":"5.10.110"},{"status":"affected","introduced":"5.11","fixed":"5.15.33"},{"status":"affected","introduced":"5.16","fixed":"5.16.19"},{"status":"affected","introduced":"5.17","fixed":"5.17.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/31cdf7897dba1f096b74f69d840f0575b8cdb9ae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19aa3c98ed7b2616e105946cec804f897837ab84","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db3a61ef8e6aef3b888baa6a85926c2230c2cc56","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41ed61364285ff38bbbe9ca8a45c8372ba72921d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/879356a6a05559582b0a7895d86d2d4359745c08","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/261041097ab3470f1120b7733cbf472712304d1e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a4760463dbc6b603690938c468839985189ce0a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:46:22.689Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49224","url":"https://www.cve.org/CVERecord?id=CVE-2022-49224","licence":"CVE Terms of Use","modified":"2026-05-11T18:55:32.947Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49224","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49224","licence":"Public domain","modified":"2026-06-17T05:17:26.173Z"}],"updatedAt":"2026-11-25T22:58:20.303Z","epss":{"score":0.00268,"percentile":0.20263,"date":"2026-12-01T12:00:22.000Z"}}