{
  "id": "CVE-2026-64540",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64540",
  "published_at": "2026-07-27T20:10:33.905Z",
  "title": "usbnet: gl620a: fix out-of-bounds read in genelink_rx_fixup()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/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: gl620a: fix out-of-bounds read in genelink_rx_fixup()\n\ngenelink_rx_fixup() splits an aggregated RX frame into its individual\npackets, using a per-packet length taken from device-supplied data. That\nlength is only bounded by GL_MAX_PACKET_LEN (1514); it is never compared\nagainst how many bytes were actually received.\n\nA malicious GeneLink (GL620A) device can therefore send a short URB whose\nheader claims packet_count \u003e 1 and a first packet of up to 1514 bytes.\n\n\tskb_put_data(gl_skb, packet-\u003epacket_data, size);\n\nthen copies past the end of the receive buffer and hands the adjacent slab\ncontents up the network stack, an out-of-bounds read that leaks kernel heap.\nNo privilege is required: the path runs in the usbnet RX softirq as soon as\nthe interface is up.\n\n  BUG: KASAN: slab-out-of-bounds in genelink_rx_fixup (drivers/net/usb/gl620a.c:112)\n  Read of size 1514 at addr ffff888011309708 by task ksoftirqd/0/14\n  Call Trace:\n    ...\n    __asan_memcpy (mm/kasan/shadow.c:105)\n    genelink_rx_fixup (include/linux/skbuff.h:2814 drivers/net/usb/gl620a.c:112)\n    usbnet_bh (drivers/net/usb/usbnet.c:572 drivers/net/usb/usbnet.c:1589)\n    process_one_work (kernel/workqueue.c:3322)\n    bh_worker (kernel/workqueue.c:3405)\n    tasklet_action (kernel/softirq.c:965)\n    handle_softirqs (kernel/softirq.c:622)\n    run_ksoftirqd (kernel/softirq.c:1076)\n    ...\n\nskb_pull() already verifies that the requested length fits the buffer and\nreturns NULL otherwise. Move it ahead of the copy and check its result, so\na packet that overruns the received data is rejected before it is read.\nWell-formed frames, whose packets are fully present, are unaffected.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \u003c 255d03551f94c7bdd86c7d9181a70b21917d829f",
          "\u003e= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \u003c 4359376e6238d89977a35086e47ca3b07f43e850",
          "\u003e= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \u003c 8624e179fa3ce23c2fbd1a198ce30764b73f054a",
          "\u003e= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \u003c 573418f7ea8f859a841417eb4b915594094fd967",
          "\u003e= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \u003c 0575599e451aff3c5329922562374a2cab25fc51",
          "\u003e= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \u003c 0a7d9c7c5f1f208c523abbb4db6aea7bc1fad3db",
          "\u003e= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \u003c 3ef79fa3860e644c8de7834fa7300e1c58f38862",
          "\u003e= 47ee3051c856cc2aa95d35d577a8cb37279d540f, \u003c 8ff7f2a6da4fccaa5cc9be7251a24e71e29fbd1a"
        ],
        "fixed_in": [
          "255d03551f94c7bdd86c7d9181a70b21917d829f",
          "4359376e6238d89977a35086e47ca3b07f43e850",
          "8624e179fa3ce23c2fbd1a198ce30764b73f054a",
          "573418f7ea8f859a841417eb4b915594094fd967",
          "0575599e451aff3c5329922562374a2cab25fc51",
          "0a7d9c7c5f1f208c523abbb4db6aea7bc1fad3db",
          "3ef79fa3860e644c8de7834fa7300e1c58f38862",
          "8ff7f2a6da4fccaa5cc9be7251a24e71e29fbd1a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.14"
        ],
        "fixed_in": [
          "0",
          "5.10.261",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.97",
          "6.18.40",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 255d03551f94c7bdd86c7d9181a70b21917d829f or 4359376e6238d89977a35086e47ca3b07f43e850 or 8624e179fa3ce23c2fbd1a198ce30764b73f054a or 573418f7ea8f859a841417eb4b915594094fd967 or 0575599e451aff3c5329922562374a2cab25fc51 or 0a7d9c7c5f1f208c523abbb4db6aea7bc1fad3db or 3ef79fa3860e644c8de7834fa7300e1c58f38862 or 8ff7f2a6da4fccaa5cc9be7251a24e71e29fbd1a or later.",
      "Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
