{
  "id": "CVE-2025-38110",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38110",
  "published_at": "2025-07-03T08:35:19.928Z",
  "title": "net/mdiobus: Fix potential out-of-bounds clause 45 read/write access",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mdiobus: Fix potential out-of-bounds clause 45 read/write access\n\nWhen using publicly available tools like 'mdio-tools' to read/write data\nfrom/to network interface and its PHY via C45 (clause 45) mdiobus,\nthere is no verification of parameters passed to the ioctl and\nit accepts any mdio address.\nCurrently there is support for 32 addresses in kernel via PHY_MAX_ADDR define,\nbut it is possible to pass higher value than that via ioctl.\nWhile read/write operation should generally fail in this case,\nmdiobus provides stats array, where wrong address may allow out-of-bounds\nread/write.\n\nFix that by adding address verification before C45 read/write operation.\nWhile this excludes this access from any statistics, it improves security of\nread/write operation.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 4e4aafcddbbfcdd6eed5780e190fcbfac8b4685a, \u003c abb0605ca00979a49572a6516f6db22c3dc57223",
          "\u003e= 4e4aafcddbbfcdd6eed5780e190fcbfac8b4685a, \u003c 31bf7b2b92563a352788cf9df3698682f659bacc",
          "\u003e= 4e4aafcddbbfcdd6eed5780e190fcbfac8b4685a, \u003c 4ded22f7f3ce9714ed72c3e9c68fea1cb9388ae7",
          "\u003e= 4e4aafcddbbfcdd6eed5780e190fcbfac8b4685a, \u003c 260388f79e94fb3026c419a208ece8358bb7b555"
        ],
        "fixed_in": [
          "abb0605ca00979a49572a6516f6db22c3dc57223",
          "31bf7b2b92563a352788cf9df3698682f659bacc",
          "4ded22f7f3ce9714ed72c3e9c68fea1cb9388ae7",
          "260388f79e94fb3026c419a208ece8358bb7b555"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.3"
        ],
        "fixed_in": [
          "0",
          "6.6.94",
          "6.12.34",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to abb0605ca00979a49572a6516f6db22c3dc57223 or 31bf7b2b92563a352788cf9df3698682f659bacc or 4ded22f7f3ce9714ed72c3e9c68fea1cb9388ae7 or 260388f79e94fb3026c419a208ece8358bb7b555 or later.",
      "Upgrade Linux to 0 or 6.6.94 or 6.12.34 or 6.15.3 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
