# CVE-2026-98665: iio: health: max30102: fix NULL dereference in interrupt handler

- 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.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-18T15:44:35.323Z
- Modified: 2026-11-23T08:17:27.637Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 90579b69e94bf11ea0745ff003e82a6ce9725f96 before 9ffc2c60f5b1ff94dc404ffa1eea91b7470396b1; from 90579b69e94bf11ea0745ff003e82a6ce9725f96 before 2a74f30a7bb305cdc5c3e3e9239b32bb84f3529f; from 90579b69e94bf11ea0745ff003e82a6ce9725f96 before eeb23ba97bd8016e815ef70300b8d34a0a316b90; from 90579b69e94bf11ea0745ff003e82a6ce9725f96 before 60699102827fdb51f9591414165359c8e867f302; from 90579b69e94bf11ea0745ff003e82a6ce9725f96 before 8d6f98972fe2bd6f73f39d982af0c85d766a1503; from 90579b69e94bf11ea0745ff003e82a6ce9725f96 before f0ea4824deebf21dacfbe397c4b0a5fd3e745a8d; 4.16 (not affected: before 4.16; from 6.1.193 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/9ffc2c60f5b1ff94dc404ffa1eea91b7470396b1>
- <https://git.kernel.org/stable/c/2a74f30a7bb305cdc5c3e3e9239b32bb84f3529f>
- <https://git.kernel.org/stable/c/eeb23ba97bd8016e815ef70300b8d34a0a316b90>
- <https://git.kernel.org/stable/c/60699102827fdb51f9591414165359c8e867f302>
- <https://git.kernel.org/stable/c/8d6f98972fe2bd6f73f39d982af0c85d766a1503>
- <https://git.kernel.org/stable/c/f0ea4824deebf21dacfbe397c4b0a5fd3e745a8d>

## Sources

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

---

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