# CVE-2022-49224: power: supply: ab8500: Fix memory leak in ab8500\_fg\_sysfs\_init

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-02-26T01:55:54.755Z
- **Modified:** 2026-06-17T05:17:26.173Z

## Who should check

- Anyone running Linux \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 31cdf7897dba1f096b74f69d840f0575b8cdb9ae; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 19aa3c98ed7b2616e105946cec804f897837ab84; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< db3a61ef8e6aef3b888baa6a85926c2230c2cc56; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 41ed61364285ff38bbbe9ca8a45c8372ba72921d; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 879356a6a05559582b0a7895d86d2d4359745c08; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 261041097ab3470f1120b7733cbf472712304d1e; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 6a4760463dbc6b603690938c468839985189ce0a
- Anyone running Linux 4.9

## 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().

## Affected and fixed versions

- Linux: \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 31cdf7897dba1f096b74f69d840f0575b8cdb9ae; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 19aa3c98ed7b2616e105946cec804f897837ab84; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< db3a61ef8e6aef3b888baa6a85926c2230c2cc56; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 41ed61364285ff38bbbe9ca8a45c8372ba72921d; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 879356a6a05559582b0a7895d86d2d4359745c08; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 261041097ab3470f1120b7733cbf472712304d1e; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 6a4760463dbc6b603690938c468839985189ce0a (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 6a4760463dbc6b603690938c468839985189ce0a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49224. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49224.md
Affected: Linux >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 31cdf7897dba1f096b74f69d840f0575b8cdb9ae; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 19aa3c98ed7b2616e105946cec804f897837ab84; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < db3a61ef8e6aef3b888baa6a85926c2230c2cc56; >= 8c0984e5a75337df513047e…
Fixed in: Linux 31cdf7897dba1f096b74f69d840f0575b8cdb9ae, Linux 19aa3c98ed7b2616e105946cec804f897837ab84, Linux 41ed61364285ff38bbbe9ca8a45c8372ba72921d, Linux 879356a6a05559582b0a7895d86d2d4359745c08, Linux 261041097ab3470f1120b7733cbf472712304d1e, Linux 6a4760463dbc6b603690938c468839985189ce0a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49224 being exploited?

There is no confirmed exploitation: CVE-2022-49224 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49224?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49224?

Linux \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 31cdf7897dba1f096b74f69d840f0575b8cdb9ae; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 19aa3c98ed7b2616e105946cec804f897837ab84; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< db3a61ef8e6aef3b888baa6a85926c2230c2cc56; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 41ed61364285ff38bbbe9ca8a45c8372ba72921d; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 879356a6a05559582b0a7895d86d2d4359745c08; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 261041097ab3470f1120b7733cbf472712304d1e; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1; \>= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, \< 6a4760463dbc6b603690938c468839985189ce0a; Linux 4.9.

### Is there a fix for CVE-2022-49224?

Yes. Fixed in Linux 31cdf7897dba1f096b74f69d840f0575b8cdb9ae, Linux 19aa3c98ed7b2616e105946cec804f897837ab84, Linux 41ed61364285ff38bbbe9ca8a45c8372ba72921d, Linux 879356a6a05559582b0a7895d86d2d4359745c08, Linux 261041097ab3470f1120b7733cbf472712304d1e, Linux 6a4760463dbc6b603690938c468839985189ce0a. Upgrade Linux to 6a4760463dbc6b603690938c468839985189ce0a or later.

### How do I check if I'm affected by CVE-2022-49224?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49224>

HTML: <https://flawdb.com/CVE-2022-49224> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49224>
