Home / Linux / Linux / CVE-2025-40124
CVE-2025-40124: is it exploited, and which versions of Linux are affected and fixed?
CVE-2025-40124 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: Linux from 4.4.34 before 4.5, Linux from 4.8.10 before 4.9 and Linux from 4.9 until the fixed versions (CVE record by Linux). Fixed in 4.5, 4.9, 5.4.301, 5.10.246 and 2 more (CVE record by Linux). Severity: High (7.8, CVSS 3.1, from Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 28, 2026, 17:37 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-40124?
In the Linux kernel, the following vulnerability has been resolved: sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC III Anthony Yznaga tracked down that a BUG_ON in ext4 code with large folios enabled resulted from copy_from_user() returning impossibly large values greater than the size to be copied. This lead to __copy_from_iter() returning impossible values instead of the actual number of bytes it was able to copy. The BUG_ON has been reported in https://lore.kernel.org/r/b14f55642207e63e907965e209f6323a0df6dcee.camel@physik.fu-berlin.de 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. The exception handlers expect that %o2 has already been masked during the bulk copy loop, but the masking was performed after that loop. This will fix the return value of copy_from_user and copy_to_user in the faulting case. The behaviour of memcpy stays unchanged.
From the CVE record by Linux, last updated August 5, 2026, 12:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 4.4.34 before 4.5 from 4.8.10 before 4.9 | 4.5, 4.9 |
| Linux | Linux | from 4.9 until the fixed versions | 5.4.301, 5.10.246, 5.15.195, 6.1.156, 6.6.112, 6.12.53, 6.17.3, 6.18 |
As the CVE record by Linux states it, last updated August 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-40124?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-40124 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 6.6 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/fdd43fe6d286f27b826572457a89c926f97e2d3a
- https://git.kernel.org/stable/c/1198077606aeffb102587c6ea079ce99641c99d4
- https://git.kernel.org/stable/c/1857cdca12c4aff58bf26a7005a4d02850c29927
- https://git.kernel.org/stable/c/91eda032eb16e5d2be27c95584665bc555bb5a90
- https://git.kernel.org/stable/c/dc766c4830a7e1e1ee9d7f77d4ab344f2eb23c8e
- https://git.kernel.org/stable/c/5ef9c94d7110e90260c06868cf1dcf899b9f25ee
- https://git.kernel.org/stable/c/e50377c6b3f278c9f3ef017ffce17f5fcc9dace4
- https://git.kernel.org/stable/c/47b49c06eb62504075f0f2e2227aee2e2c2a58b3
When was it published, and where is the official record?
- Reserved
- April 16, 2025
- Published
- November 12, 2025, 10:23 UTC
- CVE record updated
- August 5, 2026, 12:07 UTC by Linux
- NVD
- Deferred, last modified October 19, 2026, 21:10 UTC
- Last checked
- CVE list November 28, 2026, 17:37 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2025-40124
Is CVE-2025-40124 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2025-40124?
Linux from 4.4.34 before 4.5, Linux from 4.8.10 before 4.9 and Linux from 4.9 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2025-40124?
4.5, 4.9, 5.4.301, 5.10.246, 5.15.195 and 6.1.156, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-40124?
High (7.8, CVSS 3.1, from Linux). The severity table above shows each score with its source.
Where is the official record of CVE-2025-40124?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.