{"id":"CVE-2026-98657","summary":"iio: proximity: pulsedlight: fix iio_device left registered on PM setup failure","details":"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().","modified":"2026-11-04T14:27:19.353768050Z","published":"2026-10-18T15:44:09.808Z","related":["SUSE-SU-2026:5091-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98657.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/06fa13c53442257b94ea1519555ceddaaea57e0d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/20ebd7f4e35c0a737f011bc83aeb0cdd37507648"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2c8211eef98929c5188f8c2224e83b9a63b41bd1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a564e39cb99234e8c5b0a39aa30edcc8cf4cf1b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/58e68e5272a319fff4a704df1ac41e9e3c69587c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93ecee9ff3af4c2b482fdd4ec98c3308e8dd23a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e462b47b9637b8c0285f4a38b5af9a322847d164"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98657.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98657"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4ac4e086fd8c59e6b69089e6f7605500b63a6d17"},{"fixed":"93ecee9ff3af4c2b482fdd4ec98c3308e8dd23a6"},{"fixed":"58e68e5272a319fff4a704df1ac41e9e3c69587c"},{"fixed":"4a564e39cb99234e8c5b0a39aa30edcc8cf4cf1b"},{"fixed":"2c8211eef98929c5188f8c2224e83b9a63b41bd1"},{"fixed":"06fa13c53442257b94ea1519555ceddaaea57e0d"},{"fixed":"20ebd7f4e35c0a737f011bc83aeb0cdd37507648"},{"fixed":"e462b47b9637b8c0285f4a38b5af9a322847d164"},{"fixed":"4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98657.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.5.0"},{"fixed":"5.10.273"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.224"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.191"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.56"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-98657.json"}}],"schema_version":"1.9.2"}