# CVE-2026-98454: smb: client: fix create context out-of-bounds reads

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.56% (percentile 41, 2026-11-26)
- **Published:** 2026-10-18T15:15:04.139Z
- **Modified:** 2026-10-30T13:21:14.370Z

## Who should check

- Anyone running Linux \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 34245048d6c1fa6d7be4f0dec1d14b5be02360e1; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 0a8c2a6715c2a67b7abbbf874fccc9f5518146d9; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 43d0ca48bb902d554b6531862248810d2ae3b8ef; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< e4c49012708c917eafd9c27054b02d0f8b30fe64; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 28bc9a871799363afa3139e961a8e3684feb8704; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 05a7fd80024ff32b9b40ab1478bb172eeab1c386; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< cecc5399987e73a528ce2b662eeb54af69163cbd; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 67f4c1c6a1b51e203d986779299824d1c2c590a6
- Anyone running Linux 3.7

## 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.

## Affected and fixed versions

- Linux: \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 34245048d6c1fa6d7be4f0dec1d14b5be02360e1; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 0a8c2a6715c2a67b7abbbf874fccc9f5518146d9; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 43d0ca48bb902d554b6531862248810d2ae3b8ef; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< e4c49012708c917eafd9c27054b02d0f8b30fe64; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 28bc9a871799363afa3139e961a8e3684feb8704; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 05a7fd80024ff32b9b40ab1478bb172eeab1c386; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< cecc5399987e73a528ce2b662eeb54af69163cbd; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 67f4c1c6a1b51e203d986779299824d1c2c590a6 (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- Upgrade Linux to 67f4c1c6a1b51e203d986779299824d1c2c590a6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98454. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98454.md
Affected: Linux >= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, < 34245048d6c1fa6d7be4f0dec1d14b5be02360e1; >= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, < 0a8c2a6715c2a67b7abbbf874fccc9f5518146d9; >= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, < 43d0ca48bb902d554b6531862248810d2ae3b8ef; >= b8c32dbb0deb287a5fcb782…
Fixed in: Linux 34245048d6c1fa6d7be4f0dec1d14b5be02360e1, Linux 0a8c2a6715c2a67b7abbbf874fccc9f5518146d9, Linux 43d0ca48bb902d554b6531862248810d2ae3b8ef, Linux 28bc9a871799363afa3139e961a8e3684feb8704, Linux 05a7fd80024ff32b9b40ab1478bb172eeab1c386, Linux 67f4c1c6a1b51e203d986779299824d1c2c590a6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98454 being exploited?

There is no confirmed exploitation: CVE-2026-98454 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98454?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-98454?

Linux \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 34245048d6c1fa6d7be4f0dec1d14b5be02360e1; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 0a8c2a6715c2a67b7abbbf874fccc9f5518146d9; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 43d0ca48bb902d554b6531862248810d2ae3b8ef; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< e4c49012708c917eafd9c27054b02d0f8b30fe64; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 28bc9a871799363afa3139e961a8e3684feb8704; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 05a7fd80024ff32b9b40ab1478bb172eeab1c386; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< cecc5399987e73a528ce2b662eeb54af69163cbd; \>= b8c32dbb0deb287a5fcb78251e4eae6c7275760d, \< 67f4c1c6a1b51e203d986779299824d1c2c590a6; Linux 3.7.

### Is there a fix for CVE-2026-98454?

Yes. Fixed in Linux 34245048d6c1fa6d7be4f0dec1d14b5be02360e1, Linux 0a8c2a6715c2a67b7abbbf874fccc9f5518146d9, Linux 43d0ca48bb902d554b6531862248810d2ae3b8ef, Linux 28bc9a871799363afa3139e961a8e3684feb8704, Linux 05a7fd80024ff32b9b40ab1478bb172eeab1c386, Linux 67f4c1c6a1b51e203d986779299824d1c2c590a6. Upgrade Linux to 67f4c1c6a1b51e203d986779299824d1c2c590a6 or later.

### How do I check if I'm affected by CVE-2026-98454?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/34245048d6c1fa6d7be4f0dec1d14b5be02360e1>
- other: <https://git.kernel.org/stable/c/0a8c2a6715c2a67b7abbbf874fccc9f5518146d9>
- other: <https://git.kernel.org/stable/c/43d0ca48bb902d554b6531862248810d2ae3b8ef>
- other: <https://git.kernel.org/stable/c/e4c49012708c917eafd9c27054b02d0f8b30fe64>
- other: <https://git.kernel.org/stable/c/28bc9a871799363afa3139e961a8e3684feb8704>
- other: <https://git.kernel.org/stable/c/05a7fd80024ff32b9b40ab1478bb172eeab1c386>
- other: <https://git.kernel.org/stable/c/cecc5399987e73a528ce2b662eeb54af69163cbd>
- other: <https://git.kernel.org/stable/c/67f4c1c6a1b51e203d986779299824d1c2c590a6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98454>

HTML: <https://flawdb.com/CVE-2026-98454> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98454>
