What’s Vulnerable › Vulnerabilities

CVE-2024-26736: afs: Increase buffer size in afs_update_volume_status()

Description

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()]

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.211, 5.15.150, 5.4.270, 6.1.80. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26736 or the next vulnerability affects your stack