Kernel memory disclosure via unterminated device path
Published Aug 22, 2025 · Updated Aug 5, 2026
An out-of-bounds read in Linux F2FS from 4.10 allows attackers to disclose kernel memory by mounting a crafted filesystem image. f2fs_scan_devices stores a full 64-byte device path in sbi->devs[].path without a NUL terminator, so later string operations read adjacent fields. Exploitation requires a privileged service or administrator to mount the image; the read exposes local kernel data and can fault the mount task or misdirect block-device access.
Summary
What happened
An out-of-bounds read in Linux F2FS from 4.10 allows attackers to disclose kernel memory by mounting a crafted filesystem image. f2fs_scan_devices stores a full 64-byte device path in sbi->devs[].path without a NUL terminator, so later string operations read adjacent fields. Exploitation requires a privileged service or administrator to mount the image; the read exposes local kernel data and can fault the mount task or misdirect block-device access.
The record
- CVE
- CVE-2025-38652
- Published
- Aug 22, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1204.002
- Attack vector
- local
- 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=3c62be17d4f562f43fe1d03b48194399caa35aa5 <1b1efa5f0e878745e94a98022e8edc675a87d78e
- Affected versionversion=3c62be17d4f562f43fe1d03b48194399caa35aa5 <1cf1ff15f262e8baf12201b270b6a79f9d119b2d
- Affected versionversion=3c62be17d4f562f43fe1d03b48194399caa35aa5 <345fc8d1838f3f8be7c8ed08d86a13dedef67136
- Affected versionversion=3c62be17d4f562f43fe1d03b48194399caa35aa5 <3466721f06edff834f99d9f49f23eabc6b2cb78e
- Affected versionversion=3c62be17d4f562f43fe1d03b48194399caa35aa5 <5661998536af52848cc4d52a377e90368196edea
- Affected versionversion=3c62be17d4f562f43fe1d03b48194399caa35aa5 <666b7cf6ac9aa074b8319a2b68cba7f2c30023f0
- Affected versionversion=3c62be17d4f562f43fe1d03b48194399caa35aa5 <70849d33130a2cf1d6010069ed200669c8651fbd
- Affected versionversion=3c62be17d4f562f43fe1d03b48194399caa35aa5 <755427093e4294ac111c3f9e40d53f681a0fbdaa
- Affected versionversion=3c62be17d4f562f43fe1d03b48194399caa35aa5 <dc0172c74bd9edaee7bea2ebb35f3dbd37a8ae80
- Affected versionversion=4.10
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