crypto: mxs-dcp - fix source scatterlist length access
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fd0f211b27a6ec2ebd8c315683401b43adcc5511, Kernel 04201dcc88b26eac52f736e39727fc5c420b7257, Kernel 0e9edb108a63bbbef952dfcbc597e34ed9c1fb74 and 14 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 <fd0f211b27a6ec2ebd8c315683401b43adcc5511, >=15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 <04201dcc88b26eac52f736e39727fc5c420b7257, >=15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 <0e9edb108a63bbbef952dfcbc597e34ed9c1fb74, >=15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 <1537bd55b4f842565068c54b47cd2ae1777d5f8f, >=15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 <182f16a20d329a1c818d51dad57d9bf43d356c7c, >=15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 <6ef9a4afb52cb102ab038cd42352c142d8505d09, >=15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 <c5bcb084a9871e5b62afb5f48b60adfa13b5d9f8, >=15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 <da14fae5203b72ca71ccfa9af8de9249e40d533a, >=15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 <e72a795df521cb65b7c4705cc11078cdacfaa2f4, =3.14 | fd0f211b27a6ec2ebd8c315683401b43adcc5511, 04201dcc88b26eac52f736e39727fc5c420b7257, 0e9edb108a63bbbef952dfcbc597e34ed9c1fb74, 1537bd55b4f842565068c54b47cd2ae1777d5f8f, 182f16a20d329a1c818d51dad57d9bf43d356c7c, 6ef9a4afb52cb102ab038cd42352c142d8505d09, c5bcb084a9871e5b62afb5f48b60adfa13b5d9f8, da14fae5203b72ca71ccfa9af8de9249e40d533a, e72a795df521cb65b7c4705cc11078cdacfaa2f4 |
| linux-kernel: Kernel | >=5.11.0 <5.15.220, >=5.16.0 <6.1.187, >=6.13.0 <6.18.49, >=6.19.0 <7.1.13, >=6.2.0 <6.6.156, >=6.7.0 <6.12.108, >=7.2.0 <7.2.3, >=3.14.0 <5.10.269 | 5.15.220, 6.1.187, 6.18.49, 7.1.13, 6.6.156, 6.12.108, 7.2.3, 5.10.269 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket