CVE-2026-31788 (GCVE-0-2026-31788)

Vulnerability from cvelistv5 – Published: 2026-03-25 10:25 – Updated: 2026-04-02 14:44
VLAI?
Title
xen/privcmd: restrict usage in unprivileged domU
Summary
In the Linux kernel, the following vulnerability has been resolved: xen/privcmd: restrict usage in unprivileged domU The Xen privcmd driver allows to issue arbitrary hypercalls from user space processes. This is normally no problem, as access is usually limited to root and the hypervisor will deny any hypercalls affecting other domains. In case the guest is booted using secure boot, however, the privcmd driver would be enabling a root user process to modify e.g. kernel memory contents, thus breaking the secure boot feature. The only known case where an unprivileged domU is really needing to use the privcmd driver is the case when it is acting as the device model for another guest. In this case all hypercalls issued via the privcmd driver will target that other guest. Fortunately the privcmd driver can already be locked down to allow only hypercalls targeting a specific domain, but this mode can be activated from user land only today. The target domain can be obtained from Xenstore, so when not running in dom0 restrict the privcmd driver to that target domain from the beginning, resolving the potential problem of breaking secure boot. This is XSA-482 --- V2: - defer reading from Xenstore if Xenstore isn't ready yet (Jan Beulich) - wait in open() if target domain isn't known yet - issue message in case no target domain found (Jan Beulich)
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b , < 87a803edb2ded911cb587c53bff179d2a2ed2a28 (git)
Affected: 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b , < 1879319d790f7d57622cdc22807b60ea78b56b6d (git)
Affected: 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b , < 78432d8f0372c71c518096395537fa12be7ff24e (git)
Affected: 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b , < 389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4 (git)
Affected: 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b , < cbede2e833da1893afbea9b3ff29b5dda23a4a91 (git)
Affected: 1c5de1939c204bde9cce87f4eb3d26e9f9eb732b , < 453b8fb68f3641fea970db88b7d9a153ed2a37e8 (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.37
Unaffected: 0 , < 2.6.37 (semver)
Unaffected: 6.1.167 , ≤ 6.1.* (semver)
Unaffected: 6.6.130 , ≤ 6.6.* (semver)
Unaffected: 6.12.78 , ≤ 6.12.* (semver)
Unaffected: 6.18.20 , ≤ 6.18.* (semver)
Unaffected: 6.19.10 , ≤ 6.19.* (semver)
Unaffected: 7.0-rc6 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2026-03-26T16:26:26.454Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "http://xenbits.xen.org/xsa/advisory-482.html"
          },
          {
            "url": "http://www.openwall.com/lists/oss-security/2026/03/24/2"
          },
          {
            "url": "http://www.openwall.com/lists/oss-security/2026/03/24/3"
          },
          {
            "url": "http://www.openwall.com/lists/oss-security/2026/03/24/4"
          },
          {
            "url": "http://www.openwall.com/lists/oss-security/2026/03/24/5"
          },
          {
            "url": "http://www.openwall.com/lists/oss-security/2026/03/26/4"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/xen/privcmd.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "87a803edb2ded911cb587c53bff179d2a2ed2a28",
              "status": "affected",
              "version": "1c5de1939c204bde9cce87f4eb3d26e9f9eb732b",
              "versionType": "git"
            },
            {
              "lessThan": "1879319d790f7d57622cdc22807b60ea78b56b6d",
              "status": "affected",
              "version": "1c5de1939c204bde9cce87f4eb3d26e9f9eb732b",
              "versionType": "git"
            },
            {
              "lessThan": "78432d8f0372c71c518096395537fa12be7ff24e",
              "status": "affected",
              "version": "1c5de1939c204bde9cce87f4eb3d26e9f9eb732b",
              "versionType": "git"
            },
            {
              "lessThan": "389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4",
              "status": "affected",
              "version": "1c5de1939c204bde9cce87f4eb3d26e9f9eb732b",
              "versionType": "git"
            },
            {
              "lessThan": "cbede2e833da1893afbea9b3ff29b5dda23a4a91",
              "status": "affected",
              "version": "1c5de1939c204bde9cce87f4eb3d26e9f9eb732b",
              "versionType": "git"
            },
            {
              "lessThan": "453b8fb68f3641fea970db88b7d9a153ed2a37e8",
              "status": "affected",
              "version": "1c5de1939c204bde9cce87f4eb3d26e9f9eb732b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/xen/privcmd.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.37"
            },
            {
              "lessThan": "2.6.37",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.167",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.130",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.78",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.20",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0-rc6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.167",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.130",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.78",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.20",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.10",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0-rc6",
                  "versionStartIncluding": "2.6.37",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxen/privcmd: restrict usage in unprivileged domU\n\nThe Xen privcmd driver allows to issue arbitrary hypercalls from\nuser space processes. This is normally no problem, as access is\nusually limited to root and the hypervisor will deny any hypercalls\naffecting other domains.\n\nIn case the guest is booted using secure boot, however, the privcmd\ndriver would be enabling a root user process to modify e.g. kernel\nmemory contents, thus breaking the secure boot feature.\n\nThe only known case where an unprivileged domU is really needing to\nuse the privcmd driver is the case when it is acting as the device\nmodel for another guest. In this case all hypercalls issued via the\nprivcmd driver will target that other guest.\n\nFortunately the privcmd driver can already be locked down to allow\nonly hypercalls targeting a specific domain, but this mode can be\nactivated from user land only today.\n\nThe target domain can be obtained from Xenstore, so when not running\nin dom0 restrict the privcmd driver to that target domain from the\nbeginning, resolving the potential problem of breaking secure boot.\n\nThis is XSA-482\n\n---\nV2:\n- defer reading from Xenstore if Xenstore isn\u0027t ready yet (Jan Beulich)\n- wait in open() if target domain isn\u0027t known yet\n- issue message in case no target domain found (Jan Beulich)"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          }
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-04-02T14:44:41.035Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/87a803edb2ded911cb587c53bff179d2a2ed2a28"
        },
        {
          "url": "https://git.kernel.org/stable/c/1879319d790f7d57622cdc22807b60ea78b56b6d"
        },
        {
          "url": "https://git.kernel.org/stable/c/78432d8f0372c71c518096395537fa12be7ff24e"
        },
        {
          "url": "https://git.kernel.org/stable/c/389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4"
        },
        {
          "url": "https://git.kernel.org/stable/c/cbede2e833da1893afbea9b3ff29b5dda23a4a91"
        },
        {
          "url": "https://git.kernel.org/stable/c/453b8fb68f3641fea970db88b7d9a153ed2a37e8"
        }
      ],
      "title": "xen/privcmd: restrict usage in unprivileged domU",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31788",
    "datePublished": "2026-03-25T10:25:05.542Z",
    "dateReserved": "2026-03-09T15:48:24.141Z",
    "dateUpdated": "2026-04-02T14:44:41.035Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-31788\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-03-25T11:16:40.513\",\"lastModified\":\"2026-04-02T15:16:37.137\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nxen/privcmd: restrict usage in unprivileged domU\\n\\nThe Xen privcmd driver allows to issue arbitrary hypercalls from\\nuser space processes. This is normally no problem, as access is\\nusually limited to root and the hypervisor will deny any hypercalls\\naffecting other domains.\\n\\nIn case the guest is booted using secure boot, however, the privcmd\\ndriver would be enabling a root user process to modify e.g. kernel\\nmemory contents, thus breaking the secure boot feature.\\n\\nThe only known case where an unprivileged domU is really needing to\\nuse the privcmd driver is the case when it is acting as the device\\nmodel for another guest. In this case all hypercalls issued via the\\nprivcmd driver will target that other guest.\\n\\nFortunately the privcmd driver can already be locked down to allow\\nonly hypercalls targeting a specific domain, but this mode can be\\nactivated from user land only today.\\n\\nThe target domain can be obtained from Xenstore, so when not running\\nin dom0 restrict the privcmd driver to that target domain from the\\nbeginning, resolving the potential problem of breaking secure boot.\\n\\nThis is XSA-482\\n\\n---\\nV2:\\n- defer reading from Xenstore if Xenstore isn\u0027t ready yet (Jan Beulich)\\n- wait in open() if target domain isn\u0027t known yet\\n- issue message in case no target domain found (Jan Beulich)\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\\n\\nxen/privcmd: restringir el uso en domU no privilegiado\\n\\nEl controlador Xen privcmd permite emitir hiperllamadas arbitrarias desde procesos de espacio de usuario. Esto normalmente no es un problema, ya que el acceso suele estar limitado a root y el hipervisor denegar\u00e1 cualquier hiperllamada que afecte a otros dominios.\\n\\nEn caso de que el invitado se inicie usando arranque seguro, sin embargo, el controlador privcmd estar\u00eda permitiendo que un proceso de usuario root modifique, por ejemplo, el contenido de la memoria del kernel, rompiendo as\u00ed la caracter\u00edstica de arranque seguro.\\n\\nEl \u00fanico caso conocido en el que un domU no privilegiado realmente necesita usar el controlador privcmd es el caso en el que act\u00faa como modelo de dispositivo para otro invitado. En este caso, todas las hiperllamadas emitidas a trav\u00e9s del controlador privcmd se dirigir\u00e1n a ese otro invitado.\\n\\nAfortunadamente, el controlador privcmd ya puede ser bloqueado para permitir solo hiperllamadas dirigidas a un dominio espec\u00edfico, pero este modo solo puede activarse desde el espacio de usuario hoy.\\n\\nEl dominio objetivo puede obtenerse de Xenstore, por lo que cuando no se ejecute en dom0, restrinja el controlador privcmd a ese dominio objetivo desde el principio, resolviendo el problema potencial de romper el arranque seguro.\\n\\nEsto es XSA-482\\n\\n---\\nV2:\\n- aplazar la lectura de Xenstore si Xenstore a\u00fan no est\u00e1 listo (Jan Beulich)\\n- esperar en open() si el dominio objetivo a\u00fan no se conoce\\n- emitir mensaje en caso de no encontrar dominio objetivo (Jan Beulich)\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H\",\"baseScore\":8.2,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.5,\"impactScore\":6.0}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1879319d790f7d57622cdc22807b60ea78b56b6d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/453b8fb68f3641fea970db88b7d9a153ed2a37e8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/78432d8f0372c71c518096395537fa12be7ff24e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/87a803edb2ded911cb587c53bff179d2a2ed2a28\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cbede2e833da1893afbea9b3ff29b5dda23a4a91\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2026/03/24/2\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2026/03/24/3\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2026/03/24/4\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2026/03/24/5\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2026/03/26/4\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://xenbits.xen.org/xsa/advisory-482.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


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 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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…