Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 34d1dc17ce978ae76e676d401b48fe9d004aa948 before 447b3c893987a0106a65f04b62ec3271892e9d98; affected 34d1dc17ce978ae76e676d401b48fe9d004aa948 before 3b8938f5fbcf4a918785f9cb4b108782eb4ea717; affected 34d1dc17ce978ae76e676d401b48fe9d004aa948 before 2564ac3d3b8b47cd9692a5bf42d668ed7218b54e; affected 34d1dc17ce978ae76e676d401b48fe9d004aa948 before 8f3365ed2a5db2ac95ab70a6c47561db39d24537; affected 34d1dc17ce978ae76e676d401b48fe9d004aa948 before b138bc665e21d4422382ab43aebdf0a2b7bb9cb3; affected 34d1dc17ce978ae76e676d401b48fe9d004aa948 before 827ec385458adeeda651de2b6f3537e386b1a8d9; affected 34d1dc17ce978ae76e676d401b48fe9d004aa948 before 4dc1051939e499c838229af035464a5fc7671198; affected 34d1dc17ce978ae76e676d401b48fe9d004aa948 before 9da70a43b5fea60d758137f7f0ccfe19356cb5bb |
| Linux / Linux | affected 4.14; unaffected 0 before 4.14; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.109 through 6.12.*; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
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