Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix dir separator in SMB1 UNIX mounts When calling cifs_mount_get_tcon() with SMB1 UNIX mounts, @cifs_sb->mnt_cifs_flags needs to be read or updated only after calling reset_cifs_unix_caps(), otherwise it might end up with missing CIFS_MOUNT_POSIXACL and CIFS_MOUNT_POSIX_PATHS bits. This fixes the wrong dir separator used in paths caused by the missing CIFS_MOUNT_POSIX_PATHS bit in cifs_sb_info::mnt_cifs_flags.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 7.0.1, < 7.0.2 |
References
- https://git.kernel.org/stable/c/c4d3fc5844d685441befd0caaab648321013cdfdPatch
- https://git.kernel.org/stable/c/fbbfcf35e1ee3396631f3dc6214cb626aa9814c3Patch
FAQ
What is CVE-2026-31710?
CVE-2026-31710 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: smb: client: fix dir separator in SMB1 UNIX mounts When calling cifs_mount_get_tcon() with SMB1 UNIX mounts, @cifs_sb->mnt_cifs_fl...
How severe is CVE-2026-31710?
CVE-2026-31710 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-31710?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.