CVE-2025-40126

Not scored yetLast modified Oct 19, 2026

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

No CVSS score has been published yet.

Affected software

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
Nov 12, 2025
Last modified
Oct 19, 2026
NVD status
Deferred

Related CVEs from 2025

CVE-2025-40127In the Linux kernel, the following vulnerability has been resolved: hwrng: ks-sa - fix division by zero in ks_sa_rng_init Fix division by CVE-2025-401297.5In the Linux kernel, the following vulnerability has been resolved: sunrpc: fix null pointer dereference on zero-length checksum In xdr_stCVE-2025-40139.8A vulnerability was found in PHPGurukul Art Gallery Management System 1.0. It has been classified as critical. Affected is an unknown functiCVE-2025-40130In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Fix data race in CPU latency PM QoS request handling CVE-2025-40131In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix peer lookup in ath12k_dp_mon_rx_deliver_msdu() In atCVE-2025-40132In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel: sof_sdw: Prevent jump to NULL add_sidecar callback In creCVE-2025-401338.1In the Linux kernel, the following vulnerability has been resolved: mptcp: Use __sk_dst_get() and dst_dev_rcu() in mptcp_active_enable(). CVE-2025-40134In the Linux kernel, the following vulnerability has been resolved: dm: fix NULL pointer dereference in __dm_suspend() There is a race conCVE-2025-401358.1In the Linux kernel, the following vulnerability has been resolved: ipv6: use RCU in ip6_xmit() Use RCU in ip6_xmit() in order to use dst_CVE-2025-40136In the Linux kernel, the following vulnerability has been resolved: crypto: hisilicon/qm - request reserved interrupt for virtual function CVE-2025-40137In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to truncate first page in error path of f2fs_truncate() syzbCVE-2025-40138In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid NULL pointer dereference in f2fs_check_quota_consist
CVE-2025-40126: Unscored | Vulnix