PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-31710 Linux CVE debrief

A vulnerability in the Linux kernel has been resolved, affecting SMB1 UNIX mounts. The issue arises from the incorrect dir separator used in paths due to missing CIFS_MOUNT_POSIX_PATHS bit in cifs_sb_info::mnt_cifs_flags. This could lead to unexpected behavior when handling directory paths. The vulnerability was introduced due to the incorrect handling of cifs_sb->mnt_cifs_flags in cifs_mount_get_tcon() with SMB1 UNIX mounts. The issue was resolved by ensuring that @cifs_sb->mnt_cifs_flags is read or updated after calling reset_cifs_unix_caps().

Vendor
Linux
Product
Unknown
CVSS
MEDIUM 5.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-05-01
Original CVE updated
2026-09-21
Advisory published
2026-05-01
Advisory updated
2026-09-21

Who should care

Linux kernel maintainers, users, and administrators, especially those using SMB1 UNIX mounts, should assess exposure and apply patches to prevent potential issues with directory path handling.

Why it matters

CVE-2026-31710 is a medium-severity vulnerability in the Linux kernel affecting SMB1 UNIX mounts. It requires verification of directory path handling and patch application to prevent unexpected behavior.

  • Verify directory path handling in SMB1 UNIX mounts to prevent unexpected behavior.
  • Assess and apply patches for Linux kernel versions 7.0.1 to 7.0.2 to ensure proper fix.
  • Monitor for potential issues with directory paths in Linux kernel environments.

Technical summary

The Linux kernel vulnerability (CVE-2026-31710) was resolved, affecting SMB1 UNIX mounts. The issue was caused by the incorrect dir separator used in paths due to missing CIFS_MOUNT_POSIX_PATHS bit in cifs_sb_info::mnt_cifs_flags. This could lead to unexpected behavior when handling directory paths. The vulnerability was introduced due to the incorrect handling of cifs_sb->mnt_cifs_flags in cifs_mount_get_tcon() with SMB1 UNIX mounts. The issue was resolved by ensuring that @cifs_sb->mnt_cifs_flags is read or updated after calling reset_cifs_unix_caps().

Defensive priority

Medium priority for Linux kernel maintainers and users, especially those using SMB1 UNIX mounts, to assess and apply patches.

Recommended defensive actions

  • Assess exposure and apply patches for Linux kernel versions 7.0.1 to 7.0.2.
  • Review and update SMB1 UNIX mounts configurations to ensure proper handling of directory paths.
  • Monitor for potential unexpected behavior in directory path handling.
  • Verify directory path handling in SMB1 UNIX mounts to prevent unexpected behavior.
  • Assess and apply patches for Linux kernel versions 7.0.1 to 7.0.2 to ensure proper fix.
  • Monitor for potential issues with directory paths in Linux kernel environments.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.

Evidence notes

The vulnerability was introduced due to the incorrect handling of cifs_sb->mnt_cifs_flags in cifs_mount_get_tcon() with SMB1 UNIX mounts. The issue was resolved by ensuring that @cifs_sb->mnt_cifs_flags is read or updated after calling reset_cifs_unix_caps().

Sources and references

Verified primary and authoritative sources

  • CVE-2026-31710 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-31710

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-31710 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-31710

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/c4d3fc5844d685441befd0caaab648321013cdfd

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://git.kernel.org/stable/c/fbbfcf35e1ee3396631f3dc6214cb626aa9814c3

    416baaa9-dc9f-4396-8d5f-8c081fb06d67 - Patch

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.