5.5medium
hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new() As comment of pci_get_domain_bus_and_slot() says, it returns a pci device with refcount increment, when finish using it, the caller must decrement the reference count by calling pci_dev_put(). So call it after using to avoid refcount leak.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 14513ee696a0cd12a19318e433b75a786808adc3 before bb75a0d1223d43f97089841aecb28a9b4de687a9, from 14513ee696a0cd12a19318e433b75a786808adc3 before 0dd1da5a15eeecb2fe4cf131b3216fb455af783c, from 14513ee696a0cd12a19318e433b75a786808adc3 before 2f74cffc7c85f770b1b1833dccb03b8cde3be102, from 14513ee696a0cd12a19318e433b75a786808adc3 before ea5844f946b1ec5c0b7c115cd7684f34fd48021b, from 14513ee696a0cd12a19318e433b75a786808adc3 before c40db1e5f316792b557d2be37e447c20d9ac4635, from 14513ee696a0cd12a19318e433b75a786808adc3 before 6e035d5a2a6b907cfce9a80c5f442c2e459cd34e, from 14513ee696a0cd12a19318e433b75a786808adc3 before f598da27acbeee414679cacd14294db3e273e3d2, from 14513ee696a0cd12a19318e433b75a786808adc3 before 7dec14537c5906b8bf40fd6fd6d9c3850f8df11d and 1 more Not affected: before 3.14, from 4.9.335 up to 4.9.*, from 4.14.301 up to 4.14.*, from 4.19.268 up to 4.19.*, from 5.4.226 up to 5.4.*, from 5.10.158 up to 5.10.* | CVE List |
| linux linux_kernel | from 3.14 before 4.9.335, from 4.10 before 4.14.301, from 4.15 before 4.19.268, from 4.20 before 5.4.226, from 5.5 before 5.10.158, from 5.11 before 5.15.82, from 5.16 before 6.0.12, 6.1 | NVD |
Classification
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: hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new() As comment of pci_get_domain_bus_and_slot() says, it returns a pci device with refcount increment, when finish using it, the caller must decrement the reference count by calling pci_dev_put(). So call it after using to avoid refcount leak.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: hwmon: (coretemp) corrige la pérdida de recuento de referencias del dispositivo pci en nv1a_ram_new() Como dice el comentario de pci_get_domain_bus_and_slot(), devuelve un dispositivo pci con un incremento de recuento de referencias, cuando termina de usarlo, el llamador debe disminuir el recuento de referencias llamando a pci_dev_put(). Por lo tanto, llámelo después de usarlo para evitar la pérdida de recuento de referencias.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49011 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-49011 changed 2026-06-17 | Public domain |