blob: f81d54d020698f6b102c7a80830f0760db29692f [file] [log] [blame]
From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: <linux-cve-announce@vger.kernel.org>
Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org>
Subject: CVE-2025-21782: orangefs: fix a oob in orangefs_debug_write
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
orangefs: fix a oob in orangefs_debug_write
I got a syzbot report: slab-out-of-bounds Read in
orangefs_debug_write... several people suggested fixes,
I tested Al Viro's suggestion and made this patch.
The Linux kernel CVE team has assigned CVE-2025-21782 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.6 with commit f7ab093f74bf638ed98fd1115f3efa17e308bb7f and fixed in 5.4.291 with commit 18b7f841109f697840fe8633cf7ed7d32bd3f91b
Issue introduced in 4.6 with commit f7ab093f74bf638ed98fd1115f3efa17e308bb7f and fixed in 5.10.235 with commit 09d472a18c0ee1d5b83612cb919e33a1610fea16
Issue introduced in 4.6 with commit f7ab093f74bf638ed98fd1115f3efa17e308bb7f and fixed in 5.15.179 with commit 8725882b0f691f8113b230aea9df0256030a63a6
Issue introduced in 4.6 with commit f7ab093f74bf638ed98fd1115f3efa17e308bb7f and fixed in 6.1.129 with commit 1da2697307dad281dd690a19441b5ca4af92d786
Issue introduced in 4.6 with commit f7ab093f74bf638ed98fd1115f3efa17e308bb7f and fixed in 6.6.79 with commit 2b84a231910cef2e0a16d29294afabfb69112087
Issue introduced in 4.6 with commit f7ab093f74bf638ed98fd1115f3efa17e308bb7f and fixed in 6.12.16 with commit 897f496b946fdcfab5983c983e4b513ab6682364
Issue introduced in 4.6 with commit f7ab093f74bf638ed98fd1115f3efa17e308bb7f and fixed in 6.13.4 with commit 1c5244299241cf49d8ae7b5054e299cc8faa4e09
Issue introduced in 4.6 with commit f7ab093f74bf638ed98fd1115f3efa17e308bb7f and fixed in 6.14 with commit f7c848431632598ff9bce57a659db6af60d75b39
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-21782
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:
fs/orangefs/orangefs-debugfs.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/18b7f841109f697840fe8633cf7ed7d32bd3f91b
https://git.kernel.org/stable/c/09d472a18c0ee1d5b83612cb919e33a1610fea16
https://git.kernel.org/stable/c/8725882b0f691f8113b230aea9df0256030a63a6
https://git.kernel.org/stable/c/1da2697307dad281dd690a19441b5ca4af92d786
https://git.kernel.org/stable/c/2b84a231910cef2e0a16d29294afabfb69112087
https://git.kernel.org/stable/c/897f496b946fdcfab5983c983e4b513ab6682364
https://git.kernel.org/stable/c/1c5244299241cf49d8ae7b5054e299cc8faa4e09
https://git.kernel.org/stable/c/f7c848431632598ff9bce57a659db6af60d75b39