CVE-2024-58069
rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read
Check your servers for CVE-2024-58069
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-58069 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-787 Out-of-bounds Write
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from fadfd092ee9138825d8c2a4f95719d2e2e3202b9, before 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4 affected from fadfd092ee9138825d8c2a4f95719d2e2e3202b9, before 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c affected from fadfd092ee9138825d8c2a4f95719d2e2e3202b9, before e5536677da803ed54a29a446515c28dce7d3d574 affected from fadfd092ee9138825d8c2a4f95719d2e2e3202b9, before c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1 affected from fadfd092ee9138825d8c2a4f95719d2e2e3202b9, before 9adefa7b9559d0f21034a5d5ec1b55840c9348b9 affected from fadfd092ee9138825d8c2a4f95719d2e2e3202b9, before e5e06455760f2995b16a176033909347929d1128 affected from fadfd092ee9138825d8c2a4f95719d2e2e3202b9, before 517aedb365f2c94e2d7e0b908ac7127df76203a1 affected from fadfd092ee9138825d8c2a4f95719d2e2e3202b9, before 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c
Other versions: unaffected
|
| Linux |
affected 5.2 unaffected before 5.2 unaffected from 5.4.291 up to and including 5.4.* unaffected from 5.10.235 up to and including 5.10.* unaffected from 5.15.179 up to and including 5.15.* unaffected from 6.1.129 up to and including 6.1.* unaffected from 6.6.76 up to and including 6.6.* unaffected from 6.12.13 up to and including 6.12.* unaffected from 6.13.2 up to and including 6.13.* unaffected 6.14 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-58069 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-58069
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-58069
trivy image --scanners vuln IMAGE | grep CVE-2024-58069
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4 git.kernel.org
- https://git.kernel.org/stable/c/6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c git.kernel.org
- https://git.kernel.org/stable/c/e5536677da803ed54a29a446515c28dce7d3d574 git.kernel.org
- https://git.kernel.org/stable/c/c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1 git.kernel.org
- https://git.kernel.org/stable/c/9adefa7b9559d0f21034a5d5ec1b55840c9348b9 git.kernel.org
- https://git.kernel.org/stable/c/e5e06455760f2995b16a176033909347929d1128 git.kernel.org
- https://git.kernel.org/stable/c/517aedb365f2c94e2d7e0b908ac7127df76203a1 git.kernel.org
- https://git.kernel.org/stable/c/3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html lists.debian.org
Source: the record CVE-2024-58069 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse