NetSight
high7.8

CVE-2024-58069

In the Linux kernel, the following vulnerability has been resolved: rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read The nvmem interface supports …

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.2 before 5.4.291
from 5.5 before 5.10.235
from 5.11 before 5.15.179
from 5.16 before 6.1.129
from 6.2 before 6.6.76
from 6.7 before 6.12.13

Weakness classification

References