Skip to main content
CVE-2025-40124VulnerabilityPublished Updated

CVE-2025-40124: Linux kernel · sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC

Source GCVE Database

0

Not known to be exploited · CVSS 7.8 High.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 5% 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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-26.

What to do

AI-suggested

A fix for this vulnerability has been implemented in the Linux kernel source code. Users and administrators should apply the official kernel updates that include this patch to resolve the issue. Since this is a kernel-level fix, upgrading to the patched kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; therefore, check the official Linux kernel advisories or vendor updates for the exact fixed versions and apply them accordingly.

Description

A vulnerability in the Linux kernel related to the sparc architecture has been resolved. The issue involved inaccurate exception reporting in the copy_from_user and copy_to_user functions for UltraSPARC III processors. Specifically, a BUG_ON in ext4 code with large folios was triggered due to copy_from_user returning values larger than the size to be copied, causing __copy_from_iter to return impossible values. The root cause was improper masking of register %o2 during the bulk copy loop in exception handlers. This flaw affected the correctness of return values in fault cases but did not change memcpy behavior.

References

Community reviews

Loading reviews…