Memory disclosure and corruption via invalid DMA mapping
Published Dec 16, 2025 · Updated Dec 16, 2025
Memory corruption in the Rockchip SFC driver in Linux 6.14 through 6.17.5 allows local users to read or corrupt kernel memory via flash I/O. rockchip_sfc_probe() derives a DMA address with virt_to_phys() instead of mapping its transfer buffer through dma_map_single(), so later synchronization and transfers operate on an address the DMA layer never allocated or translated. An affected Rockchip board with the SFC driver and SPI-NOR storage is required; ordinary local flash reads can expose stale kernel data, corrupt unrelated memory, or panic the system.
Summary
What happened
Memory corruption in the Rockchip SFC driver in Linux 6.14 through 6.17.5 allows local users to read or corrupt kernel memory via flash I/O. rockchip_sfc_probe() derives a DMA address with virt_to_phys() instead of mapping its transfer buffer through dma_map_single(), so later synchronization and transfers operate on an address the DMA layer never allocated or translated. An affected Rockchip board with the SFC driver and SPI-NOR storage is required; ordinary local flash reads can expose stale kernel data, corrupt unrelated memory, or panic the system.
The record
- CVE
- CVE-2025-40356
- Published
- Dec 16, 2025
- Updated
- Dec 16, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- 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=6.14
- Affected versionversion=b69386fcbc6066fb4885667743ab4d4967d561b8 <22810d4cb0e8a7d51b24527e73beac60afc1c693
- Affected versionversion=b69386fcbc6066fb4885667743ab4d4967d561b8 <ee795e82e10197c070efd380dc9615c73dffad6c
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