FKIE_CVE-2026-99785

Vulnerability from fkie_nvd - Published: 2026-11-20 06:18 - Updated: 2026-11-23 08:18
Summary
In the Linux kernel, the following vulnerability has been resolved: 9p/trans_virtio: reject mount tags longer than NAME_MAX at probe p9_virtio_probe() reads a 16-bit mount tag length (tag_len) from the device config and kzalloc()s tag_len + 1 bytes for chan->tag with no upper bound. A malicious or compromised host can present a tag of up to 65535 bytes; that tag is later copied into the single-page sysfs buffer by p9_mount_tag_show() (memcpy(buf, chan->tag, tag_len + 1)), a host-controlled out-of-bounds write of up to ~64 KiB past the PAGE_SIZE attribute buffer. Reject an overlong tag at probe time. A 9p mount tag is a name-like identifier, so bound it by NAME_MAX (255): that limit is independent of the sysfs/seq_file page size and is far above any legitimate mount tag, which keeps p9_mount_tag_show() safe at the root without hard-coding a seq_file implementation detail.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/9p/trans_virtio.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6801a2dbe6014fb12ac32ab8f93f271d911cbfef",
              "status": "affected",
              "version": "179a5bc4b8cbe68ca675057b960dd805867e41c4",
              "versionType": "git"
            },
            {
              "lessThan": "493ac68dbb533b8be6c938376b3d80c0bf819884",
              "status": "affected",
              "version": "179a5bc4b8cbe68ca675057b960dd805867e41c4",
              "versionType": "git"
            },
            {
              "lessThan": "a5eddf875437a313a9229415d8fe8caa39a65481",
              "status": "affected",
              "version": "179a5bc4b8cbe68ca675057b960dd805867e41c4",
              "versionType": "git"
            },
            {
              "lessThan": "42eef160f82496e416597cf9ef8c686545286d12",
              "status": "affected",
              "version": "179a5bc4b8cbe68ca675057b960dd805867e41c4",
              "versionType": "git"
            },
            {
              "lessThan": "1b8a525573d15370d441c8a25fd27161f1d084c2",
              "status": "affected",
              "version": "179a5bc4b8cbe68ca675057b960dd805867e41c4",
              "versionType": "git"
            },
            {
              "lessThan": "030cebd51fcfa46eeb916a599fee447c9d3d1170",
              "status": "affected",
              "version": "179a5bc4b8cbe68ca675057b960dd805867e41c4",
              "versionType": "git"
            },
            {
              "lessThan": "b8779990399009d73f8d039a149c398a9b879839",
              "status": "affected",
              "version": "179a5bc4b8cbe68ca675057b960dd805867e41c4",
              "versionType": "git"
            },
            {
              "lessThan": "5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e",
              "status": "affected",
              "version": "179a5bc4b8cbe68ca675057b960dd805867e41c4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/9p/trans_virtio.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.1"
            },
            {
              "lessThan": "4.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "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\n9p/trans_virtio: reject mount tags longer than NAME_MAX at probe\n\np9_virtio_probe() reads a 16-bit mount tag length (tag_len) from the\ndevice config and kzalloc()s tag_len + 1 bytes for chan-\u003etag with no\nupper bound. A malicious or compromised host can present a tag of up to\n65535 bytes; that tag is later copied into the single-page sysfs buffer\nby p9_mount_tag_show() (memcpy(buf, chan-\u003etag, tag_len + 1)), a\nhost-controlled out-of-bounds write of up to ~64 KiB past the PAGE_SIZE\nattribute buffer.\n\nReject an overlong tag at probe time. A 9p mount tag is a name-like\nidentifier, so bound it by NAME_MAX (255): that limit is independent of\nthe sysfs/seq_file page size and is far above any legitimate mount tag,\nwhich keeps p9_mount_tag_show() safe at the root without hard-coding a\nseq_file implementation detail."
    }
  ],
  "id": "CVE-2026-99785",
  "lastModified": "2026-11-23T08:18:20.407",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9,
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "type": "Secondary"
      }
    ]
  },
  "published": "2026-11-20T06:18:17.700",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/030cebd51fcfa46eeb916a599fee447c9d3d1170"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1b8a525573d15370d441c8a25fd27161f1d084c2"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/42eef160f82496e416597cf9ef8c686545286d12"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/493ac68dbb533b8be6c938376b3d80c0bf819884"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/5bfef2b6dafe83fe2d8d210d54093a8f48cfc97e"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/6801a2dbe6014fb12ac32ab8f93f271d911cbfef"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/a5eddf875437a313a9229415d8fe8caa39a65481"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/b8779990399009d73f8d039a149c398a9b879839"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



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…