{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "90579b69e94bf11ea0745ff003e82a6ce9725f96"
            },
            {
              "fixed": "eeb23ba97bd8016e815ef70300b8d34a0a316b90"
            },
            {
              "fixed": "60699102827fdb51f9591414165359c8e867f302"
            },
            {
              "fixed": "8d6f98972fe2bd6f73f39d982af0c85d766a1503"
            },
            {
              "fixed": "f0ea4824deebf21dacfbe397c4b0a5fd3e745a8d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.16.0"
            },
            {
              "fixed": "6.12.113"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.56"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98665.json"
  },
  "details": "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-\u003eactive_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.",
  "id": "CVE-2026-98665",
  "modified": "2026-10-19T02:30:47.751420881Z",
  "published": "2026-10-18T15:44:35.323Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/60699102827fdb51f9591414165359c8e867f302"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8d6f98972fe2bd6f73f39d982af0c85d766a1503"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/eeb23ba97bd8016e815ef70300b8d34a0a316b90"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f0ea4824deebf21dacfbe397c4b0a5fd3e745a8d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98665.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98665"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "iio: health: max30102: fix NULL dereference in interrupt handler"
}