{"id":"CVE-2026-53232","state":"PUBLISHED","title":"net: phy: clean the sfp upstream if phy probing fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: phy: clean the sfp upstream if phy probing fails\n\nSashiko reported that we don't call sfp_bus_del_upstream() in the probe\nfailure path, so let's add it, otherwise the sfp-bus is left with a\ndangling 'upstream' field, that may be used later on during SFP events.\n\nThis issue existed before the generic phylib sfp support, back when\ndrivers were calling phy_sfp_probe themselves.","publishedAt":"2026-06-25T08:39:30.527Z","updatedAt":"2026-10-30T12:26:48.332Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"18c7c311323b19a353c3042180982e0ce5fa7e5f","versionType":"git"},{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"12fb84dc4dc8eb47ebe2b27f7de6255a4a205e1b","versionType":"git"},{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"9326b654f90a09eadeb796c82801a5609d57f0c8","versionType":"git"},{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"3a254779c169954fe23328a1db51f67be374f913","versionType":"git"},{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"0b27701ce93161d7bbf4b25fa20ca59963b0e20c","versionType":"git"},{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"48774e87bbaa0056819d4b52301e4692e50e3252","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/phy/phy_device.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.5","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.94","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/phy/phy_device.c"]}],"references":["https://git.kernel.org/stable/c/18c7c311323b19a353c3042180982e0ce5fa7e5f","https://git.kernel.org/stable/c/12fb84dc4dc8eb47ebe2b27f7de6255a4a205e1b","https://git.kernel.org/stable/c/9326b654f90a09eadeb796c82801a5609d57f0c8","https://git.kernel.org/stable/c/3a254779c169954fe23328a1db51f67be374f913","https://git.kernel.org/stable/c/0b27701ce93161d7bbf4b25fa20ca59963b0e20c","https://git.kernel.org/stable/c/48774e87bbaa0056819d4b52301e4692e50e3252"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-30T12:44:04.813Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53232.json","commit":"db8103c5921aac81d5d90efcf3745980dafabf49","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53232","state":"PUBLISHED","datePublished":"2026-06-25T08:39:30.527Z","dateUpdated":"2026-10-30T12:26:48.332Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.393Z"},"containers":{"cna":{"title":"net: phy: clean the sfp upstream if phy probing fails","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: phy: clean the sfp upstream if phy probing fails\n\nSashiko reported that we don't call sfp_bus_del_upstream() in the probe\nfailure path, so let's add it, otherwise the sfp-bus is left with a\ndangling 'upstream' field, that may be used later on during SFP events.\n\nThis issue existed before the generic phylib sfp support, back when\ndrivers were calling phy_sfp_probe themselves."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"18c7c311323b19a353c3042180982e0ce5fa7e5f","versionType":"git"},{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"12fb84dc4dc8eb47ebe2b27f7de6255a4a205e1b","versionType":"git"},{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"9326b654f90a09eadeb796c82801a5609d57f0c8","versionType":"git"},{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"3a254779c169954fe23328a1db51f67be374f913","versionType":"git"},{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"0b27701ce93161d7bbf4b25fa20ca59963b0e20c","versionType":"git"},{"version":"298e54fa810e027f1b0800d789eb862592721f08","status":"affected","lessThan":"48774e87bbaa0056819d4b52301e4692e50e3252","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/phy/phy_device.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.5","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.143","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.94","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.36","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.13","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/phy/phy_device.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/18c7c311323b19a353c3042180982e0ce5fa7e5f"},{"url":"https://git.kernel.org/stable/c/12fb84dc4dc8eb47ebe2b27f7de6255a4a205e1b"},{"url":"https://git.kernel.org/stable/c/9326b654f90a09eadeb796c82801a5609d57f0c8"},{"url":"https://git.kernel.org/stable/c/3a254779c169954fe23328a1db51f67be374f913"},{"url":"https://git.kernel.org/stable/c/0b27701ce93161d7bbf4b25fa20ca59963b0e20c"},{"url":"https://git.kernel.org/stable/c/48774e87bbaa0056819d4b52301e4692e50e3252"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:A - The stale upstream pointer is dereferenced from SFP cage events such as module presence and LOS/link changes, which can be driven by a directly connected SFP link partner. It is not reachable through ordinary routed network packets or an unprivileged syscall path.\nAC:L - Once an affected PHY/SFP configuration has hit the failed-probe state, later SFP events reliably call the stale upstream callbacks. There is no attacker-won race or complex timing requirement in the event path.\nPR:N - An adjacent physical/link-layer attacker does not need kernel privileges or authentication to trigger SFP signal events. No CAP_NET_ADMIN or user-namespace route is required for that trigger path.\nUI:N - After the system is in the vulnerable failed-probe state, exploitation is triggered by SFP events without a victim user performing an action. The attacker can induce the relevant link/module event directly.\nS:U - The affected code and resulting impact are within the Linux kernel networking/PHY security authority. There is no VM, IOMMU, or separate-scope boundary crossing.\nC:H - The bug leaves a dangling `phy_device` upstream pointer that later SFP callbacks dereference, creating a kernel use-after-free style condition. Kernel UAF conditions are treated as capable of exposing arbitrary kernel memory.\nI:H - The stale pointer callbacks read and write fields through the freed or invalid `phy_device` and may reach attacker-influenced object contents after reuse. Kernel UAF memory corruption is treated as potentially enabling arbitrary write or code execution.\nA:H - Even without full exploitation, dereferencing the dangling upstream pointer during SFP events can crash or oops the kernel. Kernel crashes are high availability impact."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:26:48.332Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.6.143"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.12.94"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"6.18.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-53232","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:27:27.558655Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","type":"CWE","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T19:57:30.712Z"}}]}}}