A buffer overflow vulnerability in the Linux kernel's SMB2 client implementation (SMB2_tcon function) was fixed. The issue arose because a fixed-size buffer was allocated for the UNC path, but the user-controlled path length could exceed this size, leading to out-of-bounds writes. The fix involves validating the path length and dynamically allocating the buffer to safely accommodate longer paths.