CVE-2025-37836 (GCVE-0-2025-37836)
Vulnerability from cvelistv5
Published
2025-05-09 06:41
Modified
2025-05-26 05:21
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: PCI: Fix reference leak in pci_register_host_bridge() If device_register() fails, call put_device() to give up the reference to avoid a memory leak, per the comment at device_register(). Found by code review. [bhelgaas: squash Dan Carpenter's double free fix from https://lore.kernel.org/r/db806a6c-a91b-4e5a-a84b-6b7e01bdac85@stanley.mountain]
Impacted products
Vendor Product Version
Linux Linux Version: 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4
Version: 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4
Version: 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4
Version: 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4
Version: 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4
Version: 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4
Version: 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4
Version: 37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/probe.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f4db1b2c9ae3d013733c302ee70cac943b7070c0",
              "status": "affected",
              "version": "37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4",
              "versionType": "git"
            },
            {
              "lessThan": "3297497ad2246eb9243849bfbbc57a0dea97d76e",
              "status": "affected",
              "version": "37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4",
              "versionType": "git"
            },
            {
              "lessThan": "b783478e0c53ffb4f04f25fb4e21ef7f482b05df",
              "status": "affected",
              "version": "37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4",
              "versionType": "git"
            },
            {
              "lessThan": "bd2a352a0d72575f1842d28c14c10089f0cfe1ae",
              "status": "affected",
              "version": "37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4",
              "versionType": "git"
            },
            {
              "lessThan": "9707d0c932f41006a2701afc926b232b50e356b4",
              "status": "affected",
              "version": "37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4",
              "versionType": "git"
            },
            {
              "lessThan": "bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7",
              "status": "affected",
              "version": "37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4",
              "versionType": "git"
            },
            {
              "lessThan": "f9208aec86226524ec1cb68a09ac70e974ea6536",
              "status": "affected",
              "version": "37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4",
              "versionType": "git"
            },
            {
              "lessThan": "804443c1f27883926de94c849d91f5b7d7d696e9",
              "status": "affected",
              "version": "37d6a0a6f4700ad3ae7bbf8db38b4557e97b3fe4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/probe.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.10"
            },
            {
              "lessThan": "4.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.237",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.181",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.136",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.89",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.24",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.237",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.181",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.136",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.89",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.24",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.12",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.3",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: Fix reference leak in pci_register_host_bridge()\n\nIf device_register() fails, call put_device() to give up the reference to\navoid a memory leak, per the comment at device_register().\n\nFound by code review.\n\n[bhelgaas: squash Dan Carpenter\u0027s double free fix from\nhttps://lore.kernel.org/r/db806a6c-a91b-4e5a-a84b-6b7e01bdac85@stanley.mountain]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-26T05:21:57.578Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f4db1b2c9ae3d013733c302ee70cac943b7070c0"
        },
        {
          "url": "https://git.kernel.org/stable/c/3297497ad2246eb9243849bfbbc57a0dea97d76e"
        },
        {
          "url": "https://git.kernel.org/stable/c/b783478e0c53ffb4f04f25fb4e21ef7f482b05df"
        },
        {
          "url": "https://git.kernel.org/stable/c/bd2a352a0d72575f1842d28c14c10089f0cfe1ae"
        },
        {
          "url": "https://git.kernel.org/stable/c/9707d0c932f41006a2701afc926b232b50e356b4"
        },
        {
          "url": "https://git.kernel.org/stable/c/bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7"
        },
        {
          "url": "https://git.kernel.org/stable/c/f9208aec86226524ec1cb68a09ac70e974ea6536"
        },
        {
          "url": "https://git.kernel.org/stable/c/804443c1f27883926de94c849d91f5b7d7d696e9"
        }
      ],
      "title": "PCI: Fix reference leak in pci_register_host_bridge()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-37836",
    "datePublished": "2025-05-09T06:41:47.341Z",
    "dateReserved": "2025-04-16T04:51:23.952Z",
    "dateUpdated": "2025-05-26T05:21:57.578Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-37836\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-05-09T07:16:04.320\",\"lastModified\":\"2025-05-12T17:32:52.810\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nPCI: Fix reference leak in pci_register_host_bridge()\\n\\nIf device_register() fails, call put_device() to give up the reference to\\navoid a memory leak, per the comment at device_register().\\n\\nFound by code review.\\n\\n[bhelgaas: squash Dan Carpenter\u0027s double free fix from\\nhttps://lore.kernel.org/r/db806a6c-a91b-4e5a-a84b-6b7e01bdac85@stanley.mountain]\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: PCI: Se corrige una fuga de referencia en pci_register_host_bridge(). Si device_register() falla, se llama a put_device() para ceder la referencia y evitar una fuga de memoria, seg\u00fan el comentario en device_register(). Encontrado mediante revisi\u00f3n de c\u00f3digo. [bhelgaas: squash la correcci\u00f3n doblemente gratuita de Dan Carpenter desde https://lore.kernel.org/r/db806a6c-a91b-4e5a-a84b-6b7e01bdac85@stanley.mountain]\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/3297497ad2246eb9243849bfbbc57a0dea97d76e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/804443c1f27883926de94c849d91f5b7d7d696e9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9707d0c932f41006a2701afc926b232b50e356b4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b783478e0c53ffb4f04f25fb4e21ef7f482b05df\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bbba4c50a2d2a1d3f3bf31cc4b8280cb492bf2c7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bd2a352a0d72575f1842d28c14c10089f0cfe1ae\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f4db1b2c9ae3d013733c302ee70cac943b7070c0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f9208aec86226524ec1cb68a09ac70e974ea6536\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…