High · published March 18, 2024
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 5.10, < 5.10.210 | 5.10.210 |
| linux/linux_kernel | ≥ 5.11, < 5.15.149 | 5.15.149 |
| linux/linux_kernel | ≥ 5.16, < 6.1.79 | 6.1.79 |
| linux/linux_kernel | ≥ 6.2, < 6.6.15 | 6.6.15 |
| linux/linux_kernel | ≥ 6.7, < 6.7.3 | 6.7.3 |
| debian/debian_linux | all versions | — |