{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64598","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-07-19T15:36:31.799Z","datePublished":"2026-08-06T07:13:52.716Z","dateUpdated":"2026-08-17T04:58:20.851Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T04:58:20.851Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb/client: Fix error code in smb2_aead_req_alloc()\n\nThe \"*num_sgs\" variable is a u32 so \"ERR_PTR(*num_sgs)\" doesn't work.\nWe would have to do something similar to the previous line where it's\ncast to int and then long.  However, it's simpler to store the return in\nan int ret variable.\n\nThis bug would eventually result in a crash when dereference the invalid\nerror pointer."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The buggy smb2_aead_req_alloc()/crypt_message() path runs in the in-kernel SMB3 client during encrypted transform processing over an SMB network session; the highest-severity scenario is a client mounting and using an untrusted or malicious SMB3 encrypted share.\nAC:L - When cifs_get_num_sgs() returns a negative errno, the u32 truncation makes ERR_PTR() bypass IS_ERR() deterministically on 64-bit, and the subsequent sg_init_marker()/pointer use crashes without requiring an attacker-uncontrollable race or memory layout.\nPR:N - The attacking SMB endpoint or network adversary needs no privileges or account on the victim client; client-side credentials used to mount the share are a victim condition, not attacker privileges.\nUI:R - A victim must mount or otherwise use an SMB3 share with encryption so the client encrypt/decrypt AEAD allocation path runs; per CVSS guidance, mounting a filesystem is user interaction.\nS:U - The invalid error-pointer dereference and resulting kernel memory access remain within the client kernel's security authority and do not cross a VM, IOMMU, or sandbox boundary.\nC:H - IS_ERR() failure leads to wild pointer use (uninitialized AEAD/sg state and invalid creq), which under the required uncertainty rule is treated as a high-impact kernel memory disclosure primitive rather than a pure non-leaking crash.\nI:H - The same path performs a wild write via sg_mark_end() on a bogus scatterlist address and may later kfree_sensitive() an invalid pointer, yielding kernel memory corruption; under uncertainty this is scored as high integrity impact.\nA:H - The commit-documented result is a kernel crash from dereferencing the invalid error pointer; sg_init_marker() on a NULL sgl with a huge truncated nents count causes a reliable oops/panic DoS."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2ops.c"],"versions":[{"version":"d08089f649a0cfb2099c8551ac47eef0cc23fdf2","lessThan":"aa37f5fef78dd11cbf983269da2031e12625c56d","status":"affected","versionType":"git"},{"version":"d08089f649a0cfb2099c8551ac47eef0cc23fdf2","lessThan":"cad756733dc3985188983f3e2eb77e2927209099","status":"affected","versionType":"git"},{"version":"d08089f649a0cfb2099c8551ac47eef0cc23fdf2","lessThan":"a187883cc1dc784a4d32537f5d316f1b7b9ad76f","status":"affected","versionType":"git"},{"version":"d08089f649a0cfb2099c8551ac47eef0cc23fdf2","lessThan":"a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac","status":"affected","versionType":"git"},{"version":"d08089f649a0cfb2099c8551ac47eef0cc23fdf2","lessThan":"61f28012e5650c619223decdb7970e0d3162e949","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/smb2ops.c"],"versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"6.6.145","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.96","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.39","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.4","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","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":"6.3","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.12.96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.18.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.1.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/aa37f5fef78dd11cbf983269da2031e12625c56d"},{"url":"https://git.kernel.org/stable/c/cad756733dc3985188983f3e2eb77e2927209099"},{"url":"https://git.kernel.org/stable/c/a187883cc1dc784a4d32537f5d316f1b7b9ad76f"},{"url":"https://git.kernel.org/stable/c/a1cc432cb0b0a1f74f98a0db3b94ca880c7947ac"},{"url":"https://git.kernel.org/stable/c/61f28012e5650c619223decdb7970e0d3162e949"}],"title":"smb/client: Fix error code in smb2_aead_req_alloc()","x_generator":{"engine":"bippy-1.2.0"}}}}