CVE-2025-40126 linux linux
linux linux: no CVSS score yet. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
On this page
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.
- EPSS
- 0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 14th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
- Published
- Modified
- NVD analysis
- Deferred: the NVD does not plan to analyze it
- Record from
- the NVD, synced
Fix and patched versions
- Linux Linux: fixed in 5.4.301
- Linux Linux: fixed in 5.10.246
- Linux Linux: fixed in 5.15.195
- Linux Linux: fixed in 6.1.156
- Linux Linux: fixed in 6.6.112
- Linux Linux: fixed in 6.12.53
- Linux Linux: fixed in 6.17.3
- Linux Linux: fixed in 6.18
- Debian, Ubuntu, Alpaquita: fixed package versions per release
Ask an AI about this CVE
Show the prompt
Explain CVE-2025-40126 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-40126?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-40126?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-40126 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | from 4.4.34 before 4.5 |
| Linux | from 4.8.10 before 4.9 |
| Linux | 4.9 and later |
Fixed in
| Product | Release line | Fixed in |
|---|---|---|
| Linux | 5.4 | 5.4.301 |
| Linux | 5.10 | 5.10.246 |
| Linux | 5.15 | 5.15.195 |
| Linux | 6.1 | 6.1.156 |
| Linux | 6.6 | 6.6.112 |
| Linux | 6.12 | 6.12.53 |
| Linux | 6.17 | 6.17.3 |
| Linux | later releases | 6.18 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | linux-6.1 | 6.1.158-1~deb11u1 | DLA-4379-1 |
| Debian | 12 | linux | 6.1.158-1 | DEBIAN-CVE-2025-40126 |
| Debian | 13 | linux | 6.12.57-1 | DEBIAN-CVE-2025-40126 |
| Debian | 14 | linux | 6.17.6-1 | DEBIAN-CVE-2025-40126 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2025-40126 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 12 more | no fix listed | UBUNTU-CVE-2025-40126 |
| Ubuntu | 20.04:LTS | linux-gke, linux-gkeop, linux-riscv and 26 more | no fix listed | UBUNTU-CVE-2025-40126 |
| Ubuntu | 22.04:LTS | linux, linux-lowlatency | 5.15.0-170.180 | UBUNTU-CVE-2025-40126 USN-8033-1 |
| Ubuntu | 22.04:LTS | linux-aws | 5.15.0-1100.107 | UBUNTU-CVE-2025-40126 USN-8033-1 |
| Ubuntu | 22.04:LTS | linux-aws-6.8 | 6.8.0-1050.53~22.04.1 | UBUNTU-CVE-2025-40126 USN-8095-4 |
| Ubuntu | 22.04:LTS | linux-azure | 5.15.0-1109.118 | UBUNTU-CVE-2025-40126 USN-8163-2 |
| Ubuntu | 22.04:LTS | linux-azure-6.8 | 6.8.0-1051.57~22.04.1 | UBUNTU-CVE-2025-40126 USN-8126-1 |
| Ubuntu | 22.04:LTS | linux-azure-fde | 5.15.0-1109.118.1 | UBUNTU-CVE-2025-40126 |
| Ubuntu | 22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1058.65~22.04.1 | UBUNTU-CVE-2025-40126 |
| Ubuntu | 22.04:LTS | linux-gcp | 5.15.0-1100.109 | UBUNTU-CVE-2025-40126 USN-8033-1 |
| Ubuntu | 22.04:LTS | linux-gcp-6.8 | 6.8.0-1052.55~22.04.1 | UBUNTU-CVE-2025-40126 USN-8095-1 |
| 77 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Alpaquita | 23 | linux-lts | 6.1.156-r0 | BELL-CVE-2025-40126 |
| Alpaquita | 25 | linux-lts | 6.12.53-r0 | BELL-CVE-2025-40126 |
| Alpaquita | stream | linux-lts | 6.18.35-r1 | BELL-CVE-2025-40126 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.
Red Hat
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | |
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 8 | kernel | Not affected | |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 9 | kernel | Not affected | |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-40126.
References
- https://git.kernel.org/stable/c/0bf3dc3a2156f1c5ddaba4b85d09767874634114
- https://git.kernel.org/stable/c/41c18baee66134e6ef786eb075c1b6adb22432b0
- https://git.kernel.org/stable/c/4fba1713001195e59cfc001ff1f2837dab877efb
- https://git.kernel.org/stable/c/57c278500fce3cd4e1c540700c0b05426a958393
- https://git.kernel.org/stable/c/59424dc0d0e044b2eb007686a4724ddd91d57db5
- https://git.kernel.org/stable/c/674ff598148a28bae0b5372339de56f2abf0b1d1
- https://git.kernel.org/stable/c/7de3a75bbc8465d816336c74d50109e73501efab
- https://git.kernel.org/stable/c/9b137f277cc3297044aabd950f589e505d30104c