CVE-2022-49915

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().
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*

History

07 May 2025, 13:26

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/029d5b7688a2f3a86f2a3be5a6ba9cc968c80e41 - () https://git.kernel.org/stable/c/029d5b7688a2f3a86f2a3be5a6ba9cc968c80e41 - Patch
References () https://git.kernel.org/stable/c/080aabfb29b2ee9cbb8894a1d039651943d3773e - () https://git.kernel.org/stable/c/080aabfb29b2ee9cbb8894a1d039651943d3773e - Patch
References () https://git.kernel.org/stable/c/0d4e91efcaee081e919b3c50e875ecbb84290e41 - () https://git.kernel.org/stable/c/0d4e91efcaee081e919b3c50e875ecbb84290e41 - Patch
References () https://git.kernel.org/stable/c/2ff6b669523d3b3d253a044fa9636a67d0694995 - () https://git.kernel.org/stable/c/2ff6b669523d3b3d253a044fa9636a67d0694995 - Patch
References () https://git.kernel.org/stable/c/a636fc5a7cabd05699b5692ad838c2c7a3abec7b - () https://git.kernel.org/stable/c/a636fc5a7cabd05699b5692ad838c2c7a3abec7b - Patch
References () https://git.kernel.org/stable/c/d1d1aede313eb2b9a84afd60ff6cfb7c33631e0e - () https://git.kernel.org/stable/c/d1d1aede313eb2b9a84afd60ff6cfb7c33631e0e - Patch
References () https://git.kernel.org/stable/c/e77d213843e67b4373285712699b692f9c743f61 - () https://git.kernel.org/stable/c/e77d213843e67b4373285712699b692f9c743f61 - Patch
References () https://git.kernel.org/stable/c/e7d1d4d9ac0dfa40be4c2c8abd0731659869b297 - () https://git.kernel.org/stable/c/e7d1d4d9ac0dfa40be4c2c8abd0731659869b297 - Patch
CWE CWE-401
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

02 May 2025, 13:52

Type Values Removed Values Added
Summary
  • (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().

01 May 2025, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-01 15:16

Updated : 2025-05-07 13:26


NVD link : CVE-2022-49915

Mitre link : CVE-2022-49915

CVE.ORG link : CVE-2022-49915


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime