crypto: mxs-dcp - fix source scatterlist length access
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.269, 5.15.220, 6.1.187, 6.6.156, 6.12.108, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 · fixed in fd0f211b27a6ec2ebd8c315683401b43adcc5511; From 15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 · fixed in 04201dcc88b26eac52f736e39727fc5c420b7257; From 15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 · fixed in e72a795df521cb65b7c4705cc11078cdacfaa2f4; From 15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 · fixed in 1537bd55b4f842565068c54b47cd2ae1777d5f8f; From 15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 · fixed in da14fae5203b72ca71ccfa9af8de9249e40d533a; From 15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 · fixed in 182f16a20d329a1c818d51dad57d9bf43d356c7c; From 15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 · fixed in 0e9edb108a63bbbef952dfcbc597e34ed9c1fb74; From 15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 · fixed in 6ef9a4afb52cb102ab038cd42352c142d8505d09; From 15b59e7c3733f90ff1f7dd66ad77ae1c90bcdff5 · fixed in c5bcb084a9871e5b62afb5f48b60adfa13b5d9f8
- Linux Linux
3.14
- KernelLinux
From 3.14.0 · fixed in 5.10.269; From 5.11.0 · fixed in 5.15.220; From 5.16.0 · fixed in 6.1.187; From 6.2.0 · fixed in 6.6.156; From 6.7.0 · fixed in 6.12.108; From 6.13.0 · fixed in 6.18.49; From 6.19.0 · fixed in 7.1.13; From 7.2.0 · fixed in 7.2.3
References 9
git.kernel.org
- stable/c/fd0f211b27a6ec2ebd8c315683401b43adcc5511
- stable/c/04201dcc88b26eac52f736e39727fc5c420b7257
- stable/c/e72a795df521cb65b7c4705cc11078cdacfaa2f4
- stable/c/1537bd55b4f842565068c54b47cd2ae1777d5f8f
- stable/c/da14fae5203b72ca71ccfa9af8de9249e40d533a
- stable/c/182f16a20d329a1c818d51dad57d9bf43d356c7c
- stable/c/0e9edb108a63bbbef952dfcbc597e34ed9c1fb74
- stable/c/6ef9a4afb52cb102ab038cd42352c142d8505d09
- stable/c/c5bcb084a9871e5b62afb5f48b60adfa13b5d9f8