Skip to content
Heist/ feed
Back to feed
HighFix available

rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.235, 5.15.179, 5.4.291, 6.1.129, 6.12.13, 6.13.2, 6.6.76
CVEs
CVE-2024-58069
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 03:34 UTC · Revision 1

Source evidence

rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read

core-osv · Original source

Published 6 Mar 2025, 15:54 UTC

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.

osv:CVE-2024-58069

Kernel

Fixed versions: 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2

Complete source record
{
  "id": "fd300ae9fbcf1400c79edb707917ea0a408be1389dc442e9b8bf4d3d551d540c",
  "url": "https://osv.dev/vulnerability/CVE-2024-58069",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read",
    "summary": "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.",
    "evidence": "osv:CVE-2024-58069",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.291",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.235",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.179",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.129",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.76",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.13",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.13.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-58069",
      "aliases": [
        "CVE-2024-58069"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.2.0"
                },
                {
                  "fixed": "5.4.291"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.235"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.179"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.129"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.76"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.13"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.13.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58069.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.701158995Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/21cd59fcb9952eb7505da2bdfc1eb9c619df3ff4",
        "https://git.kernel.org/stable/c/3ab8c5ed4f84fa20cd16794fe8dc31f633fbc70c",
        "https://git.kernel.org/stable/c/517aedb365f2c94e2d7e0b908ac7127df76203a1",
        "https://git.kernel.org/stable/c/6f2a8ca9a0a38589f52a7f0fb9425b9ba987ae7c",
        "https://git.kernel.org/stable/c/9adefa7b9559d0f21034a5d5ec1b55840c9348b9",
        "https://git.kernel.org/stable/c/c72b7a474d3f445bf0c5bcf8ffed332c78eb28a1",
        "https://git.kernel.org/stable/c/e5536677da803ed54a29a446515c28dce7d3d574",
        "https://git.kernel.org/stable/c/e5e06455760f2995b16a176033909347929d1128",
        "https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58069.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-58069",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58069.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-58069",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514503,
  "published_at": "2025-03-06T15:54:09.48+00:00"
}