iio: health: max30102: fix NULL dereference in interrupt handler
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.
CVE-2026-98665
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98665
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"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"
}
],
"programFiles": [
"drivers/iio/health/max30102.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.16"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.16",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/iio/health/max30102.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98665
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48896 · Revision 1
- Added to Heist Feed
- Publisher date