In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix to avoid out-of-boundary access in devs.path
[16937.192268] F2FS-fs (loop0): Failed to find devices
If device path length equals to MAXPATHLEN, sbi->devs.path[] may not end up w/ null character due to path array is fully filled, So accidently, fields locate after path[] may be treated as part of device path, result in parsing wrong device path.
struct f2fsdevinfo { ... char path[MAXPATHLEN]; ... };
Let's add one byte space for sbi->devs.path[] to store null character of device path string.