High · published April 3, 2024
In the Linux kernel, the following vulnerability has been resolved:
afs: Increase buffer size in afs_update_volume_status()
The max length of volume->vid value is 20 characters.
So increase idbuf[] size up to 24 to avoid overflow.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
[DH: Actually, it's 20 + NUL, so increase it to 24 and use snprintf()]
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.15, < 5.4.270 | 5.4.270 |
| linux/linux_kernel | ≥ 5.5, < 5.10.211 | 5.10.211 |
| linux/linux_kernel | ≥ 5.11, < 5.15.150 | 5.15.150 |
| linux/linux_kernel | ≥ 5.16, < 6.1.80 | 6.1.80 |
| linux/linux_kernel | ≥ 6.2, < 6.6.19 | 6.6.19 |
| linux/linux_kernel | ≥ 6.7, < 6.7.7 | 6.7.7 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| debian/debian_linux | all versions | — |