# net: mdio: fix undefined behavior in bit shift for \_\_mdiobus_register

CVE record · `CVE-2022-49907`

- **Identifiers:** `CVE-2022-49907`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2025, 14:10 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `4fd5f812c23c7deee6425f4a318e85c317cd1d6c to before 20ed01a7b9af6e6a3c33761eebbb710ea6dd49b7` (git)
  - affected: `4fd5f812c23c7deee6425f4a318e85c317cd1d6c to before 7006176a3c863e3e353ce1b8a349ef5bb1b9320e` (git)
  - affected: `4fd5f812c23c7deee6425f4a318e85c317cd1d6c to before a3fafc974be37319679f36dc4e7cca7db1e02973` (git)
  - affected: `4fd5f812c23c7deee6425f4a318e85c317cd1d6c to before 4954b5359eb141499492fadfab891e28905509e2` (git)
  - affected: `4fd5f812c23c7deee6425f4a318e85c317cd1d6c to before 634f066d02bdb22a26da7deb0c7617ab1a65fc9d` (git)
  - affected: `4fd5f812c23c7deee6425f4a318e85c317cd1d6c to before 985a88bf0b27193522bba7856b1763f428cef19d` (git)
  - affected: `4fd5f812c23c7deee6425f4a318e85c317cd1d6c to before 6ce6f8f8f6316da6f92afe7490bc2f0b654d68e0` (git)
  - affected: `4fd5f812c23c7deee6425f4a318e85c317cd1d6c to before 40e4eb324c59e11fcb927aa46742d28aba6ecb8a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.28`
  - unaffected: `before 2.6.28` (semver)
  - unaffected: `4.9.333 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.299 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.265 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.224 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.154 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.78 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.8 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel from 2.6.28 until the fix is affected by an undefined bit shift in \_\_mdiobus_register, which UBSAN flagged during MDIO bus registration. The source gives few details on what an attacker needs or what impact is possible. Upgrade to a fixed kernel; stable releases 4.9.333, 4.14.299, 4.19.265 and 5.4.224 and later in those series are listed as unaffected.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0023, the 14th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 May 2025, 14:10 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-49907)
- 1 May 2025, 15:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-49907)

## Sources

- [CVE List: CVE-2022-49907](https://www.cve.org/CVERecord?id=CVE-2022-49907)
- [NVD: CVE-2022-49907](https://nvd.nist.gov/vuln/detail/CVE-2022-49907)

### References from the CNA

- <https://git.kernel.org/stable/c/20ed01a7b9af6e6a3c33761eebbb710ea6dd49b7>
- <https://git.kernel.org/stable/c/7006176a3c863e3e353ce1b8a349ef5bb1b9320e>
- <https://git.kernel.org/stable/c/a3fafc974be37319679f36dc4e7cca7db1e02973>
- <https://git.kernel.org/stable/c/4954b5359eb141499492fadfab891e28905509e2>
- <https://git.kernel.org/stable/c/634f066d02bdb22a26da7deb0c7617ab1a65fc9d>
- <https://git.kernel.org/stable/c/985a88bf0b27193522bba7856b1763f428cef19d>
- <https://git.kernel.org/stable/c/6ce6f8f8f6316da6f92afe7490bc2f0b654d68e0>
- <https://git.kernel.org/stable/c/40e4eb324c59e11fcb927aa46742d28aba6ecb8a>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-49907>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-49907/>. Everything for agents: <https://agentprime.io/llms.txt>.
