cvelo
P4 · InfoEPSS 0.2%

iio: health: max30102: fix NULL dereference in interrupt handler

  • CVE-2026-98665
  • GHSA-g7xj-pf5g-99j9
  • EUVD-2026-103919

Description

In the Linux kernel, the following vulnerability has been resolved: iio: health: max30102: fix NULL dereference in interrupt handler The interrupt is requested in max30102_probe() and stays enabled for the lifetime of the device, but indio_dev->active_scan_mask is only valid while a buffer is enabled. When an interrupt arrives while no buffer is enabled, the handler dereferences the NULL active_scan_mask: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 Call trace: __bitmap_weight+0x64/0x98 (P) max30102_interrupt_handler+0x48/0x160 [max30102] Call max30102_fifo_count() at the top of the handler and return early unless it reports a FIFO sample is ready. Because FIFO_RDY is the only interrupt source enabled in max30102_chip_init(), an invocation of max30102_interrupt_handler() without the FIFO_RDY interrupt status bit set carries no data to read and can return before touching active_scan_mask. A negative return from max30102_fifo_count() indicates a failed interrupt status read and is treated the same way.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    4.16none stated
    before 4.16: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated
    from 6.6.160 up to 6.6.*: not affectednone stated
    from 6.12.113 up to 6.12.*: not affectednone stated
    from 6.18.56 up to 6.18.*: not affectednone stated
    from 7.2.10 up to 7.2.*: not affectednone stated
    from 7.3 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.