CVE-2022-49011Published Oct 21, 2024 · Oct 21Updated Oct 28
hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 14513ee696a0cd12a19318e433b75a786808adc3 · < 6e035d5a2a6b907cfce9a80c5f442c2e459cd34e| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel coretemp driver leaks a PCI device reference in nv1a_ram_new(). The input does not describe how an attacker could trigger the leak or whether access or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.