Kernel memory corruption via undersized NVMEM read
Published Mar 6, 2025 · Updated Aug 5, 2026
An out-of-bounds write in the PCF85063 RTC NVMEM read path in Linux allows local users to corrupt kernel memory through a short read. The driver's NVMEM read callback passes an undersized caller buffer to regmap_read, which stores a four-byte unsigned integer beyond buffers shorter than four bytes. A low-privileged user can trigger the overwrite through the mode-0644 sysfs NVMEM attribute, allowing adjacent kernel data disclosure or a system panic.
Summary
What happened
An out-of-bounds write in the PCF85063 RTC NVMEM read path in Linux allows local users to corrupt kernel memory through a short read. The driver's NVMEM read callback passes an undersized caller buffer to regmap_read, which stores a four-byte unsigned integer beyond buffers shorter than four bytes. A low-privileged user can trigger the overwrite through the mode-0644 sysfs NVMEM attribute, allowing adjacent kernel data disclosure or a system panic.
The record
- CVE
- CVE-2024-58069
- Published
- Mar 6, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-787, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 6, 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=5.2
- Affected versionversion=fadfd092ee9138825d8c2a4f95719d2e2e3202b9 <21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4
- Affected versionversion=fadfd092ee9138825d8c2a4f95719d2e2e3202b9 <3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c
- Affected versionversion=fadfd092ee9138825d8c2a4f95719d2e2e3202b9 <517aedb365f2c94e2d7e0b908ac7127df76203a1
- Affected versionversion=fadfd092ee9138825d8c2a4f95719d2e2e3202b9 <6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c
- Affected versionversion=fadfd092ee9138825d8c2a4f95719d2e2e3202b9 <9adefa7b9559d0f21034a5d5ec1b55840c9348b9
- Affected versionversion=fadfd092ee9138825d8c2a4f95719d2e2e3202b9 <c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1
- Affected versionversion=fadfd092ee9138825d8c2a4f95719d2e2e3202b9 <e5536677da803ed54a29a446515c28dce7d3d574
- Affected versionversion=fadfd092ee9138825d8c2a4f95719d2e2e3202b9 <e5e06455760f2995b16a176033909347929d1128
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.
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