# CVE-2026-98563: net: phylink: record the PHY only once bringup cannot fail

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-18T15:18:30.158Z
- **Modified:** 2026-10-19T10:19:12.930Z

## Who should check

- Anyone running Linux \>= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, \< 4e7a4af364c2048bafb213bf0ef4a89dcbe1bfd4; \>= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, \< 671a68654a9d319d7f0d53a6321db3d9b391bdef; \>= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, \< a940003f44e7e441c228151dd212642152700ec8
- Anyone running Linux 6.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: phylink: record the PHY only once bringup cannot fail

phylink\_bringup\_phy() stores the PHY in pl-\>phydev before its last
fallible step: on a MAC whose phylink ops implement LPI,
phy\_eee\_rx\_clock\_stop() can fail with a real MDIO error. The callers
unwind with phy\_detach(), which knows nothing about pl-\>phydev, so a
pointer to a PHY that is no longer attached outlives the failed
connect.

What that costs depends on how the caller got here.
phylink\_connect\_phy() goes through phylink\_attach\_phy(), which refuses
to attach while pl-\>phydev is set, turning a transient MDIO error into
a permanent -EBUSY. The SFP path is worse than that: sfp\_sm\_probe\_phy()
answers the failure with phy\_device\_remove() and phy\_device\_free(), and
it assigns sfp-\>mod\_phy only past that error return, so nothing clears
pl-\>phydev and it is left pointing at a freed phy\_device that
phylink\_resolve() and the ethtool helpers go on reading.
phylink\_fwnode\_phy\_connect() has no such check, so a later connect
overwrites the stale pointer and hides the problem. A disconnect does
not: phylink\_disconnect\_phy() hands that pointer to phy\_disconnect(),
and the second phy\_detach() on the same PHY drops references the first
one already released.

Found while making a DSA port survive a PHY whose driver arrives after
the switch probes: keeping the port across a failed connect and
retrying is what makes this window reachable.

Publish the pointer after the last call that can fail instead of
unwinding it afterwards. Nothing between the two points reads
pl-\>phydev, and the registration that follows cannot fail:
phy\_request\_interrupt() falls back to polling on its own. The PHY-side
state keeps the order it had, so no MDIO operation moves relative to
another.

## Affected and fixed versions

- Linux: \>= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, \< 4e7a4af364c2048bafb213bf0ef4a89dcbe1bfd4; \>= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, \< 671a68654a9d319d7f0d53a6321db3d9b391bdef; \>= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, \< a940003f44e7e441c228151dd212642152700ec8 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98563. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98563.md
Affected: Linux >= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, < 4e7a4af364c2048bafb213bf0ef4a89dcbe1bfd4; >= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, < 671a68654a9d319d7f0d53a6321db3d9b391bdef; >= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, < a940003f44e7e441c228151dd212642152700ec8; Linux 6.14
Fixed in: Linux 4e7a4af364c2048bafb213bf0ef4a89dcbe1bfd4, Linux 671a68654a9d319d7f0d53a6321db3d9b391bdef

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98563 being exploited?

There is no confirmed exploitation: CVE-2026-98563 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98563?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98563?

Linux \>= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, \< 4e7a4af364c2048bafb213bf0ef4a89dcbe1bfd4; \>= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, \< 671a68654a9d319d7f0d53a6321db3d9b391bdef; \>= 03abf2a7c65451e663b078b0ed1bfa648cd9380f, \< a940003f44e7e441c228151dd212642152700ec8; Linux 6.14.

### Is there a fix for CVE-2026-98563?

Yes. Fixed in Linux 4e7a4af364c2048bafb213bf0ef4a89dcbe1bfd4, Linux 671a68654a9d319d7f0d53a6321db3d9b391bdef. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98563?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4e7a4af364c2048bafb213bf0ef4a89dcbe1bfd4>
- other: <https://git.kernel.org/stable/c/671a68654a9d319d7f0d53a6321db3d9b391bdef>
- other: <https://git.kernel.org/stable/c/a940003f44e7e441c228151dd212642152700ec8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98563>

HTML: <https://flawdb.com/CVE-2026-98563> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98563>
