Description
In the Linux kernel, the following vulnerability has been resolved:
crypto: rsa - add a check for allocation failure
Static checkers insist that the mpi_alloc() allocation can fail so add a check to prevent a NULL dereference. Small allocations like this can't actually fail in current kernels, but adding a check is very simple and makes the static checkers happy.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 6637e11e4ad22ff03183da0dbd36d65c98b81cf7, < 2831f4d3bfa68e64c5f83e96688be779c87b3511; >= 6637e11e4ad22ff03183da0dbd36d65c98b81cf7, < 95ad8b6879e2e49d02e3bfc0e1fb46421633fe2a; >= 6637e11e4ad22ff03183da0dbd36d65c98b81cf7, < d872ca165cb67112f2841ef9c37d51ef7e63d1e4 |
| Linux | Linux | 6.5 |
References
- https://git.kernel.org/stable/c/2831f4d3bfa68e64c5f83e96688be779c87b3511Patch
- https://git.kernel.org/stable/c/95ad8b6879e2e49d02e3bfc0e1fb46421633fe2aPatch
- https://git.kernel.org/stable/c/d872ca165cb67112f2841ef9c37d51ef7e63d1e4Patch
- https://git.kernel.org/stable/c/2831f4d3bfa68e64c5f83e96688be779c87b3511Patch
- https://git.kernel.org/stable/c/95ad8b6879e2e49d02e3bfc0e1fb46421633fe2aPatch
- https://git.kernel.org/stable/c/d872ca165cb67112f2841ef9c37d51ef7e63d1e4Patch
Timeline
- Published
- Feb 26, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Modified