Shellfeed logo Shellfeed

CVE-2026-98657 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 7.2).

Details

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

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [4ac4e086fd8c59e6b69089e6f7605500b63a6d17 – 93ecee9ff3af4c2b482fdd4ec98c3308e8dd23a6]
  • Linux Kernel [4.5.0 – 5.10.273] [5.11.0 – 5.15.224] [5.16.0 – 6.1.191] [6.2.0 – 6.6.160] [6.7.0 – 6.12.113] [6.13.0 – 6.18.56] [6.19.0 – 7.2.10]

References