Skip to main content
← All vulnerabilities
CVE-2026-31710

smb: client: fix dir separator in SMB1 UNIX mounts

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.19
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.18.53 · fixed in 6.19

  • Linux Linux

    7.0

References 2

git.kernel.org