# CVE-2026-74514: KVM: s390: pci: Fix memory accounting for pinned/unpinned pages

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2026-08-15T12:27:34.947Z
- **Modified:** 2026-08-23T13:16:45.457Z

## Who should check

- Anyone running Linux \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< ad1c2ac7f15b224cf9ab26b593caa9bd1a4be72e; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< dc7465a364104526c56b922c9de9dfcc08a7d5f7; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< 47cfd75d9df7c8f425b0d769328fe43a8a8e606e; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< 70871b121f81d08879363cb1238a4c85c5c2800c; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< e3f732e086e438c52c7400bd2734bb166aa4752c; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< 36f6999ecde3976731a8bfc0b8e667da6f593069
- Anyone running Linux 6.0

## Description

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\]

## Affected and fixed versions

- Linux: \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< ad1c2ac7f15b224cf9ab26b593caa9bd1a4be72e; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< dc7465a364104526c56b922c9de9dfcc08a7d5f7; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< 47cfd75d9df7c8f425b0d769328fe43a8a8e606e; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< 70871b121f81d08879363cb1238a4c85c5c2800c; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< e3f732e086e438c52c7400bd2734bb166aa4752c; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< 36f6999ecde3976731a8bfc0b8e667da6f593069 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 36f6999ecde3976731a8bfc0b8e667da6f593069 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74514. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74514.md
Affected: Linux >= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, < ad1c2ac7f15b224cf9ab26b593caa9bd1a4be72e; >= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, < dc7465a364104526c56b922c9de9dfcc08a7d5f7; >= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, < 47cfd75d9df7c8f425b0d769328fe43a8a8e606e; >= 3c5a1b6f0a18520a0edd060…
Fixed in: Linux 47cfd75d9df7c8f425b0d769328fe43a8a8e606e, Linux 70871b121f81d08879363cb1238a4c85c5c2800c, Linux 36f6999ecde3976731a8bfc0b8e667da6f593069

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74514 being exploited?

There is no confirmed exploitation: CVE-2026-74514 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-74514?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74514?

Linux \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< ad1c2ac7f15b224cf9ab26b593caa9bd1a4be72e; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< dc7465a364104526c56b922c9de9dfcc08a7d5f7; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< 47cfd75d9df7c8f425b0d769328fe43a8a8e606e; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< 70871b121f81d08879363cb1238a4c85c5c2800c; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< e3f732e086e438c52c7400bd2734bb166aa4752c; \>= 3c5a1b6f0a18520a0edd0600fef6f1a8553b8fdc, \< 36f6999ecde3976731a8bfc0b8e667da6f593069; Linux 6.0.

### Is there a fix for CVE-2026-74514?

Yes. Fixed in Linux 47cfd75d9df7c8f425b0d769328fe43a8a8e606e, Linux 70871b121f81d08879363cb1238a4c85c5c2800c, Linux 36f6999ecde3976731a8bfc0b8e667da6f593069. Upgrade Linux to 36f6999ecde3976731a8bfc0b8e667da6f593069 or later.

### How do I check if I'm affected by CVE-2026-74514?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ad1c2ac7f15b224cf9ab26b593caa9bd1a4be72e>
- other: <https://git.kernel.org/stable/c/dc7465a364104526c56b922c9de9dfcc08a7d5f7>
- other: <https://git.kernel.org/stable/c/47cfd75d9df7c8f425b0d769328fe43a8a8e606e>
- other: <https://git.kernel.org/stable/c/70871b121f81d08879363cb1238a4c85c5c2800c>
- other: <https://git.kernel.org/stable/c/e3f732e086e438c52c7400bd2734bb166aa4752c>
- other: <https://git.kernel.org/stable/c/36f6999ecde3976731a8bfc0b8e667da6f593069>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74514>

HTML: <https://flawdb.com/CVE-2026-74514> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74514>
