{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-52505","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-02-20T12:30:33.314Z","datePublished":"2024-03-02T21:52:19.215Z","dateUpdated":"2025-05-04T07:38:11.314Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T07:38:11.314Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/phy/freescale/phy-fsl-lynx-28g.c"],"versions":[{"version":"8f73b37cf3fbda67ea1e579c3b5785da4e7aa2e3","lessThan":"6f901f8448c6b25ed843796b114471d2a3fc5dfb","status":"affected","versionType":"git"},{"version":"8f73b37cf3fbda67ea1e579c3b5785da4e7aa2e3","lessThan":"c2d7c79898b427d263c64a4841987eec131f2d4e","status":"affected","versionType":"git"},{"version":"8f73b37cf3fbda67ea1e579c3b5785da4e7aa2e3","lessThan":"139ad1143151a07be93bf741d4ea7c89e59f89ce","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/phy/freescale/phy-fsl-lynx-28g.c"],"versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"6.1.59","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.5.8","lessThanOrEqual":"6.5.*","status":"unaffected","versionType":"semver"},{"version":"6.6","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.59"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.5.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.6"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/6f901f8448c6b25ed843796b114471d2a3fc5dfb"},{"url":"https://git.kernel.org/stable/c/c2d7c79898b427d263c64a4841987eec131f2d4e"},{"url":"https://git.kernel.org/stable/c/139ad1143151a07be93bf741d4ea7c89e59f89ce"}],"title":"phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-52505","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-03-11T15:02:00.830027Z"}}}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:23:17.026Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T23:03:20.376Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/6f901f8448c6b25ed843796b114471d2a3fc5dfb","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/c2d7c79898b427d263c64a4841987eec131f2d4e","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/139ad1143151a07be93bf741d4ea7c89e59f89ce","tags":["x_transferred"]}]}]}}