Skip to content
Heist/ feed
Back to feed
UnratedFix available

hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.301, 4.19.268, 4.9.335, 5.10.158, 5.15.82, 5.4.226, 6.0.12
CVEs
CVE-2022-49011
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:56 UTC · Revision 1

Source evidence

hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()

core-osv · Original source

Published 21 Oct 2024, 20:06 UTC

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.

osv:CVE-2022-49011

Kernel

Fixed versions: 4.9.335, 4.14.301, 4.19.268, 5.4.226, 5.10.158, 5.15.82, 6.0.12

Complete source record
{
  "id": "fbe9d6fb8d4799f69245c13b8cd9fc4f3a8d2525e584368c2648a28e9f01fb61",
  "url": "https://osv.dev/vulnerability/CVE-2022-49011",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()",
    "summary": "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.",
    "evidence": "osv:CVE-2022-49011",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.9.335",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.14.301",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.268",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.226",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.158",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.82",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.12",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-49011",
      "aliases": [
        "CVE-2022-49011"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "14513ee696a0cd12a19318e433b75a786808adc3"
                },
                {
                  "fixed": "bb75a0d1223d43f97089841aecb28a9b4de687a9"
                },
                {
                  "fixed": "0dd1da5a15eeecb2fe4cf131b3216fb455af783c"
                },
                {
                  "fixed": "2f74cffc7c85f770b1b1833dccb03b8cde3be102"
                },
                {
                  "fixed": "ea5844f946b1ec5c0b7c115cd7684f34fd48021b"
                },
                {
                  "fixed": "c40db1e5f316792b557d2be37e447c20d9ac4635"
                },
                {
                  "fixed": "6e035d5a2a6b907cfce9a80c5f442c2e459cd34e"
                },
                {
                  "fixed": "f598da27acbeee414679cacd14294db3e273e3d2"
                },
                {
                  "fixed": "7dec14537c5906b8bf40fd6fd6d9c3850f8df11d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49011.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.14.0"
                },
                {
                  "fixed": "4.9.335"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.10.0"
                },
                {
                  "fixed": "4.14.301"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.268"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.226"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.158"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.82"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.12"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49011.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.510866361Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0dd1da5a15eeecb2fe4cf131b3216fb455af783c",
        "https://git.kernel.org/stable/c/2f74cffc7c85f770b1b1833dccb03b8cde3be102",
        "https://git.kernel.org/stable/c/6e035d5a2a6b907cfce9a80c5f442c2e459cd34e",
        "https://git.kernel.org/stable/c/7dec14537c5906b8bf40fd6fd6d9c3850f8df11d",
        "https://git.kernel.org/stable/c/bb75a0d1223d43f97089841aecb28a9b4de687a9",
        "https://git.kernel.org/stable/c/c40db1e5f316792b557d2be37e447c20d9ac4635",
        "https://git.kernel.org/stable/c/ea5844f946b1ec5c0b7c115cd7684f34fd48021b",
        "https://git.kernel.org/stable/c/f598da27acbeee414679cacd14294db3e273e3d2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49011.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49011",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49011.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49011",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 521993,
  "published_at": "2024-10-21T20:06:22.099+00:00"
}