Skip to content
Heist/ feed
Back to feed
UnratedFix available

powerpc/pseries: papr-phy-attest - validate cmd.length, plug mem leak

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries: papr-phy-attest - validate cmd.length, plug mem leak In papr_phy_attest_create_handle(), the params->cmd.length is not validated before use, which can result in a buffer overlow. Check it and return -EINVAL if it is either 0 or exceeds sizeof(params->cmd). Also, params is freed on the success path but not error. Free it on errors after memory allocation. And free it on negative fd.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.46, 7.1.10
CVEs
CVE-2026-80571
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:56 UTC · Revision 1

Source evidence

powerpc/pseries: papr-phy-attest - validate cmd.length, plug mem leak

core-osv · Original source

Published 26 Aug 2026, 14:37 UTC

In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries: papr-phy-attest - validate cmd.length, plug mem leak In papr_phy_attest_create_handle(), the params->cmd.length is not validated before use, which can result in a buffer overlow. Check it and return -EINVAL if it is either 0 or exceeds sizeof(params->cmd). Also, params is freed on the success path but not error. Free it on errors after memory allocation. And free it on negative fd.

osv:CVE-2026-80571

Kernel

Fixed versions: 6.18.46, 7.1.10

Complete source record
{
  "id": "a086837675ec5814a674cea7f799e5d7ae51b4b789216e7585ad7f99bd21423f",
  "url": "https://osv.dev/vulnerability/CVE-2026-80571",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "powerpc/pseries: papr-phy-attest - validate cmd.length, plug mem leak",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries: papr-phy-attest - validate cmd.length, plug mem leak In papr_phy_attest_create_handle(), the params->cmd.length is not validated before use, which can result in a buffer overlow. Check it and return -EINVAL if it is either 0 or exceeds sizeof(params->cmd). Also, params is freed on the success path but not error. Free it on errors after memory allocation. And free it on negative fd.",
    "evidence": "osv:CVE-2026-80571",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.46",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-80571",
      "aliases": [
        "CVE-2026-80571"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "86900ab620a42396a749b506d4a187820fc3fabe"
                },
                {
                  "fixed": "828a8d1a9107aec6353d896882df8383accf7e80"
                },
                {
                  "fixed": "ed98ce338f9a65c90cb930b088f1eb36de7181af"
                },
                {
                  "fixed": "5b17f3f34391372faf03e79d947e0c50ab6dd258"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80571.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.16.0"
                },
                {
                  "fixed": "6.18.46"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80571.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.773036245Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/5b17f3f34391372faf03e79d947e0c50ab6dd258",
        "https://git.kernel.org/stable/c/828a8d1a9107aec6353d896882df8383accf7e80",
        "https://git.kernel.org/stable/c/ed98ce338f9a65c90cb930b088f1eb36de7181af",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80571.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-80571",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80571.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-80571",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 517155,
  "published_at": "2026-08-26T14:37:32.541+00:00"
}