CVE-2022-49370
published 2025-02-26CVE-2022-49370: 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()…
PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.29%
21.4th percentile
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
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.5-1 (bookworm) | linux 5.18.5-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 < a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725 | a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725 |
| linux | linux | >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 < ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef | ed38d04342dfbe9e5aca745c8b5eb4188a74f0ef |
| linux | linux | >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 < c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d | c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0d |
| linux | linux | >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 < a724634b2a49f6ff0177a9e19a5a92fc1545e1b7 | a724634b2a49f6ff0177a9e19a5a92fc1545e1b7 |
| linux | linux | >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 < 985706bd3bbeffc8737bc05965ca8d24837bc7db | 985706bd3bbeffc8737bc05965ca8d24837bc7db |
| linux | linux | >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 < fdffa4ad8f6bf1ece877edfb807f2b2c729d8578 | fdffa4ad8f6bf1ece877edfb807f2b2c729d8578 |
| linux | linux | >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 < 3ba359ebe914ac3f8c6c832b28007c14c39d3766 | 3ba359ebe914ac3f8c6c832b28007c14c39d3766 |
| linux | linux | >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 < ec752973aa721ee281d5441e497364637c626c7b | ec752973aa721ee281d5441e497364637c626c7b |
| linux | linux | >= 948af1f0bbc8526448e8cbe3f8d3bf211bdf5181 < 660ba678f9998aca6db74f2dd912fa5124f0fa31 | 660ba678f9998aca6db74f2dd912fa5124f0fa31 |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 2.6.39 < 4.9.318 | 4.9.318 |
| linux | linux_kernel | >= 4.10 < 4.14.283 | 4.14.283 |
| linux | linux_kernel | >= 4.15 < 4.19.247 | 4.19.247 |
| linux | linux_kernel | >= 4.20 < 5.4.198 | 5.4.198 |
| linux | linux_kernel | >= 5.11 < 5.15.47 | 5.15.47 |
| linux | linux_kernel | >= 5.16 < 5.17.15 | 5.17.15 |
| linux | linux_kernel | >= 5.18 < 5.18.4 | 5.18.4 |
| linux | linux_kernel | >= 5.5 < 5.10.122 | 5.10.122 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-hqj3-8v2m-82w8: In the Linux kernel, the following vulnerability has been resolved:
firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle
kobject_init_a
ghsa_unreviewed·2025-04-14
CVE-2022-49370 [MEDIUM] CWE-401 GHSA-hqj3-8v2m-82w8: In the Linux kernel, the following vulnerability has been resolved:
firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle
kobject_init_a
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().
OSV
CVE-2022-49370: In the Linux kernel, the following vulnerability has been resolved: firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle kobject_init_and
osv·2025-02-26·CVSS 5.5
CVE-2022-49370 [MEDIUM] CVE-2022-49370: In the Linux kernel, the following vulnerability has been resolved: firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle kobject_init_and
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().
Red Hat
kernel: firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49370 [MEDIUM] kernel: firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle
kernel: firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle
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().
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel-rt (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 8) - Out of s
Debian
CVE-2022-49370: linux - In the Linux kernel, the following vulnerability has been resolved: firmware: d...
vendor_debian·2022·CVSS 5.5
CVE-2022-49370 [MEDIUM] CVE-2022-49370: linux - In the Linux kernel, the following vulnerability has been resolved: firmware: d...
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().
Scope: local
bookworm: resolved (fixed in 5.18.5-1)
bullseye: resolved (fixed in 5.10.127-1)
forky: resolved (fixed in 5.18.5-1)
sid: resolved (fixed in 5.18.5-1)
trixie: resolved (fixed in 5.18.5-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/3ba359ebe914ac3f8c6c832b28007c14c39d3766https://git.kernel.org/stable/c/660ba678f9998aca6db74f2dd912fa5124f0fa31https://git.kernel.org/stable/c/985706bd3bbeffc8737bc05965ca8d24837bc7dbhttps://git.kernel.org/stable/c/a724634b2a49f6ff0177a9e19a5a92fc1545e1b7https://git.kernel.org/stable/c/a9bfb37d6ba7c376b0d53337a4c5f5ff324bd725https://git.kernel.org/stable/c/c66cc3c62870a27ea8f060a7e4c1ad8d26dd3f0dhttps://git.kernel.org/stable/c/ec752973aa721ee281d5441e497364637c626c7bhttps://git.kernel.org/stable/c/ed38d04342dfbe9e5aca745c8b5eb4188a74f0efhttps://git.kernel.org/stable/c/fdffa4ad8f6bf1ece877edfb807f2b2c729d8578
2025-02-26
Published