{"id":"CVE-2026-31710","aliases":["CVE-2026-31710"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: fix dir separator in SMB1 UNIX mounts","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsmb: cliente: corregir el separador de directorios en montajes SMB1 UNIX\n\nAl llamar a cifs_mount_get_tcon() con montajes SMB1 UNIX, @cifs_sb  ->  mnt_cifs_flags necesita ser leído o actualizado solo después de llamar a reset_cifs_unix_caps(), de lo contrario, podría terminar con la falta de los bits CIFS_MOUNT_POSIXACL y CIFS_MOUNT_POSIX_PATHS.\n\nEsto corrige el separador de directorios incorrecto utilizado en las rutas causado por la falta del bit CIFS_MOUNT_POSIX_PATHS en cifs_sb_info::mnt_cifs_flags.","source":"nvd"}],"published":"2026-05-01T13:56:07.217Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880","fixed":"fbbfcf35e1ee3396631f3dc6214cb626aa9814c3","status":"affected"},{"type":"git","introduced":"4fc3a433c13944ee5766ec5b9bf6f1eb4d29b880","fixed":"c4d3fc5844d685441befd0caaab648321013cdfd","status":"affected"},{"type":"git","version":"9d9f6e06123001208cd8ae6332c7e814ab709169","status":"affected"},{"type":"semver","introduced":"6.18.53","fixed":"6.19","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.0.2","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"7.0.1","fixed":"7.0.2"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/fbbfcf35e1ee3396631f3dc6214cb626aa9814c3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c4d3fc5844d685441befd0caaab648321013cdfd","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31710","url":"https://www.cve.org/CVERecord?id=CVE-2026-31710","licence":"CVE Terms of Use","modified":"2026-09-21T13:13:35.436Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31710","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31710","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.343Z","epss":{"score":0.00104,"percentile":0.01088,"date":"2026-12-01T12:00:22.000Z"}}