hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
References
- https://git.kernel.org/stable/c/bb75a0d1223d43f97089841aecb28a9b4de687a9
- https://git.kernel.org/stable/c/0dd1da5a15eeecb2fe4cf131b3216fb455af783c
- https://git.kernel.org/stable/c/2f74cffc7c85f770b1b1833dccb03b8cde3be102
- https://git.kernel.org/stable/c/ea5844f946b1ec5c0b7c115cd7684f34fd48021b
- https://git.kernel.org/stable/c/c40db1e5f316792b557d2be37e447c20d9ac4635
- https://git.kernel.org/stable/c/6e035d5a2a6b907cfce9a80c5f442c2e459cd34e
- https://git.kernel.org/stable/c/f598da27acbeee414679cacd14294db3e273e3d2
- https://git.kernel.org/stable/c/7dec14537c5906b8bf40fd6fd6d9c3850f8df11d
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-53895
- GCVE · GCVE-0-2022-49011
CERT-FR advisories
- CERTFR-2025-AVI-1057 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0530 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0421 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0024 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-1102 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-1048 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-1033 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0999 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 3.14 < 4.9.335cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.10 < 4.14.301cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.268cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.226cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.158cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.82cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.0.12cpe: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:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 14513ee696a0cd12a19318e433b75a786808adc3 < bb75a0d1223d43f97089841aecb28a9b4de687a9 ; affected 14513ee696a0cd12a19318e433b75a786808adc3 < 0dd1da5a15eeecb2fe4cf131b3216fb455af783c ; affected 14513ee696a0cd12a19318e433b75a786808adc3 < 2f74cffc7c85f770b1b1833dccb03b8cde3be102 ; affected 14513ee696a0cd12a19318e433b75a786808adc3 < ea5844f946b1ec5c0b7c115cd7684f34fd48021b ; affected 14513ee696a0cd12a19318e433b75a786808adc3 < c40db1e5f316792b557d2be37e447c20d9ac4635 ; affected 14513ee696a0cd12a19318e433b75a786808adc3 < 6e035d5a2a6b907cfce9a80c5f442c2e459cd34e |
| Linux · Linux | affected 3.14 ; unaffected 0 < 3.14 ; unaffected 4.9.335 ≤ 4.9.* ; unaffected 4.14.301 ≤ 4.14.* ; unaffected 4.19.268 ≤ 4.19.* ; unaffected 5.4.226 ≤ 5.4.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |