{
  "id": "CVE-2025-21742",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21742",
  "published_at": "2025-02-27T02:12:16.207Z",
  "title": "usbnet: ipheth: use static NDP16 location in URB",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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\nusbnet: ipheth: use static NDP16 location in URB\n\nOriginal code allowed for the start of NDP16 to be anywhere within the\nURB based on the `wNdpIndex` value in NTH16. Only the start position of\nNDP16 was checked, so it was possible for even the fixed-length part\nof NDP16 to extend past the end of URB, leading to an out-of-bounds\nread.\n\nOn iOS devices, the NDP16 header always directly follows NTH16. Rely on\nand check for this specific format.\n\nThis, along with NCM-specific minimal URB length check that already\nexists, will ensure that the fixed-length part of NDP16 plus a set\namount of DPEs fit within the URB.\n\nNote that this commit alone does not fully address the OoB read.\nThe limit on the amount of DPEs needs to be enforced separately.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.1,
    "nvd": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= a2d274c62e44b1995c170595db3865c6fe701226, \u003c 8fb062178e1ce180e2cfdc9abc83a1b9fea381ca",
          "\u003e= a2d274c62e44b1995c170595db3865c6fe701226, \u003c cf1ac7f7cf601ac31d1580559c002b5e37b733b7",
          "\u003e= a2d274c62e44b1995c170595db3865c6fe701226, \u003c 2b619445dcb6dab97d8ed033fb57225aca1288c4",
          "\u003e= a2d274c62e44b1995c170595db3865c6fe701226, \u003c 86586dcb75cb8fd062a518aca8ee667938b91efb"
        ],
        "fixed_in": [
          "8fb062178e1ce180e2cfdc9abc83a1b9fea381ca",
          "cf1ac7f7cf601ac31d1580559c002b5e37b733b7",
          "2b619445dcb6dab97d8ed033fb57225aca1288c4",
          "86586dcb75cb8fd062a518aca8ee667938b91efb"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.5"
        ],
        "fixed_in": [
          "0",
          "6.6.78",
          "6.12.14",
          "6.13.3",
          "6.14"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8fb062178e1ce180e2cfdc9abc83a1b9fea381ca or cf1ac7f7cf601ac31d1580559c002b5e37b733b7 or 2b619445dcb6dab97d8ed033fb57225aca1288c4 or 86586dcb75cb8fd062a518aca8ee667938b91efb or later.",
      "Upgrade Linux to 0 or 6.6.78 or 6.12.14 or 6.13.3 or 6.14 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
