CVE-2025-38728: smb3: fix for slab out of bounds on mount to ksmbd
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]
Security readout for executives and security teams
Plain-English summary
A flaw in Linux’s SMB3 client can read beyond an allocated memory object while mounting a share served by ksmbd. The supplied CVSS 9.1 rating reflects potentially severe confidentiality and availability impact. Practical risk depends on whether a host uses CIFS/SMB3 mounts and runs an affected kernel; the bundle provides no evidence of active exploitation.
Executive priority
Accelerate remediation for Linux systems that mount SMB3 shares. Prioritize business-critical hosts and connections to untrusted or externally managed SMB servers. Deprioritize systems without this functionality only after evidence-based validation. The critical score warrants urgency, while the absence of cited real-world exploitation argues against unsupported emergency claims.
Technical view
parse_server_interfaces() in the cifs module lacks a required bounds check while processing server-interface data during an SMB3 mount to ksmbd. KASAN recorded a four-byte slab out-of-bounds read. The sources identify upstream stable fixes, but the supplied flattened version list is insufficient to classify every downstream build reliably.
Likely exposure
Most likely exposure is on Linux systems using the cifs client to mount SMB3 shares, particularly ksmbd-served shares. Systems that never use cifs or perform SMB3 mounts are less likely exposed to this path. Kernel versions alone may mislead because distributions backport fixes; verify exact package builds against vendor advisories.
Exploitation context
The CVSS vector is network-based, low-complexity, unauthenticated, and requires no user interaction. However, the disclosed evidence is a KASAN finding during mounting, not a demonstrated exploit. The bundle marks the CVE as absent from KEV, and no cited source establishes exploitation in the wild.
Researcher notes
No CWE is supplied. The reproduced condition is a four-byte slab out-of-bounds read in parse_server_interfaces(), reached through SMB3_request_interfaces during mount. The bundle does not establish controlled disclosure, reliable denial of service, or code execution. Treat impacts beyond the KASAN finding and CVSS assessment as unproven.
Mitigation direction
Apply a vendor kernel update containing the applicable cited upstream stable fix.
Prioritize systems initiating SMB3 mounts, especially connections to untrusted or externally managed servers.
Temporarily restrict SMB3 mounts to trusted servers and networks where prompt patching is impossible.
Review Debian or Siemens guidance when those products are in scope; follow their package-specific remediation.
Validation and detection
Inventory Linux kernel packages, cifs module use, and configured or observed SMB3 mounts.
Compare exact kernel package builds with upstream commits and applicable distribution or product advisories.
Confirm the installed update includes the parse_server_interfaces bounds-check fix.
Review kernel logs for KASAN, slab-out-of-bounds, parse_server_interfaces, cifs mount failures, or related crashes.
Retest legitimate SMB3 mounts after updating, without reproducing malformed traffic.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-38728 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
2ADP providers
9Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.