NONE · 0

CVE-2025-40112

In the Linux kernel, the following vulnerability has been resolved: sparc: fix accurate exception reporting in copy_{from_to}_user for Niagara The referenced commit introduced exception handlers on ...

Vulnerability Description

In the Linux kernel, the following vulnerability has been resolved: sparc: fix accurate exception reporting in copy_{from_to}_user for Niagara 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 and a broken epilogue in the exception handlers. This will prevent crashes and ensure correct return values of copy_from_user and copy_to_user in the faulting case. The behaviour of memcpy stays unchanged.

References

FAQ

What is CVE-2025-40112?

CVE-2025-40112 is a documented vulnerability. In the Linux kernel, the following vulnerability has been resolved: sparc: fix accurate exception reporting in copy_{from_to}_user for Niagara The referenced commit introduced exception handlers on ...

How severe is CVE-2025-40112?

CVSS scoring is not yet available for CVE-2025-40112. Check NVD for updates.

Is there a patch for CVE-2025-40112?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.