Description
In the Linux kernel, the following vulnerability has been resolved: Input: focaltech - fix array out-of-bounds in focaltech_process_rel_packet Make finger2 (and also finger1) unsigned, so that if the finger index in the packet is 0 then subtracting 1 creates an array index which overflows above the existing check for FOC_MAX_FINGERS, as the existing comment says it should, instead of writing to state->fingers[-1].
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
05be1d079ec0b3691783e4384b1ada82149ff7d2 to < 063b4c6a6f3fc01bca085c442000c9c100fdbd93affected05be1d079ec0b3691783e4384b1ada82149ff7d2 to < bb502d79acb9ac1e0a77fa8bc7b7b4729140b11faffected05be1d079ec0b3691783e4384b1ada82149ff7d2 to < ca92c98b806839c108995b2bbff7061515bdfb53affected05be1d079ec0b3691783e4384b1ada82149ff7d2 to < 81b07470cb2937ceb74b00be88151582a322433baffected05be1d079ec0b3691783e4384b1ada82149ff7d2 to < 6f6d5fe29efdf5001bc146fc292e6592cace93ebaffected05be1d079ec0b3691783e4384b1ada82149ff7d2 to < 83c265bfc084d77e2171d4b67362150ab38c935baffected05be1d079ec0b3691783e4384b1ada82149ff7d2 to < 1842e47126816e56d30c4f856f9854fd7831066caffected05be1d079ec0b3691783e4384b1ada82149ff7d2 to < 296736076b3fd078742651c719555a488624023aaffected
Linux Linux
Default version status: affected
4.0affected0 to < 4.0unaffected5.10.266 to ≤ 5.10.*unaffected5.15.217 to ≤ 5.15.*unaffected6.1.184 to ≤ 6.1.*unaffected6.6.153 to ≤ 6.6.*unaffected6.12.105 to ≤ 6.12.*unaffected6.18.46 to ≤ 6.18.*unaffected7.1.10 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
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 ↗