CVE-2026-99778 (GCVE-0-2026-99778)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:51 – Updated: 2026-11-20 05:51
VLAI
Title
net/9p/usbg: fix out_req buffer leak in disable_usb9pfs
Summary
In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: fix out_req buffer leak in disable_usb9pfs usb9pfs->out_req is allocated with alloc_ep_req(), which also allocates the request's data buffer (req->buf). disable_usb9pfs() frees it with plain usb_ep_free_request(), which only frees the usb_request structure itself and leaks req->buf on every close. Use free_ep_req() instead, matching the allocator, as documented by its own comment ("Requests allocated via alloc_ep_req() *must* be freed by free_ep_req()").
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: a3be076dc174d9022a71a12554feb4c97b5c4d5c , < b941883db4f3ea5bf57bc8600f945f07b8ba2115 (git)
Affected: a3be076dc174d9022a71a12554feb4c97b5c4d5c , < fbdc36c04927c08eb676a5db2120e986654ad17c (git)
Affected: a3be076dc174d9022a71a12554feb4c97b5c4d5c , < 9ea2ffacee886707b8728c6b62d9e9650e2733ec (git)
Affected: a3be076dc174d9022a71a12554feb4c97b5c4d5c , < 5f9807270c7bda8f86b312ed1a8acd7716600555 (git)
Create a notification for this product.
Linux Linux Affected: 6.12
Unaffected: 0 , < 6.12 (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/9p/trans_usbg.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b941883db4f3ea5bf57bc8600f945f07b8ba2115",
              "status": "affected",
              "version": "a3be076dc174d9022a71a12554feb4c97b5c4d5c",
              "versionType": "git"
            },
            {
              "lessThan": "fbdc36c04927c08eb676a5db2120e986654ad17c",
              "status": "affected",
              "version": "a3be076dc174d9022a71a12554feb4c97b5c4d5c",
              "versionType": "git"
            },
            {
              "lessThan": "9ea2ffacee886707b8728c6b62d9e9650e2733ec",
              "status": "affected",
              "version": "a3be076dc174d9022a71a12554feb4c97b5c4d5c",
              "versionType": "git"
            },
            {
              "lessThan": "5f9807270c7bda8f86b312ed1a8acd7716600555",
              "status": "affected",
              "version": "a3be076dc174d9022a71a12554feb4c97b5c4d5c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/9p/trans_usbg.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.12"
            },
            {
              "lessThan": "6.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/9p/usbg: fix out_req buffer leak in disable_usb9pfs\n\nusb9pfs-\u003eout_req is allocated with alloc_ep_req(), which also\nallocates the request\u0027s data buffer (req-\u003ebuf). disable_usb9pfs()\nfrees it with plain usb_ep_free_request(), which only frees the\nusb_request structure itself and leaks req-\u003ebuf on every close.\n\nUse free_ep_req() instead, matching the allocator, as documented by\nits own comment (\"Requests allocated via alloc_ep_req() *must* be\nfreed by free_ep_req()\")."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-20T05:51:41.651Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b941883db4f3ea5bf57bc8600f945f07b8ba2115"
        },
        {
          "url": "https://git.kernel.org/stable/c/fbdc36c04927c08eb676a5db2120e986654ad17c"
        },
        {
          "url": "https://git.kernel.org/stable/c/9ea2ffacee886707b8728c6b62d9e9650e2733ec"
        },
        {
          "url": "https://git.kernel.org/stable/c/5f9807270c7bda8f86b312ed1a8acd7716600555"
        }
      ],
      "title": "net/9p/usbg: fix out_req buffer leak in disable_usb9pfs",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99778",
    "datePublished": "2026-11-20T05:51:41.651Z",
    "dateReserved": "2026-09-25T10:25:14.434Z",
    "dateUpdated": "2026-11-20T05:51:41.651Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99778",
      "date": "2026-11-23",
      "epss": "0.00157",
      "percentile": "0.04809"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-20T18:08:06.000Z",
      "cve": "CVE-2026-99778",
      "id": "msrc_CVE-2026-99778",
      "initial_release_date": "2026-11-20T18:08:06.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "net/9p/usbg: fix out_req buffer leak in disable_usb9pfs",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99778.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/9p/trans_usbg.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "b941883db4f3ea5bf57bc8600f945f07b8ba2115",
                    "status": "affected",
                    "version": "a3be076dc174d9022a71a12554feb4c97b5c4d5c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "fbdc36c04927c08eb676a5db2120e986654ad17c",
                    "status": "affected",
                    "version": "a3be076dc174d9022a71a12554feb4c97b5c4d5c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9ea2ffacee886707b8728c6b62d9e9650e2733ec",
                    "status": "affected",
                    "version": "a3be076dc174d9022a71a12554feb4c97b5c4d5c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5f9807270c7bda8f86b312ed1a8acd7716600555",
                    "status": "affected",
                    "version": "a3be076dc174d9022a71a12554feb4c97b5c4d5c",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/9p/trans_usbg.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.12"
                  },
                  {
                    "lessThan": "6.12",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/9p/usbg: fix out_req buffer leak in disable_usb9pfs\n\nusb9pfs-\u003eout_req is allocated with alloc_ep_req(), which also\nallocates the request\u0027s data buffer (req-\u003ebuf). disable_usb9pfs()\nfrees it with plain usb_ep_free_request(), which only frees the\nusb_request structure itself and leaks req-\u003ebuf on every close.\n\nUse free_ep_req() instead, matching the allocator, as documented by\nits own comment (\"Requests allocated via alloc_ep_req() *must* be\nfreed by free_ep_req()\")."
          }
        ],
        "id": "CVE-2026-99778",
        "lastModified": "2026-11-20T06:18:16.843",
        "metrics": {},
        "published": "2026-11-20T06:18:16.843",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5f9807270c7bda8f86b312ed1a8acd7716600555"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9ea2ffacee886707b8728c6b62d9e9650e2733ec"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b941883db4f3ea5bf57bc8600f945f07b8ba2115"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fbdc36c04927c08eb676a5db2120e986654ad17c"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-11-20T11:29:24+00:00",
      "cve": "CVE-2026-99778",
      "id": "CVE-2026-99778",
      "initial_release_date": "2026-11-20T05:51:41.651000+00:00",
      "product_status:known_not_affected": "204",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via memory leak in 9P USB gadget driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99778.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "not set",
      "current_release_date": "2026-11-20T17:39:52Z",
      "cve": "CVE-2026-99778",
      "id": "CVE-2026-99778",
      "initial_release_date": "2026-11-20T17:39:52Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99778",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99778.json",
      "version": "2"
    }
  }
}



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…