# CVE-2026-98657: iio: proximity: pulsedlight: fix iio_device left registered on PM setup failure

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-18T15:44:09.808Z
- Modified: 2026-10-30T13:21:16.460Z
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 before 93ecee9ff3af4c2b482fdd4ec98c3308e8dd23a6; from 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 before 58e68e5272a319fff4a704df1ac41e9e3c69587c; from 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 before 4a564e39cb99234e8c5b0a39aa30edcc8cf4cf1b; from 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 before 2c8211eef98929c5188f8c2224e83b9a63b41bd1; from 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 before 06fa13c53442257b94ea1519555ceddaaea57e0d; from 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 before 20ebd7f4e35c0a737f011bc83aeb0cdd37507648; from 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 before e462b47b9637b8c0285f4a38b5af9a322847d164; from 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 before 4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf; 4.5 (not affected: before 4.5; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/93ecee9ff3af4c2b482fdd4ec98c3308e8dd23a6>
- <https://git.kernel.org/stable/c/58e68e5272a319fff4a704df1ac41e9e3c69587c>
- <https://git.kernel.org/stable/c/4a564e39cb99234e8c5b0a39aa30edcc8cf4cf1b>
- <https://git.kernel.org/stable/c/2c8211eef98929c5188f8c2224e83b9a63b41bd1>
- <https://git.kernel.org/stable/c/06fa13c53442257b94ea1519555ceddaaea57e0d>
- <https://git.kernel.org/stable/c/20ebd7f4e35c0a737f011bc83aeb0cdd37507648>
- <https://git.kernel.org/stable/c/e462b47b9637b8c0285f4a38b5af9a322847d164>
- <https://git.kernel.org/stable/c/4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edf>

## Sources

- CVE List: [CVE-2026-98657](https://www.cve.org/CVERecord?id=CVE-2026-98657), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98657](https://nvd.nist.gov/vuln/detail/CVE-2026-98657), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98657 · Whole record: https://cve.day/CVE-2026-98657.json · Rebuilt by cve.day 2026-11-25T22:59:45.259Z
