CVE-2022-49370

firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:11 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: firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle 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 this issue by calling kobject_put().

Affected

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

2.6.39 ≤ v < 4.14.2832.6.39 ≤ v < 4.19.2472.6.39 ≤ v < 4.9.3182.6.39 ≤ v < 5.10.1222.6.39 ≤ v < 5.15.472.6.39 ≤ v < 5.17.152.6.39 ≤ v < 5.18.42.6.39 ≤ v < 5.192.6.39 ≤ v < 5.4.1984.10 ≤ v < 4.14.2834.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.475.16 ≤ v < 5.17.155.18 ≤ v < 5.18.45.5 ≤ v < 5.10.1222.6.39948af1f0bbc8526448e8cbe3f8d3bf211bdf5181
Vendor states this is fixed in 3ba359ebe914ac3f8c6c832b28007c14c39d3766 (fixed)
Vendor states this is fixed in 660ba678f9998aca6db74f2dd912fa5124f0fa31 (fixed)
Vendor states this is fixed in 985706bd3bbeffc8737bc05965ca8d24837bc7db (fixed)
Vendor states this is fixed in a724634b2a49f6ff0177a9e19a5a92fc1545e1b7 (fixed)
Vendor states this is fixed in a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725 (fixed)
Vendor states this is fixed in c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d (fixed)
Vendor states this is fixed in ec752973aa721ee281d5441e497364637c626c7b (fixed)
Vendor states this is fixed in ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef (fixed)
Vendor states this is fixed in fdffa4ad8f6bf1ece877edfb807f2b2c729d8578 (fixed)
Vendor states this is fixed in 2.6.39 (unaffected)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 4.9.318 (unaffected)
Vendor states this is fixed in 5.10.122 (unaffected)
Vendor states this is fixed in 5.15.47 (unaffected)
Vendor states this is fixed in 5.17.15 (unaffected)
Vendor states this is fixed in 5.18.4 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3ba359ebe914ac3f8c6c832b28007c14c39d3766
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/660ba678f9998aca6db74f2dd912fa5124f0fa31
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/985706bd3bbeffc8737bc05965ca8d24837bc7db
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a724634b2a49f6ff0177a9e19a5a92fc1545e1b7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ec752973aa721ee281d5441e497364637c626c7b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef

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