CVE-2026-90327 (GCVE-0-2026-90327)
Vulnerability from cvelistv5
Published
2026-09-17 16:08
Modified
2026-10-19 09:01
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 02a47617cdce440f60c71a51f3a93f9f5fcc5a7a
Version: 02a47617cdce440f60c71a51f3a93f9f5fcc5a7a
Version: 02a47617cdce440f60c71a51f3a93f9f5fcc5a7a
Version: 02a47617cdce440f60c71a51f3a93f9f5fcc5a7a
Version: 02a47617cdce440f60c71a51f3a93f9f5fcc5a7a
Version: 02a47617cdce440f60c71a51f3a93f9f5fcc5a7a
Version: 02a47617cdce440f60c71a51f3a93f9f5fcc5a7a
Version: 02a47617cdce440f60c71a51f3a93f9f5fcc5a7a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/phonet/pep.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6054fed6bad08b6d03973e8ffca7f0c9394d1c30",
              "status": "affected",
              "version": "02a47617cdce440f60c71a51f3a93f9f5fcc5a7a",
              "versionType": "git"
            },
            {
              "lessThan": "eac733a0b6fe0a52d91f9f623425735ed50ac6c2",
              "status": "affected",
              "version": "02a47617cdce440f60c71a51f3a93f9f5fcc5a7a",
              "versionType": "git"
            },
            {
              "lessThan": "95e0ed2439dd1792eb454c68ae8d10f30ffe3bff",
              "status": "affected",
              "version": "02a47617cdce440f60c71a51f3a93f9f5fcc5a7a",
              "versionType": "git"
            },
            {
              "lessThan": "056eea1a2068ad2fb7c3093c5f1095268f87d0c7",
              "status": "affected",
              "version": "02a47617cdce440f60c71a51f3a93f9f5fcc5a7a",
              "versionType": "git"
            },
            {
              "lessThan": "1bf499e438da80455e258049bce60ffb3a53f3fa",
              "status": "affected",
              "version": "02a47617cdce440f60c71a51f3a93f9f5fcc5a7a",
              "versionType": "git"
            },
            {
              "lessThan": "c4487e4d5309de587479ecc2f5173b49586f46f4",
              "status": "affected",
              "version": "02a47617cdce440f60c71a51f3a93f9f5fcc5a7a",
              "versionType": "git"
            },
            {
              "lessThan": "f97022fefe6eb06ee18549d603420440f2959802",
              "status": "affected",
              "version": "02a47617cdce440f60c71a51f3a93f9f5fcc5a7a",
              "versionType": "git"
            },
            {
              "lessThan": "77e5eb0e192aec6710c03ca8144582fd2af36ca4",
              "status": "affected",
              "version": "02a47617cdce440f60c71a51f3a93f9f5fcc5a7a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/phonet/pep.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.28"
            },
            {
              "lessThan": "2.6.28",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "2.6.28",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:01:44.321Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6054fed6bad08b6d03973e8ffca7f0c9394d1c30"
        },
        {
          "url": "https://git.kernel.org/stable/c/eac733a0b6fe0a52d91f9f623425735ed50ac6c2"
        },
        {
          "url": "https://git.kernel.org/stable/c/95e0ed2439dd1792eb454c68ae8d10f30ffe3bff"
        },
        {
          "url": "https://git.kernel.org/stable/c/056eea1a2068ad2fb7c3093c5f1095268f87d0c7"
        },
        {
          "url": "https://git.kernel.org/stable/c/1bf499e438da80455e258049bce60ffb3a53f3fa"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4487e4d5309de587479ecc2f5173b49586f46f4"
        },
        {
          "url": "https://git.kernel.org/stable/c/f97022fefe6eb06ee18549d603420440f2959802"
        },
        {
          "url": "https://git.kernel.org/stable/c/77e5eb0e192aec6710c03ca8144582fd2af36ca4"
        }
      ],
      "title": "phonet: pep: do not write beyond optlen in getsockopt",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90327",
    "datePublished": "2026-09-17T16:08:42.017Z",
    "dateReserved": "2026-09-11T19:38:34.802Z",
    "dateUpdated": "2026-10-19T09:01:44.321Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…