CVE-2026-98167
smb: client: fix server->total_read for compound encrypted PDUs
Check your servers for CVE-2026-98167
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98167 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.83% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b24df3e30cbf48255db866720fb71f14bf9d2f39, before 8703539d22fdbc13dd2db090ee199c3a427b8ea0 affected from b24df3e30cbf48255db866720fb71f14bf9d2f39, before e78fc1d240b27349b45a0f1c3e3c2c401d7e230d affected from b24df3e30cbf48255db866720fb71f14bf9d2f39, before a46eb242e9eef3a3897d166748b23303c516e870 affected from b24df3e30cbf48255db866720fb71f14bf9d2f39, before ebb8a075fdc7af3d196a4f158a0e18dbc394c0e3 affected from b24df3e30cbf48255db866720fb71f14bf9d2f39, before 282b72f9a7ef31296c48366db4128882999cc048 affected from b24df3e30cbf48255db866720fb71f14bf9d2f39, before f73726b83e4756fdaa099e1bc1143293bd57ad79
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.54 up to and including 6.18.* unaffected from 7.2.8 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98167 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98167
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98167
trivy image --scanners vuln IMAGE | grep CVE-2026-98167
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/8703539d22fdbc13dd2db090ee199c3a427b8ea0 git.kernel.org
- https://git.kernel.org/stable/c/e78fc1d240b27349b45a0f1c3e3c2c401d7e230d git.kernel.org
- https://git.kernel.org/stable/c/a46eb242e9eef3a3897d166748b23303c516e870 git.kernel.org
- https://git.kernel.org/stable/c/ebb8a075fdc7af3d196a4f158a0e18dbc394c0e3 git.kernel.org
- https://git.kernel.org/stable/c/282b72f9a7ef31296c48366db4128882999cc048 git.kernel.org
- https://git.kernel.org/stable/c/f73726b83e4756fdaa099e1bc1143293bd57ad79 git.kernel.org
Source: the record CVE-2026-98167 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse