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

Medium 5.5 Published Updated

An integer overflow in the Linux kernel's dm-stripe module can cause a denial of service when processing large chunk sizes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-39940?

CVE-2025-39940 is a medium-severity vulnerability in Linux kernel, published on 4 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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;

Weakness: CWE-190

Which versions are affected by CVE-2025-39940?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-39940?

Apply the vendor's patch.

Is CVE-2025-39940 being exploited?

There is no known exploitation of CVE-2025-39940 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-68171, AZL-75167, BELL-CVE-2025-39940, DEBIAN-CVE-2025-39940, GHSA-pm83-264j-3jvx, ROOT-OS-DEBIAN-11-CVE-2025-39940 and 5 more.

Is CVE-2025-39940 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free