GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

FKIE_CVE-2026-72214

Vulnerability from fkie_nvd - Published: 2026-08-15 06:21 - Updated: 2026-08-17 06:18
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

{
  "affected": [
    {
      "affectedData": [
        {
          "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"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "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."
    }
  ],
  "id": "CVE-2026-72214",
  "lastModified": "2026-08-17T06:18:22.370",
  "metrics": {},
  "published": "2026-08-15T06:21:40.130",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/700c225d829a1256b59053c34a1a9d1a6ab70b09"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/a2c14ff63e0e02e3c832385e523e9cc81301171c"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/a3d81de441233a92ec21469cd0c4eb3c26b95cd8"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/b56a5cbf8f1f1a5740f1137c89b14d0373309d8d"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/deaf6b3f8187231ad8f7770b10ed0be2cd47e9b2"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/fc65520fe0781a1ff46631f111e07b4a1c677b96"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…