{"id":"CVE-2024-58069","summary":"rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read\n\nThe nvmem interface supports variable buffer sizes, while the regmap\ninterface operates with fixed-size storage. If an nvmem client uses a\nbuffer size less than 4 bytes, regmap_read will write out of bounds\nas it expects the buffer to point at an unsigned int.\n\nFix this by using an intermediary unsigned int to hold the value.","modified":"2026-04-02T12:25:30.000457Z","published":"2025-03-06T15:54:09.480Z","related":["ALSA-2025:20095","ALSA-2025:7423","SUSE-SU-2025:01919-1","SUSE-SU-2025:1177-1","SUSE-SU-2025:1178-1","SUSE-SU-2025:1180-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1","USN-7521-2"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58069.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/517aedb365f2c94e2d7e0b908ac7127df76203a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9adefa7b9559d0f21034a5d5ec1b55840c9348b9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5536677da803ed54a29a446515c28dce7d3d574"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5e06455760f2995b16a176033909347929d1128"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58069.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58069"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fadfd092ee9138825d8c2a4f95719d2e2e3202b9"},{"fixed":"21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4"},{"fixed":"6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c"},{"fixed":"e5536677da803ed54a29a446515c28dce7d3d574"},{"fixed":"c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1"},{"fixed":"9adefa7b9559d0f21034a5d5ec1b55840c9348b9"},{"fixed":"e5e06455760f2995b16a176033909347929d1128"},{"fixed":"517aedb365f2c94e2d7e0b908ac7127df76203a1"},{"fixed":"3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58069.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}