CVE-2026-98657
Full vulnerability record from the local CVENow database.
Description
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().
View original CVE JSON
{
"id": "CVE-2026-98657",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:17:19.013",
"lastModified": "2026-10-30T13:21:16.460",
"vulnStatus": "Received",
"cveTags": [],
"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": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/iio/proximity/pulsedlight-lidar-lite-v2.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
"lessThan": "93ecee9ff3af4c2b482fdd4ec98c3308e8dd23a6",
"versionType": "git",
"status": "affected"
},
{
"version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
"lessThan": "58e68e5272a319fff4a704df1ac41e9e3c69587c",
"versionType": "git",
"status": "affected"
},
{
"version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
"lessThan": "4a564e39cb99234e8c5b0a39aa30edcc8cf4cf1b",
"versionType": "git",
"status": "affected"
},
{
"version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
"lessThan": "2c8211eef98929c5188f8c2224e83b9a63b41bd1",
"versionType": "git",
"status": "affected"
},
{
"version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
"lessThan": "06fa13c53442257b94ea1519555ceddaaea57e0d",
"versionType": "git",
"status": "affected"
},
{
"version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
"lessThan": "20ebd7f4e35c0a737f011bc83aeb0cdd37507648",
"versionType": "git",
"status": "affected"
},
{
"version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
"lessThan": "e462b47b9637b8c0285f4a38b5af9a322847d164",
"versionType": "git",
"status": "affected"
},
{
"version": "4ac4e086fd8c59e6b69089e6f7605500b63a6d17",
"lessThan": "4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/iio/proximity/pulsedlight-lidar-lite-v2.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "4.5",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.5",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.10.273",
"lessThanOrEqual": "5.10.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.224",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.191",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.113",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.56",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.10",
"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/06fa13c53442257b94ea1519555ceddaaea57e0d",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/20ebd7f4e35c0a737f011bc83aeb0cdd37507648",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/2c8211eef98929c5188f8c2224e83b9a63b41bd1",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/4a564e39cb99234e8c5b0a39aa30edcc8cf4cf1b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/58e68e5272a319fff4a704df1ac41e9e3c69587c",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/93ecee9ff3af4c2b482fdd4ec98c3308e8dd23a6",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e462b47b9637b8c0285f4a38b5af9a322847d164",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}