Home

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.

PUBLISHED Reserved 2026-03-09 | Published 2026-05-01 | Updated 2026-05-01 | Assigner Linux

Product status

Default status
unaffected

4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880 (git) before fbbfcf35e1ee3396631f3dc6214cb626aa9814c3
affected

4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880 (git) before c4d3fc5844d685441befd0caaab648321013cdfd
affected

Default status
affected

7.0
affected

Any version before 7.0
unaffected

7.0.2 (semver)
unaffected

7.1-rc1 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/fbbfcf35e1ee3396631f3dc6214cb626aa9814c3

git.kernel.org/...c/c4d3fc5844d685441befd0caaab648321013cdfd

cve.org (CVE-2026-31710)

nvd.nist.gov (CVE-2026-31710)

Download JSON