{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-31710", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-03-09T15:48:24.133Z", "datePublished": "2026-05-01T13:56:07.217Z", "dateUpdated": "2026-09-21T13:13:35.436Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-09-21T13:13:35.436Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix dir separator in SMB1 UNIX mounts\n\nWhen calling cifs_mount_get_tcon() with SMB1 UNIX mounts,\n@cifs_sb->mnt_cifs_flags needs to be read or updated only after\ncalling reset_cifs_unix_caps(), otherwise it might end up with missing\nCIFS_MOUNT_POSIXACL and CIFS_MOUNT_POSIX_PATHS bits.\n\nThis fixes the wrong dir separator used in paths caused by the missing\nCIFS_MOUNT_POSIX_PATHS bit in cifs_sb_info::mnt_cifs_flags." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "fs/smb/client/connect.c", "fs/smb/client/smb1ops.c" ], "versions": [ { "version": "4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880", "lessThan": "fbbfcf35e1ee3396631f3dc6214cb626aa9814c3", "status": "affected", "versionType": "git" }, { "version": "4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880", "lessThan": "c4d3fc5844d685441befd0caaab648321013cdfd", "status": "affected", "versionType": "git" }, { "version": "9d9f6e06123001208cd8ae6332c7e814ab709169", "status": "affected", "versionType": "git" }, { "version": "6.18.53", "lessThan": "6.19", "status": "affected", "versionType": "semver" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "fs/smb/client/connect.c", "fs/smb/client/smb1ops.c" ], "versions": [ { "version": "7.0", "status": "affected" }, { "version": "0", "lessThan": "7.0", "status": "unaffected", "versionType": "semver" }, { "version": "7.0.2", "lessThanOrEqual": "7.0.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.1", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0", "versionEndExcluding": "7.0.2" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0", "versionEndExcluding": "7.1" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.18.53" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/fbbfcf35e1ee3396631f3dc6214cb626aa9814c3" }, { "url": "https://git.kernel.org/stable/c/c4d3fc5844d685441befd0caaab648321013cdfd" } ], "title": "smb: client: fix dir separator in SMB1 UNIX mounts", "x_generator": { "engine": "bippy-1.2.0" } } } }