GHSA-J842-PQ84-9GPJ

Vulnerability from github – Published: 2026-09-17 18:32 – Updated: 2026-09-17 18:32
VLAI
Details

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

phonet: pep: do not write beyond optlen in getsockopt

pep_getsockopt() clamps the reported length to the caller's buffer with min_t(), but then stores the value with put_user(val, (int __user *) optval), which always writes sizeof(int) bytes. A getsockopt() call with an optlen smaller than sizeof(int) thus reports the clamped length yet writes a full int, one to three bytes past the user buffer.

Write the value with copy_to_user() bounded by len, so at most optlen bytes are copied, matching the length reported back to userspace.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-90327"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-09-17T17:17:30Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nphonet: pep: do not write beyond optlen in getsockopt\n\npep_getsockopt() clamps the reported length to the caller\u0027s buffer with\nmin_t(), but then stores the value with put_user(val, (int __user *)\noptval), which always writes sizeof(int) bytes. A getsockopt() call with\nan optlen smaller than sizeof(int) thus reports the clamped length yet\nwrites a full int, one to three bytes past the user buffer.\n\nWrite the value with copy_to_user() bounded by len, so at most optlen\nbytes are copied, matching the length reported back to userspace.",
  "id": "GHSA-j842-pq84-9gpj",
  "modified": "2026-09-17T18:32:01Z",
  "published": "2026-09-17T18:32:01Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90327"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/056eea1a2068ad2fb7c3093c5f1095268f87d0c7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1bf499e438da80455e258049bce60ffb3a53f3fa"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6054fed6bad08b6d03973e8ffca7f0c9394d1c30"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/77e5eb0e192aec6710c03ca8144582fd2af36ca4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/95e0ed2439dd1792eb454c68ae8d10f30ffe3bff"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c4487e4d5309de587479ecc2f5173b49586f46f4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/eac733a0b6fe0a52d91f9f623425735ed50ac6c2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f97022fefe6eb06ee18549d603420440f2959802"
    }
  ],
  "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…