Description
In the Linux kernel, the following vulnerability has been resolved: fpga: altera-cvp: Avoid out-of-bounds read in trailing byte write The trailing byte path in altera_cvp_send_block() dereferences a u32 pointer even when only 1-3 bytes remain in the input buffer. If the buffer ends at a page or scatterlist boundary, this can read past the valid image data and fault. Copy the remaining bytes into a zero-initialized u32 before writing the final word so only valid bytes are read from the input buffer.
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
34d1dc17ce978ae76e676d401b48fe9d004aa948 to < 447b3c893987a0106a65f04b62ec3271892e9d98affected34d1dc17ce978ae76e676d401b48fe9d004aa948 to < 3b8938f5fbcf4a918785f9cb4b108782eb4ea717affected34d1dc17ce978ae76e676d401b48fe9d004aa948 to < 2564ac3d3b8b47cd9692a5bf42d668ed7218b54eaffected34d1dc17ce978ae76e676d401b48fe9d004aa948 to < 8f3365ed2a5db2ac95ab70a6c47561db39d24537affected34d1dc17ce978ae76e676d401b48fe9d004aa948 to < b138bc665e21d4422382ab43aebdf0a2b7bb9cb3affected34d1dc17ce978ae76e676d401b48fe9d004aa948 to < 827ec385458adeeda651de2b6f3537e386b1a8d9affected34d1dc17ce978ae76e676d401b48fe9d004aa948 to < 4dc1051939e499c838229af035464a5fc7671198affected34d1dc17ce978ae76e676d401b48fe9d004aa948 to < 9da70a43b5fea60d758137f7f0ccfe19356cb5bbaffected
Linux Linux
Default version status: affected
4.14affected0 to < 4.14unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/447b3c893987a0106a65f04b62ec3271892e9d98 ↗
- https://git.kernel.org/stable/c/3b8938f5fbcf4a918785f9cb4b108782eb4ea717 ↗
- https://git.kernel.org/stable/c/2564ac3d3b8b47cd9692a5bf42d668ed7218b54e ↗
- https://git.kernel.org/stable/c/8f3365ed2a5db2ac95ab70a6c47561db39d24537 ↗
- https://git.kernel.org/stable/c/b138bc665e21d4422382ab43aebdf0a2b7bb9cb3 ↗
- https://git.kernel.org/stable/c/827ec385458adeeda651de2b6f3537e386b1a8d9 ↗
- https://git.kernel.org/stable/c/4dc1051939e499c838229af035464a5fc7671198 ↗
- https://git.kernel.org/stable/c/9da70a43b5fea60d758137f7f0ccfe19356cb5bb ↗