CVE-2023-52505

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
02/03/2024
Last modified:
13/01/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers<br /> <br /> The protocol converter configuration registers PCC8, PCCC, PCCD<br /> (implemented by the driver), as well as others, control protocol<br /> converters from multiple lanes (each represented as a different<br /> struct phy). So, if there are simultaneous calls to phy_set_mode_ext()<br /> to lanes sharing the same PCC register (either for the "old" or for the<br /> "new" protocol), corruption of the values programmed to hardware is<br /> possible, because lynx_28g_rmw() has no locking.<br /> <br /> Add a spinlock in the struct lynx_28g_priv shared by all lanes, and take<br /> the global spinlock from the phy_ops :: set_mode() implementation. There<br /> are no other callers which modify PCC registers.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.18 (including) 6.1.59 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.5.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:*