Service interruption via unreleased CIFS domain allocation
Published Dec 16, 2025 · Updated Dec 16, 2025
Memory leak in the Linux CIFS client in affected kernel branches allows local users to deplete kernel memory through credentialed SMB access. In cifs_construct_tcon(), cifs_set_cifscreds() duplicates the supplied domain into ctx->domainname, but the function exits without freeing that allocation. Reachability requires a multiuser CIFS mount with domain= configured, a cifscreds entry, and filesystem metadata access; repeated leaks can interrupt service by exhausting memory.
Summary
What happened
Memory leak in the Linux CIFS client in affected kernel branches allows local users to deplete kernel memory through credentialed SMB access. In cifs_construct_tcon(), cifs_set_cifscreds() duplicates the supplied domain into ctx->domainname, but the function exits without freeing that allocation. Reachability requires a multiuser CIFS mount with domain= configured, a cifscreds entry, and filesystem metadata access; repeated leaks can interrupt service by exhausting memory.
The record
- CVE
- CVE-2025-68295
- Published
- Dec 16, 2025
- Updated
- Dec 16, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 16, 2025CVE publishedPublication date reported by the CVE source.
- Dec 16, 2025Record 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=1456d3cea31114137fabf1110d20a2e2c6d6060f
- Affected versionversion=16764d7486d02b1699ae16e91d7a577602398b17
- Affected versionversion=325fa2a6729b74b2806b31725940cb54658515e5
- Affected versionversion=5.3
- Affected versionversion=8db988a982908b7bff76e095000adabf9c29698b
- Affected versionversion=904847402bd74a28164bd4d8da082d1eace7c190
- Affected versionversion=f2aee329a68f5a907bcff11a109dfe17c0b41aeb <3184b6a5a24ec9ee74087b2a550476f386df7dc2
- Affected versionversion=f2aee329a68f5a907bcff11a109dfe17c0b41aeb <3dd546e867e94c2f954bca45a961b6104ba708b6
- Affected versionversion=f2aee329a68f5a907bcff11a109dfe17c0b41aeb <a67e91d5f446e455dd9201cdd6e865f7078d251d
- Affected versionversion=f2aee329a68f5a907bcff11a109dfe17c0b41aeb <d146e96fef876492979658dce644305de35878d4
- Affected versionversion=f2aee329a68f5a907bcff11a109dfe17c0b41aeb <f15288c137d960836277d0e3ecc62de68e52f00f
- Affected versionversion=f2aee329a68f5a907bcff11a109dfe17c0b41aeb <f62ffdfb431bdfa4b6d24233b7fd830eca0b801e
- Affected versionversion=f2aee329a68f5a907bcff11a109dfe17c0b41aeb <ff8f9bd1c46ee02d5558293915d42e82646d5ee9
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