CVE Catalog

CVE-2026-31710

Medium
Published: Translated: NVD NIST

Summary

In the Linux kernel, a vulnerability was found in the SMB client related to directory separator handling in SMB1 UNIX mounts. The issue occurs when @cifs_sb->mnt_cifs_flags is read or updated before calling reset_cifs_unix_caps(), potentially causing incorrect behavior.

Risk Assessment

The risk involves potential misidentification of file paths in SMB1 UNIX mounts, which could lead to unexpected filesystem behavior or access errors.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix that ensures the correct order of operations in the cifs_mount_get_tcon() function.

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

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