{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-81017",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-81017"
  ],
  "published": "2026-09-11T19:47:07Z",
  "summary": "platform/chrome: sensorhub: Bound the EC-reported sensor number",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/chrome: sensorhub: Bound the EC-reported sensor number\n\nEach EC FIFO event carries an 8-bit sensor number (in->sensor_num).\ncros_ec_sensorhub_ring_handler() validates the FIFO event count, the\nper-read count and the ring bound, but not the sensor number, which\ncros_ec_sensor_ring_process_event() then uses unchecked to index\nsensorhub->batch_state[] - allocated with only sensorhub->sensor_num\nentries. A sensor number of sensor_num or larger is an out-of-bounds\nread and write of batch_state[].\n\nValidate the sensor number in the ring handler, where each event is read\nfrom the EC, and drop a malformed event before it is used.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-81017"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3a76b87e1d065183e2e7ae5b800cb1f6e84f543d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2b602ecf6193ecb9720c78b6728d7e09370b1ff1"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/324880f94ba3c6269a607e04f78a4dd4a66b3f53"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d1b4add68dabfdd6481a4fa198bf3b473d2634d7"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3d2636dce0a8fe9eecad29010699847be425dc80"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5eaf7faa99578ae090030d1e2e6ea3b37a615496"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4d9bf63ed74f859c6698bc01d8fb216ef9253867"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/833740a2333c2e4db4e02e3d0ffba04e8718a5f3"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-14T12:06:03Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 8.4,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The OOB is reached from the Chrome EC MKBP IRQ path (cros_ec_irq_thread \u2192 event_notifier \u2192 cros_ec_sensorhub_event \u2192 cros_ec_sensorhub_ring_handler) on an internally connected LPC/SPI/I2C/ISH coprocessor, not from network packets or a pluggable USB device.\nAC:L - A malicious or compromised EC fully controls each FIFO event\u2019s sensor_num, flags, and timestamp from MOTIONSENSE_CMD_FIFO_READ. A non-timestamp event with sensor_num >= sensorhub->sensor_num deterministically indexes batch_state[] out of bounds with no race.\nPR:N - The FIFO handler runs from the EC IRQ notifier with no Linux capability or credential check, and interrupts are armed at probe via cros_ec_sensorhub_ring_fifo_enable(). Compromised EC firmware can deliver EC_MKBP_EVENT_SENSOR_FIFO events without a host account.\nUI:N - Sensor FIFO collection is enabled automatically at driver probe and proceeds on EC interrupts; no victim must open a device, mount a filesystem, or otherwise interact.\nS:U - The corruption is kernel heap in the same host OS that runs the sensorhub driver. This is ordinary kernel memory corruption, not a VM escape, IOMMU bypass, or other changed-scope boundary.\nC:H - Attacker-controlled 8-bit sensor_num indexes batch_state[] (allocated only for sensorhub->sensor_num entries), enabling an out-of-bounds read of adjacent heap via newest_sensor_event/last_ts. Unbounded OOB reads score Confidentiality High.\nI:H - ODR, FLUSH, and sample processing write last_len, penul_len, and newest_sensor_event at the attacker-chosen index, yielding a heap out-of-bounds write that can corrupt neighboring objects and hijack kernel control flow.\nA:H - Out-of-bounds heap access of batch_state[] can oops or panic the kernel when it hits unmapped or poisoned memory, so Availability is High."
    }
  }
}
