← Back to CVE Explorer

CVE-2026-98665

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:19.797000
Last modified
2026-10-21 13:21:35.777000
View original CVE JSON
{
  "id": "CVE-2026-98665",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:19.797",
  "lastModified": "2026-10-21T13:21:35.777",
  "vulnStatus": "Received",
  "cveTags": [],
  "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": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/iio/health/max30102.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "90579b69e94bf11ea0745ff003e82a6ce9725f96",
              "lessThan": "2a74f30a7bb305cdc5c3e3e9239b32bb84f3529f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "90579b69e94bf11ea0745ff003e82a6ce9725f96",
              "lessThan": "eeb23ba97bd8016e815ef70300b8d34a0a316b90",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "90579b69e94bf11ea0745ff003e82a6ce9725f96",
              "lessThan": "60699102827fdb51f9591414165359c8e867f302",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "90579b69e94bf11ea0745ff003e82a6ce9725f96",
              "lessThan": "8d6f98972fe2bd6f73f39d982af0c85d766a1503",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "90579b69e94bf11ea0745ff003e82a6ce9725f96",
              "lessThan": "f0ea4824deebf21dacfbe397c4b0a5fd3e745a8d",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/iio/health/max30102.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.16",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.16",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.113",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.56",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.10",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/2a74f30a7bb305cdc5c3e3e9239b32bb84f3529f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/60699102827fdb51f9591414165359c8e867f302",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/8d6f98972fe2bd6f73f39d982af0c85d766a1503",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/eeb23ba97bd8016e815ef70300b8d34a0a316b90",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f0ea4824deebf21dacfbe397c4b0a5fd3e745a8d",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}