CVE-2026-74514 (GCVE-0-2026-74514)

Vulnerability from cvelistv5 – Published: 2026-08-15 12:27 – Updated: 2026-08-23 12:47
VLAI
Title
KVM: s390: pci: Fix memory accounting for pinned/unpinned pages
Summary
In the Linux kernel, the following vulnerability has been resolved: KVM: s390: pci: Fix memory accounting for pinned/unpinned pages The account_mem() and unaccount_mem() functions call get_uid() which increments the reference count of struct user_struct on every invocation. But we don't decrement the count by calling free_uid(). It also accounted/unaccounted the pages against the current->mm. But its possible the unaccount_mem() can be called from a different process context than the one that originally pinned the pages. Let's fix this by storing the pinning process user_struct and mm_struct when accounting for pinned pages, and subsequently free these resources when the pages are unpinned. [borntraeger@linux.ibm.com: Fixed whitespace]
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc , < ad1c2ac7f15b224cf9ab26b593caa9bd1a4be72e (git)
Affected: 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc , < dc7465a364104526c56b922c9de9dfcc08a7d5f7 (git)
Affected: 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc , < 47cfd75d9df7c8f425b0d769328fe43a8a8e606e (git)
Affected: 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc , < 70871b121f81d08879363cb1238a4c85c5c2800c (git)
Affected: 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc , < e3f732e086e438c52c7400bd2734bb166aa4752c (git)
Affected: 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc , < 36f6999ecde3976731a8bfc0b8e667da6f593069 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.0
Unaffected: 0 , < 6.0 (semver)
Unaffected: 6.1.184 , ≤ 6.1.* (semver)
Unaffected: 6.6.152 , ≤ 6.6.* (semver)
Unaffected: 6.12.104 , ≤ 6.12.* (semver)
Unaffected: 6.18.44 , ≤ 6.18.* (semver)
Unaffected: 7.1.8 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/s390/kvm/pci.c",
            "arch/s390/kvm/pci.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ad1c2ac7f15b224cf9ab26b593caa9bd1a4be72e",
              "status": "affected",
              "version": "3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc",
              "versionType": "git"
            },
            {
              "lessThan": "dc7465a364104526c56b922c9de9dfcc08a7d5f7",
              "status": "affected",
              "version": "3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc",
              "versionType": "git"
            },
            {
              "lessThan": "47cfd75d9df7c8f425b0d769328fe43a8a8e606e",
              "status": "affected",
              "version": "3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc",
              "versionType": "git"
            },
            {
              "lessThan": "70871b121f81d08879363cb1238a4c85c5c2800c",
              "status": "affected",
              "version": "3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc",
              "versionType": "git"
            },
            {
              "lessThan": "e3f732e086e438c52c7400bd2734bb166aa4752c",
              "status": "affected",
              "version": "3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc",
              "versionType": "git"
            },
            {
              "lessThan": "36f6999ecde3976731a8bfc0b8e667da6f593069",
              "status": "affected",
              "version": "3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/s390/kvm/pci.c",
            "arch/s390/kvm/pci.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.0"
            },
            {
              "lessThan": "6.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.184",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.152",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.104",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.44",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.184",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.152",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.104",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.44",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.8",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: pci: Fix memory accounting for pinned/unpinned pages\n\nThe account_mem() and unaccount_mem() functions call get_uid() which\nincrements the reference count of struct user_struct on every invocation.\nBut we don\u0027t decrement the count by calling free_uid(). It also\naccounted/unaccounted the pages against the current-\u003emm. But its possible\nthe unaccount_mem() can be called from a different process context than the\none that originally pinned the pages.\n\nLet\u0027s fix this by storing the pinning process user_struct and mm_struct\nwhen accounting for pinned pages, and subsequently free these resources\nwhen the pages are unpinned.\n\n[borntraeger@linux.ibm.com: Fixed whitespace]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-23T12:47:32.122Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ad1c2ac7f15b224cf9ab26b593caa9bd1a4be72e"
        },
        {
          "url": "https://git.kernel.org/stable/c/dc7465a364104526c56b922c9de9dfcc08a7d5f7"
        },
        {
          "url": "https://git.kernel.org/stable/c/47cfd75d9df7c8f425b0d769328fe43a8a8e606e"
        },
        {
          "url": "https://git.kernel.org/stable/c/70871b121f81d08879363cb1238a4c85c5c2800c"
        },
        {
          "url": "https://git.kernel.org/stable/c/e3f732e086e438c52c7400bd2734bb166aa4752c"
        },
        {
          "url": "https://git.kernel.org/stable/c/36f6999ecde3976731a8bfc0b8e667da6f593069"
        }
      ],
      "title": "KVM: s390: pci: Fix memory accounting for pinned/unpinned pages",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74514",
    "datePublished": "2026-08-15T12:27:34.947Z",
    "dateReserved": "2026-08-15T05:44:03.909Z",
    "dateUpdated": "2026-08-23T12:47:32.122Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74514",
      "date": "2026-08-28",
      "epss": "0.00173",
      "percentile": "0.06794"
    },
    "microsoft_vex": {
      "current_release_date": "2026-08-23T14:45:40.000Z",
      "cve": "CVE-2026-74514",
      "id": "msrc_CVE-2026-74514",
      "initial_release_date": "2026-08-23T14:45:40.000Z",
      "product_status:known_not_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "KVM: s390: pci: Fix memory accounting for pinned/unpinned pages",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-74514.json",
      "version": "1"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74514\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T13:17:56.530\",\"lastModified\":\"2026-08-23T13:16:45.457\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nKVM: s390: pci: Fix memory accounting for pinned/unpinned pages\\n\\nThe account_mem() and unaccount_mem() functions call get_uid() which\\nincrements the reference count of struct user_struct on every invocation.\\nBut we don\u0027t decrement the count by calling free_uid(). It also\\naccounted/unaccounted the pages against the current-\u003emm. But its possible\\nthe unaccount_mem() can be called from a different process context than the\\none that originally pinned the pages.\\n\\nLet\u0027s fix this by storing the pinning process user_struct and mm_struct\\nwhen accounting for pinned pages, and subsequently free these resources\\nwhen the pages are unpinned.\\n\\n[borntraeger@linux.ibm.com: Fixed whitespace]\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"arch/s390/kvm/pci.c\",\"arch/s390/kvm/pci.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc\",\"lessThan\":\"ad1c2ac7f15b224cf9ab26b593caa9bd1a4be72e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc\",\"lessThan\":\"dc7465a364104526c56b922c9de9dfcc08a7d5f7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc\",\"lessThan\":\"47cfd75d9df7c8f425b0d769328fe43a8a8e606e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc\",\"lessThan\":\"70871b121f81d08879363cb1238a4c85c5c2800c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc\",\"lessThan\":\"e3f732e086e438c52c7400bd2734bb166aa4752c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc\",\"lessThan\":\"36f6999ecde3976731a8bfc0b8e667da6f593069\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"arch/s390/kvm/pci.c\",\"arch/s390/kvm/pci.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.0\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.0\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.184\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.152\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.104\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.44\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.8\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/36f6999ecde3976731a8bfc0b8e667da6f593069\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/47cfd75d9df7c8f425b0d769328fe43a8a8e606e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/70871b121f81d08879363cb1238a4c85c5c2800c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ad1c2ac7f15b224cf9ab26b593caa9bd1a4be72e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dc7465a364104526c56b922c9de9dfcc08a7d5f7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e3f732e086e438c52c7400bd2734bb166aa4752c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-19T17:54:37+00:00",
      "cve": "CVE-2026-74514",
      "id": "CVE-2026-74514",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "232",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: KVM: s390: pci: Fix memory accounting for pinned/unpinned pages",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74514.json",
      "version": "3"
    }
  }
}



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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…