CVE-2026-98454
High 8.1No known exploitationFix availablesmb: client: fix create context out-of-bounds reads
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 34% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix create context out-of-bounds reads smb2_parse_contexts() validates the complete create-context area but does not limit each record to its Next field before dispatching it. A malformed chain can therefore expose bytes beyond the current context to a handler. The QFid handler also used a full response-structure cast although it only reads DiskFileId. The SMB2/SMB3 lease parsers made the same layout assumption: they read LeaseState and LeaseFlags at canonical offsets rather than at DataOffset. A valid non-canonical DataOffset could therefore yield unrelated in-bounds data, while a short DataLength was still accepted. Limit each context to its Next value, reject offsets before the context header, and reject malformed chains. Bound the name range by the current context and do not dispatch a known handler when DataLength is zero. Read the QFid DiskFileId only when the context data covers that field. Parse the lease context from DataOffset and require DataLength to match the v1 or v2 lease_context size used by ksmbd. A size mismatch skips lease parsing without failing the open.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from b8c32dbb0deb287a5fcb78251e4eae6c7275760d before 67f4c1c6a1b51e203d986779299824d1c2c590a6 | 67f4c1c6a1b51e203d986779299824d1c2c590a6 | CVE Program |
| Linux | Linux | from b8c32dbb0deb287a5fcb78251e4eae6c7275760d before 05a7fd80024ff32b9b40ab1478bb172eeab1c386 | 05a7fd80024ff32b9b40ab1478bb172eeab1c386 | CVE Program |
| Linux | Linux | from b8c32dbb0deb287a5fcb78251e4eae6c7275760d before cecc5399987e73a528ce2b662eeb54af69163cbd | cecc5399987e73a528ce2b662eeb54af69163cbd | CVE Program |
| Linux | Linux | from b8c32dbb0deb287a5fcb78251e4eae6c7275760d before 34245048d6c1fa6d7be4f0dec1d14b5be02360e1 | 34245048d6c1fa6d7be4f0dec1d14b5be02360e1 | CVE Program |
| Linux | Linux | from b8c32dbb0deb287a5fcb78251e4eae6c7275760d before 0a8c2a6715c2a67b7abbbf874fccc9f5518146d9 | 0a8c2a6715c2a67b7abbbf874fccc9f5518146d9 | CVE Program |
| Linux | Linux | from b8c32dbb0deb287a5fcb78251e4eae6c7275760d before 43d0ca48bb902d554b6531862248810d2ae3b8ef | 43d0ca48bb902d554b6531862248810d2ae3b8ef | CVE Program |
| Linux | Linux | from b8c32dbb0deb287a5fcb78251e4eae6c7275760d before e4c49012708c917eafd9c27054b02d0f8b30fe64 | e4c49012708c917eafd9c27054b02d0f8b30fe64 | CVE Program |
| Linux | Linux | from b8c32dbb0deb287a5fcb78251e4eae6c7275760d before 28bc9a871799363afa3139e961a8e3684feb8704 | 28bc9a871799363afa3139e961a8e3684feb8704 | CVE Program |
| Linux | Linux | 3.7 | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | 6.6.159.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 5.10.273 up to and including 5.10.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 5.15.224 up to and including 5.15.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.1.191 up to and including 6.1.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.112 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.55 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.6.158 up to and including 6.6.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.9 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 3.7 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/05a7fd80024ff32b9b40ab1478bb172eeab1c386 (opens in a new tab)
- https://git.kernel.org/stable/c/0a8c2a6715c2a67b7abbbf874fccc9f5518146d9 (opens in a new tab)
- https://git.kernel.org/stable/c/28bc9a871799363afa3139e961a8e3684feb8704 (opens in a new tab)
- https://git.kernel.org/stable/c/34245048d6c1fa6d7be4f0dec1d14b5be02360e1 (opens in a new tab)
- https://git.kernel.org/stable/c/43d0ca48bb902d554b6531862248810d2ae3b8ef (opens in a new tab)
- https://git.kernel.org/stable/c/67f4c1c6a1b51e203d986779299824d1c2c590a6 (opens in a new tab)
- https://git.kernel.org/stable/c/cecc5399987e73a528ce2b662eeb54af69163cbd (opens in a new tab)
- https://git.kernel.org/stable/c/e4c49012708c917eafd9c27054b02d0f8b30fe64 (opens in a new tab)