CVE-2026-98657

iio: proximity: pulsedlight: fix iio_device left registered on PM setup failure

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 to before 93ecee9ff3af4c2b482fdd4ec98c3308e8dd23a6Affected
  • 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 to before 58e68e5272a319fff4a704df1ac41e9e3c69587cAffected
  • 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 to before 4a564e39cb99234e8c5b0a39aa30edcc8cf4cf1bAffected
  • 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 to before 2c8211eef98929c5188f8c2224e83b9a63b41bd1Affected
  • 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 to before 06fa13c53442257b94ea1519555ceddaaea57e0dAffected
  • 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 to before 20ebd7f4e35c0a737f011bc83aeb0cdd37507648Affected
  • 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 to before e462b47b9637b8c0285f4a38b5af9a322847d164Affected
  • 4ac4e086fd8c59e6b69089e6f7605500b63a6d17 to before 4daa9ca557b4b98ae1ad38a6d1deaa3e31eb8edfAffected
LinuxLinux
  • 4.5Affected
  • before 4.5Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.10 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.