Skip to content

Commit a7c62e9

Browse files
azurelinux-securityKanishk Bansal
andauthored
[AutoPR- Security] Patch fio for CVE-2025-10823 [MEDIUM] (microsoft#14723)
Signed-off-by: Kanishk Bansal <[email protected]> Co-authored-by: Kanishk Bansal <[email protected]>
1 parent 90865f0 commit a7c62e9

File tree

4 files changed

+41
-5
lines changed

4 files changed

+41
-5
lines changed

SPECS/fio/CVE-2025-10823.patch

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
From 15bbb219bb05934bf321f750b6aaa8d1d5986566 Mon Sep 17 00:00:00 2001
2+
From: Jens Axboe <[email protected]>
3+
Date: Tue, 23 Sep 2025 11:50:46 -0600
4+
Subject: [PATCH] options: check for NULL input string and fail
5+
6+
Waste of time busy work.
7+
8+
Link: https://github.com/axboe/fio/issues/1982
9+
Signed-off-by: Jens Axboe <[email protected]>
10+
Signed-off-by: Azure Linux Security Servicing Account <[email protected]>
11+
Upstream-reference: https://github.com/axboe/fio/commit/6a39dfaffdb8a6c2080eec0dc7fb1ee532d54025.patch
12+
---
13+
options.c | 3 +++
14+
1 file changed, 3 insertions(+)
15+
16+
diff --git a/options.c b/options.c
17+
index de935ef..b38441e 100644
18+
--- a/options.c
19+
+++ b/options.c
20+
@@ -1535,6 +1535,9 @@ static int str_buffer_pattern_cb(void *data, const char *input)
21+
struct thread_data *td = cb_data_to_td(data);
22+
int ret;
23+
24+
+ if (!input)
25+
+ return 1;
26+
+
27+
/* FIXME: for now buffer pattern does not support formats */
28+
ret = parse_and_fill_pattern_alloc(input, strlen(input),
29+
&td->o.buffer_pattern, NULL, NULL, NULL);
30+
--
31+
2.45.4
32+

SPECS/fio/fio.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Signatures": {
3-
"fio-3.37.tar.bz2": "88f0fd6549ca07f7387e784a91706ab11e36d5c12ec26540f1b2d33c6f2d8327"
3+
"fio-3.37.tar.gz": "b59099d42d5c62a8171974e54466a688c8da6720bf74a7f16bf24fb0e51ff92d"
44
}
55
}
66

SPECS/fio/fio.spec

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
Summary: Multithreaded IO generation tool
22
Name: fio
33
Version: 3.37
4-
Release: 2%{?dist}
4+
Release: 3%{?dist}
55
License: GPLv2
66
Vendor: Microsoft Corporation
77
Distribution: Azure Linux
88
URL: https://git.kernel.dk/?p=fio.git;a=summary
9-
Source0: https://brick.kernel.dk/snaps/%{name}-%{version}.tar.bz2
9+
Source0: https://github.com/axboe/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz
10+
Patch0: CVE-2025-10823.patch
1011

1112
%bcond_without nbd
1213
%bcond_with rbd
@@ -147,7 +148,7 @@ RDMA engine for %{name}.
147148
%endif
148149

149150
%prep
150-
%autosetup -p1
151+
%autosetup -n %{name}-%{name}-%{version} -p1
151152

152153
%py3_shebang_fix \
153154
tools/fio_jsonplus_clat2csv \
@@ -220,6 +221,9 @@ EXTFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %make_build
220221
%endif
221222

222223
%changelog
224+
* Wed Sep 24 2025 Azure Linux Security Servicing Account <[email protected]> - 3.37-3
225+
- Patch for CVE-2025-10823
226+
223227
* Thu Jun 06 2024 Andrew Phelps <[email protected]> - 3.37-2
224228
- Update spec based on Fedora 40 package (license: MIT)
225229
- Disable building rbd and rados subpackages

cgmanifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3639,7 +3639,7 @@
36393639
"other": {
36403640
"name": "fio",
36413641
"version": "3.37",
3642-
"downloadUrl": "https://brick.kernel.dk/snaps/fio-3.37.tar.bz2"
3642+
"downloadUrl": "https://github.com/axboe/fio/archive/refs/tags/fio-3.37.tar.gz"
36433643
}
36443644
}
36453645
},

0 commit comments

Comments
 (0)