platform/chrome: sensorhub: Bound the EC-reported sensor number (Linux Linux)

CVE-2026-81017
HIGH 8.4

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: platform/chrome: sensorhub: Bound the EC-reported sensor number Each EC FIFO event carries an 8-bit sensor number (in->sensor_num). cros_ec_sensorhub_ring_handler() validates the FIFO event count, the per-read count and the ring bound, but not the sensor number, which cros_ec_sensor_ring_process_event() then uses unchecked to index sensorhub->batch_state[] - allocated with only sensorhub->sensor_num entries. A sensor number of sensor_num or larger is an out-of-bounds read and write of batch_state[]. Validate the sensor number in the ring handler, where each event is read from the EC, and drop a malformed event before it is used.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 145d59baff5944b71551ac518d7fd7d377a9c820 < 3a76b87e1d065183e2e7ae5b800cb1f6e84f543d ; affected 145d59baff5944b71551ac518d7fd7d377a9c820 < 2b602ecf6193ecb9720c78b6728d7e09370b1ff1 ; affected 145d59baff5944b71551ac518d7fd7d377a9c820 < 324880f94ba3c6269a607e04f78a4dd4a66b3f53 ; affected 145d59baff5944b71551ac518d7fd7d377a9c820 < d1b4add68dabfdd6481a4fa198bf3b473d2634d7 ; affected 145d59baff5944b71551ac518d7fd7d377a9c820 < 3d2636dce0a8fe9eecad29010699847be425dc80 ; affected 145d59baff5944b71551ac518d7fd7d377a9c820 < 5eaf7faa99578ae090030d1e2e6ea3b37a615496
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD