CVE Catalog

CVE-2026-31710

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.10%

1th percentile - higher than 1% of all known CVEs

Summary

In the Linux kernel, a vulnerability was resolved in the SMB client regarding the directory separator in SMB1 UNIX mounts. When calling cifs_mount_get_tcon() with SMB1 UNIX mounts, cifs_sb->mnt_cifs_flags must be read or updated only after calling reset_cifs_unix_caps(), otherwise the CIFS_MOUNT_POSIXACL and CIFS_MOUNT_POSIX_PATHS bits may be missing.

Risk Assessment

The missing CIFS_MOUNT_POSIX_PATHS bit causes the wrong directory separator to be used in paths, which can lead to incorrect file operation behavior in SMB1 UNIX mounts.

Recommendation

Update the Linux kernel to a version containing the fix. Avoid SMB1 UNIX mounts if not required and consider migrating to newer SMB protocol versions.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS