CVE-2026-72214 (GCVE-0-2026-72214)
Vulnerability from cvelistv5
Published
2026-08-15 05:54
Modified
2026-08-17 05:10
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: power: supply: cpcap-battery: Fix missing nvmem_device_put() causing reference leak In cpcap_battery_detect_battery_type(), the reference to an nvmem device obtained via nvmem_device_find() is not released with nvmem_device_put() on the success or read-failure paths, causing a permanent reference leak. The driver’s retry logic on subsequent battery property reads can compound this leak, preventing the nvmem device from ever being freed. Found by code review.
Impacted products
Vendor Product Version
Linux Linux Version: fd46821e85de90fb5b7356251164af4815b6e3f6
Version: fd46821e85de90fb5b7356251164af4815b6e3f6
Version: fd46821e85de90fb5b7356251164af4815b6e3f6
Version: fd46821e85de90fb5b7356251164af4815b6e3f6
Version: fd46821e85de90fb5b7356251164af4815b6e3f6
Version: fd46821e85de90fb5b7356251164af4815b6e3f6
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/power/supply/cpcap-battery.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "fc65520fe0781a1ff46631f111e07b4a1c677b96",
              "status": "affected",
              "version": "fd46821e85de90fb5b7356251164af4815b6e3f6",
              "versionType": "git"
            },
            {
              "lessThan": "700c225d829a1256b59053c34a1a9d1a6ab70b09",
              "status": "affected",
              "version": "fd46821e85de90fb5b7356251164af4815b6e3f6",
              "versionType": "git"
            },
            {
              "lessThan": "deaf6b3f8187231ad8f7770b10ed0be2cd47e9b2",
              "status": "affected",
              "version": "fd46821e85de90fb5b7356251164af4815b6e3f6",
              "versionType": "git"
            },
            {
              "lessThan": "a3d81de441233a92ec21469cd0c4eb3c26b95cd8",
              "status": "affected",
              "version": "fd46821e85de90fb5b7356251164af4815b6e3f6",
              "versionType": "git"
            },
            {
              "lessThan": "b56a5cbf8f1f1a5740f1137c89b14d0373309d8d",
              "status": "affected",
              "version": "fd46821e85de90fb5b7356251164af4815b6e3f6",
              "versionType": "git"
            },
            {
              "lessThan": "a2c14ff63e0e02e3c832385e523e9cc81301171c",
              "status": "affected",
              "version": "fd46821e85de90fb5b7356251164af4815b6e3f6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/power/supply/cpcap-battery.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.18"
            },
            {
              "lessThan": "5.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: cpcap-battery: Fix missing nvmem_device_put() causing reference leak\n\nIn cpcap_battery_detect_battery_type(), the reference to an nvmem\ndevice obtained via nvmem_device_find() is not released with\nnvmem_device_put() on the success or read-failure paths, causing a\npermanent reference leak. The driver\u2019s retry logic on subsequent\nbattery property reads can compound this leak, preventing the nvmem\ndevice from ever being freed.\n\nFound by code review."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:10:28.814Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/fc65520fe0781a1ff46631f111e07b4a1c677b96"
        },
        {
          "url": "https://git.kernel.org/stable/c/700c225d829a1256b59053c34a1a9d1a6ab70b09"
        },
        {
          "url": "https://git.kernel.org/stable/c/deaf6b3f8187231ad8f7770b10ed0be2cd47e9b2"
        },
        {
          "url": "https://git.kernel.org/stable/c/a3d81de441233a92ec21469cd0c4eb3c26b95cd8"
        },
        {
          "url": "https://git.kernel.org/stable/c/b56a5cbf8f1f1a5740f1137c89b14d0373309d8d"
        },
        {
          "url": "https://git.kernel.org/stable/c/a2c14ff63e0e02e3c832385e523e9cc81301171c"
        }
      ],
      "title": "power: supply: cpcap-battery: Fix missing nvmem_device_put() causing reference leak",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72214",
    "datePublished": "2026-08-15T05:54:08.602Z",
    "dateReserved": "2026-08-09T03:40:39.912Z",
    "dateUpdated": "2026-08-17T05:10:28.814Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…