# CVE-2023-52505: phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2024-03-02T21:52:19.215Z
- Modified: 2026-06-17T06:42:53.080Z
- Weaknesses: CWE-667
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8f73b37cf3fbda67ea1e579c3b5785da4e7aa2e3 before 6f901f8448c6b25ed843796b114471d2a3fc5dfb; from 8f73b37cf3fbda67ea1e579c3b5785da4e7aa2e3 before c2d7c79898b427d263c64a4841987eec131f2d4e; from 8f73b37cf3fbda67ea1e579c3b5785da4e7aa2e3 before 139ad1143151a07be93bf741d4ea7c89e59f89ce; 5.18 (not affected: before 5.18; from 6.1.59 up to 6.1.*; from 6.5.8 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 5.18 before 6.1.59; from 6.2 before 6.5.8; 6.6

## References

- <https://git.kernel.org/stable/c/6f901f8448c6b25ed843796b114471d2a3fc5dfb> (patch)
- <https://git.kernel.org/stable/c/c2d7c79898b427d263c64a4841987eec131f2d4e> (patch)
- <https://git.kernel.org/stable/c/139ad1143151a07be93bf741d4ea7c89e59f89ce> (patch)

## Sources

- CVE List: [CVE-2023-52505](https://www.cve.org/CVERecord?id=CVE-2023-52505), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52505](https://nvd.nist.gov/vuln/detail/CVE-2023-52505), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52505 · Whole record: https://cve.day/CVE-2023-52505.json · Rebuilt by cve.day 2026-11-25T22:58:33.153Z
