{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "96d971e307cc0e434f96329b42bbd98cfbca07d2"
            },
            {
              "fixed": "0e182689831277faf2ef683573a60474c208f690"
            },
            {
              "fixed": "6ed7ebe22e9c3e3e946b6973c1ce43d3c38aeac1"
            },
            {
              "fixed": "65674d2489a12b8efd2ca0effb3de1d12224b596"
            },
            {
              "fixed": "d81376053a00865c70b8d8506a1cb93f2943d413"
            },
            {
              "fixed": "fd0de51c54fa8474a0ddeedd71c65ad09fada390"
            },
            {
              "fixed": "4fe1bc4b3603f621240d5b401742f302190db769"
            },
            {
              "fixed": "67cfdd9210b99f260b3e0afeb9525e0acc7be31e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.13.0"
            },
            {
              "fixed": "5.15.210"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.176"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.143"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.93"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.35"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63985.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nethtool: eeprom: add more safeties to EEPROM Netlink fallback\n\nThe Netlink fallback path for reading module EEPROM\n(fallback_set_params()) validates that offset \u003c eeprom_len,\nbut does not check that offset + length stays within eeprom_len.\nThe ioctl equivalent (ethtool_get_any_eeprom() in ioctl.c) has\nalways enforced both bounds:\n\n  if (eeprom.offset + eeprom.len \u003e total_len)\n      return -EINVAL;\n\nThis could lead to surprises in both drivers and device FW.\nAdd the missing offset + length validation to fallback_set_params(),\nmirroring the ioctl.\n\nSimilarly - ethtool core in general, and ethtool_get_any_eeprom()\nin particular tries to zero-init all buffers passed to the drivers\nto avoid any extra work of zeroing things out. eeprom_fallback()\nuses a plain kmalloc(), change it to zalloc.",
  "id": "CVE-2026-63985",
  "modified": "2026-07-22T05:29:59.373677764Z",
  "published": "2026-07-19T14:56:07.527Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0e182689831277faf2ef683573a60474c208f690"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4fe1bc4b3603f621240d5b401742f302190db769"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/65674d2489a12b8efd2ca0effb3de1d12224b596"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/67cfdd9210b99f260b3e0afeb9525e0acc7be31e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6ed7ebe22e9c3e3e946b6973c1ce43d3c38aeac1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d81376053a00865c70b8d8506a1cb93f2943d413"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fd0de51c54fa8474a0ddeedd71c65ad09fada390"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63985.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-63985"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ethtool: eeprom: add more safeties to EEPROM Netlink fallback"
}