Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21E3433A032 for ; Sun, 18 Oct 2026 15:45:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792338330; cv=none; b=sC+gYLkbio0IDQYPDx73QOkdJBDSgUuTasCWKcSbPVGQwQsSeHHMpWViS/LzFbflRV0YdQVzkfV3ZlEXmok+oarPPP4Eaz59kMnlS3AtAgbLM8GbGnDMgFLqt3aY9O5gIJxlURVogZHTm3ZchdZMbE8i9mu/p6LkYrbKrvTQHCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792338330; c=relaxed/simple; bh=eZTLtdcH3UbNbQvdvMmGNLppX8+lGG2/xMJwlyneZ3s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UbMbLfaTs7xahC3ESNGU/QtBXX2QJQKI80SFsC9Wx5bohbVAT5UPh/muUnFL4eRK3D8d6+Lqsmwyo+lKvRea9qlaAhHR3j2Y3jqdd+ol+OBdBhatrcfSZhu3uuebMFMr8ft82cCIUzvdFACIEmZpVj1AhMRtW0ub1lCUj9q8Rxg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZYfkpFHd; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ZYfkpFHd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D8A41F000C4; Sun, 18 Oct 2026 15:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792338329; bh=LyKD5XoMNLGb6s6gIHFXW1IZ663pqpZqgo2gEu4+4EU=; h=From:To:Cc:Subject:Date:Reply-To; b=ZYfkpFHdLnoX0bMvIJWQTCJikM1kCYk8ilPJwv77OllXY9l76b0Y6vZOuTznviLue CAW5w6nK4RzQ7MxnZMsIkO1D7zpl5APw3TuLIh0mbxRyXEAY97H4BcUz/voPe1PEIJ dO4ND0EQhU/YUIoMsNUs/iMHrRlWU80KyVBxNeD4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98665: iio: health: max30102: fix NULL dereference in interrupt handler Date: Sun, 18 Oct 2026 17:44:00 +0200 Message-ID: <2026101857-CVE-2026-98665-f2ae@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3189; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=i0vmQIylp/PK7yZBy8sYAV0KKPeUEHwfxXoWSfELnHE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXtp67OTKcF/Wsyzu0MoZE9+uWFyxN+DN0bz1X5fnL uP5/+vehY5YFgZBJgZZMUWWL9t4ju6vOKToZWh7GmYOKxPIEAYuTgGYyM4+hrmyv+5kfl8jJmyZ fr1tE5+RVmTXZ3uGueLHpi63af9k8f+C509jD5u5TjzrZgEA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98665 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit 90579b69e94bf11ea0745ff003e82a6ce9725f96 and fixed in 6.12.113 with commit eeb23ba97bd8016e815ef70300b8d34a0a316b90 Issue introduced in 4.16 with commit 90579b69e94bf11ea0745ff003e82a6ce9725f96 and fixed in 6.18.56 with commit 60699102827fdb51f9591414165359c8e867f302 Issue introduced in 4.16 with commit 90579b69e94bf11ea0745ff003e82a6ce9725f96 and fixed in 7.2.10 with commit 8d6f98972fe2bd6f73f39d982af0c85d766a1503 Issue introduced in 4.16 with commit 90579b69e94bf11ea0745ff003e82a6ce9725f96 and fixed in 7.3-rc6 with commit f0ea4824deebf21dacfbe397c4b0a5fd3e745a8d Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98665 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/iio/health/max30102.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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