← Back to CVE Explorer

CVE-2026-89936

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: iio: dac: m62332: Fix regulator reference count imbalance m62332_set_value() enables the Vcc regulator on every write of a non-zero value and disables it on every write of zero, without tracking the channel's current state. Because the regulator is reference counted, changing a channel directly from one non-zero value to another enables it more than once, while a later write of zero disables it only once. The reference count never returns to zero and the regulator is left enabled indefinitely. Only enable the regulator on the transition from zero to non-zero, and only disable it on the transition from non-zero to zero, using the previously stored channel value to detect the edge. Balance the regulator on the I2C error path so the reference count stays consistent if the write fails.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-16 11:17:03.027000
Last modified
2026-10-19 09:18:39.330000
View original CVE JSON
{
  "id": "CVE-2026-89936",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-16T11:17:03.027",
  "lastModified": "2026-10-19T09:18:39.330",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: dac: m62332: Fix regulator reference count imbalance\n\nm62332_set_value() enables the Vcc regulator on every write of a\nnon-zero value and disables it on every write of zero, without tracking\nthe channel's current state. Because the regulator is reference counted,\nchanging a channel directly from one non-zero value to another enables\nit more than once, while a later write of zero disables it only once.\nThe reference count never returns to zero and the regulator is left\nenabled indefinitely.\n\nOnly enable the regulator on the transition from zero to non-zero, and\nonly disable it on the transition from non-zero to zero, using the\npreviously stored channel value to detect the edge. Balance the\nregulator on the I2C error path so the reference count stays consistent\nif the write fails."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/iio/dac/m62332.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "b87b0c0f81e8d11c881b726b886b7502ab67d884",
              "lessThan": "bac0ed8bee651aa841375edf72c6ab1d10ac80c6",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b87b0c0f81e8d11c881b726b886b7502ab67d884",
              "lessThan": "9263b9ad968a563337a60e0eb66e35186e1faf9a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b87b0c0f81e8d11c881b726b886b7502ab67d884",
              "lessThan": "1d3a7d7dd3adee19e00be2b2237140f0fe169484",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b87b0c0f81e8d11c881b726b886b7502ab67d884",
              "lessThan": "f5acb824277a97a5210c454872202bf7f08c75d4",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b87b0c0f81e8d11c881b726b886b7502ab67d884",
              "lessThan": "ae18d2d2ef27a4d04fda6e30c23774513dc9be1e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b87b0c0f81e8d11c881b726b886b7502ab67d884",
              "lessThan": "08ac8d2976d57aa943d64e351c4d0bd8bb0c6de9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b87b0c0f81e8d11c881b726b886b7502ab67d884",
              "lessThan": "9fe22f563b2a0fdb11fd3711a8c39c023629c08a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b87b0c0f81e8d11c881b726b886b7502ab67d884",
              "lessThan": "a130404ce0b69ca1438126bd81c1985d3b4d2e6f",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/iio/dac/m62332.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.2",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.2",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.270",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.221",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.188",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.157",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.110",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.51",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.5",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/08ac8d2976d57aa943d64e351c4d0bd8bb0c6de9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/1d3a7d7dd3adee19e00be2b2237140f0fe169484",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9263b9ad968a563337a60e0eb66e35186e1faf9a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9fe22f563b2a0fdb11fd3711a8c39c023629c08a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a130404ce0b69ca1438126bd81c1985d3b4d2e6f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/ae18d2d2ef27a4d04fda6e30c23774513dc9be1e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/bac0ed8bee651aa841375edf72c6ab1d10ac80c6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f5acb824277a97a5210c454872202bf7f08c75d4",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}