Critical · published March 25, 2024
In the Linux kernel, the following vulnerability has been resolved:
NFS: fix an incorrect limit in filelayout_decode_layout()
The "sizeof(struct nfs_fh)" is two bytes too large and could lead to
memory corruption. It should be NFS_MAXFHSIZE because that's the size
of the ->data[] buffer.
I reversed the size of the arguments to put the variable on the left.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 2.6.37, < 4.4.271 | 4.4.271 |
| linux/linux_kernel | ≥ 4.5, < 4.9.271 | 4.9.271 |
| linux/linux_kernel | ≥ 4.10, < 4.14.235 | 4.14.235 |
| linux/linux_kernel | ≥ 4.15, < 4.19.193 | 4.19.193 |
| linux/linux_kernel | ≥ 4.20, < 5.4.124 | 5.4.124 |
| linux/linux_kernel | ≥ 5.5, < 5.10.42 | 5.10.42 |
| linux/linux_kernel | ≥ 5.11, < 5.12.9 | 5.12.9 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |