CVE-2024-58069

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

High · published March 6, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
13.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00234 · 13.5th percentile
Published
2025-03-06T15:54Z
EPSS history
Timeline
  • 06 MAR 15:54Z
    rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read
    cvelistv5