{"id":"CVE-2024-58069","published":"2025-03-06T15:54:09Z","modified":"2026-08-05T11:47:31Z","title":"rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00333,"percentile":0.18951,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://git.kernel.org/stable/c/21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4","tags":[]},{"url":"https://git.kernel.org/stable/c/6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c","tags":[]},{"url":"https://git.kernel.org/stable/c/e5536677da803ed54a29a446515c28dce7d3d574","tags":[]},{"url":"https://git.kernel.org/stable/c/c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1","tags":[]},{"url":"https://git.kernel.org/stable/c/9adefa7b9559d0f21034a5d5ec1b55840c9348b9","tags":[]},{"url":"https://git.kernel.org/stable/c/e5e06455760f2995b16a176033909347929d1128","tags":[]},{"url":"https://git.kernel.org/stable/c/517aedb365f2c94e2d7e0b908ac7127df76203a1","tags":[]},{"url":"https://git.kernel.org/stable/c/3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":[]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":3.79},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4",">= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c",">= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5536677da803ed54a29a446515c28dce7d3d574",">= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1",">= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 9adefa7b9559d0f21034a5d5ec1b55840c9348b9",">= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < e5e06455760f2995b16a176033909347929d1128",">= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 517aedb365f2c94e2d7e0b908ac7127df76203a1",">= fadfd092ee9138825d8c2a4f95719d2e2e3202b9, < 3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c"]},{"vendor":"Linux","product":"Linux","versions":["5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-01T19:27:38.670709Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-54031","exploited":false,"provenance":"source"}}