CVE-2026-98657 (GCVE-0-2026-98657)
Vulnerability from cvelistv5
Published
2026-10-18 15:44
Modified
2026-10-21 12:55
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: iio: proximity: pulsedlight: fix iio_device left registered on PM setup failure pm_runtime_set_active() failing in probe() jumps to error_unreg_buffer, which only calls iio_triggered_buffer_cleanup() -- it does not undo the iio_device_register() that already succeeded a few lines above. probe() then returns the error, the devm-managed indio_dev is freed, but the iio core still has it registered: the sysfs/chardev nodes stay live and point at freed memory. Add an error_unreg_dev label that unregisters the iio device before falling through to the existing buffer cleanup, mirroring the teardown order already used in lidar_remove().
Impacted products
Vendor Product Version
Linux Linux Version: 4ac4e086fd8c59e6b69089e6f7605500b63a6d17
Version: 4ac4e086fd8c59e6b69089e6f7605500b63a6d17
Version: 4ac4e086fd8c59e6b69089e6f7605500b63a6d17
Version: 4ac4e086fd8c59e6b69089e6f7605500b63a6d17
Version: 4ac4e086fd8c59e6b69089e6f7605500b63a6d17
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/iio/proximity/pulsedlight-lidar-lite-v2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2c8211eef98929c5188f8c2224e83b9a63b41bd1",
              "status": "affected",
              "version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
              "versionType": "git"
            },
            {
              "lessThan": "06fa13c53442257b94ea1519555ceddaaea57e0d",
              "status": "affected",
              "version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
              "versionType": "git"
            },
            {
              "lessThan": "20ebd7f4e35c0a737f011bc83aeb0cdd37507648",
              "status": "affected",
              "version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
              "versionType": "git"
            },
            {
              "lessThan": "e462b47b9637b8c0285f4a38b5af9a322847d164",
              "status": "affected",
              "version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
              "versionType": "git"
            },
            {
              "lessThan": "4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf",
              "status": "affected",
              "version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/iio/proximity/pulsedlight-lidar-lite-v2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.5"
            },
            {
              "lessThan": "4.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.56",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.56",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.10",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "4.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: proximity: pulsedlight: fix iio_device left registered on PM setup failure\n\npm_runtime_set_active() failing in probe() jumps to error_unreg_buffer,\nwhich only calls iio_triggered_buffer_cleanup() -- it does not undo the\niio_device_register() that already succeeded a few lines above. probe()\nthen returns the error, the devm-managed indio_dev is freed, but the\niio core still has it registered: the sysfs/chardev nodes stay live and\npoint at freed memory.\n\nAdd an error_unreg_dev label that unregisters the iio device before\nfalling through to the existing buffer cleanup, mirroring the teardown\norder already used in lidar_remove()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-21T12:55:24.941Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2c8211eef98929c5188f8c2224e83b9a63b41bd1"
        },
        {
          "url": "https://git.kernel.org/stable/c/06fa13c53442257b94ea1519555ceddaaea57e0d"
        },
        {
          "url": "https://git.kernel.org/stable/c/20ebd7f4e35c0a737f011bc83aeb0cdd37507648"
        },
        {
          "url": "https://git.kernel.org/stable/c/e462b47b9637b8c0285f4a38b5af9a322847d164"
        },
        {
          "url": "https://git.kernel.org/stable/c/4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf"
        }
      ],
      "title": "iio: proximity: pulsedlight: fix iio_device left registered on PM setup failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98657",
    "datePublished": "2026-10-18T15:44:09.808Z",
    "dateReserved": "2026-09-25T10:25:14.362Z",
    "dateUpdated": "2026-10-21T12:55:24.941Z",
    "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…