{"api_version":"1","generated_at":"2026-08-17T11:26:48+00:00","cve":"CVE-2026-74514","urls":{"html":"https://cve.report/CVE-2026-74514","api":"https://cve.report/api/cve/CVE-2026-74514.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74514","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74514"},"summary":{"title":"KVM: s390: pci: Fix memory accounting for pinned/unpinned pages","description":"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't decrement the count by calling free_uid(). It also\naccounted/unaccounted the pages against the current->mm. But its possible\nthe unaccount_mem() can be called from a different process context than the\none that originally pinned the pages.\n\nLet's 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]","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 13:17:56","updated_at":"2026-08-17 06:19:48"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/e3f732e086e438c52c7400bd2734bb166aa4752c","name":"https://git.kernel.org/stable/c/e3f732e086e438c52c7400bd2734bb166aa4752c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/36f6999ecde3976731a8bfc0b8e667da6f593069","name":"https://git.kernel.org/stable/c/36f6999ecde3976731a8bfc0b8e667da6f593069","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/70871b121f81d08879363cb1238a4c85c5c2800c","name":"https://git.kernel.org/stable/c/70871b121f81d08879363cb1238a4c85c5c2800c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74514","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74514","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc 70871b121f81d08879363cb1238a4c85c5c2800c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc e3f732e086e438c52c7400bd2734bb166aa4752c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc 36f6999ecde3976731a8bfc0b8e667da6f593069 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.44 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.8 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"74514","cve":"CVE-2026-74514","epss":"0.001660000","percentile":"0.062820000","score_date":"2026-08-16","updated_at":"2026-08-17 00:01:04"},"legacy_qids":[]},"source_records":{"cve_program":{"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":"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.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.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't decrement the count by calling free_uid(). It also\naccounted/unaccounted the pages against the current->mm. But its possible\nthe unaccount_mem() can be called from a different process context than the\none that originally pinned the pages.\n\nLet's 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-17T05:20:55.256Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"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-17T05:20:55.256Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 13:17:56","lastModifiedDate":"2026-08-17 06:19:48","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74514","Ordinal":"1","Title":"KVM: s390: pci: Fix memory accounting for pinned/unpinned pages","CVE":"CVE-2026-74514","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74514","Ordinal":"1","NoteData":"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't decrement the count by calling free_uid(). It also\naccounted/unaccounted the pages against the current->mm. But its possible\nthe unaccount_mem() can be called from a different process context than the\none that originally pinned the pages.\n\nLet's 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]","Type":"Description","Title":"KVM: s390: pci: Fix memory accounting for pinned/unpinned pages"}]}}}