# CVE-2025-38728: smb3: fix for slab out of bounds on mount to ksmbd

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

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.70% (percentile 49, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-09-04T15:33:26.039Z
- **Modified:** 2026-10-30T13:18:07.957Z

## Who should check

- Anyone running Linux \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 248c1142f09478d6cb8151510cbf4ac2673c8ac5; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 9bdb8e98a0073c73ab3e6c631ec78877ceb64565; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< a0620e1525663edd8c4594f49fb75fe5be4724b0; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 8de33d4d72e8fae3502ec3850bd7b14e7c7328b6; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< a542f93a123555d09c3ce8bc947f7b56ad8e6463; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< f6eda5b0e8f8123564c5b34f5801d63243032eac; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 7d34ec36abb84fdfb6632a0f2cbda90379ae21fc
- Anyone running Linux 4.18

## Description

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

smb3: fix for slab out of bounds on mount to ksmbd

With KASAN enabled, it is possible to get a slab out of bounds
during mount to ksmbd due to missing check in parse\_server\_interfaces()
(see below):

 BUG: KASAN: slab-out-of-bounds in
 parse\_server\_interfaces+0x14ee/0x1880 \[cifs\]
 Read of size 4 at addr ffff8881433dba98 by task mount/9827

 CPU: 5 UID: 0 PID: 9827 Comm: mount Tainted: G
 OE       6.16.0-rc2-kasan \#2 PREEMPT(voluntary)
 Tainted: \[O\]=OOT\_MODULE, \[E\]=UNSIGNED\_MODULE
 Hardware name: Dell Inc. Precision Tower 3620/0MWYPT,
 BIOS 2.13.1 06/14/2019
 Call Trace:
  \<TASK\>
 dump\_stack\_lvl+0x9f/0xf0
 print\_report+0xd1/0x670
 \_\_virt\_addr\_valid+0x22c/0x430
 ? parse\_server\_interfaces+0x14ee/0x1880 \[cifs\]
 ? kasan\_complete\_mode\_report\_info+0x2a/0x1f0
 ? parse\_server\_interfaces+0x14ee/0x1880 \[cifs\]
   kasan\_report+0xd6/0x110
   parse\_server\_interfaces+0x14ee/0x1880 \[cifs\]
   \_\_asan\_report\_load\_n\_noabort+0x13/0x20
   parse\_server\_interfaces+0x14ee/0x1880 \[cifs\]
 ? \_\_pfx\_parse\_server\_interfaces+0x10/0x10 \[cifs\]
 ? trace\_hardirqs\_on+0x51/0x60
 SMB3\_request\_interfaces+0x1ad/0x3f0 \[cifs\]
 ? \_\_pfx\_SMB3\_request\_interfaces+0x10/0x10 \[cifs\]
 ? SMB2\_tcon+0x23c/0x15d0 \[cifs\]
 smb3\_qfs\_tcon+0x173/0x2b0 \[cifs\]
 ? \_\_pfx\_smb3\_qfs\_tcon+0x10/0x10 \[cifs\]
 ? cifs\_get\_tcon+0x105d/0x2120 \[cifs\]
 ? do\_raw\_spin\_unlock+0x5d/0x200
 ? cifs\_get\_tcon+0x105d/0x2120 \[cifs\]
 ? \_\_pfx\_smb3\_qfs\_tcon+0x10/0x10 \[cifs\]
 cifs\_mount\_get\_tcon+0x369/0xb90 \[cifs\]
 ? dfs\_cache\_find+0xe7/0x150 \[cifs\]
 dfs\_mount\_share+0x985/0x2970 \[cifs\]
 ? check\_path.constprop.0+0x28/0x50
 ? save\_trace+0x54/0x370
 ? \_\_pfx\_dfs\_mount\_share+0x10/0x10 \[cifs\]
 ? \_\_lock\_acquire+0xb82/0x2ba0
 ? \_\_kasan\_check\_write+0x18/0x20
 cifs\_mount+0xbc/0x9e0 \[cifs\]
 ? \_\_pfx\_cifs\_mount+0x10/0x10 \[cifs\]
 ? do\_raw\_spin\_unlock+0x5d/0x200
 ? cifs\_setup\_cifs\_sb+0x29d/0x810 \[cifs\]
 cifs\_smb3\_do\_mount+0x263/0x1990 \[cifs\]

## Affected and fixed versions

- Linux: \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 248c1142f09478d6cb8151510cbf4ac2673c8ac5; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 9bdb8e98a0073c73ab3e6c631ec78877ceb64565; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< a0620e1525663edd8c4594f49fb75fe5be4724b0; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 8de33d4d72e8fae3502ec3850bd7b14e7c7328b6; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< a542f93a123555d09c3ce8bc947f7b56ad8e6463; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< f6eda5b0e8f8123564c5b34f5801d63243032eac; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 7d34ec36abb84fdfb6632a0f2cbda90379ae21fc (cvelist)
- Linux: 4.18 (cvelist)

## Mitigation

- Upgrade Linux to 7d34ec36abb84fdfb6632a0f2cbda90379ae21fc or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38728.md
Affected: Linux >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 248c1142f09478d6cb8151510cbf4ac2673c8ac5; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < 9bdb8e98a0073c73ab3e6c631ec78877ceb64565; >= fe856be475f7cf5ffcde57341d175ce9fd09434b, < a0620e1525663edd8c4594f49fb75fe5be4724b0; >= fe856be475f7cf5ffcde573…
Fixed in: Linux 248c1142f09478d6cb8151510cbf4ac2673c8ac5, Linux 9bdb8e98a0073c73ab3e6c631ec78877ceb64565, Linux 8de33d4d72e8fae3502ec3850bd7b14e7c7328b6, Linux 7d34ec36abb84fdfb6632a0f2cbda90379ae21fc

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-2025-38728 being exploited?

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

### How serious is CVE-2025-38728?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-38728?

Linux \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 248c1142f09478d6cb8151510cbf4ac2673c8ac5; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 9bdb8e98a0073c73ab3e6c631ec78877ceb64565; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< a0620e1525663edd8c4594f49fb75fe5be4724b0; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 8de33d4d72e8fae3502ec3850bd7b14e7c7328b6; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< a542f93a123555d09c3ce8bc947f7b56ad8e6463; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< f6eda5b0e8f8123564c5b34f5801d63243032eac; \>= fe856be475f7cf5ffcde57341d175ce9fd09434b, \< 7d34ec36abb84fdfb6632a0f2cbda90379ae21fc; Linux 4.18.

### Is there a fix for CVE-2025-38728?

Yes. Fixed in Linux 248c1142f09478d6cb8151510cbf4ac2673c8ac5, Linux 9bdb8e98a0073c73ab3e6c631ec78877ceb64565, Linux 8de33d4d72e8fae3502ec3850bd7b14e7c7328b6, Linux 7d34ec36abb84fdfb6632a0f2cbda90379ae21fc. Upgrade Linux to 7d34ec36abb84fdfb6632a0f2cbda90379ae21fc or later.

### How do I check if I'm affected by CVE-2025-38728?

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

- patch: <https://git.kernel.org/stable/c/9bdb8e98a0073c73ab3e6c631ec78877ceb64565>
- patch: <https://git.kernel.org/stable/c/a0620e1525663edd8c4594f49fb75fe5be4724b0>
- patch: <https://git.kernel.org/stable/c/8de33d4d72e8fae3502ec3850bd7b14e7c7328b6>
- patch: <https://git.kernel.org/stable/c/a542f93a123555d09c3ce8bc947f7b56ad8e6463>
- patch: <https://git.kernel.org/stable/c/f6eda5b0e8f8123564c5b34f5801d63243032eac>
- patch: <https://git.kernel.org/stable/c/7d34ec36abb84fdfb6632a0f2cbda90379ae21fc>
- other: <https://git.kernel.org/stable/c/248c1142f09478d6cb8151510cbf4ac2673c8ac5>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## 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-2025-38728>

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