In the Linux kernel, the following vulnerability has been resolved:
crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg
Issuing two writes to the same af_alg socket is bogus as the data will be interleaved in an unpredictable fashion. Furthermore, concurrent writes may create inconsistencies in the internal socket state.
Disallow this by adding a new ctx->write field that indiciates exclusive ownership for writing.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 2.6.38 | 5.10.245 |
| linux / linux_kernel | 5.11 | 5.15.194 |
| linux / linux_kernel | 5.16 | 6.1.154 |
| linux / linux_kernel | 6.2 | 6.6.108 |
| linux / linux_kernel | 6.7 | 6.12.49 |
| linux / linux_kernel | 6.13 | 6.16.9 |
| linux / linux_kernel | 6.17-rc1 | 6.17-rc1.x |
| linux / linux_kernel | 6.17-rc2 | 6.17-rc2.x |
| linux / linux_kernel | 6.17-rc3 | 6.17-rc3.x |
| linux / linux_kernel | 6.17-rc4 | 6.17-rc4.x |
| linux / linux_kernel | 6.17-rc5 | 6.17-rc5.x |
| linux / linux_kernel | 6.17-rc6 | 6.17-rc6.x |