CVE-2024-58069

rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read

HIGH
7.8
CVSS Score
Published: March 6, 2025 at 03:54 PM UTC
Updated: August 5, 2026 at 12:44 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1795.16 ≤ v < 6.1.1295.2 ≤ v < 5.10.2355.2 ≤ v < 5.15.1795.2 ≤ v < 5.4.2915.2 ≤ v < 6.1.1295.2 ≤ v < 6.12.135.2 ≤ v < 6.13.25.2 ≤ v < 6.145.2 ≤ v < 6.6.765.5 ≤ v < 5.10.2356.13 ≤ v < 6.13.26.2 ≤ v < 6.6.766.7 ≤ v < 6.12.135.2fadfd092ee9138825d8c2a4f95719d2e2e3202b9
Vendor states this is fixed in 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4 (fixed)
Vendor states this is fixed in 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c (fixed)
Vendor states this is fixed in 517aedb365f2c94e2d7e0b908ac7127df76203a1 (fixed)
Vendor states this is fixed in 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c (fixed)
Vendor states this is fixed in 9adefa7b9559d0f21034a5d5ec1b55840c9348b9 (fixed)
Vendor states this is fixed in c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1 (fixed)
Vendor states this is fixed in e5536677da803ed54a29a446515c28dce7d3d574 (fixed)
Vendor states this is fixed in e5e06455760f2995b16a176033909347929d1128 (fixed)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.2 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.13 (unaffected)
Vendor states this is fixed in 6.13.2 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.76 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/517aedb365f2c94e2d7e0b908ac7127df76203a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9adefa7b9559d0f21034a5d5ec1b55840c9348b9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e5536677da803ed54a29a446515c28dce7d3d574
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e5e06455760f2995b16a176033909347929d1128

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card