{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40126","published":"2025-11-12T11:15:42.163000Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Deferred","cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"none","priority_score":0,"links":{"html_es":"/es/cve/CVE-2025-40126/","html_en":"/en/cve/CVE-2025-40126/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40126","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40126"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nsparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC\n\nThe referenced commit introduced exception handlers on user-space memory\nreferences in copy_from_user and copy_to_user. These handlers return from\nthe respective function and calculate the remaining bytes left to copy\nusing the current register contents. This commit fixes a couple of bad\ncalculations. This will fix the return value of copy_from_user and\ncopy_to_user in the faulting case. The behaviour of memcpy stays unchanged.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/0bf3dc3a2156f1c5ddaba4b85d09767874634114","tags":[]},{"url":"https://git.kernel.org/stable/c/41c18baee66134e6ef786eb075c1b6adb22432b0","tags":[]},{"url":"https://git.kernel.org/stable/c/4fba1713001195e59cfc001ff1f2837dab877efb","tags":[]},{"url":"https://git.kernel.org/stable/c/57c278500fce3cd4e1c540700c0b05426a958393","tags":[]},{"url":"https://git.kernel.org/stable/c/59424dc0d0e044b2eb007686a4724ddd91d57db5","tags":[]},{"url":"https://git.kernel.org/stable/c/674ff598148a28bae0b5372339de56f2abf0b1d1","tags":[]},{"url":"https://git.kernel.org/stable/c/7de3a75bbc8465d816336c74d50109e73501efab","tags":[]},{"url":"https://git.kernel.org/stable/c/9b137f277cc3297044aabd950f589e505d30104c","tags":[]}]}}