{"id":"CVE-2026-31693","state":"PUBLISHED","title":"cifs: some missing initializations on replay","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: some missing initializations on replay\n\nIn several places in the code, we have a label to signify\nthe start of the code where a request can be replayed if\nnecessary. However, some of these places were missing the\nnecessary reinitializations of certain local variables\nbefore replay.\n\nThis change makes sure that these variables get initialized\nafter the label.","publishedAt":"2026-04-30T11:47:01.230Z","updatedAt":"2026-10-19T18:56:04.992Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"433042a91f9373241307725b52de573933ffedbf","status":"affected","lessThan":"c854ab481ece4b3e5f4c2e8b22824f015ff874a5","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"1d731e512134495e0ef490ade0e4d91dc0d515ec","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"7c9ce68192eef14c777cb6ce17155d2eb2431aea","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"c99e160938b627f6f28edee930e8abc157e84386","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"14f66f44646333d2bfd7ece36585874fd72f8286","versionType":"git"},{"version":"6.6.32","status":"affected","lessThan":"6.6.128","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2ops.c","fs/smb/client/smb2pdu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.6.128","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.16","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2ops.c","fs/smb/client/smb2pdu.c"]}],"references":["https://git.kernel.org/stable/c/c854ab481ece4b3e5f4c2e8b22824f015ff874a5","https://git.kernel.org/stable/c/1d731e512134495e0ef490ade0e4d91dc0d515ec","https://git.kernel.org/stable/c/7c9ce68192eef14c777cb6ce17155d2eb2431aea","https://git.kernel.org/stable/c/c99e160938b627f6f28edee930e8abc157e84386","https://git.kernel.org/stable/c/14f66f44646333d2bfd7ece36585874fd72f8286"],"weaknesses":["CWE-665"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/31xxx/CVE-2026-31693.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31693","state":"PUBLISHED","datePublished":"2026-04-30T11:47:01.230Z","dateUpdated":"2026-10-19T18:56:04.992Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-03-09T15:48:24.131Z"},"containers":{"cna":{"title":"cifs: some missing initializations on replay","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: some missing initializations on replay\n\nIn several places in the code, we have a label to signify\nthe start of the code where a request can be replayed if\nnecessary. However, some of these places were missing the\nnecessary reinitializations of certain local variables\nbefore replay.\n\nThis change makes sure that these variables get initialized\nafter the label."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"433042a91f9373241307725b52de573933ffedbf","status":"affected","lessThan":"c854ab481ece4b3e5f4c2e8b22824f015ff874a5","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"1d731e512134495e0ef490ade0e4d91dc0d515ec","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"7c9ce68192eef14c777cb6ce17155d2eb2431aea","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"c99e160938b627f6f28edee930e8abc157e84386","versionType":"git"},{"version":"4f1fffa2376922f3d1d506e49c0fd445b023a28e","status":"affected","lessThan":"14f66f44646333d2bfd7ece36585874fd72f8286","versionType":"git"},{"version":"6.6.32","status":"affected","lessThan":"6.6.128","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2ops.c","fs/smb/client/smb2pdu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.6.128","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.16","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2ops.c","fs/smb/client/smb2pdu.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c854ab481ece4b3e5f4c2e8b22824f015ff874a5"},{"url":"https://git.kernel.org/stable/c/1d731e512134495e0ef490ade0e4d91dc0d515ec"},{"url":"https://git.kernel.org/stable/c/7c9ce68192eef14c777cb6ce17155d2eb2431aea"},{"url":"https://git.kernel.org/stable/c/c99e160938b627f6f28edee930e8abc157e84386"},{"url":"https://git.kernel.org/stable/c/14f66f44646333d2bfd7ece36585874fd72f8286"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable replay paths are reached through local CIFS filesystem operations such as ioctl(CIFS_QUERY_INFO), setxattr, and mkdir on an existing SMB/CIFS mount.\nAC:L - Replay is triggered by -EAGAIN/-ECONNABORTED reconnect conditions, which a controlled or malicious SMB server can force, and the local caller controls the ioctl/xattr/mkdir inputs across retries.\nPR:L - The strongest reachable path, PASSTHRU_QUERY_INFO in smb2_ioctl_query_info(), has no CAP_SYS_ADMIN check and can be invoked by an unprivileged user with access to a mounted CIFS file.\nUI:N - A local attacker can invoke the filesystem operation directly; no separate victim action is required once the CIFS mount is available.\nS:U - The vulnerability corrupts kernel memory in the same kernel security authority and does not cross a VM, IOMMU, or other separate security boundary.\nC:H - Missing reinitialization can leave freed heap pointers live across replay, creating use-after-free/double-free style memory corruption that can be leveraged for kernel memory disclosure.\nI:H - Kernel heap double-free/use-after-free conditions are memory corruption primitives that can plausibly be shaped into arbitrary write or control-flow compromise.\nA:H - Even without full exploitation, stale pointer reuse or double-free in these replay paths can crash or oops the kernel."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:24:31.188Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.32","versionEndExcluding":"6.6.128"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.18.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.19.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-31693","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:12:31.622754Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-665","lang":"en","type":"CWE","description":"CWE-665 Improper Initialization"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T18:56:04.992Z"}}]}}}