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.
Impact
Base Score 3.x
4.70
Severity 3.x
MEDIUM
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:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/139ad1143151a07be93bf741d4ea7c89e59f89ce
- https://git.kernel.org/stable/c/6f901f8448c6b25ed843796b114471d2a3fc5dfb
- https://git.kernel.org/stable/c/c2d7c79898b427d263c64a4841987eec131f2d4e
- https://git.kernel.org/stable/c/139ad1143151a07be93bf741d4ea7c89e59f89ce
- https://git.kernel.org/stable/c/6f901f8448c6b25ed843796b114471d2a3fc5dfb
- https://git.kernel.org/stable/c/c2d7c79898b427d263c64a4841987eec131f2d4e