Vulnerability in Linux
CVE-2023-52505
In the Linux kernel, the following vulnerability has been resolved: phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers The protocol converter configuration registers PCC8, PCCC, PCCD (implemented by the driver), as well as others, control protocol converters from multiple lanes (each represented as a different struct phy). So, if there are simultaneous calls to phy_set_mode_ext() to lanes sharing the same PCC register (either for the "old" or for the "new" protocol), corruption of the values programmed to hardware is possible, because lynx_28g_rmw() has no locking. Add a spinlock in the struct lynx_28g_priv shared by all lanes, and take the global spinlock from the phy_ops :: set_mode() implementation. There are no other callers which modify PCC registers.
EPSS: 0.002 (6.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 8f73b37cf3fbda67ea1e579c3b5785da4e7aa2e3, 5.18, 0
- Linux Linux_kernel — versions 6.6
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2023-52505?
- CVE-2023-52505 is a medium-severity vulnerability in Linux, classified under Improper Locking. CVSS score: 4.7/10. Published 2024-03-02.
- How severe is CVE-2023-52505?
- Medium severity. CVSS v3 base score is 4.7 out of 10.