CVE-2024-58069
rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read
Mitigation
- Upgrade Linux to 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c or later.
Who should check
- Anyone running Linux >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5536677da803ed54a29a446515c28dce7d3d574; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 9adefa7b9559d0f21034a5d5ec1b55840c9348b9; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5e06455760f2995b16a176033909347929d1128; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 517aedb365f2c94e2d7e0b908ac7127df76203a1; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c
- Anyone running Linux 5.2
Vulnerability facts
- Affected
- Linux >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5536677da803ed54a29a446515c28dce7d3d574; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 9adefa7b9559d0f21034a5d5ec1b55840c9348b9; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5e06455760f2995b16a176033909347929d1128; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 517aedb365f2c94e2d7e0b908ac7127df76203a1; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c; Linux 5.2
- Fixed in
- Linux 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4, Linux 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c, Linux 9adefa7b9559d0f21034a5d5ec1b55840c9348b9, Linux 517aedb365f2c94e2d7e0b908ac7127df76203a1, Linux 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
- CWE
- CWE-787
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read The nvmem interface supports variable buffer sizes, while the regmap interface operates with fixed-size storage. If an nvmem client uses a buffer size less than 4 bytes, regmap_read will write out of bounds as it expects the buffer to point at an unsigned int. Fix this by using an intermediary unsigned int to hold the value.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5536677da803ed54a29a446515c28dce7d3d574; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 9adefa7b9559d0f21034a5d5ec1b55840c9348b9; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5e06455760f2995b16a176033909347929d1128; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 517aedb365f2c94e2d7e0b908ac7127df76203a1; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c | — | cvelist |
| Linux | 5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-58069. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-58069.md Affected: Linux >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5536677da803ed54a29a446515c28dce7d3d574; >= fadfd092ee9138825d8c2a4… Fixed in: Linux 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4, Linux 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c, Linux 9adefa7b9559d0f21034a5d5ec1b55840c9348b9, Linux 517aedb365f2c94e2d7e0b908ac7127df76203a1, Linux 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4
- https://git.kernel.org/stable/c/6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c
- https://git.kernel.org/stable/c/e5536677da803ed54a29a446515c28dce7d3d574
- https://git.kernel.org/stable/c/c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1
- https://git.kernel.org/stable/c/9adefa7b9559d0f21034a5d5ec1b55840c9348b9
- https://git.kernel.org/stable/c/e5e06455760f2995b16a176033909347929d1128
- https://git.kernel.org/stable/c/517aedb365f2c94e2d7e0b908ac7127df76203a1
- https://git.kernel.org/stable/c/3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c
FAQ
Is CVE-2024-58069 being exploited?
There is no confirmed exploitation: CVE-2024-58069 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-58069?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-58069?
Linux >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5536677da803ed54a29a446515c28dce7d3d574; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 9adefa7b9559d0f21034a5d5ec1b55840c9348b9; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5e06455760f2995b16a176033909347929d1128; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 517aedb365f2c94e2d7e0b908ac7127df76203a1; >= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c; Linux 5.2.
Is there a fix for CVE-2024-58069?
Yes. Fixed in Linux 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4, Linux 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c, Linux 9adefa7b9559d0f21034a5d5ec1b55840c9348b9, Linux 517aedb365f2c94e2d7e0b908ac7127df76203a1, Linux 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c. Upgrade Linux to 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c or later.
How do I check if I'm affected by CVE-2024-58069?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.