Bug 2350364 (CVE-2024-58069) - CVE-2024-58069 kernel: rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read
Summary: CVE-2024-58069 kernel: rtc: pcf85063: fix potential OOB write in PCF85063 NVM...
Keywords:
Status: NEW
Alias: CVE-2024-58069
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-06 16:01 UTC by OSIDB Bzimport
Modified: 2025-05-13 11:55 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:7423 0 None None None 2025-05-13 11:55:18 UTC

Description OSIDB Bzimport 2025-03-06 16:01:52 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.

Comment 1 Mauro Matteo Cascella 2025-03-06 17:08:09 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025030611-CVE-2024-58069-d1d4@gregkh/T

Comment 3 errata-xmlrpc 2025-05-13 11:55:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7423 https://access.redhat.com/errata/RHSA-2025:7423


Note You need to log in before you can comment on or make changes to this bug.