Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 05be1d079ec0b3691783e4384b1ada82149ff7d2 before 063b4c6a6f3fc01bca085c442000c9c100fdbd93; affected 05be1d079ec0b3691783e4384b1ada82149ff7d2 before bb502d79acb9ac1e0a77fa8bc7b7b4729140b11f; affected 05be1d079ec0b3691783e4384b1ada82149ff7d2 before ca92c98b806839c108995b2bbff7061515bdfb53; affected 05be1d079ec0b3691783e4384b1ada82149ff7d2 before 81b07470cb2937ceb74b00be88151582a322433b; affected 05be1d079ec0b3691783e4384b1ada82149ff7d2 before 6f6d5fe29efdf5001bc146fc292e6592cace93eb; affected 05be1d079ec0b3691783e4384b1ada82149ff7d2 before 83c265bfc084d77e2171d4b67362150ab38c935b; affected 05be1d079ec0b3691783e4384b1ada82149ff7d2 before 1842e47126816e56d30c4f856f9854fd7831066c; affected 05be1d079ec0b3691783e4384b1ada82149ff7d2 before 296736076b3fd078742651c719555a488624023a |
| Linux / Linux | affected 4.0; unaffected 0 before 4.0; unaffected 5.10.266 through 5.10.*; unaffected 5.15.217 through 5.15.*; unaffected 6.1.184 through 6.1.*; unaffected 6.6.153 through 6.6.*; unaffected 6.12.105 through 6.12.*; unaffected 6.18.46 through 6.18.*; unaffected 7.1.10 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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
ADP enrichment
No English description supplied.
No references supplied.