Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init When the mpi_ec_ctx structure is initialized, some fields are not cleared, causing a crash when referencing the field when the structure was released. Initially, this issue was ignored because memory for mpi_ec_ctx is allocated with the __GFP_ZERO flag. For example, this error will be triggered when calculating the Za value for SM2 separately.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f before 0c3687822259a7628c85cd21a3445cbe3c367165; affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f before 2bb86817b33c9d704e127f92b838035a72c315b6; affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f before bb44477d4506e52785693a39f03cdc6a2c5e8598; affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f before 7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a; affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f before 7abdfd45a650c714d5ebab564bb1b988f14d9b49; affected d58bb7e55a8a65894cc02f27c3e2bf9403e7c40f before ba3c5574203034781ac4231acf117da917efcd2a |
| Linux / Linux | affected 5.10; unaffected 0 before 5.10; unaffected 5.10.210 through 5.10.*; unaffected 5.15.149 through 5.15.*; unaffected 6.1.79 through 6.1.*; unaffected 6.6.15 through 6.6.*; unaffected 6.7.3 through 6.7.*; unaffected 6.8 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/0c3687822259a7628c85cd21a3445cbe3c367165
- https://git.kernel.org/stable/c/2bb86817b33c9d704e127f92b838035a72c315b6
- https://git.kernel.org/stable/c/bb44477d4506e52785693a39f03cdc6a2c5e8598
- https://git.kernel.org/stable/c/7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a
- https://git.kernel.org/stable/c/7abdfd45a650c714d5ebab564bb1b988f14d9b49
- https://git.kernel.org/stable/c/ba3c5574203034781ac4231acf117da917efcd2a
ADP enrichment
No English description supplied.
- https://git.kernel.org/stable/c/0c3687822259a7628c85cd21a3445cbe3c367165
- https://git.kernel.org/stable/c/2bb86817b33c9d704e127f92b838035a72c315b6
- https://git.kernel.org/stable/c/bb44477d4506e52785693a39f03cdc6a2c5e8598
- https://git.kernel.org/stable/c/7ebf812b7019fd2d4d5a7ca45ef4bf3a6f4bda0a
- https://git.kernel.org/stable/c/7abdfd45a650c714d5ebab564bb1b988f14d9b49
- https://git.kernel.org/stable/c/ba3c5574203034781ac4231acf117da917efcd2a
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
No English description supplied.
No references supplied.