Local memory exhaustion via repeated CIFS source parsing
Published Dec 6, 2025 · Updated May 11, 2026
Memory leak in the Linux CIFS client from 5.11 allows local users to exhaust kernel memory through repeated fsconfig source parameters. smb3_fs_context_parse_param replaces ctx->source or fc->source without releasing the prior allocation, so a second source parse leaves the first object unreachable. Reaching the flaw requires local access to create and configure a CIFS filesystem context; repeated triggers consume kernel memory and can degrade availability.
Summary
What happened
Memory leak in the Linux CIFS client from 5.11 allows local users to exhaust kernel memory through repeated fsconfig source parameters. smb3_fs_context_parse_param replaces ctx->source or fc->source without releasing the prior allocation, so a second source parse leaves the first object unreachable. Reaching the flaw requires local access to create and configure a CIFS filesystem context; repeated triggers consume kernel memory and can degrade availability.
The record
- CVE
- CVE-2025-40268
- Published
- Dec 6, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.001
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 6, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.11
- Affected versionversion=af1a3d2ba9543e99d78914d8fb88b61d0531d9a1 <4515743cc7a42e1d67468402a6420c195532a6fa
- Affected versionversion=af1a3d2ba9543e99d78914d8fb88b61d0531d9a1 <48c17341577e25a22feb13d694374b61d974edbc
- Affected versionversion=af1a3d2ba9543e99d78914d8fb88b61d0531d9a1 <868fc62811d3fabcf5685e14f36377a855d5412d
- Affected versionversion=af1a3d2ba9543e99d78914d8fb88b61d0531d9a1 <e8c73eb7db0a498cd4b22d2819e6ab1a6f506bd6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo