CVE-2022-49224

power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:55 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.10 ≤ v < 4.14.2764.15 ≤ v < 4.19.2384.20 ≤ v < 5.4.1894.9 ≤ v < 4.14.2764.9 ≤ v < 4.19.2384.9 ≤ v < 4.9.3114.9 ≤ v < 5.10.1104.9 ≤ v < 5.15.334.9 ≤ v < 5.16.194.9 ≤ v < 5.17.24.9 ≤ v < 5.184.9 ≤ v < 5.4.1895.11 ≤ v < 5.15.335.16 ≤ v < 5.16.195.17 ≤ v < 5.17.25.5 ≤ v < 5.10.1104.98c0984e5a75337df513047ec92a6c09d78e3e5cd
Vendor states this is fixed in 19aa3c98ed7b2616e105946cec804f897837ab84 (fixed)
Vendor states this is fixed in 261041097ab3470f1120b7733cbf472712304d1e (fixed)
Vendor states this is fixed in 31cdf7897dba1f096b74f69d840f0575b8cdb9ae (fixed)
Vendor states this is fixed in 41ed61364285ff38bbbe9ca8a45c8372ba72921d (fixed)
Vendor states this is fixed in 6a4760463dbc6b603690938c468839985189ce0a (fixed)
Vendor states this is fixed in 879356a6a05559582b0a7895d86d2d4359745c08 (fixed)
Vendor states this is fixed in c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1 (fixed)
Vendor states this is fixed in db3a61ef8e6aef3b888baa6a85926c2230c2cc56 (fixed)
Vendor states this is fixed in ffb8e92b4cef92bd25563cf3d8b4489eb22bc61f (fixed)
Vendor states this is fixed in 4.14.276 (unaffected)
Vendor states this is fixed in 4.19.238 (unaffected)
Vendor states this is fixed in 4.9 (unaffected)
Vendor states this is fixed in 4.9.311 (unaffected)
Vendor states this is fixed in 5.10.110 (unaffected)
Vendor states this is fixed in 5.15.33 (unaffected)
Vendor states this is fixed in 5.16.19 (unaffected)
Vendor states this is fixed in 5.17.2 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 5.4.189 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/19aa3c98ed7b2616e105946cec804f897837ab84
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/261041097ab3470f1120b7733cbf472712304d1e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/31cdf7897dba1f096b74f69d840f0575b8cdb9ae
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/41ed61364285ff38bbbe9ca8a45c8372ba72921d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6a4760463dbc6b603690938c468839985189ce0a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/879356a6a05559582b0a7895d86d2d4359745c08
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c32f6b6196b6efc1c68990dfeaac36fb8eb3b8e1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/db3a61ef8e6aef3b888baa6a85926c2230c2cc56

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card