In the Linux kernel, the following vulnerability has been resolved:
dmaengine: idxd: Fix double free in idxd_setup_wqs()
The clean up in idxd_setup_wqs() has had a couple bugs because the error handling is a bit subtle. It's simpler to just re-write it in a cleaner way. The issues here are:
It's better to free partial loop iterations within the loop and then the unwinding at the end can handle whole loop iterations. I also renamed the labels to describe what the goto does and not where the goto was located.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 6.1.140 | 6.1.153 |
| linux / linux_kernel | 6.6.92 | 6.6.107 |
| linux / linux_kernel | 6.12.30 | 6.12.48 |
| linux / linux_kernel | 6.14.8 | 6.15 |
| linux / linux_kernel | 6.15.1 | 6.16.8 |
| linux / linux_kernel | 6.15 | 6.15.x |
| linux / linux_kernel | 6.15-rc7 | 6.15-rc7.x |
| 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 |
| debian / debian_linux | 11.0 | 11.0.x |