{"id":"CVE-2026-98657","aliases":["CVE-2026-98657"],"related":[],"kind":"vulnerability","state":"published","title":"iio: proximity: pulsedlight: fix iio_device left registered on PM setup failure","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"}],"published":"2026-10-18T15:44:09.808Z","modified":"2026-10-30T13:21:16.460Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4ac4e086fd8c59e6b69089e6f7605500b63a6d17","fixed":"93ecee9ff3af4c2b482fdd4ec98c3308e8dd23a6","status":"affected"},{"type":"git","introduced":"4ac4e086fd8c59e6b69089e6f7605500b63a6d17","fixed":"58e68e5272a319fff4a704df1ac41e9e3c69587c","status":"affected"},{"type":"git","introduced":"4ac4e086fd8c59e6b69089e6f7605500b63a6d17","fixed":"4a564e39cb99234e8c5b0a39aa30edcc8cf4cf1b","status":"affected"},{"type":"git","introduced":"4ac4e086fd8c59e6b69089e6f7605500b63a6d17","fixed":"2c8211eef98929c5188f8c2224e83b9a63b41bd1","status":"affected"},{"type":"git","introduced":"4ac4e086fd8c59e6b69089e6f7605500b63a6d17","fixed":"06fa13c53442257b94ea1519555ceddaaea57e0d","status":"affected"},{"type":"git","introduced":"4ac4e086fd8c59e6b69089e6f7605500b63a6d17","fixed":"20ebd7f4e35c0a737f011bc83aeb0cdd37507648","status":"affected"},{"type":"git","introduced":"4ac4e086fd8c59e6b69089e6f7605500b63a6d17","fixed":"e462b47b9637b8c0285f4a38b5af9a322847d164","status":"affected"},{"type":"git","introduced":"4ac4e086fd8c59e6b69089e6f7605500b63a6d17","fixed":"4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.5","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/93ecee9ff3af4c2b482fdd4ec98c3308e8dd23a6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58e68e5272a319fff4a704df1ac41e9e3c69587c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a564e39cb99234e8c5b0a39aa30edcc8cf4cf1b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c8211eef98929c5188f8c2224e83b9a63b41bd1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06fa13c53442257b94ea1519555ceddaaea57e0d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20ebd7f4e35c0a737f011bc83aeb0cdd37507648","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e462b47b9637b8c0285f4a38b5af9a322847d164","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98657","url":"https://www.cve.org/CVERecord?id=CVE-2026-98657","licence":"CVE Terms of Use","modified":"2026-10-30T12:38:29.218Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98657","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98657","licence":"Public domain","modified":"2026-10-30T13:21:16.460Z"}],"updatedAt":"2026-11-25T22:59:45.259Z","epss":{"score":0.00176,"percentile":0.0749,"date":"2026-12-01T12:00:22.000Z"}}