Bug 2414510 (CVE-2025-40126) - CVE-2025-40126 kernel: sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC
Summary: CVE-2025-40126 kernel: sparc: fix accurate exception reporting in copy_{from_...
Keywords:
Status: NEW
Alias: CVE-2025-40126
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-12 11:04 UTC by OSIDB Bzimport
Modified: 2025-11-13 13:39 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-11-12 11:04:35 UTC
In the Linux kernel, the following vulnerability has been resolved:

sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC

The referenced commit introduced exception handlers on user-space memory
references in copy_from_user and copy_to_user. These handlers return from
the respective function and calculate the remaining bytes left to copy
using the current register contents. This commit fixes a couple of bad
calculations. This will fix the return value of copy_from_user and
copy_to_user in the faulting case. The behaviour of memcpy stays unchanged.


Note You need to log in before you can comment on or make changes to this bug.