CVE-2025-40126

UnknownEPSS 0.19%

Last modified

CVE-2025-40126 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.

Description

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.

Metrics

EPSS Probability
0.19%

8.5th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= cb736fdbb208eb3420f1a2eb2bfc024a6e9dcada, < 0bf3dc3a2156f1c5ddaba4b85d09767874634114; >= cb736fdbb208eb3420f1a2eb2bfc024a6e9dcada, < 41c18baee66134e6ef786eb075c1b6adb22432b0; >= cb736fdbb208eb3420f1a2eb2bfc024a6e9dcada, < 59424dc0d0e044b2eb007686a4724ddd91d57db5; >= cb736fdbb208eb3420f1a2eb2bfc024a6e9dcada, < 9b137f277cc3297044aabd950f589e505d30104c; >= cb736fdbb208eb3420f1a2eb2bfc024a6e9dcada, < 674ff598148a28bae0b5372339de56f2abf0b1d1; >= cb736fdbb208eb3420f1a2eb2bfc024a6e9dcada, < 7de3a75bbc8465d816336c74d50109e73501efab; >= cb736fdbb208eb3420f1a2eb2bfc024a6e9dcada, < 57c278500fce3cd4e1c540700c0b05426a958393; >= cb736fdbb208eb3420f1a2eb2bfc024a6e9dcada, < 4fba1713001195e59cfc001ff1f2837dab877efb; 1731d90d8a558ecb20cdee0c2c001ae8e15c251d; b0580eadc19ff3a617a7d07cfaf2a985153c114e; >= 4.4.34, < 4.5; >= 4.8.10, < 4.9
LinuxLinux4.9

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2025-40126?
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.
How severe is CVE-2025-40126?
Severity scoring for CVE-2025-40126 is pending analysis. The EPSS model estimates a 0.19% probability of exploitation in the next 30 days.
How do I fix CVE-2025-40126?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-40126?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST