CVE-2026-31710
JSON

5.5medium

smb: client: fix dir separator in SMB1 UNIX mounts

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.10% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880 before fbbfcf35e1ee3396631f3dc6214cb626aa9814c3, from 4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880 before c4d3fc5844d685441befd0caaab648321013cdfd, 9d9f6e06123001208cd8ae6332c7e814ab709169, from 6.18.53 before 6.19, 7.0
Not affected: before 7.0, from 7.0.2 up to 7.0.*, from 7.1 up to *
CVE List
linux linux_kernelfrom 7.0.1 before 7.0.2, 7.0NVD

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: smb: cliente: corregir el separador de directorios en montajes SMB1 UNIX Al llamar a cifs_mount_get_tcon() con montajes SMB1 UNIX, @cifs_sb -> mnt_cifs_flags necesita ser leído o actualizado solo después de llamar a reset_cifs_unix_caps(), de lo contrario, podría terminar con la falta de los bits CIFS_MOUNT_POSIXACL y CIFS_MOUNT_POSIX_PATHS. Esto corrige el separador de directorios incorrecto utilizado en las rutas causado por la falta del bit CIFS_MOUNT_POSIX_PATHS en cifs_sb_info::mnt_cifs_flags.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31710 changed 2026-09-21CVE Terms of Use
NVDCVE-2026-31710 changed 2026-11-11Public domain