# CVE-2024-58069: rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-03-06T15:54:09.480Z
- Modified: 2026-08-05T11:47:31.980Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fadfd092ee9138825d8c2a4f95719d2e2e3202b9 before 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4; from fadfd092ee9138825d8c2a4f95719d2e2e3202b9 before 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c; from fadfd092ee9138825d8c2a4f95719d2e2e3202b9 before e5536677da803ed54a29a446515c28dce7d3d574; from fadfd092ee9138825d8c2a4f95719d2e2e3202b9 before c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1; from fadfd092ee9138825d8c2a4f95719d2e2e3202b9 before 9adefa7b9559d0f21034a5d5ec1b55840c9348b9; from fadfd092ee9138825d8c2a4f95719d2e2e3202b9 before e5e06455760f2995b16a176033909347929d1128; from fadfd092ee9138825d8c2a4f95719d2e2e3202b9 before 517aedb365f2c94e2d7e0b908ac7127df76203a1; from fadfd092ee9138825d8c2a4f95719d2e2e3202b9 before 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c; 5.2 (not affected: before 5.2; from 5.4.291 up to 5.4.*; from 5.10.235 up to 5.10.*; from 5.15.179 up to 5.15.*; from 6.1.129 up to 6.1.*; from 6.6.76 up to 6.6.*; from 6.12.13 up to 6.12.*; from 6.13.2 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 5.2 before 5.4.291; from 5.5 before 5.10.235; from 5.11 before 5.15.179; from 5.16 before 6.1.129; from 6.2 before 6.6.76; from 6.7 before 6.12.13; from 6.13 before 6.13.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4> (patch)
- <https://git.kernel.org/stable/c/6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c> (patch)
- <https://git.kernel.org/stable/c/e5536677da803ed54a29a446515c28dce7d3d574> (patch)
- <https://git.kernel.org/stable/c/c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1> (patch)
- <https://git.kernel.org/stable/c/9adefa7b9559d0f21034a5d5ec1b55840c9348b9> (patch)
- <https://git.kernel.org/stable/c/e5e06455760f2995b16a176033909347929d1128> (patch)
- <https://git.kernel.org/stable/c/517aedb365f2c94e2d7e0b908ac7127df76203a1> (patch)
- <https://git.kernel.org/stable/c/3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>

## Sources

- CVE List: [CVE-2024-58069](https://www.cve.org/CVERecord?id=CVE-2024-58069), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-58069](https://nvd.nist.gov/vuln/detail/CVE-2024-58069), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-58069 · Whole record: https://cve.day/CVE-2024-58069.json · Rebuilt by cve.day 2026-11-25T22:58:52.216Z
