Kernel memory corruption via unterminated CephFS name
Published Aug 22, 2025 · Updated Aug 5, 2026
Memory corruption in affected Linux kernel CephFS clients allows remote attackers to read or write kernel memory via crafted MDS replies. parse_longname() passes a Ceph reply name that may lack a NUL terminator to strrchr(), which reads beyond the message buffer and inflates the decoded-name length. A malicious or compromised MDS, or an on-path attacker on unencrypted CephFS traffic, can trigger kernel memory disclosure, heap corruption, or a panic when CONFIG_FS_ENCRYPTION is enabled.
Summary
What happened
Memory corruption in affected Linux kernel CephFS clients allows remote attackers to read or write kernel memory via crafted MDS replies. parse_longname() passes a Ceph reply name that may lack a NUL terminator to strrchr(), which reads beyond the message buffer and inflates the decoded-name length. A malicious or compromised MDS, or an on-path attacker on unencrypted CephFS traffic, can trigger kernel memory disclosure, heap corruption, or a panic when CONFIG_FS_ENCRYPTION is enabled.
The record
- CVE
- CVE-2025-38660
- Published
- Aug 22, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 22, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=6.6
- Affected versionversion=dd66df0053ef84add5e684df517aa9b498342381 <101841c38346f4ca41dc1802c867da990ffb32eb
- Affected versionversion=dd66df0053ef84add5e684df517aa9b498342381 <3145b2b11492d61c512bbc59660bb823bc757f48
- Affected versionversion=dd66df0053ef84add5e684df517aa9b498342381 <493479af8af3ab907f49e99323777d498a4fbd2b
- Affected versionversion=dd66df0053ef84add5e684df517aa9b498342381 <bb80f7618832d26f7e395f52f82b1dac76223e5f
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