# CVE-2022-49224: power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-02-26T01:55:54.755Z
- Modified: 2026-06-17T05:17:26.173Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init

kobject_init_and_add() takes reference even when it fails.
According to the doc of kobject_init_and_add()：

   If this function returns an error, kobject_put() must be called to
   properly clean up the memory associated with the object.

Fix memory leak by calling kobject_put().

(As written by CVE List.)

## Affected

- Linux Linux: from 8c0984e5a75337df513047ec92a6c09d78e3e5cd before 31cdf7897dba1f096b74f69d840f0575b8cdb9ae; from 8c0984e5a75337df513047ec92a6c09d78e3e5cd before 19aa3c98ed7b2616e105946cec804f897837ab84; from 8c0984e5a75337df513047ec92a6c09d78e3e5cd before db3a61ef8e6aef3b888baa6a85926c2230c2cc56; from 8c0984e5a75337df513047ec92a6c09d78e3e5cd before 41ed61364285ff38bbbe9ca8a45c8372ba72921d; from 8c0984e5a75337df513047ec92a6c09d78e3e5cd before 879356a6a05559582b0a7895d86d2d4359745c08; from 8c0984e5a75337df513047ec92a6c09d78e3e5cd before ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f; from 8c0984e5a75337df513047ec92a6c09d78e3e5cd before 261041097ab3470f1120b7733cbf472712304d1e; from 8c0984e5a75337df513047ec92a6c09d78e3e5cd before c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1; from 8c0984e5a75337df513047ec92a6c09d78e3e5cd before 6a4760463dbc6b603690938c468839985189ce0a; 4.9 (not affected: before 4.9; from 4.9.311 up to 4.9.*; from 4.14.276 up to 4.14.*; from 4.19.238 up to 4.19.*; from 5.4.189 up to 5.4.*; from 5.10.110 up to 5.10.*; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 4.9 before 4.9.311; from 4.10 before 4.14.276; from 4.15 before 4.19.238; from 4.20 before 5.4.189; from 5.5 before 5.10.110; from 5.11 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/31cdf7897dba1f096b74f69d840f0575b8cdb9ae> (patch)
- <https://git.kernel.org/stable/c/19aa3c98ed7b2616e105946cec804f897837ab84> (patch)
- <https://git.kernel.org/stable/c/db3a61ef8e6aef3b888baa6a85926c2230c2cc56> (patch)
- <https://git.kernel.org/stable/c/41ed61364285ff38bbbe9ca8a45c8372ba72921d> (patch)
- <https://git.kernel.org/stable/c/879356a6a05559582b0a7895d86d2d4359745c08> (patch)
- <https://git.kernel.org/stable/c/ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f> (patch)
- <https://git.kernel.org/stable/c/261041097ab3470f1120b7733cbf472712304d1e> (patch)
- <https://git.kernel.org/stable/c/c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1> (patch)
- <https://git.kernel.org/stable/c/6a4760463dbc6b603690938c468839985189ce0a> (patch)

## Sources

- CVE List: [CVE-2022-49224](https://www.cve.org/CVERecord?id=CVE-2022-49224), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49224](https://nvd.nist.gov/vuln/detail/CVE-2022-49224), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49224 · Whole record: https://cve.day/CVE-2022-49224.json · Rebuilt by cve.day 2026-11-25T22:58:20.303Z
