CVE-2026-98168

smb: client: fix reparse buffer bounds in cifs_query_reparse_point()

Published Oct 6, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix reparse buffer bounds in cifs_query_reparse_point()

In cifs_query_reparse_point(), the start >= end check before casting to
struct reparse_data_buffer * only ensures the start pointer is within the
response. It fails to verify that there is enough space remaining for the
fixed 8-byte header of the structure.

If a server provides a DataOffset that leaves less than 8 bytes remaining,
the check passes, but subsequent reads of ReparseTag and ReparseDataLength
will occur out-of-bounds.

Fix this by ensuring the remaining space is at least the size of the
reparse_data_buffer structure before accessing its fields.

Analysis

AI-generated

Technical impact

The vulnerability resides in the CIFS client of the Linux kernel. It arises when parsing SMB reparse point replies: the code checks that the start pointer is before the buffer end but does not verify that the remaining data contains the full 8-byte header of the reparse_data_buffer structure. If an SMB server supplies a DataOffset that leaves fewer than eight bytes, the check succeeds and the kernel later reads ReparseTag and ReparseDataLength beyond the allocated buffer, resulting in an out-of-bounds read of kernel memory. This read can expose internal kernel data, providing an attacker with information disclosure but does not modify memory, so it does not directly lead to privilege escalation.

Affected Systems

All Linux kernel builds labeled simply as "Linux:Linux" are affected. The CNA data does not specify a version range, so any kernel prior to the commit that introduced the reparse buffer guard is considered vulnerable. Administrators should verify whether their running kernel incorporates the fix by checking the kernel's commit history for the referenced changes (e.g., commits 3d67f155, 5f0306e7, 8dc5db3a, d1152c96).

Risk and Exploitability

The CVSS score of 5.5 denotes a moderate risk. The EPSS score is below 1%, and the vulnerability is not listed in CISA’s KEV catalog, indicating very limited known exploitation. An attacker would need control of an SMB server that can send a malformed reparse point response, making the attack vector remote via SMB. Since only an out-of-bounds read is performed, exploitation would be limited to gathering data; no direct modification of kernel memory or escalation is possible with this flaw alone.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that implements the missing bounds check in cifs_query_reparse_point().
  • If a patch is not available, restrict SMB traffic to trusted hosts or disable the CIFS client on vulnerable nodes to reduce exposure.
  • Monitor logs and network traffic for anomalous SMB reparse point requests that could indicate exploitation attempts.

Generated by OpenCVE AI on October 7, 2026 at 06:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-119
CWE-788
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-119
CWE-125
CWE-788
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: smb: client: fix reparse buffer bounds in cifs_query_reparse_point() In cifs_query_reparse_point(), the start >= end check before casting to struct reparse_data_buffer * only ensures the start pointer is within the response. It fails to verify that there is enough space remaining for the fixed 8-byte header of the structure. If a server provides a DataOffset that leaves less than 8 bytes remaining, the check passes, but subsequent reads of ReparseTag and ReparseDataLength will occur out-of-bounds. Fix this by ensuring the remaining space is at least the size of the reparse_data_buffer structure before accessing its fields.
Title smb: client: fix reparse buffer bounds in cifs_query_reparse_point()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 21, 2026, 12:54 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 6, 2026, 9:17 AM
Modified
Oct 21, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 6, 2026, 12:00 AM