Description
In the Linux kernel, the following vulnerability has been resolved: crypto: mxs-dcp - fix source scatterlist length access mxs_dcp_aes_block_crypt() uses sg_dma_len() without mapping the source scatterlist with dma_map_sg() first. Therefore, sg_dma_len() is invalid and could return zero or a stale DMA length, causing encryption and decryption to process the wrong number of bytes when CONFIG_NEED_SG_DMA_LENGTH=y. Use the original scatterlist length instead.
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
15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 to < fd0f211b27a6ec2ebd8c315683401b43adcc5511affected15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 to < 04201dcc88b26eac52f736e39727fc5c420b7257affected15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 to < e72a795df521cb65b7c4705cc11078cdacfaa2f4affected15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 to < 1537bd55b4f842565068c54b47cd2ae1777d5f8faffected15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 to < da14fae5203b72ca71ccfa9af8de9249e40d533aaffected15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 to < 182f16a20d329a1c818d51dad57d9bf43d356c7caffected15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 to < 0e9edb108a63bbbef952dfcbc597e34ed9c1fb74affected15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 to < 6ef9a4afb52cb102ab038cd42352c142d8505d09affected15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 to < c5bcb084a9871e5b62afb5f48b60adfa13b5d9f8affected
Linux Linux
Default version status: affected
3.14affected0 to < 3.14unaffected5.10.269 to ≤ 5.10.*unaffected5.15.220 to ≤ 5.15.*unaffected6.1.187 to ≤ 6.1.*unaffected6.6.156 to ≤ 6.6.*unaffected6.12.108 to ≤ 6.12.*unaffected6.18.49 to ≤ 6.18.*unaffected7.1.13 to ≤ 7.1.*unaffected7.2.3 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/fd0f211b27a6ec2ebd8c315683401b43adcc5511 ↗
- https://git.kernel.org/stable/c/04201dcc88b26eac52f736e39727fc5c420b7257 ↗
- https://git.kernel.org/stable/c/e72a795df521cb65b7c4705cc11078cdacfaa2f4 ↗
- https://git.kernel.org/stable/c/1537bd55b4f842565068c54b47cd2ae1777d5f8f ↗
- https://git.kernel.org/stable/c/da14fae5203b72ca71ccfa9af8de9249e40d533a ↗
- https://git.kernel.org/stable/c/182f16a20d329a1c818d51dad57d9bf43d356c7c ↗
- https://git.kernel.org/stable/c/0e9edb108a63bbbef952dfcbc597e34ed9c1fb74 ↗
- https://git.kernel.org/stable/c/6ef9a4afb52cb102ab038cd42352c142d8505d09 ↗
- https://git.kernel.org/stable/c/c5bcb084a9871e5b62afb5f48b60adfa13b5d9f8 ↗