# CVE-2026-99382: smb: client: reject FIND data areas that run past the received response

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-19T14:23:22.462Z
- **Modified:** 2026-11-23T08:17:42.823Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7a336f8218dbe972543e530119a6b0e07b6bce43; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dbc8b87b91b1838beb3e7135a592bbbbd7741404; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9763e65a0a4588217cee2c05a00f1023820519b9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4dfc78e53f419834d99e626fc27083799e2ea4c1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 29bd6773187cb5c1bbbdf90d677c6add7d58af26
- Anyone running Linux 2.6.12

## Description

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

smb: client: reject FIND data areas that run past the received response

CIFSFindFirst() and CIFSFindNext() take the directory entries of a
TRANS2\_FIND\_FIRST2 or TRANS2\_FIND\_NEXT2 response from DataOffset for
DataCount bytes. validate\_t2() bounds DataOffset at 1024 and
ParameterCount + DataCount by the byte count, and nothing compares
DataOffset + DataCount with the number of bytes SendReceive() copied
into the buffer.

smb\_init() places the request and the response in the same
cifs\_request allocation and cifs\_buf\_get() clears only the start of
it, so a short response whose data area extends past its end has
srch\_entries\_start point at bytes of the request that was just sent,
or at whatever the allocation held before, and those bytes are parsed
as directory entries. cifs\_readdir() and find\_cifs\_entry() walk the
entries with nxt\_dir\_entry(), which checks every entry but the first
of a response against the end of the SMB; cifs\_query\_path\_info() and
cifs\_backup\_query\_path\_info() read the first entry with no check at
all. Those reads stay inside the allocation, but what they return is
not part of the response. The last entry, which LastNameOffset locates
relative to the data area, is bounded against the received response
by an earlier patch of this series, as is every entry that
cifs\_fill\_dirent() parses; the walk itself and the two query functions
are not.

SMB1 is not negotiated by default; reaching this code requires an
explicit vers=1.0 mount.

Reject a response whose data area extends past the received length,
with the -EINVAL that validate\_t2() returns for the other malformed
transaction responses. cifs\_query\_path\_info() and
cifs\_backup\_query\_path\_info() still read a whole entry from a data
area that may be smaller than one; that is not changed here.

A conforming server is not affected. The data block of a transaction
response is part of the SMB, so DataOffset + DataCount cannot exceed
the smbCalcSize() bytes that SendReceive() copies; coalesce\_t2()
appends each secondary response to the data area and adds its length
to both DataCount and the byte count, which keeps that relation.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7a336f8218dbe972543e530119a6b0e07b6bce43; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dbc8b87b91b1838beb3e7135a592bbbbd7741404; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9763e65a0a4588217cee2c05a00f1023820519b9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4dfc78e53f419834d99e626fc27083799e2ea4c1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 29bd6773187cb5c1bbbdf90d677c6add7d58af26 (cvelist)
- Linux: 2.6.12 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 29bd6773187cb5c1bbbdf90d677c6add7d58af26 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-99382. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99382.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7a336f8218dbe972543e530119a6b0e07b6bce43; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < dbc8b87b91b1838beb3e7135a592bbbbd7741404; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9763e65a0a4588217cee2c05a00f1023820519b9; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 7a336f8218dbe972543e530119a6b0e07b6bce43, Linux 9763e65a0a4588217cee2c05a00f1023820519b9, Linux 4dfc78e53f419834d99e626fc27083799e2ea4c1, Linux 29bd6773187cb5c1bbbdf90d677c6add7d58af26

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7a336f8218dbe972543e530119a6b0e07b6bce43; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dbc8b87b91b1838beb3e7135a592bbbbd7741404; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9763e65a0a4588217cee2c05a00f1023820519b9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4dfc78e53f419834d99e626fc27083799e2ea4c1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 29bd6773187cb5c1bbbdf90d677c6add7d58af26; Linux 2.6.12.

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

Yes. Fixed in Linux 7a336f8218dbe972543e530119a6b0e07b6bce43, Linux 9763e65a0a4588217cee2c05a00f1023820519b9, Linux 4dfc78e53f419834d99e626fc27083799e2ea4c1, Linux 29bd6773187cb5c1bbbdf90d677c6add7d58af26. Upgrade Linux to 29bd6773187cb5c1bbbdf90d677c6add7d58af26 or later.

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

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/7a336f8218dbe972543e530119a6b0e07b6bce43>
- other: <https://git.kernel.org/stable/c/dbc8b87b91b1838beb3e7135a592bbbbd7741404>
- other: <https://git.kernel.org/stable/c/9763e65a0a4588217cee2c05a00f1023820519b9>
- other: <https://git.kernel.org/stable/c/4dfc78e53f419834d99e626fc27083799e2ea4c1>
- other: <https://git.kernel.org/stable/c/29bd6773187cb5c1bbbdf90d677c6add7d58af26>

## 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-99382>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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