# CVE-2026-98167: smb: client: fix server-\>total\_read for compound encrypted PDUs

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 8, 2026-11-26)
- **Published:** 2026-10-06T08:44:12.731Z
- **Modified:** 2026-10-19T10:18:16.950Z

## Who should check

- Anyone running Linux \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 8703539d22fdbc13dd2db090ee199c3a427b8ea0; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< e78fc1d240b27349b45a0f1c3e3c2c401d7e230d; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< a46eb242e9eef3a3897d166748b23303c516e870; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< ebb8a075fdc7af3d196a4f158a0e18dbc394c0e3; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 282b72f9a7ef31296c48366db4128882999cc048; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< f73726b83e4756fdaa099e1bc1143293bd57ad79
- Anyone running Linux 4.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix server-\>total\_read for compound encrypted PDUs

In receive\_encrypted\_standard(), server-\>total\_read is left at the
full decrypted frame size when walking sub-PDUs of a compound encrypted
frame. As a result, cifs\_handle\_standard() passes this full size
to smb2\_check\_message(), causing the PDU length guards to incorrectly
validate the entire compound frame instead of the current sub-PDU.

This allows truncated non-last sub-PDUs to bypass length validation,
leading to out-of-bounds reads in smb2\_get\_data\_area\_len().

Fix this by setting server-\>total\_read to the true length of the
current sub-PDU: next\_cmd for non-last sub-PDUs, and the remaining
pdu\_length for the last one.

## Affected and fixed versions

- Linux: \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 8703539d22fdbc13dd2db090ee199c3a427b8ea0; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< e78fc1d240b27349b45a0f1c3e3c2c401d7e230d; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< a46eb242e9eef3a3897d166748b23303c516e870; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< ebb8a075fdc7af3d196a4f158a0e18dbc394c0e3; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 282b72f9a7ef31296c48366db4128882999cc048; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< f73726b83e4756fdaa099e1bc1143293bd57ad79 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98167.md
Affected: Linux >= b24df3e30cbf48255db866720fb71f14bf9d2f39, < 8703539d22fdbc13dd2db090ee199c3a427b8ea0; >= b24df3e30cbf48255db866720fb71f14bf9d2f39, < e78fc1d240b27349b45a0f1c3e3c2c401d7e230d; >= b24df3e30cbf48255db866720fb71f14bf9d2f39, < a46eb242e9eef3a3897d166748b23303c516e870; >= b24df3e30cbf48255db8667…
Fixed in: Linux 8703539d22fdbc13dd2db090ee199c3a427b8ea0, Linux 282b72f9a7ef31296c48366db4128882999cc048

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-98167 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 8703539d22fdbc13dd2db090ee199c3a427b8ea0; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< e78fc1d240b27349b45a0f1c3e3c2c401d7e230d; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< a46eb242e9eef3a3897d166748b23303c516e870; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< ebb8a075fdc7af3d196a4f158a0e18dbc394c0e3; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< 282b72f9a7ef31296c48366db4128882999cc048; \>= b24df3e30cbf48255db866720fb71f14bf9d2f39, \< f73726b83e4756fdaa099e1bc1143293bd57ad79; Linux 4.19.

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

Yes. Fixed in Linux 8703539d22fdbc13dd2db090ee199c3a427b8ea0, Linux 282b72f9a7ef31296c48366db4128882999cc048. No fix listed yet: follow the vendor advisory.

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

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/8703539d22fdbc13dd2db090ee199c3a427b8ea0>
- other: <https://git.kernel.org/stable/c/e78fc1d240b27349b45a0f1c3e3c2c401d7e230d>
- other: <https://git.kernel.org/stable/c/a46eb242e9eef3a3897d166748b23303c516e870>
- other: <https://git.kernel.org/stable/c/ebb8a075fdc7af3d196a4f158a0e18dbc394c0e3>
- other: <https://git.kernel.org/stable/c/282b72f9a7ef31296c48366db4128882999cc048>
- other: <https://git.kernel.org/stable/c/f73726b83e4756fdaa099e1bc1143293bd57ad79>

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

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