{"id":"CVE-2023-52505","published":"2024-03-02T21:52:19Z","modified":"2026-05-11T19:28:37Z","title":"phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nphy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers\n\nThe protocol converter configuration registers PCC8, PCCC, PCCD\n(implemented by the driver), as well as others, control protocol\nconverters from multiple lanes (each represented as a different\nstruct phy). So, if there are simultaneous calls to phy_set_mode_ext()\nto lanes sharing the same PCC register (either for the \"old\" or for the\n\"new\" protocol), corruption of the values programmed to hardware is\npossible, because lynx_28g_rmw() has no locking.\n\nAdd a spinlock in the struct lynx_28g_priv shared by all lanes, and take\nthe global spinlock from the phy_ops :: set_mode() implementation. There\nare no other callers which modify PCC registers.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00217,"percentile":0.07025,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6f901f8448c6b25ed843796b114471d2a3fc5dfb","tags":[]},{"url":"https://git.kernel.org/stable/c/c2d7c79898b427d263c64a4841987eec131f2d4e","tags":[]},{"url":"https://git.kernel.org/stable/c/139ad1143151a07be93bf741d4ea7c89e59f89ce","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.41}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8f73b37cf3fbda67ea1e579c3b5785da4e7aa2e3, < 6f901f8448c6b25ed843796b114471d2a3fc5dfb",">= 8f73b37cf3fbda67ea1e579c3b5785da4e7aa2e3, < c2d7c79898b427d263c64a4841987eec131f2d4e",">= 8f73b37cf3fbda67ea1e579c3b5785da4e7aa2e3, < 139ad1143151a07be93bf741d4ea7c89e59f89ce"]},{"vendor":"Linux","product":"Linux","versions":["5.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-11T15:02:00.830027Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-57130","exploited":false,"provenance":"source"}}