Skip to main content
EPSS 0.2%top 95%

In the Linux kernel, the following vulnerability has been resolved: sparc: fix accurate exception reporting in copy_{from_to}_user for Niagara The… (CVE-2025-40112)

0
High
Published: 11/12/2025 (11/12/2025, 12:30:26 UTC)
Source: GCVE Database

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.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 16:38:55 UTC

Technical Analysis

The vulnerability CVE-2025-40112 in the Linux kernel sparc architecture involved inaccurate exception handling in the copy_from_user and copy_to_user functions for Niagara processors. Exception handlers introduced to manage user-space memory faults returned from the functions and calculated remaining bytes to copy using register contents. However, bad calculations and a broken epilogue caused incorrect return values and potential crashes. The fix corrects these calculations and the epilogue, ensuring accurate exception reporting and stable behavior during faulting cases. The memcpy function remains unaffected.

Potential Impact

This vulnerability could lead to system crashes and incorrect return values from copy_from_user and copy_to_user functions when exceptions occur during user-space memory access on sparc Niagara systems. This may impact system stability and reliability, potentially allowing denial of service or other high-impact consequences as indicated by the high severity rating.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-92f2-89hh-wf7v
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40112"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d69c2644c7f847abf0

Added to database: 07/30/2026, 15:50:46 UTC

Last enriched: 07/30/2026, 16:38:55 UTC

Last updated: 09/10/2026, 19:38:50 UTC

Views: 13

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses