[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100418-CVE-2025-39940-6097@gregkh>
Date: Sat, 4 Oct 2025 09:33:24 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-39940: dm-stripe: fix a possible integer overflow
From: Greg Kroah-Hartman <gregkh@...nel.org>
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;
The Linux kernel CVE team has assigned CVE-2025-39940 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.49 with commit f8f64254bca5ae58f3b679441962bda4c409f659
Fixed in 6.16.9 with commit ee27658c239b27721397f3e4eb16370b5cce596e
Fixed in 6.17 with commit 1071d560afb4c245c2076494226df47db5a35708
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-39940
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/md/dm-stripe.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/f8f64254bca5ae58f3b679441962bda4c409f659
https://git.kernel.org/stable/c/ee27658c239b27721397f3e4eb16370b5cce596e
https://git.kernel.org/stable/c/1071d560afb4c245c2076494226df47db5a35708
Powered by blists - more mailing lists