# CVE-2025-39940: dm-stripe: fix a possible integer overflow

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-10-04T07:31:03.309Z
- Modified: 2026-11-05T22:17:35.333Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

dm-stripe: fix a possible integer overflow

There's a possible integer overflow in stripe_io_hints if we have too
large chunk size. Test if the overflow happened, and if it did, don't set
limits->io_min and limits->io_opt;

(As written by CVE List.)

## Affected

- Linux Linux: from 40bea431274c247425e7f5970d796ff7b37a2b22 before 891ab8c6954199e4f36029b49df86c8b1d6b0b2f; from 40bea431274c247425e7f5970d796ff7b37a2b22 before f8f64254bca5ae58f3b679441962bda4c409f659; from 40bea431274c247425e7f5970d796ff7b37a2b22 before ee27658c239b27721397f3e4eb16370b5cce596e; from 40bea431274c247425e7f5970d796ff7b37a2b22 before 1071d560afb4c245c2076494226df47db5a35708; 2.6.31 (not affected: before 2.6.31; from 6.6.160 up to 6.6.*; from 6.12.49 up to 6.12.*; from 6.16.9 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 2.6.31.1 before 6.12.49; from 6.13 before 6.16.9; 2.6.31; 6.17

## References

- <https://git.kernel.org/stable/c/891ab8c6954199e4f36029b49df86c8b1d6b0b2f>
- <https://git.kernel.org/stable/c/f8f64254bca5ae58f3b679441962bda4c409f659> (patch)
- <https://git.kernel.org/stable/c/ee27658c239b27721397f3e4eb16370b5cce596e> (patch)
- <https://git.kernel.org/stable/c/1071d560afb4c245c2076494226df47db5a35708> (patch)

## Sources

- CVE List: [CVE-2025-39940](https://www.cve.org/CVERecord?id=CVE-2025-39940), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-39940](https://nvd.nist.gov/vuln/detail/CVE-2025-39940), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-39940 · Whole record: https://cve.day/CVE-2025-39940.json · Rebuilt by cve.day 2026-11-25T22:59:05.520Z
