# CVE-2026-98922: net: emac: move setting of netops to fix crash

> 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.20% (percentile 5, 2026-11-26)
- **Published:** 2026-10-23T12:03:02.790Z
- **Modified:** 2026-10-23T13:17:12.840Z

## Who should check

- Anyone running Linux \>= ded86da4bbb78cad74cecc368fee3ae3a296e2ca, \< c664cca8f622e66bea6a94279ae2611f1d1c0c67; \>= ded86da4bbb78cad74cecc368fee3ae3a296e2ca, \< 7c9f391ec89cb621d7af375ace2eb9a6248e5b9d
- Anyone running Linux 7.2

## Description

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

net: emac: move setting of netops to fix crash

fixes the following crash on driver initialization:

\|BUG: Kernel NULL pointer dereference on read at 0x00000158
\|Faulting instruction address: 0xc0566b40
\|Oops: Kernel access of bad area, sig: 11 \[\#1\]
\|BE PAGE\_SIZE=4K  PowerPC 44x Platform
\|Modules linked in:
\|CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Tainted: GW 7.3.0-rc3+ \#1
\|Tainted: \[W\]=WARN
\|Hardware name: MyBook Live APM821XX 0x12c41c83 PowerPC 44x Platform
\|NIP:  c0566b40 LR: c05648f8 CTR: c04c1e9c
\|REGS: c1053a20 TRAP: 0300   Tainted: GW  (7.3.0-rc3+)
\|MSR:  0002b000 \<CE,EE,FP,ME\>  CR: 24008808  XER: 00000000
\|DEAR: 00000158 ESR: 00000000
\|GPR00: c05648f8 c1053b10 c1063600 c1030000 c5ab3000 00000000 \[...\]
\|GPR08: 00000002 00000000 00000000 c1053b40 84002808 00000000 \[...\]
\|GPR16: cfffd210 00000002 c0beafcc cfffc960 00000000 c1030644 \[...\]
\|GPR24: c0beafbc c1037000 00000000 0000000a 00000000 c1030000 \[...\]
\|NIP \[c0566b40\] phy\_link\_topo\_add\_phy+0x2c/0x1d0
\|LR \[c05648f8\] phy\_attach\_direct+0x1a4/0x368
\|Call Trace:
\|\[c1053b10\] \[c0811e04\] klist\_put+0x54/0xb4 (unreliable)
\|\[c1053b40\] \[c05648f8\] phy\_attach\_direct+0x1a4/0x368
\|\[c1053b70\] \[c0564ae8\] phy\_connect\_direct+0x2c/0x60
\|\[c1053b90\] \[c056c7a8\] of\_phy\_connect+0x50/0x74
\|\[c1053bc0\] \[c0572a88\] emac\_probe+0xd50/0x119c
\|\[c1053c90\] \[c04cb770\] platform\_probe+0x74/0xa4
\|\[c1053cb0\] \[c04c8f08\] really\_probe+0x120/0x2b0
\|\[c1053cd0\] \[c04c9254\] \_\_driver\_probe\_device+0x1bc/0x1fc
\|\[c1053d00\] \[c04c9334\] driver\_probe\_device+0x38/0xa8
\|\[c1053d30\] \[c04c9560\] \_\_driver\_attach+0xf4/0x10c
\|\[c1053d50\] \[c04c6af8\] bus\_for\_each\_dev+0x68/0xd0
\|\[c1053d90\] \[c04c7c34\] bus\_add\_driver+0xcc/0x1ec
\|\[c1053dc0\] \[c04c9f6c\] driver\_register+0xcc/0x110
\|\[c1053de0\] \[c0aa3f40\] emac\_init+0x1c4/0x200

This bug showed up starting with v7.3-rc1. At the NIP in
phy\_link\_topo\_add\_phy() is a netdev\_need\_ops\_lock() check.
This was added by the following
commit ded86da4bbb7 ("net: ethtool: relax ethnl\_req\_get\_phydev() locking assertion")

The bug shows up because at the time of\_phy\_connect() was called, the
netdev\_ops were \*not yet\* determined. My fix is to move the code that
sets netdev\_ops+commac.ops+ethtool\_ops further up as emac\_init\_config()
derives that by looking at the device-tree and sets the required
dev-\>phy\_mode accordingly.

During review, the Sashiko bot's AI stated that the commac assignment
became a dead store. Great catch! To keep the original behavior as-is,
one mentioned option "set dev-\>commac.ops = &emac\_commac\_ops only in
the non-gige case?" sounded like a great plan. So the dev-\>commac.ops
assignment for the non-gige-case moves into the else block.

This patch was tested on a WD MyBook Live (RGMII). the device now works again.

## Affected and fixed versions

- Linux: \>= ded86da4bbb78cad74cecc368fee3ae3a296e2ca, \< c664cca8f622e66bea6a94279ae2611f1d1c0c67; \>= ded86da4bbb78cad74cecc368fee3ae3a296e2ca, \< 7c9f391ec89cb621d7af375ace2eb9a6248e5b9d (cvelist)
- Linux: 7.2 (cvelist)

## Mitigation

- Upgrade Linux to 7c9f391ec89cb621d7af375ace2eb9a6248e5b9d or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98922.md
Affected: Linux >= ded86da4bbb78cad74cecc368fee3ae3a296e2ca, < c664cca8f622e66bea6a94279ae2611f1d1c0c67; >= ded86da4bbb78cad74cecc368fee3ae3a296e2ca, < 7c9f391ec89cb621d7af375ace2eb9a6248e5b9d; Linux 7.2
Fixed in: Linux 7c9f391ec89cb621d7af375ace2eb9a6248e5b9d

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-98922 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= ded86da4bbb78cad74cecc368fee3ae3a296e2ca, \< c664cca8f622e66bea6a94279ae2611f1d1c0c67; \>= ded86da4bbb78cad74cecc368fee3ae3a296e2ca, \< 7c9f391ec89cb621d7af375ace2eb9a6248e5b9d; Linux 7.2.

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

Yes. Fixed in Linux 7c9f391ec89cb621d7af375ace2eb9a6248e5b9d. Upgrade Linux to 7c9f391ec89cb621d7af375ace2eb9a6248e5b9d or later.

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

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/c664cca8f622e66bea6a94279ae2611f1d1c0c67>
- other: <https://git.kernel.org/stable/c/7c9f391ec89cb621d7af375ace2eb9a6248e5b9d>

## 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-98922>

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