CVE-2024-26702: iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC
In the Linux kernel, the following vulnerability has been resolved:
iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC
Recently, we encounter kernel crash in function rm3100_common_probe
caused by out of bound access of array rm3100_samp_rates (because of
underlying hardware failures). Add boundary check to prevent out of
bound access.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel availability issue in the RM3100 magnetometer driver. A faulty hardware read can cause an out-of-bounds array access during driver probing, leading to a kernel crash. It is local and specialized, so urgency is highest for systems using this sensor driver.
Executive priority
Handle through normal kernel patch management, with higher priority for embedded or sensor-dependent environments where a kernel crash could interrupt operations. There is no source-backed evidence of active exploitation, but availability impact can be material on affected devices.
Technical view
The rm3100_common_probe path reads RM3100_REG_TMRC and uses the value to index rm3100_samp_rates. The fix adds a boundary check to prevent CWE-125 out-of-bounds access when hardware returns an unexpected value. CVSS is 5.5, local attack vector, high availability impact, no confidentiality or integrity impact.
Likely exposure
Exposure is likely limited to Linux systems with the RM3100 IIO magnetometer driver present and reachable, especially embedded, industrial, robotics, or sensor platforms. General servers without this driver or hardware are unlikely to be meaningfully exposed, but kernel package inventories should still be checked.
Exploitation context
The source bundle does not show KEV listing or active exploitation. The described trigger involves local conditions and underlying hardware failure behavior. Treat this as a denial-of-service risk rather than remote compromise based on the available evidence.
Researcher notes
Evidence supports a local denial-of-service condition in a specific Linux kernel hardware driver. The root cause is unchecked use of a hardware-derived register value as an array index. The public bundle provides stable kernel commits and a Debian LTS advisory, but not exploit evidence.
Mitigation direction
Update to a vendor kernel containing the referenced stable fixes.
Check Linux distributor advisories for the exact fixed package version.
Prioritize embedded or sensor systems using the RM3100 magnetometer driver.
Reboot into the patched kernel after package installation.
If no patch is available, follow vendor guidance for driver exposure reduction.
Validation and detection
Inventory running kernel versions across affected Linux assets.
Confirm whether the RM3100 IIO magnetometer driver is built, loaded, or used.
Map deployed kernels against vendor fixed releases or referenced stable commits.
Review crash logs for rm3100_common_probe or RM3100 driver faults.
Verify systems rebooted into the patched kernel after maintenance.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-125: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-125 · source CWE mapping
Out-of-bounds Read
Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.