{"id":"CVE-2026-98665","state":"PUBLISHED","title":"iio: health: max30102: fix NULL dereference in interrupt handler","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: health: max30102: fix NULL dereference in interrupt handler\n\nThe interrupt is requested in max30102_probe() and stays enabled\nfor the lifetime of the device, but indio_dev->active_scan_mask is only\nvalid while a buffer is enabled. When an interrupt arrives while no\nbuffer is enabled, the handler dereferences the NULL active_scan_mask:\n\n  Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000\n  Call trace:\n   __bitmap_weight+0x64/0x98 (P)\n   max30102_interrupt_handler+0x48/0x160 [max30102]\n\nCall max30102_fifo_count() at the top of the handler and return early\nunless it reports a FIFO sample is ready. Because FIFO_RDY is the only\ninterrupt source enabled in max30102_chip_init(), an invocation of\nmax30102_interrupt_handler() without the FIFO_RDY interrupt status bit\nset carries no data to read and can return before touching\nactive_scan_mask. A negative return from max30102_fifo_count()\nindicates a failed interrupt status read and is treated the same way.","publishedAt":"2026-10-18T15:44:35.323Z","updatedAt":"2026-10-21T12:55:30.413Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"90579b69e94bf11ea0745ff003e82a6ce9725f96","status":"affected","lessThan":"2a74f30a7bb305cdc5c3e3e9239b32bb84f3529f","versionType":"git"},{"version":"90579b69e94bf11ea0745ff003e82a6ce9725f96","status":"affected","lessThan":"eeb23ba97bd8016e815ef70300b8d34a0a316b90","versionType":"git"},{"version":"90579b69e94bf11ea0745ff003e82a6ce9725f96","status":"affected","lessThan":"60699102827fdb51f9591414165359c8e867f302","versionType":"git"},{"version":"90579b69e94bf11ea0745ff003e82a6ce9725f96","status":"affected","lessThan":"8d6f98972fe2bd6f73f39d982af0c85d766a1503","versionType":"git"},{"version":"90579b69e94bf11ea0745ff003e82a6ce9725f96","status":"affected","lessThan":"f0ea4824deebf21dacfbe397c4b0a5fd3e745a8d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/health/max30102.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/health/max30102.c"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98665.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98665","state":"PUBLISHED","datePublished":"2026-10-18T15:44:35.323Z","dateUpdated":"2026-10-21T12:55:30.413Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.363Z"},"containers":{"cna":{"title":"iio: health: max30102: fix NULL dereference in interrupt handler","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: health: max30102: fix NULL dereference in interrupt handler\n\nThe interrupt is requested in max30102_probe() and stays enabled\nfor the lifetime of the device, but indio_dev->active_scan_mask is only\nvalid while a buffer is enabled. When an interrupt arrives while no\nbuffer is enabled, the handler dereferences the NULL active_scan_mask:\n\n  Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000\n  Call trace:\n   __bitmap_weight+0x64/0x98 (P)\n   max30102_interrupt_handler+0x48/0x160 [max30102]\n\nCall max30102_fifo_count() at the top of the handler and return early\nunless it reports a FIFO sample is ready. Because FIFO_RDY is the only\ninterrupt source enabled in max30102_chip_init(), an invocation of\nmax30102_interrupt_handler() without the FIFO_RDY interrupt status bit\nset carries no data to read and can return before touching\nactive_scan_mask. A negative return from max30102_fifo_count()\nindicates a failed interrupt status read and is treated the same way."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"90579b69e94bf11ea0745ff003e82a6ce9725f96","status":"affected","lessThan":"2a74f30a7bb305cdc5c3e3e9239b32bb84f3529f","versionType":"git"},{"version":"90579b69e94bf11ea0745ff003e82a6ce9725f96","status":"affected","lessThan":"eeb23ba97bd8016e815ef70300b8d34a0a316b90","versionType":"git"},{"version":"90579b69e94bf11ea0745ff003e82a6ce9725f96","status":"affected","lessThan":"60699102827fdb51f9591414165359c8e867f302","versionType":"git"},{"version":"90579b69e94bf11ea0745ff003e82a6ce9725f96","status":"affected","lessThan":"8d6f98972fe2bd6f73f39d982af0c85d766a1503","versionType":"git"},{"version":"90579b69e94bf11ea0745ff003e82a6ce9725f96","status":"affected","lessThan":"f0ea4824deebf21dacfbe397c4b0a5fd3e745a8d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/health/max30102.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.16","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/health/max30102.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2a74f30a7bb305cdc5c3e3e9239b32bb84f3529f"},{"url":"https://git.kernel.org/stable/c/eeb23ba97bd8016e815ef70300b8d34a0a316b90"},{"url":"https://git.kernel.org/stable/c/60699102827fdb51f9591414165359c8e867f302"},{"url":"https://git.kernel.org/stable/c/8d6f98972fe2bd6f73f39d982af0c85d766a1503"},{"url":"https://git.kernel.org/stable/c/f0ea4824deebf21dacfbe397c4b0a5fd3e745a8d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:55:30.413Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.12.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"6.18.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}