{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-58069","id":"CVE-2024-58069","title":"rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read","description":"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 th","descriptionLong":"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.","published":"2025-03-06T15:54:09.480Z","updated":"2026-10-28T02:30:46.701158995Z","reserved":"2025-03-06T15:52:09.181Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fadfd092ee9138825d8c2a4f95719d2e2e3202b9","lessThan":"21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4","status":"affected","versionType":"git"},{"version":"fadfd092ee9138825d8c2a4f95719d2e2e3202b9","lessThan":"6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c","status":"affected","versionType":"git"},{"version":"fadfd092ee9138825d8c2a4f95719d2e2e3202b9","lessThan":"e5536677da803ed54a29a446515c28dce7d3d574","status":"affected","versionType":"git"},{"version":"fadfd092ee9138825d8c2a4f95719d2e2e3202b9","lessThan":"c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1","status":"affected","versionType":"git"},{"version":"fadfd092ee9138825d8c2a4f95719d2e2e3202b9","lessThan":"9adefa7b9559d0f21034a5d5ec1b55840c9348b9","status":"affected","versionType":"git"},{"version":"fadfd092ee9138825d8c2a4f95719d2e2e3202b9","lessThan":"e5e06455760f2995b16a176033909347929d1128","status":"affected","versionType":"git"},{"version":"fadfd092ee9138825d8c2a4f95719d2e2e3202b9","lessThan":"517aedb365f2c94e2d7e0b908ac7127df76203a1","status":"affected","versionType":"git"},{"version":"fadfd092ee9138825d8c2a4f95719d2e2e3202b9","lessThan":"3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.2","status":"affected"},{"version":"0","lessThan":"5.2","status":"unaffected","versionType":"semver"},{"version":"5.4.291","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.235","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.179","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.129","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.76","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.13","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.2","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-787"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e5536677da803ed54a29a446515c28dce7d3d574","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9adefa7b9559d0f21034a5d5ec1b55840c9348b9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e5e06455760f2995b16a176033909347929d1128","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/517aedb365f2c94e2d7e0b908ac7127df76203a1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58069.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58069","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00234,"epssPercentile":0.14437,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-58069","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58069","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-58069","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-58069","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}