CVE-2026-31710

published 1 May 2026 · updated 17 Nov 2026

smb: client: fix dir separator in SMB1 UNIX mounts

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.19, Kernel fbbfcf35e1ee3396631f3dc6214cb626aa9814c3, Kernel 7.0.2 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.18.53 <6.19, =7.0, >=4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880 <fbbfcf35e1ee3396631f3dc6214cb626aa9814c3, >=7.0.1 <7.0.2, =9d9f6e06123001208cd8ae6332c7e814ab709169, >=4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880 <c4d3fc5844d685441befd0caaab648321013cdfd6.19, fbbfcf35e1ee3396631f3dc6214cb626aa9814c3, 7.0.2, c4d3fc5844d685441befd0caaab648321013cdfd
linux-kernel: Kernel>=6.18.53 <6.19, >=7.0.0 <7.0.26.19, 7.0.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-31710 severity on Zeptric[![CVE-2026-31710](https://zeptric.io/badge/cve/CVE-2026-31710.svg)](https://zeptric.io/cve/CVE-2026-31710)