CVE-2022-49224
power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
Mitigation
- Upgrade Linux to 6a4760463dbc6b603690938c468839985189ce0a or later.
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
Vulnerability facts
- Affected
- Linux >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 31cdf7897dba1f096b74f69d840f0575b8cdb9ae; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 19aa3c98ed7b2616e105946cec804f897837ab84; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < db3a61ef8e6aef3b888baa6a85926c2230c2cc56; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 41ed61364285ff38bbbe9ca8a45c8372ba72921d; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 879356a6a05559582b0a7895d86d2d4359745c08; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 261041097ab3470f1120b7733cbf472712304d1e; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 6a4760463dbc6b603690938c468839985189ce0a; Linux 4.9
- Fixed in
- Linux 31cdf7897dba1f096b74f69d840f0575b8cdb9ae, Linux 19aa3c98ed7b2616e105946cec804f897837ab84, Linux 41ed61364285ff38bbbe9ca8a45c8372ba72921d, Linux 879356a6a05559582b0a7895d86d2d4359745c08, Linux 261041097ab3470f1120b7733cbf472712304d1e, Linux 6a4760463dbc6b603690938c468839985189ce0a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-401
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 31cdf7897dba1f096b74f69d840f0575b8cdb9ae; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 19aa3c98ed7b2616e105946cec804f897837ab84; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < db3a61ef8e6aef3b888baa6a85926c2230c2cc56; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 41ed61364285ff38bbbe9ca8a45c8372ba72921d; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 879356a6a05559582b0a7895d86d2d4359745c08; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 261041097ab3470f1120b7733cbf472712304d1e; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1; >= 8c0984e5a75337df513047ec92a6c09d78e3e5cd, < 6a4760463dbc6b603690938c468839985189ce0a | — | cvelist |
| Linux | 4.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/31cdf7897dba1f096b74f69d840f0575b8cdb9ae
- https://git.kernel.org/stable/c/19aa3c98ed7b2616e105946cec804f897837ab84
- https://git.kernel.org/stable/c/db3a61ef8e6aef3b888baa6a85926c2230c2cc56
- https://git.kernel.org/stable/c/41ed61364285ff38bbbe9ca8a45c8372ba72921d
- https://git.kernel.org/stable/c/879356a6a05559582b0a7895d86d2d4359745c08
- https://git.kernel.org/stable/c/ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f
- https://git.kernel.org/stable/c/261041097ab3470f1120b7733cbf472712304d1e
- https://git.kernel.org/stable/c/c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1
- https://git.kernel.org/stable/c/6a4760463dbc6b603690938c468839985189ce0a
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.