{"schema":"threatline.record/2","record":{"id":"CVE-2026-19576","aliases":["GHSA-p7qh-fvwx-f7vr"],"summary":"Stack out-of-bounds write in the Goodix GT911 touch controller driver from an unvalidated device-reported touch point count","details":"The Goodix GT9xx input driver in drivers/input/input_gt911.c reads the touch point count from the controller's status register and masks it with GT911_TOUCH_POINTS_MSK (0x0F), yielding a value of 0..15. In gt911_process() that value is used directly as the loop bound for filling point_reg[], a stack array sized to CONFIG_INPUT_GT911_MAX_TOUCH_POINTS, whose Kconfig range is 1..5 with a default of 1. No other check constrains the count; the driver relied only on a comment asserting that the controller had been programmed at init to report no more points than configured.\n\nEach loop iteration issues an I2C read of eight bytes straight into point_reg[i], so a controller that reports more points than the array holds causes up to 112 bytes of peer-supplied data to be written past the end of the array, over the stack frame of gt911_process() in the system workqueue thread. Two further loops then read out of bounds from the same array. Triggering it requires control of, or the ability to substitute, the I2C touch controller — plausible on the many supported boards where the GT9xx panel is a pluggable display module or shield rather than an on-PCB part; a spoofed device need only answer the init probes with a supported product ID and a checksum-valid config blob. The same overflow can also occur non-adversarially, with a GT9271-class panel that ignores the driver's touch-count programming and reports up to ten points, or with bus corruption of the single status byte.\n\nThe impact is an out-of-bounds stack write with fully attacker-chosen content executing at kernel privilege, i.e. potential control-flow hijack on the host MCU, in addition to out-of-bounds reads and crashes. The attack vector is physical/local hardware access only; there is no network, USB, or syscall path to the defect. The fix clamps the reported count with min() against CONFIG_INPUT_GT911_MAX_TOUCH_POINTS before any array indexing.","categories":["Unclassified"],"product":"zephyr","vendor":"zephyrproject","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-19576","source_modified_at":"2026-10-15T18:09:27.588Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"zephyr","vendor":"zephyrproject","versions":[{"lessThanOrEqual":"4.4.2","status":"affected","version":"4.0.0","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"GitHub Advisory Database","source_url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-p7qh-fvwx-f7vr","source_modified_at":"2026-10-11T14:49:05Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"ecosystem":"other","name":"zephyr"},"range":">= 4.0.0, <= 4.4.2"}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-p7qh-fvwx-f7vr","source_modified_at":"2026-10-11T14:49:05Z","fetched_at":"2026-10-24T00:31:04.721601Z","package":{"ecosystem":"other","name":"zephyr"},"version":"4.5.0"}],"cvss":6.8,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00169,"percentile":0.06005,"score_date":"2026-10-23"},"published_at":"2026-10-11T17:14:53.339Z","modified_at":"2026-10-15T18:09:27.588Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-19576","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-15T18:09:27.588Z"},{"source":"GitHub Advisory Database","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-p7qh-fvwx-f7vr","fetched_at":"2026-10-24T00:31:04.721601Z","source_modified_at":"2026-10-11T14:49:05Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-19576","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/zephyrproject-rtos/zephyr/commit/42b52d571eb2113012c135276693042fd372fdea","tags":["patch"]},{"source":"CVE List","url":"https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-p7qh-fvwx-f7vr"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-15T17:57:40.802963Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-15T18:09:27.588Z","content_hash":"fc1fad7d490b327e09cd913a66e818a41bf6d1bd8e3b27faa91a336f1a842c4a"}}
