# CVE-2026-31710: smb: client: fix dir separator in SMB1 UNIX mounts

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-01T13:56:07.217Z
- Modified: 2026-11-11T21:10:00.200Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 7.0.1 before 7.0.2; 7.0

## References

- <https://git.kernel.org/stable/c/fbbfcf35e1ee3396631f3dc6214cb626aa9814c3> (patch)
- <https://git.kernel.org/stable/c/c4d3fc5844d685441befd0caaab648321013cdfd> (patch)

## Sources

- CVE List: [CVE-2026-31710](https://www.cve.org/CVERecord?id=CVE-2026-31710), CVE Terms of Use, modified 2026-09-21
- NVD: [CVE-2026-31710](https://nvd.nist.gov/vuln/detail/CVE-2026-31710), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31710 · Whole record: https://cve.day/CVE-2026-31710.json · Rebuilt by cve.day 2026-11-25T22:59:20.343Z
