Description
In the Linux kernel, the following vulnerability has been resolved: Input: iforce - validate input packet lengths iforce_process_packet() reads fixed fields from joystick, wheel and status packets without first checking their lengths. In particular, the shared hats-and-buttons helper unconditionally reads data[6]. The status tail is a sequence of 16-bit effect addresses, but an incomplete final address is also consumed. A successful zero-length USB URB additionally reads the packet ID before the common parser is called. Reject the zero-length USB transfer, require the seven-byte joystick and wheel prefixes and the two-byte status prefix, and consume only complete status-tail addresses.
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
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 0ec411167655ef3ff3e84f6af685e962aff9a75baffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 609be40988898a4d75225ade0ea5c1734757dd33affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e73d7a7d913d89141321f5f3f16343ecc200d152affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5232529eaf57f08fe37484e301579a1915b93d14affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2c083ab16e33fbff3ab8c752fbf8118ed3dd31ceaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a64a8b6b31cd669f0449138e53cc2592d454ccf1affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 84e5cb517f445dadbd5f8bf4ec513540e51f9c36affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 5751c781d3c97ab6ce0e2a966156ed882152c415affected
Linux Linux
Default version status: affected
2.6.12affected0 to < 2.6.12unaffected5.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/0ec411167655ef3ff3e84f6af685e962aff9a75b ↗
- https://git.kernel.org/stable/c/609be40988898a4d75225ade0ea5c1734757dd33 ↗
- https://git.kernel.org/stable/c/e73d7a7d913d89141321f5f3f16343ecc200d152 ↗
- https://git.kernel.org/stable/c/5232529eaf57f08fe37484e301579a1915b93d14 ↗
- https://git.kernel.org/stable/c/2c083ab16e33fbff3ab8c752fbf8118ed3dd31ce ↗
- https://git.kernel.org/stable/c/a64a8b6b31cd669f0449138e53cc2592d454ccf1 ↗
- https://git.kernel.org/stable/c/84e5cb517f445dadbd5f8bf4ec513540e51f9c36 ↗
- https://git.kernel.org/stable/c/5751c781d3c97ab6ce0e2a966156ed882152c415 ↗