{"id":"CVE-2026-80574","state":"PUBLISHED","title":"Input: focaltech - fix array out-of-bounds in focaltech_process_rel_packet","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: focaltech - fix array out-of-bounds in focaltech_process_rel_packet\n\nMake finger2 (and also finger1) unsigned, so that if the finger index in\nthe packet is 0 then subtracting 1 creates an array index which overflows\nabove the existing check for FOC_MAX_FINGERS, as the existing comment says\nit should, instead of writing to state->fingers[-1].","publishedAt":"2026-08-26T14:37:34.353Z","updatedAt":"2026-10-16T19:26:27.544Z","severity":{"score":8.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"063b4c6a6f3fc01bca085c442000c9c100fdbd93","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"bb502d79acb9ac1e0a77fa8bc7b7b4729140b11f","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"ca92c98b806839c108995b2bbff7061515bdfb53","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"81b07470cb2937ceb74b00be88151582a322433b","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"6f6d5fe29efdf5001bc146fc292e6592cace93eb","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"83c265bfc084d77e2171d4b67362150ab38c935b","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"1842e47126816e56d30c4f856f9854fd7831066c","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"296736076b3fd078742651c719555a488624023a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/mouse/focaltech.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.0","versionType":"semver"},{"version":"5.10.266","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.217","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.184","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.153","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.105","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.46","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.10","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/mouse/focaltech.c"]}],"references":["https://git.kernel.org/stable/c/063b4c6a6f3fc01bca085c442000c9c100fdbd93","https://git.kernel.org/stable/c/bb502d79acb9ac1e0a77fa8bc7b7b4729140b11f","https://git.kernel.org/stable/c/ca92c98b806839c108995b2bbff7061515bdfb53","https://git.kernel.org/stable/c/81b07470cb2937ceb74b00be88151582a322433b","https://git.kernel.org/stable/c/6f6d5fe29efdf5001bc146fc292e6592cace93eb","https://git.kernel.org/stable/c/83c265bfc084d77e2171d4b67362150ab38c935b","https://git.kernel.org/stable/c/1842e47126816e56d30c4f856f9854fd7831066c","https://git.kernel.org/stable/c/296736076b3fd078742651c719555a488624023a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80574.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80574","state":"PUBLISHED","datePublished":"2026-08-26T14:37:34.353Z","dateUpdated":"2026-10-16T19:26:27.544Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.768Z"},"containers":{"cna":{"title":"Input: focaltech - fix array out-of-bounds in focaltech_process_rel_packet","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: focaltech - fix array out-of-bounds in focaltech_process_rel_packet\n\nMake finger2 (and also finger1) unsigned, so that if the finger index in\nthe packet is 0 then subtracting 1 creates an array index which overflows\nabove the existing check for FOC_MAX_FINGERS, as the existing comment says\nit should, instead of writing to state->fingers[-1]."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"063b4c6a6f3fc01bca085c442000c9c100fdbd93","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"bb502d79acb9ac1e0a77fa8bc7b7b4729140b11f","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"ca92c98b806839c108995b2bbff7061515bdfb53","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"81b07470cb2937ceb74b00be88151582a322433b","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"6f6d5fe29efdf5001bc146fc292e6592cace93eb","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"83c265bfc084d77e2171d4b67362150ab38c935b","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"1842e47126816e56d30c4f856f9854fd7831066c","versionType":"git"},{"version":"05be1d079ec0b3691783e4384b1ada82149ff7d2","status":"affected","lessThan":"296736076b3fd078742651c719555a488624023a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/mouse/focaltech.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.0","versionType":"semver"},{"version":"5.10.266","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.217","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.184","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.153","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.105","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.46","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.10","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/mouse/focaltech.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/063b4c6a6f3fc01bca085c442000c9c100fdbd93"},{"url":"https://git.kernel.org/stable/c/bb502d79acb9ac1e0a77fa8bc7b7b4729140b11f"},{"url":"https://git.kernel.org/stable/c/ca92c98b806839c108995b2bbff7061515bdfb53"},{"url":"https://git.kernel.org/stable/c/81b07470cb2937ceb74b00be88151582a322433b"},{"url":"https://git.kernel.org/stable/c/6f6d5fe29efdf5001bc146fc292e6592cace93eb"},{"url":"https://git.kernel.org/stable/c/83c265bfc084d77e2171d4b67362150ab38c935b"},{"url":"https://git.kernel.org/stable/c/1842e47126816e56d30c4f856f9854fd7831066c"},{"url":"https://git.kernel.org/stable/c/296736076b3fd078742651c719555a488624023a"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - FocalTech FOC_REL packets reach focaltech_process_rel_packet through i8042/serio hardware interrupts, ps2_interrupt, psmouse_receive_byte, and focaltech_process_byte with no syscall gate; any local user on a laptop with an integrated FocalTech PS/2 touchpad can deliver the triggering bytes by normal touchpad use.\nAC:L - When the second relative finger index is 0, a documented valid case for odd finger counts, signed underflow makes finger2 -1 pass the FOC_MAX_FINGERS bound test and causes a reliable out-of-bounds write on every such packet without races or attacker-uncontrollable memory layout.\nPR:N - No Linux account, capability, or namespace privilege is required; the integrated touchpad feeds bytes directly into the kernel interrupt handler during normal operation, including at the login screen before authentication.\nUI:N - An attacker with brief local access can trigger the corrupting multitouch gestures directly on the touchpad; exploitation does not depend on a separate victim performing an unusual action beyond touching the device.\nS:U - The vulnerability corrupts kmalloc-allocated focaltech_data within the host kernel psmouse driver; impact is standard in-kernel memory corruption rather than crossing a guest/host, VM, or IOMMU security boundary.\nC:H - Out-of-bounds += writes to fingers[-1].x and fingers[-1].y corrupt adjacent focaltech_data fields such as y_max in kernel heap memory; this class of heap corruption can be leveraged for kernel information disclosure.\nI:H - Attacker-influenced PS/2 packet bytes supply signed 8-bit deltas that repeatedly perform out-of-bounds writes immediately before fingers[0], enabling progressive corruption of neighboring driver state and potential privilege escalation.\nA:H - Corrupting kmalloc-allocated driver state via fingers[-1] can destabilize the input subsystem or adjacent heap objects, causing kernel oops, panic, or repeatable denial of service on affected laptops."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-27T05:01:56.362Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"5.10.266"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"5.15.217"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"6.1.184"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"6.6.153"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"6.12.105"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"6.18.46"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"7.1.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-80574","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T19:17:38.877243Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-16T19:26:27.544Z"}}]}}}