In the Linux kernel, the following vulnerability has been resolved:
NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN
We found a few different systems hung up in writeback waiting on the same page lock, and one task waiting on the NFS_LAYOUT_DRAIN bit in pnfs_update_layout(), however the pnfs_layout_hdr's plh_outstanding count was zero.
It seems most likely that this is another race between the waiter and waker similar to commit ed0172af5d6f ("SUNRPC: Fix a race to wake a sync task"). Fix it up by applying the advised barrier.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 5.10.124 | 5.10.240 |
| linux / linux_kernel | 5.15.49 | 5.15.187 |
| linux / linux_kernel | 5.18.6 | 5.19 |
| linux / linux_kernel | 5.19.1 | 6.1.144 |
| linux / linux_kernel | 6.2 | 6.6.97 |
| linux / linux_kernel | 6.7 | 6.12.37 |
| linux / linux_kernel | 6.13 | 6.15.6 |
| linux / linux_kernel | 5.19 | 5.19.x |
| linux / linux_kernel | 5.19-rc3 | 5.19-rc3.x |
| linux / linux_kernel | 5.19-rc4 | 5.19-rc4.x |
| linux / linux_kernel | 5.19-rc5 | 5.19-rc5.x |
| linux / linux_kernel | 5.19-rc6 | 5.19-rc6.x |
| linux / linux_kernel | 5.19-rc7 | 5.19-rc7.x |
| linux / linux_kernel | 5.19-rc8 | 5.19-rc8.x |
| linux / linux_kernel | 6.16-rc1 | 6.16-rc1.x |
| linux / linux_kernel | 6.16-rc2 | 6.16-rc2.x |
| linux / linux_kernel | 6.16-rc3 | 6.16-rc3.x |
| linux / linux_kernel | 6.16-rc4 | 6.16-rc4.x |
| debian / debian_linux | 11.0 | 11.0.x |