# powerpc/pseries: Enforce hcall result buffer validity and size

CVE record · `CVE-2024-40974`

- **Identifiers:** `CVE-2024-40974`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 12 Jul 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 12 Jul 2024, 12:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `b9377ffc3a03cde558d76349a262a1adbb6d3112 to before acf2b80c31c37acab040baa3cf5f19fbd5140b18` (git)
  - affected: `b9377ffc3a03cde558d76349a262a1adbb6d3112 to before 19c166ee42cf16d8b156a6cb4544122d9a65d3ca` (git)
  - affected: `b9377ffc3a03cde558d76349a262a1adbb6d3112 to before a8c988d752b3d98d5cc1e3929c519a55ef55426c` (git)
  - affected: `b9377ffc3a03cde558d76349a262a1adbb6d3112 to before 262e942ff5a839b9e4f3302a8987928b0c8b8a2d` (git)
  - affected: `b9377ffc3a03cde558d76349a262a1adbb6d3112 to before 8aa11aa001576bf3b00dcb8559564ad7a3113588` (git)
  - affected: `b9377ffc3a03cde558d76349a262a1adbb6d3112 to before 3ad0034910a57aa88ed9976b1431b7b8c84e0048` (git)
  - affected: `b9377ffc3a03cde558d76349a262a1adbb6d3112 to before aa6107dcc4ce9a3451f2d729204713783b657257` (git)
  - affected: `b9377ffc3a03cde558d76349a262a1adbb6d3112 to before ff2e185cf73df480ec69675936c4ee75a445c3e4` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.19`
  - unaffected: `before 2.6.19` (semver)
  - unaffected: `4.19.317 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.279 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.221 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.162 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.96 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.36 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.7 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0030, the 23rd percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 12 Jul 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-40974](https://www.cve.org/CVERecord?id=CVE-2024-40974)
- [NVD: CVE-2024-40974](https://nvd.nist.gov/vuln/detail/CVE-2024-40974)

### References from the CNA

- <https://git.kernel.org/stable/c/acf2b80c31c37acab040baa3cf5f19fbd5140b18>
- <https://git.kernel.org/stable/c/19c166ee42cf16d8b156a6cb4544122d9a65d3ca>
- <https://git.kernel.org/stable/c/a8c988d752b3d98d5cc1e3929c519a55ef55426c>
- <https://git.kernel.org/stable/c/262e942ff5a839b9e4f3302a8987928b0c8b8a2d>
- <https://git.kernel.org/stable/c/8aa11aa001576bf3b00dcb8559564ad7a3113588>
- <https://git.kernel.org/stable/c/3ad0034910a57aa88ed9976b1431b7b8c84e0048>
- <https://git.kernel.org/stable/c/aa6107dcc4ce9a3451f2d729204713783b657257>
- <https://git.kernel.org/stable/c/ff2e185cf73df480ec69675936c4ee75a445c3e4>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-40974>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-40974/>. Everything for agents: <https://agentprime.io/llms.txt>.
