CVE-2025-40112: Linux kernel · sparc: fix accurate exception reporting in copy_{from_to}_user for Niagara
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should apply the official kernel updates that include this patch to resolve the issue. Since this is a kernel-level fix, updating to the patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisory for the exact fixed version and update instructions.
Description
A vulnerability in the Linux kernel related to the sparc architecture's copy_from_user and copy_to_user functions for Niagara has been resolved. The issue involved inaccurate exception reporting due to incorrect calculations and a broken epilogue in the exception handlers. This flaw could cause crashes and incorrect return values when user-space memory references fault during these copy operations. The vulnerability does not affect memcpy behavior. It has been fixed in the Linux kernel.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40112 (opens in a new tab)
- git.kernel.org/stable/c/05440320ea3e249d5f984918f2bf51210c1a7c03 (opens in a new tab)
- git.kernel.org/stable/c/088c5098ec6d6b0396edfbf3dad3e81de8469c1c (opens in a new tab)
- git.kernel.org/stable/c/0b67c8fc10b13a9090340c5f8a37d308f4e1571c (opens in a new tab)
- git.kernel.org/stable/c/37547d8e6eba87507279ee3dfddfd9dc46335454 (opens in a new tab)
- git.kernel.org/stable/c/7823fc4d8ab5e57f8db7806ff2530c03c166c4bb (opens in a new tab)
- git.kernel.org/stable/c/8cdeb5e482d3fdce7e825444b6ca3865e24c0228 (opens in a new tab)
- git.kernel.org/stable/c/a365ee556e45f780ee322b349a06efdad0c1458f (opens in a new tab)
- git.kernel.org/stable/c/a90ce516a73dbe087f9bf3dbf311301a58d125c6 (opens in a new tab)