{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40112","published":"2025-11-12T11:15:40.460000Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Deferred","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":true,"cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-40112/","html_en":"/en/cve/CVE-2025-40112/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40112","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40112"},"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 Niagara\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 and a broken epilogue in the exception handlers. This will\nprevent crashes and ensure correct return values 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/05440320ea3e249d5f984918f2bf51210c1a7c03","tags":[]},{"url":"https://git.kernel.org/stable/c/088c5098ec6d6b0396edfbf3dad3e81de8469c1c","tags":[]},{"url":"https://git.kernel.org/stable/c/0b67c8fc10b13a9090340c5f8a37d308f4e1571c","tags":[]},{"url":"https://git.kernel.org/stable/c/37547d8e6eba87507279ee3dfddfd9dc46335454","tags":[]},{"url":"https://git.kernel.org/stable/c/7823fc4d8ab5e57f8db7806ff2530c03c166c4bb","tags":[]},{"url":"https://git.kernel.org/stable/c/8cdeb5e482d3fdce7e825444b6ca3865e24c0228","tags":[]},{"url":"https://git.kernel.org/stable/c/a365ee556e45f780ee322b349a06efdad0c1458f","tags":[]},{"url":"https://git.kernel.org/stable/c/a90ce516a73dbe087f9bf3dbf311301a58d125c6","tags":[]}]}}