crypto: sa2ul - stop probe if context pool creation fails
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7694b6ca649fead1a57046935711bc82dfc78cfb · < 91ded4742fcde6ad415c4d8a20e5ea0dcdf4f73e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
crypto: sa2ul - stop probe if context pool creation fails
sa_ul_probe() calls sa_init_mem() to create the DMA pool used for security context buffers, but ignores its return value. If pool creation fails, probe still continues with DMA setup, algorithm registration and child population even though later request setup depends on that pool.
Stop probing when sa_init_mem() fails, and route that failure to the PM cleanup path without attempting to destroy an uncreated DMA pool.
From the CVE record · Linux
The Linux kernel’s sa2ul crypto driver continues probing if creation of its security-context DMA pool fails, even though later request setup depends on that pool. This can cause request setup to fail; the input does not describe an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels with the sa2ul crypto driver should check their kernel version; affected versions are not specified.