GHSA-Q6M7-3C72-JGW8

Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-20 06:32
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

net/9p/usbg: Fix use-after-free in disable_usb9pfs()

disable_usb9pfs() frees the IN and OUT usb_request objects before it disables the corresponding endpoints. If either request is still queued, the later usb_ep_disable() call cancels the endpoint queue and the UDC driver can still access the already freed request.

With dummy_hcd and KASAN, this is reproducible by queueing the OUT request and then disconnecting the configfs gadget:

BUG: KASAN: slab-use-after-free in dummy_disable+0x2b4/0x300 Read of size 8 at addr ffff888009702400 by task sh/1 usb_ep_disable+0x8e/0x1f0 usb9pfs_func_unbind+0x193/0x350 gadget_dev_desc_UDC_store+0x135/0x280

dummy_free_request() also warns because the request is freed while its queue entry is still linked.

Disable both endpoints before freeing the request objects. This lets usb_ep_disable() cancel any queued transfers and invoke the completion callback while the request storage is still valid. The request objects are then freed only after they have been removed from the endpoint queues.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-99783"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-20T06:18:17Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/9p/usbg: Fix use-after-free in disable_usb9pfs()\n\ndisable_usb9pfs() frees the IN and OUT usb_request objects before it\ndisables the corresponding endpoints. If either request is still queued,\nthe later usb_ep_disable() call cancels the endpoint queue and the UDC\ndriver can still access the already freed request.\n\nWith dummy_hcd and KASAN, this is reproducible by queueing the OUT\nrequest and then disconnecting the configfs gadget:\n\n  BUG: KASAN: slab-use-after-free in dummy_disable+0x2b4/0x300\n  Read of size 8 at addr ffff888009702400 by task sh/1\n  usb_ep_disable+0x8e/0x1f0\n  usb9pfs_func_unbind+0x193/0x350\n  gadget_dev_desc_UDC_store+0x135/0x280\n\ndummy_free_request() also warns because the request is freed while its\nqueue entry is still linked.\n\nDisable both endpoints before freeing the request objects. This lets\nusb_ep_disable() cancel any queued transfers and invoke the completion\ncallback while the request storage is still valid. The request objects\nare then freed only after they have been removed from the endpoint\nqueues.",
  "id": "GHSA-q6m7-3c72-jgw8",
  "modified": "2026-11-20T06:32:11Z",
  "published": "2026-11-20T06:32:11Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99783"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/197f886898325b191147e9015a47f969a2568838"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6f401e350939442b2ac905f7e5ac952e3802a5d8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e1c80ecafc65af4100e761844c8aa16be9554bd7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f71172094aeb997efc5dbd01d183db480b308d85"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…