# CVE-2026-99384: smb: client: fix OOB read of the resume name sent in TRANS2\_FIND\_NEXT2

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

## Who should check

- Anyone running Linux \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 7eee47912315711be5eaf371520a9f673a4edfa3; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 44804c38298619152c7cb893c2c0b5a592e699b6; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 0cc7589ab18a891eb9aa8621f76e1eb09a6d0704; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 556c3a72f58e0ce4356d57301712cbcd7b2e4c65; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 7141cde58f9dc15cf0869529ba2cb09fb0f082e5; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< f8171804a39ee89a11cd462f67862899de9c6b10; bc15485e6a3cd20829cfa58bc9111e0bfc9cf303; 282333bd7f759cdd9362e793b85db08780516416; 92fa67e9260a65f69d868c4fcc92c9cee428c6f9; \>= 2.6.25.19, \< 2.6.26; …
- Anyone running Linux 2.6.28

## Description

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

smb: client: fix OOB read of the resume name sent in TRANS2\_FIND\_NEXT2

cifs\_fill\_dirent() reads the fixed part of a directory entry and the
name length it holds, or for SMB\_FIND\_FILE\_UNIX scans the name for its
terminating NUL, without knowing where the response ends.
cifs\_save\_resume\_key() calls it for the entry at the LastNameOffset the
server chose, after every FindNext and after the FindFirst of a search
rewind, and records the name it returns as the resume name of the
search without bounding it; the next CIFSFindNext() copies up to
PATH\_MAX - 1 bytes from that name into its request and sends them to
the server. cifs\_filldir() bounds
the name against the end of the response since
commit f8cf09a53a0d ("smb: client: bound dirent name against end of
SMB response in cifs\_filldir"), but only after cifs\_fill\_dirent() has
read the entry, and nxt\_dir\_entry() checks the entries it walks only
against sizeof(FILE\_DIRECTORY\_INFO), for every level but
SMB\_FIND\_FILE\_INFO\_STANDARD, and never sees the first entry of a
response.

Bounding where last\_entry starts, as the preceding patch does, does
not bound the read. A last entry that starts within the final bytes of
the response still has its fixed part read past the end of the
received data, and the name length it declares, a \_\_le32 for every
level but SMB\_FIND\_FILE\_INFO\_STANDARD and SMB\_FIND\_FILE\_UNIX, is
recorded without being checked against anything. CIFSFindNext()
rejects only a length of PATH\_MAX or more, then copies the name, up to
4095 bytes, into its request and sends it, and as the report below
shows that copy can run past the end of the cifs\_request allocation
that holds the response. For SMB\_FIND\_FILE\_UNIX the name is in
addition scanned for its terminating NUL over up to PATH\_MAX + 1
UTF-16 units, or PATH\_MAX bytes, before any check. The FindNext that
carries the name is only sent by the SMB1 dialect, which is not
negotiated by default; reaching it requires an explicit vers=1.0
mount.

With KASAN enabled, a response whose last entry declares a name
longer than the bytes that follow it gives:

 ==================================================================
 BUG: KASAN: slab-out-of-bounds in CIFSFindNext+0x8ca/0x14c0
 Read of size 4080 at addr ffff88807c823f98 by task ls/83

 CPU: 0 UID: 0 PID: 83 Comm: ls Not tainted 7.3.0-rc4-00457-gf14572c203d5 \#69 PREEMPT(lazy)
 Call Trace:
  \<TASK\>
  kasan\_report+0xdf/0x1a0
  kasan\_check\_range+0x10f/0x1e0
  \_\_asan\_memcpy+0x23/0x60
  CIFSFindNext+0x8ca/0x14c0
  cifs\_readdir+0xf51/0x29c0
  iterate\_dir+0x1c0/0x570
  \_\_x64\_sys\_getdents64+0x133/0x270
  do\_syscall\_64+0x109/0x5d0
  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
  \</TASK\>

 Allocated by task 83 on cpu 1 at 13.497119s:
  cifs\_buf\_get+0x36/0x90
  smb\_init+0x4f/0x110
  CIFSFindNext+0xf7/0x14c0
  cifs\_readdir+0xf51/0x29c0

 The buggy address belongs to the object at ffff88807c820000
  which belongs to the cache cifs\_request of size 16588
 The buggy address is located 16280 bytes inside of
  allocated 16588-byte region \[ffff88807c820000, ffff88807c8240cc)
 ==================================================================

The read is the memcpy() that copies the recorded name into the next
request, so those bytes go to the server.

Pass the end of the response to cifs\_fill\_dirent() and have it reject
an entry whose fixed part does not fit or whose name extends past the
end, before either is used, so that both callers are covered;
cifs\_save\_resume\_key() computes the end the same way cifs\_readdir()
does. The name bound compares the bytes left between the name and the
end with the name length rather than adding the length to the name
pointer, since the length is a 32-bit value taken from the entry and
the sum could wrap on 32-bit systems. cifs\_fill\_dirent() is also used
on the SMB2 readdir path; there smb2\_parse\_query\_directory() has
already checked every entry against the end of the response, so a
vali
---truncated---

## Affected and fixed versions

- Linux: \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 7eee47912315711be5eaf371520a9f673a4edfa3; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 44804c38298619152c7cb893c2c0b5a592e699b6; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 0cc7589ab18a891eb9aa8621f76e1eb09a6d0704; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 556c3a72f58e0ce4356d57301712cbcd7b2e4c65; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 7141cde58f9dc15cf0869529ba2cb09fb0f082e5; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< f8171804a39ee89a11cd462f67862899de9c6b10; bc15485e6a3cd20829cfa58bc9111e0bfc9cf303; 282333bd7f759cdd9362e793b85db08780516416; 92fa67e9260a65f69d868c4fcc92c9cee428c6f9; \>= 2.6.25.19, \< 2.6.26; … (cvelist)
- Linux: 2.6.28 (cvelist)

## Technologies

Linux kernel

## 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-99384. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99384.md
Affected: Linux >= 0752f1522a9120f731232919f7ad904e9e22b8ce, < 7eee47912315711be5eaf371520a9f673a4edfa3; >= 0752f1522a9120f731232919f7ad904e9e22b8ce, < 44804c38298619152c7cb893c2c0b5a592e699b6; >= 0752f1522a9120f731232919f7ad904e9e22b8ce, < 0cc7589ab18a891eb9aa8621f76e1eb09a6d0704; >= 0752f1522a9120f73123291…
Fixed in: Linux 7eee47912315711be5eaf371520a9f673a4edfa3, Linux 44804c38298619152c7cb893c2c0b5a592e699b6, Linux 0cc7589ab18a891eb9aa8621f76e1eb09a6d0704, Linux 556c3a72f58e0ce4356d57301712cbcd7b2e4c65, Linux 7141cde58f9dc15cf0869529ba2cb09fb0f082e5, Linux 2.6.26

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

There is no confirmed exploitation: CVE-2026-99384 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-28).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 7eee47912315711be5eaf371520a9f673a4edfa3; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 44804c38298619152c7cb893c2c0b5a592e699b6; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 0cc7589ab18a891eb9aa8621f76e1eb09a6d0704; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 556c3a72f58e0ce4356d57301712cbcd7b2e4c65; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< 7141cde58f9dc15cf0869529ba2cb09fb0f082e5; \>= 0752f1522a9120f731232919f7ad904e9e22b8ce, \< f8171804a39ee89a11cd462f67862899de9c6b10; bc15485e6a3cd20829cfa58bc9111e0bfc9cf303; 282333bd7f759cdd9362e793b85db08780516416; 92fa67e9260a65f69d868c4fcc92c9cee428c6f9; \>= 2.6.25.19, \< 2.6.26; …; Linux 2.6.28.

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

Yes. Fixed in Linux 7eee47912315711be5eaf371520a9f673a4edfa3, Linux 44804c38298619152c7cb893c2c0b5a592e699b6, Linux 0cc7589ab18a891eb9aa8621f76e1eb09a6d0704, Linux 556c3a72f58e0ce4356d57301712cbcd7b2e4c65, Linux 7141cde58f9dc15cf0869529ba2cb09fb0f082e5, Linux 2.6.26. No fix listed yet: follow the vendor advisory.

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

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/7eee47912315711be5eaf371520a9f673a4edfa3>
- other: <https://git.kernel.org/stable/c/44804c38298619152c7cb893c2c0b5a592e699b6>
- other: <https://git.kernel.org/stable/c/0cc7589ab18a891eb9aa8621f76e1eb09a6d0704>
- other: <https://git.kernel.org/stable/c/556c3a72f58e0ce4356d57301712cbcd7b2e4c65>
- other: <https://git.kernel.org/stable/c/7141cde58f9dc15cf0869529ba2cb09fb0f082e5>
- other: <https://git.kernel.org/stable/c/f8171804a39ee89a11cd462f67862899de9c6b10>

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

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