{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-98657",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.362Z",
        "datePublished": "2026-10-18T15:44:09.808Z",
        "dateUpdated": "2026-10-21T12:55:24.941Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-21T12:55:24.941Z"
            },
            "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()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iio/proximity/pulsedlight-lidar-lite-v2.c"
                    ],
                    "versions": [
                        {
                            "version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
                            "lessThan": "2c8211eef98929c5188f8c2224e83b9a63b41bd1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
                            "lessThan": "06fa13c53442257b94ea1519555ceddaaea57e0d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
                            "lessThan": "20ebd7f4e35c0a737f011bc83aeb0cdd37507648",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
                            "lessThan": "e462b47b9637b8c0285f4a38b5af9a322847d164",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
                            "lessThan": "4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iio/proximity/pulsedlight-lidar-lite-v2.c"
                    ],
                    "versions": [
                        {
                            "version": "4.5",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.5",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.160",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.113",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.56",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.10",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.5",
                                    "versionEndExcluding": "6.6.160"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.5",
                                    "versionEndExcluding": "6.12.113"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.5",
                                    "versionEndExcluding": "6.18.56"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.5",
                                    "versionEndExcluding": "7.2.10"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.5",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}