CVE-2022-49915
JSON

5.5medium

mISDN: fix possible memory leak in mISDN_register_device()

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: mISDN: fix possible memory leak in mISDN_register_device() Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's bus_id string array"), the name of device is allocated dynamically, add put_device() to give up the reference, so that the name can be freed in kobject_cleanup() when the refcount is 0. Set device class before put_device() to avoid null release() function WARN message in device_release().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1fa5ae857bb14f6046205171d98506d8112dd74e before d1d1aede313eb2b9a84afd60ff6cfb7c33631e0e, from 1fa5ae857bb14f6046205171d98506d8112dd74e before 080aabfb29b2ee9cbb8894a1d039651943d3773e, from 1fa5ae857bb14f6046205171d98506d8112dd74e before a636fc5a7cabd05699b5692ad838c2c7a3abec7b, from 1fa5ae857bb14f6046205171d98506d8112dd74e before 2ff6b669523d3b3d253a044fa9636a67d0694995, from 1fa5ae857bb14f6046205171d98506d8112dd74e before e77d213843e67b4373285712699b692f9c743f61, from 1fa5ae857bb14f6046205171d98506d8112dd74e before 029d5b7688a2f3a86f2a3be5a6ba9cc968c80e41, from 1fa5ae857bb14f6046205171d98506d8112dd74e before 0d4e91efcaee081e919b3c50e875ecbb84290e41, from 1fa5ae857bb14f6046205171d98506d8112dd74e before e7d1d4d9ac0dfa40be4c2c8abd0731659869b297 and 1 more
Not affected: before 2.6.30, from 4.9.333 up to 4.9.*, from 4.14.299 up to 4.14.*, from 4.19.265 up to 4.19.*, from 5.4.224 up to 5.4.*, from 5.10.154 up to 5.10.*
CVE List
linux linux_kernelfrom 2.6.30 before 4.9.333, from 4.10 before 4.14.299, from 4.15 before 4.19.265, from 4.20 before 5.4.224, from 5.5 before 5.10.154, from 5.11 before 5.15.78, from 5.16 before 6.0.8, 6.1NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: mISDN: fix possible memory leak in mISDN_register_device() Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's bus_id string array"), the name of device is allocated dynamically, add put_device() to give up the reference, so that the name can be freed in kobject_cleanup() when the refcount is 0. Set device class before put_device() to avoid null release() function WARN message in device_release().

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mISDN: se corrige una posible pérdida de memoria en mISDN_register_device() Después de el commit 1fa5ae857bb1 ("núcleo del controlador: deshacerse de la matriz de cadenas bus_id del dispositivo de estructura"), el nombre del dispositivo se asigna dinámicamente, agregue put_device() para renunciar a la referencia, de modo que el nombre se pueda liberar en kobject_cleanup() cuando el refcount sea 0. Establezca la clase del dispositivo antes de put_device() para evitar el mensaje WARN de la función release() nula en device_release().

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49915 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49915 changed 2026-06-17Public domain