# sparc: fix accurate exception reporting in copy\_{from_to}\_user for Niagara

CVE record · `CVE-2025-40112`

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

Published by the CVE Program (CNA: Linux) at 12 Nov 2025, 10:23 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: `7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e to before 05440320ea3e249d5f984918f2bf51210c1a7c03` (git)
  - affected: `7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e to before 7823fc4d8ab5e57f8db7806ff2530c03c166c4bb` (git)
  - affected: `7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e to before 37547d8e6eba87507279ee3dfddfd9dc46335454` (git)
  - affected: `7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e to before a365ee556e45f780ee322b349a06efdad0c1458f` (git)
  - affected: `7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e to before 8cdeb5e482d3fdce7e825444b6ca3865e24c0228` (git)
  - affected: `7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e to before a90ce516a73dbe087f9bf3dbf311301a58d125c6` (git)
  - affected: `7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e to before 088c5098ec6d6b0396edfbf3dad3e81de8469c1c` (git)
  - affected: `7ae3aaf53f1695877ccd5ebbc49ea65991e41f1e to before 0b67c8fc10b13a9090340c5f8a37d308f4e1571c` (git)
  - affected: `bfc8be6593097cb074d3912ba2f27565cfbb7d6e` (git)
  - affected: `a15859f9d8396cce7c55ccdb7e75f70f14cbc349` (git)
  - affected: `4.4.34 to before 4.5` (semver)
  - affected: `4.8.10 to before 4.9` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.9`
  - unaffected: `before 4.9` (semver)
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.195 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.156 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.112 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.53 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.3 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 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.0017, the 6th percentile, on 19 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 Nov 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/05440320ea3e249d5f984918f2bf51210c1a7c03>
- <https://git.kernel.org/stable/c/7823fc4d8ab5e57f8db7806ff2530c03c166c4bb>
- <https://git.kernel.org/stable/c/37547d8e6eba87507279ee3dfddfd9dc46335454>
- <https://git.kernel.org/stable/c/a365ee556e45f780ee322b349a06efdad0c1458f>
- <https://git.kernel.org/stable/c/8cdeb5e482d3fdce7e825444b6ca3865e24c0228>
- <https://git.kernel.org/stable/c/a90ce516a73dbe087f9bf3dbf311301a58d125c6>
- <https://git.kernel.org/stable/c/088c5098ec6d6b0396edfbf3dad3e81de8469c1c>
- <https://git.kernel.org/stable/c/0b67c8fc10b13a9090340c5f8a37d308f4e1571c>

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-2025-40112>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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