Linux · Linux Kernel · CVE-2024-26818
**Name of the Vulnerable Software and Affected Versions**
Linux kernel version 6.8.0-rc3
**Description**
The issue is related to a potential buffer overflow in the `fscanf` function, which may occur when the `mount point` variable is used. The warning is reported by clang, indicating that the destination buffer in argument 3 has a size of 1024, but the corresponding specifier may require a size of 1025. To avoid the overflow, the `mount point` variable size should be increased to `MAX PATH+1`.
**Recommendations**
Increase the `mount point` variable size to `MAX PATH+1` to avoid the overflow.