CVE-2025-38380

high

Description

In the Linux kernel, the following vulnerability has been resolved: i2c/designware: Fix an initialization issue The i2c_dw_xfer_init() function requires msgs and msg_write_idx from the dev context to be initialized. amd_i2c_dw_xfer_quirk() inits msgs and msgs_num, but not msg_write_idx. This could allow an out of bounds access (of msgs). Initialize msg_write_idx before calling i2c_dw_xfer_init().

References

https://git.kernel.org/stable/c/9b5b600e751fae92ba571b015eaf02c9c58e2083

https://git.kernel.org/stable/c/6358cb9c2a31e23b6b51bfcd7fe2b7becaf6b149

https://git.kernel.org/stable/c/5b622e672e49e50c33fc64cd06b05ce76e1de460

https://git.kernel.org/stable/c/4c37963d67fb945a59faf53bebe048ca201e44df

https://git.kernel.org/stable/c/475f89e1f9bde45fc948589e7cde1f5d899ae412

https://git.kernel.org/stable/c/3d30048958e0d43425f6d4e76565e6249fa71050

Details

Source: Mitre, NVD

Published: 2025-07-25

Updated: 2025-07-25

Risk Information

CVSS v2

Base Score: 6.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 7.1

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Severity: High

EPSS

EPSS: 0.0003